/* =========================================================
   WIRTZ HUB · RECURSOS · STOCK FULL
   CSS

   UBICACIÓN:
   frontend/src/pages/recursos/stock-full/stock-full.css

   PARTE 1 DE 3

   CONTIENE:
   - Variables
   - Dark mode
   - Página
   - Header
   - Botones
   - Métricas
   - Acciones rápidas
   - Contenedor principal
   - Toolbar
   - Buscador
   - Filtros
   - Tabla
   - Selección
   - Celdas
   - Badges
   - Cobertura
   - Paginación
   ========================================================= */


/* =========================================================
   01. VARIABLES
   ========================================================= */

.stock-full-page,
.stock-full-modal-overlay,
.stock-full-columns-panel,
.stock-full-toast {
  --sf-bg:
    #f6f6f7;

  --sf-surface:
    #ffffff;

  --sf-surface-soft:
    #fafafa;

  --sf-surface-hover:
    #f4f4f5;

  --sf-surface-selected:
    #f0f0f1;

  --sf-border:
    #e3e3e5;

  --sf-border-soft:
    #ededee;

  --sf-border-strong:
    #d1d1d4;

  --sf-text:
    #161616;

  --sf-text-secondary:
    #545454;

  --sf-text-muted:
    #777777;

  --sf-text-faint:
    #999999;

  --sf-black:
    #111111;

  --sf-danger:
    #b42318;

  --sf-danger-bg:
    #fff5f5;

  --sf-danger-border:
    #fecaca;

  --sf-success:
    #15803d;

  --sf-success-bg:
    #f0fdf4;

  --sf-success-border:
    #bbf7d0;

  --sf-warning:
    #a16207;

  --sf-warning-bg:
    #fffbeb;

  --sf-warning-border:
    #fde68a;

  --sf-info:
    #2563eb;

  --sf-info-bg:
    #eff6ff;

  --sf-info-border:
    #bfdbfe;

  --sf-radius-xs:
    7px;

  --sf-radius-sm:
    9px;

  --sf-radius:
    12px;

  --sf-radius-lg:
    15px;

  --sf-shadow:
    0 1px 2px rgba(0, 0, 0, 0.025);

  --sf-transition:
    150ms ease;
}


/* =========================================================
   02. DARK VARIABLES
   ========================================================= */

html[data-theme="dark"] .stock-full-page,
html[data-theme="dark"] .stock-full-modal-overlay,
html[data-theme="dark"] .stock-full-columns-panel,
html[data-theme="dark"] .stock-full-toast,
body.dark .stock-full-page,
body.dark .stock-full-modal-overlay,
body.dark .stock-full-columns-panel,
body.dark .stock-full-toast,
body[data-theme="dark"] .stock-full-page,
body[data-theme="dark"] .stock-full-modal-overlay,
body[data-theme="dark"] .stock-full-columns-panel,
body[data-theme="dark"] .stock-full-toast {
  --sf-bg:
    #000000;

  --sf-surface:
    #080808;

  --sf-surface-soft:
    #0c0c0c;

  --sf-surface-hover:
    #131313;

  --sf-surface-selected:
    #151515;

  --sf-border:
    #242424;

  --sf-border-soft:
    #191919;

  --sf-border-strong:
    #343434;

  --sf-text:
    #f5f5f5;

  --sf-text-secondary:
    #c2c2c2;

  --sf-text-muted:
    #929292;

  --sf-text-faint:
    #707070;

  --sf-black:
    #ffffff;

  --sf-shadow:
    none;
}


/* =========================================================
   03. GLOBAL BOX SIZING
   ========================================================= */

.stock-full-page *,
.stock-full-modal-overlay *,
.stock-full-columns-panel *,
.stock-full-toast * {
  box-sizing:
    border-box;
}


/* =========================================================
   04. PAGE MOUNT
   ========================================================= */

.stock-full-page-mount {
  width:
    100%;

  min-width:
    0;

  min-height:
    100%;
}


/* =========================================================
   05. PAGE
   ========================================================= */

.stock-full-page {
  width:
    100%;

  min-width:
    0;

  max-width:
    100%;

  min-height:
    100%;

  margin:
    0;

  padding:
    22px 24px 28px;

  display:
    flex;

  flex-direction:
    column;

  gap:
    16px;

  overflow-x:
    hidden;

  font-family:
    "DM Sans",
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color:
    var(--sf-text);

  background:
    var(--sf-bg);

  -webkit-font-smoothing:
    antialiased;

  text-rendering:
    optimizeLegibility;
}


/* =========================================================
   06. PAGE HEADER
   ========================================================= */

.stock-full-page-header {
  width:
    100%;

  min-width:
    0;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    18px;
}


/* =========================================================
   07. PAGE HEADING
   ========================================================= */

.stock-full-page-heading {
  min-width:
    0;

  flex:
    1;
}


.stock-full-page-kicker {
  margin-bottom:
    5px;

  display:
    inline-flex;

  align-items:
    center;

  gap:
    6px;

  font-size:
    10px;

  font-weight:
    760;

  line-height:
    1.2;

  letter-spacing:
    0.075em;

  text-transform:
    uppercase;

  color:
    var(--sf-text-muted);
}


.stock-full-page-heading h1 {
  margin:
    0;

  font-size:
    clamp(
      28px,
      3vw,
      34px
    );

  font-weight:
    780;

  line-height:
    1.05;

  letter-spacing:
    -0.035em;

  color:
    var(--sf-text);
}


.stock-full-page-heading p {
  max-width:
    860px;

  margin:
    6px 0 0;

  font-size:
    12px;

  font-weight:
    500;

  line-height:
    1.5;

  color:
    var(--sf-text-secondary);
}


/* =========================================================
   08. HEADER ACTIONS
   ========================================================= */

.stock-full-header-actions {
  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-end;

  flex-wrap:
    wrap;

  gap:
    7px;

  flex:
    0 0 auto;
}


/* =========================================================
   09. BUTTONS BASE
   ========================================================= */

.stock-full-primary-button,
.stock-full-secondary-button {
  min-height:
    38px;

  padding:
    0 12px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    7px;

  border:
    1px solid transparent;

  border-radius:
    9px;

  outline:
    none;

  font:
    inherit;

  font-size:
    11px;

  font-weight:
    730;

  line-height:
    1;

  white-space:
    nowrap;

  cursor:
    pointer;

  user-select:
    none;

  transition:
    background-color var(--sf-transition),
    border-color var(--sf-transition),
    color var(--sf-transition),
    opacity var(--sf-transition),
    transform 100ms ease;
}


.stock-full-primary-button svg,
.stock-full-primary-button i,
.stock-full-secondary-button svg,
.stock-full-secondary-button i {
  width:
    14px;

  height:
    14px;

  flex:
    0 0 auto;
}


.stock-full-primary-button:hover:not(:disabled),
.stock-full-secondary-button:hover:not(:disabled) {
  transform:
    translateY(-1px);
}


.stock-full-primary-button:active:not(:disabled),
.stock-full-secondary-button:active:not(:disabled) {
  transform:
    translateY(0);
}


.stock-full-primary-button:disabled,
.stock-full-secondary-button:disabled {
  opacity:
    0.42;

  cursor:
    not-allowed;

  transform:
    none;
}


/* =========================================================
   10. PRIMARY
   ========================================================= */

.stock-full-primary-button {
  color:
    #ffffff;

  background:
    #111111;

  border-color:
    #111111;
}


.stock-full-primary-button:hover:not(:disabled) {
  background:
    #272727;

  border-color:
    #272727;
}


html[data-theme="dark"] .stock-full-primary-button,
body.dark .stock-full-primary-button,
body[data-theme="dark"] .stock-full-primary-button {
  color:
    #000000;

  background:
    #ffffff;

  border-color:
    #ffffff;
}


html[data-theme="dark"] .stock-full-primary-button:hover:not(:disabled),
body.dark .stock-full-primary-button:hover:not(:disabled),
body[data-theme="dark"] .stock-full-primary-button:hover:not(:disabled) {
  background:
    #e8e8e8;

  border-color:
    #e8e8e8;
}


/* =========================================================
   11. SECONDARY
   ========================================================= */

.stock-full-secondary-button {
  color:
    var(--sf-text);

  background:
    var(--sf-surface);

  border-color:
    var(--sf-border);
}


.stock-full-secondary-button:hover:not(:disabled) {
  background:
    var(--sf-surface-hover);

  border-color:
    var(--sf-border-strong);
}


/* =========================================================
   12. BUTTON DANGER
   ========================================================= */

.stock-full-secondary-button.is-danger {
  color:
    var(--sf-danger);

  border-color:
    var(--sf-danger-border);

  background:
    var(--sf-danger-bg);
}


.stock-full-secondary-button.is-danger:hover:not(:disabled) {
  color:
    #991b1b;

  border-color:
    #fca5a5;

  background:
    #fef2f2;
}


html[data-theme="dark"] .stock-full-secondary-button.is-danger,
body.dark .stock-full-secondary-button.is-danger,
body[data-theme="dark"] .stock-full-secondary-button.is-danger {
  color:
    #fca5a5;

  border-color:
    #4b1616;

  background:
    #160909;
}


/* =========================================================
   13. BUTTON LOADING
   ========================================================= */

.stock-full-primary-button.is-loading svg,
.stock-full-primary-button.is-loading i,
.stock-full-secondary-button.is-loading svg,
.stock-full-secondary-button.is-loading i,
.stock-full-loading-inline svg,
.stock-full-loading-inline i,
.stock-full-loading-block svg,
.stock-full-loading-block i {
  animation:
    stock-full-spin 0.8s linear infinite;
}


@keyframes stock-full-spin {
  to {
    transform:
      rotate(360deg);
  }
}


/* =========================================================
   14. ICON BUTTON
   ========================================================= */

.stock-full-icon-button {
  width:
    32px;

  height:
    32px;

  padding:
    0;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  flex:
    0 0 auto;

  border:
    1px solid var(--sf-border);

  border-radius:
    8px;

  outline:
    none;

  color:
    var(--sf-text-secondary);

  background:
    transparent;

  cursor:
    pointer;

  transition:
    background-color var(--sf-transition),
    color var(--sf-transition),
    border-color var(--sf-transition),
    transform 100ms ease;
}


.stock-full-icon-button svg,
.stock-full-icon-button i {
  width:
    14px;

  height:
    14px;
}


.stock-full-icon-button:hover:not(:disabled) {
  color:
    var(--sf-text);

  background:
    var(--sf-surface-hover);

  border-color:
    var(--sf-border-strong);

  transform:
    translateY(-1px);
}


.stock-full-icon-button:disabled {
  opacity:
    0.4;

  cursor:
    not-allowed;

  transform:
    none;
}


.stock-full-icon-button.is-danger {
  color:
    var(--sf-danger);
}


.stock-full-icon-button.is-danger:hover {
  border-color:
    var(--sf-danger-border);

  background:
    var(--sf-danger-bg);
}


/* =========================================================
   15. METRICS
   ========================================================= */

.stock-full-metrics {
  width:
    100%;

  min-width:
    0;

  display:
    grid;

  grid-template-columns:
    repeat(
      6,
      minmax(0, 1fr)
    );

  gap:
    10px;
}


/* =========================================================
   16. METRIC CARD
   ========================================================= */

.stock-full-metric-card {
  min-width:
    0;

  min-height:
    92px;

  padding:
    12px 13px;

  display:
    flex;

  align-items:
    center;

  gap:
    10px;

  border:
    1px solid var(--sf-border);

  border-radius:
    13px;

  background:
    var(--sf-surface);

  box-shadow:
    var(--sf-shadow);

  transition:
    border-color var(--sf-transition),
    background-color var(--sf-transition),
    transform var(--sf-transition);
}


.stock-full-metric-card:hover {
  border-color:
    var(--sf-border-strong);

  transform:
    translateY(-1px);
}


/* =========================================================
   17. METRIC ICON
   ========================================================= */

.stock-full-metric-icon {
  width:
    34px;

  height:
    34px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  flex:
    0 0 auto;

  border-radius:
    10px;

  color:
    #525252;

  background:
    #f2f2f3;
}


.stock-full-metric-icon svg,
.stock-full-metric-icon i {
  width:
    16px;

  height:
    16px;
}


html[data-theme="dark"] .stock-full-metric-icon,
body.dark .stock-full-metric-icon,
body[data-theme="dark"] .stock-full-metric-icon {
  color:
    #d3d3d3;

  background:
    #151515;
}


/* =========================================================
   18. METRIC CONTENT
   ========================================================= */

.stock-full-metric-content {
  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    3px;
}


.stock-full-metric-label {
  font-size:
    9px;

  font-weight:
    730;

  line-height:
    1.3;

  color:
    var(--sf-text-muted);
}


.stock-full-metric-value {
  max-width:
    100%;

  overflow:
    hidden;

  font-size:
    18px;

  font-weight:
    790;

  line-height:
    1.08;

  letter-spacing:
    -0.025em;

  text-overflow:
    ellipsis;

  white-space:
    nowrap;

  color:
    var(--sf-text);
}


.stock-full-metric-content small {
  font-size:
    9px;

  font-weight:
    550;

  color:
    var(--sf-text-muted);
}


/* =========================================================
   19. METRIC SKELETON
   ========================================================= */

.stock-full-metric-card.is-loading {
  min-height:
    92px;
}


.stock-full-metric-skeleton {
  width:
    100%;

  height:
    54px;

  border-radius:
    9px;

  background:
    linear-gradient(
      90deg,
      #f1f1f1 25%,
      #f7f7f7 50%,
      #f1f1f1 75%
    );

  background-size:
    200% 100%;

  animation:
    stock-full-skeleton 1.2s infinite;
}


html[data-theme="dark"] .stock-full-metric-skeleton,
body.dark .stock-full-metric-skeleton,
body[data-theme="dark"] .stock-full-metric-skeleton {
  background:
    linear-gradient(
      90deg,
      #111111 25%,
      #181818 50%,
      #111111 75%
    );

  background-size:
    200% 100%;
}


@keyframes stock-full-skeleton {
  from {
    background-position:
      200% 0;
  }

  to {
    background-position:
      -200% 0;
  }
}


/* =========================================================
   20. QUICK ACTIONS WRAPPER
   ========================================================= */

#stock-full-quick-actions {
  width:
    100%;

  min-width:
    0;
}


.stock-full-quick-actions {
  width:
    100%;

  min-width:
    0;

  display:
    grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap:
    9px;
}


/* =========================================================
   21. QUICK ACTION
   ========================================================= */

.stock-full-quick-action {
  min-width:
    0;

  min-height:
    64px;

  padding:
    10px 12px;

  display:
    flex;

  align-items:
    center;

  gap:
    10px;

  border:
    1px solid var(--sf-border);

  border-radius:
    11px;

  outline:
    none;

  text-align:
    left;

  font:
    inherit;

  color:
    var(--sf-text);

  background:
    var(--sf-surface);

  cursor:
    pointer;

  transition:
    background-color var(--sf-transition),
    border-color var(--sf-transition),
    transform var(--sf-transition);
}


.stock-full-quick-action:hover {
  background:
    var(--sf-surface-hover);

  border-color:
    var(--sf-border-strong);

  transform:
    translateY(-1px);
}


/* =========================================================
   22. QUICK ACTION ICON
   ========================================================= */

.stock-full-quick-action-icon {
  width:
    32px;

  height:
    32px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  flex:
    0 0 auto;

  border-radius:
    9px;

  color:
    var(--sf-text-secondary);

  background:
    var(--sf-surface-soft);
}


.stock-full-quick-action-icon svg,
.stock-full-quick-action-icon i {
  width:
    15px;

  height:
    15px;
}


/* =========================================================
   23. QUICK ACTION COPY
   ========================================================= */

.stock-full-quick-action-copy {
  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;
}


.stock-full-quick-action-copy strong {
  overflow:
    hidden;

  font-size:
    10px;

  font-weight:
    750;

  line-height:
    1.25;

  color:
    var(--sf-text);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


.stock-full-quick-action-copy small {
  overflow:
    hidden;

  font-size:
    9px;

  font-weight:
    500;

  line-height:
    1.3;

  color:
    var(--sf-text-muted);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


/* =========================================================
   24. CONTENT CARD
   ========================================================= */

.stock-full-content-card {
  width:
    100%;

  min-width:
    0;

  border:
    1px solid var(--sf-border);

  border-radius:
    14px;

  background:
    var(--sf-surface);

  box-shadow:
    var(--sf-shadow);

  overflow:
    hidden;
}


/* =========================================================
   25. TOOLBAR
   ========================================================= */

.stock-full-toolbar {
  width:
    100%;

  min-width:
    0;

  min-height:
    62px;

  padding:
    10px 12px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    12px;

  border-bottom:
    1px solid var(--sf-border-soft);

  background:
    var(--sf-surface);
}


.stock-full-toolbar-main {
  min-width:
    0;

  display:
    flex;

  align-items:
    center;

  gap:
    10px;

  flex:
    1;
}


.stock-full-toolbar-actions {
  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-end;

  flex-wrap:
    wrap;

  gap:
    7px;

  flex:
    0 0 auto;
}


/* =========================================================
   26. SEARCH
   ========================================================= */

.stock-full-search-field {
  width:
    min(
      470px,
      100%
    );

  min-width:
    230px;

  height:
    38px;

  padding:
    0 10px;

  display:
    flex;

  align-items:
    center;

  gap:
    8px;

  border:
    1px solid var(--sf-border);

  border-radius:
    9px;

  background:
    var(--sf-surface-soft);

  transition:
    border-color var(--sf-transition),
    background-color var(--sf-transition);
}


.stock-full-search-field:focus-within {
  border-color:
    #a8a8aa;

  background:
    var(--sf-surface);
}


.stock-full-search-field > svg,
.stock-full-search-field > i {
  width:
    15px;

  height:
    15px;

  flex:
    0 0 auto;

  color:
    var(--sf-text-muted);
}


.stock-full-search-field input {
  width:
    100%;

  min-width:
    0;

  height:
    100%;

  padding:
    0;

  border:
    0;

  outline:
    0;

  font:
    inherit;

  font-size:
    11px;

  font-weight:
    500;

  color:
    var(--sf-text);

  background:
    transparent;
}


.stock-full-search-field input::placeholder {
  color:
    var(--sf-text-muted);
}


/* =========================================================
   27. SELECTED COUNTER
   ========================================================= */

.stock-full-selected-counter {
  min-height:
    30px;

  display:
    inline-flex;

  align-items:
    center;

  white-space:
    nowrap;

  font-size:
    10px;

  font-weight:
    700;

  color:
    var(--sf-text-muted);
}


/* =========================================================
   28. FILTERS
   ========================================================= */

.stock-full-filters {
  width:
    100%;

  min-width:
    0;

  padding:
    11px 12px;

  border-bottom:
    1px solid var(--sf-border-soft);

  background:
    var(--sf-surface-soft);
}


/* =========================================================
   29. FILTER GRID
   ========================================================= */

.stock-full-filter-grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      6,
      minmax(0, 1fr)
    );

  gap:
    9px;
}


/* =========================================================
   30. FILTER FIELD
   ========================================================= */

.stock-full-filter-field {
  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    5px;
}


.stock-full-filter-field label {
  font-size:
    9px;

  font-weight:
    720;

  line-height:
    1.25;

  color:
    var(--sf-text-secondary);
}


.stock-full-filter-field select,
.stock-full-filter-field input {
  width:
    100%;

  height:
    36px;

  padding:
    0 9px;

  border:
    1px solid var(--sf-border);

  border-radius:
    8px;

  outline:
    none;

  font:
    inherit;

  font-size:
    10px;

  font-weight:
    500;

  color:
    var(--sf-text);

  background:
    var(--sf-surface);

  transition:
    border-color var(--sf-transition),
    background-color var(--sf-transition);
}


.stock-full-filter-field select:focus,
.stock-full-filter-field input:focus {
  border-color:
    #99999c;
}


/* =========================================================
   31. FILTER ACTIONS
   ========================================================= */

.stock-full-filter-actions {
  margin-top:
    9px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-end;

  gap:
    7px;
}


/* =========================================================
   32. TABLE SHELL
   ========================================================= */

.stock-full-table-shell {
  width:
    100%;

  min-width:
    0;

  overflow-x:
    auto;

  overflow-y:
    visible;

  scrollbar-width:
    thin;

  scrollbar-color:
    #c4c4c4 transparent;
}


html[data-theme="dark"] .stock-full-table-shell,
body.dark .stock-full-table-shell,
body[data-theme="dark"] .stock-full-table-shell {
  scrollbar-color:
    #333333 transparent;
}


/* =========================================================
   33. TABLE
   ========================================================= */

.stock-full-table {
  width:
    100%;

  min-width:
    1380px;

  border-spacing:
    0;

  border-collapse:
    collapse;

  table-layout:
    auto;

  background:
    var(--sf-surface);
}


.stock-full-table thead {
  background:
    var(--sf-surface-soft);
}


/* =========================================================
   34. TABLE TH
   ========================================================= */

.stock-full-table th {
  height:
    42px;

  padding:
    0 10px;

  border-right:
    1px solid var(--sf-border-soft);

  border-bottom:
    1px solid var(--sf-border);

  font-size:
    9px;

  font-weight:
    770;

  line-height:
    1.2;

  text-align:
    left;

  vertical-align:
    middle;

  white-space:
    nowrap;

  color:
    var(--sf-text-secondary);
}


.stock-full-table th:last-child {
  border-right:
    0;
}


/* =========================================================
   35. TABLE TD
   ========================================================= */

.stock-full-table td {
  min-height:
    52px;

  padding:
    9px 10px;

  border-right:
    1px solid var(--sf-border-soft);

  border-bottom:
    1px solid var(--sf-border);

  font-size:
    10px;

  font-weight:
    500;

  line-height:
    1.35;

  vertical-align:
    middle;

  color:
    var(--sf-text);
}


.stock-full-table td:last-child {
  border-right:
    0;
}


.stock-full-table tbody tr:last-child td {
  border-bottom:
    0;
}


/* =========================================================
   36. TABLE ROW
   ========================================================= */

.stock-full-table-row {
  transition:
    background-color var(--sf-transition);
}


.stock-full-table-row:nth-child(even) {
  background:
    rgba(0, 0, 0, 0.012);
}


.stock-full-table-row:hover {
  background:
    var(--sf-surface-hover);
}


.stock-full-table-row.is-selected {
  background:
    var(--sf-surface-selected);
}


html[data-theme="dark"] .stock-full-table-row:nth-child(even),
body.dark .stock-full-table-row:nth-child(even),
body[data-theme="dark"] .stock-full-table-row:nth-child(even) {
  background:
    rgba(255, 255, 255, 0.015);
}


/* =========================================================
   37. SELECT COLUMN
   ========================================================= */

.stock-full-select-column {
  width:
    40px;

  min-width:
    40px;

  max-width:
    40px;

  padding-left:
    11px !important;

  padding-right:
    4px !important;
}


/* =========================================================
   38. CHECKBOX
   ========================================================= */

.stock-full-checkbox-wrap {
  position:
    relative;

  width:
    18px;

  height:
    18px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  cursor:
    pointer;
}


.stock-full-checkbox-wrap input {
  position:
    absolute;

  opacity:
    0;

  pointer-events:
    none;
}


.stock-full-checkbox-wrap span {
  width:
    15px;

  height:
    15px;

  display:
    block;

  border:
    1px solid #b9b9bb;

  border-radius:
    4px;

  background:
    transparent;
}


.stock-full-checkbox-wrap input:checked + span {
  border-color:
    #111111;

  background:
    #111111
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")
    center /
    10px
    no-repeat;
}


.stock-full-checkbox-wrap input:indeterminate + span {
  border-color:
    #111111;

  background:
    #111111
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E")
    center /
    10px
    no-repeat;
}


html[data-theme="dark"] .stock-full-checkbox-wrap input:checked + span,
html[data-theme="dark"] .stock-full-checkbox-wrap input:indeterminate + span,
body.dark .stock-full-checkbox-wrap input:checked + span,
body.dark .stock-full-checkbox-wrap input:indeterminate + span,
body[data-theme="dark"] .stock-full-checkbox-wrap input:checked + span,
body[data-theme="dark"] .stock-full-checkbox-wrap input:indeterminate + span {
  border-color:
    #ffffff;

  background-color:
    #ffffff;

  filter:
    invert(1);
}


/* =========================================================
   39. SORT BUTTON
   ========================================================= */

.stock-full-sort-button {
  height:
    100%;

  padding:
    0;

  display:
    inline-flex;

  align-items:
    center;

  gap:
    5px;

  border:
    0;

  outline:
    0;

  font:
    inherit;

  font-size:
    inherit;

  font-weight:
    inherit;

  color:
    inherit;

  background:
    transparent;

  cursor:
    pointer;
}


.stock-full-sort-button svg,
.stock-full-sort-button i {
  width:
    11px;

  height:
    11px;

  opacity:
    0.35;
}


.stock-full-sort-button.is-active {
  color:
    var(--sf-text);
}


.stock-full-sort-button.is-active svg,
.stock-full-sort-button.is-active i {
  opacity:
    1;
}


/* =========================================================
   40. CODE VALUE
   ========================================================= */

.stock-full-code-value {
  max-width:
    150px;

  display:
    inline-block;

  overflow:
    hidden;

  font-size:
    10px;

  font-weight:
    760;

  font-variant-numeric:
    tabular-nums;

  color:
    var(--sf-text);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


/* =========================================================
   41. NAME CELL
   ========================================================= */

.stock-full-name-cell {
  min-width:
    180px;

  max-width:
    310px;

  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;
}


.stock-full-name-cell strong {
  overflow:
    hidden;

  font-size:
    10px;

  font-weight:
    730;

  line-height:
    1.35;

  color:
    var(--sf-text);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


.stock-full-name-cell span {
  overflow:
    hidden;

  font-size:
    9px;

  line-height:
    1.3;

  color:
    var(--sf-text-muted);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


/* =========================================================
   42. VALUE LABEL
   ========================================================= */

.stock-full-value-label {
  max-width:
    190px;

  display:
    inline-block;

  overflow:
    hidden;

  font-size:
    10px;

  color:
    var(--sf-text);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


/* =========================================================
   43. NUMBER CELL
   ========================================================= */

.stock-full-number-cell {
  display:
    inline-block;

  font-size:
    10px;

  font-weight:
    600;

  font-variant-numeric:
    tabular-nums;

  white-space:
    nowrap;

  color:
    var(--sf-text);
}


.stock-full-number-cell.is-strong {
  font-weight:
    780;
}


/* =========================================================
   44. STOCK CELL
   ========================================================= */

.stock-full-stock-cell {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    6px;

  font-size:
    10px;

  font-weight:
    720;

  font-variant-numeric:
    tabular-nums;

  color:
    var(--sf-text);
}


.stock-full-stock-cell svg,
.stock-full-stock-cell i {
  width:
    11px;

  height:
    11px;

  color:
    var(--sf-text-muted);
}


.stock-full-stock-cell.is-readonly {
  color:
    var(--sf-text-secondary);
}


/* =========================================================
   45. ACTIONS COLUMN
   ========================================================= */

.stock-full-actions-column {
  width:
    165px;

  min-width:
    165px;

  text-align:
    right !important;
}


.stock-full-row-actions {
  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-end;

  gap:
    4px;
}


/* =========================================================
   46. BADGE
   ========================================================= */

.stock-full-badge {
  min-height:
    22px;

  padding:
    3px 7px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    4px;

  border:
    1px solid transparent;

  border-radius:
    999px;

  font-size:
    8px;

  font-weight:
    780;

  line-height:
    1.1;

  white-space:
    nowrap;
}


.stock-full-badge svg,
.stock-full-badge i {
  width:
    11px;

  height:
    11px;
}


/* =========================================================
   47. BADGE SUCCESS
   ========================================================= */

.stock-full-badge.is-success {
  color:
    #166534;

  background:
    #f0fdf4;

  border-color:
    #bbf7d0;
}


/* =========================================================
   48. BADGE WARNING
   ========================================================= */

.stock-full-badge.is-warning {
  color:
    #92400e;

  background:
    #fffbeb;

  border-color:
    #fde68a;
}


/* =========================================================
   49. BADGE DANGER
   ========================================================= */

.stock-full-badge.is-danger {
  color:
    #991b1b;

  background:
    #fef2f2;

  border-color:
    #fecaca;
}


/* =========================================================
   50. BADGE INFO
   ========================================================= */

.stock-full-badge.is-info {
  color:
    #1d4ed8;

  background:
    #eff6ff;

  border-color:
    #bfdbfe;
}


/* =========================================================
   51. BADGE MUTED
   ========================================================= */

.stock-full-badge.is-muted {
  color:
    #525252;

  background:
    #f5f5f5;

  border-color:
    #e5e5e5;
}


/* =========================================================
   52. BADGES DARK
   ========================================================= */

html[data-theme="dark"] .stock-full-badge.is-success,
body.dark .stock-full-badge.is-success,
body[data-theme="dark"] .stock-full-badge.is-success {
  color:
    #86efac;

  background:
    #07150c;

  border-color:
    #164323;
}


html[data-theme="dark"] .stock-full-badge.is-warning,
body.dark .stock-full-badge.is-warning,
body[data-theme="dark"] .stock-full-badge.is-warning {
  color:
    #fcd34d;

  background:
    #191302;

  border-color:
    #4e3b05;
}


html[data-theme="dark"] .stock-full-badge.is-danger,
body.dark .stock-full-badge.is-danger,
body[data-theme="dark"] .stock-full-badge.is-danger {
  color:
    #fca5a5;

  background:
    #1b0808;

  border-color:
    #511616;
}


html[data-theme="dark"] .stock-full-badge.is-info,
body.dark .stock-full-badge.is-info,
body[data-theme="dark"] .stock-full-badge.is-info {
  color:
    #93c5fd;

  background:
    #07101e;

  border-color:
    #16345f;
}


html[data-theme="dark"] .stock-full-badge.is-muted,
body.dark .stock-full-badge.is-muted,
body[data-theme="dark"] .stock-full-badge.is-muted {
  color:
    #c3c3c3;

  background:
    #141414;

  border-color:
    #2c2c2c;
}


/* =========================================================
   53. COVERAGE
   ========================================================= */

.stock-full-coverage {
  min-height:
    24px;

  padding:
    3px 7px;

  display:
    inline-flex;

  align-items:
    center;

  gap:
    3px;

  border:
    1px solid transparent;

  border-radius:
    7px;

  white-space:
    nowrap;
}


.stock-full-coverage strong {
  font-size:
    10px;

  font-weight:
    770;

  font-variant-numeric:
    tabular-nums;
}


.stock-full-coverage span {
  font-size:
    8px;

  font-weight:
    600;
}


.stock-full-coverage.is-danger {
  color:
    #991b1b;

  background:
    #fef2f2;

  border-color:
    #fecaca;
}


.stock-full-coverage.is-warning {
  color:
    #92400e;

  background:
    #fffbeb;

  border-color:
    #fde68a;
}


.stock-full-coverage.is-success {
  color:
    #166534;

  background:
    #f0fdf4;

  border-color:
    #bbf7d0;
}


.stock-full-coverage.is-info {
  color:
    #1d4ed8;

  background:
    #eff6ff;

  border-color:
    #bfdbfe;
}


.stock-full-coverage.is-muted {
  color:
    var(--sf-text-muted);

  background:
    var(--sf-surface-soft);

  border-color:
    var(--sf-border-soft);
}


/* =========================================================
   54. BREAK DATE
   ========================================================= */

.stock-full-break-date {
  display:
    inline-flex;

  flex-direction:
    column;

  gap:
    1px;

  white-space:
    nowrap;
}


.stock-full-break-date strong {
  font-size:
    9px;

  font-weight:
    720;

  color:
    var(--sf-text);
}


.stock-full-break-date span {
  font-size:
    8px;

  font-weight:
    600;

  color:
    var(--sf-text-muted);
}


.stock-full-break-date.is-danger strong,
.stock-full-break-date.is-danger span {
  color:
    var(--sf-danger);
}


.stock-full-break-date.is-warning strong,
.stock-full-break-date.is-warning span {
  color:
    var(--sf-warning);
}


/* =========================================================
   55. MUTED
   ========================================================= */

.stock-full-muted {
  font-size:
    10px;

  color:
    var(--sf-text-muted);
}


/* =========================================================
   56. EMPTY CELL
   ========================================================= */

.stock-full-empty-cell {
  padding:
    0 !important;
}


/* =========================================================
   57. EMPTY STATE
   ========================================================= */

.stock-full-empty-state {
  min-height:
    220px;

  padding:
    28px;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  gap:
    7px;

  text-align:
    center;
}


.stock-full-empty-icon {
  width:
    40px;

  height:
    40px;

  margin-bottom:
    3px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    11px;

  color:
    var(--sf-text-muted);

  background:
    var(--sf-surface-soft);
}


.stock-full-empty-icon svg,
.stock-full-empty-icon i {
  width:
    18px;

  height:
    18px;
}


.stock-full-empty-state strong {
  font-size:
    12px;

  font-weight:
    760;

  color:
    var(--sf-text);
}


.stock-full-empty-state > span {
  max-width:
    380px;

  font-size:
    10px;

  font-weight:
    500;

  line-height:
    1.45;

  color:
    var(--sf-text-muted);
}


/* =========================================================
   58. LOADING CELL
   ========================================================= */

.stock-full-loading-cell {
  padding:
    0 !important;
}


.stock-full-loading-inline {
  min-height:
    210px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    8px;

  font-size:
    10px;

  font-weight:
    650;

  color:
    var(--sf-text-muted);
}


.stock-full-loading-inline svg,
.stock-full-loading-inline i {
  width:
    16px;

  height:
    16px;
}


/* =========================================================
   59. PAGINATION
   ========================================================= */

.stock-full-pagination {
  width:
    100%;

  min-width:
    0;

  min-height:
    56px;

  padding:
    9px 12px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    12px;

  border-top:
    1px solid var(--sf-border-soft);

  background:
    var(--sf-surface);
}


/* =========================================================
   60. PAGINATION SUMMARY
   ========================================================= */

.stock-full-pagination-summary {
  font-size:
    9px;

  font-weight:
    650;

  color:
    var(--sf-text-muted);
}


/* =========================================================
   61. PAGINATION CONTROLS
   ========================================================= */

.stock-full-pagination-controls {
  display:
    flex;

  align-items:
    center;

  gap:
    7px;
}


/* =========================================================
   62. PAGE SIZE
   ========================================================= */

.stock-full-page-size {
  display:
    flex;

  align-items:
    center;

  gap:
    6px;

  font-size:
    9px;

  font-weight:
    650;

  color:
    var(--sf-text-muted);
}


.stock-full-page-size select {
  height:
    30px;

  padding:
    0 7px;

  border:
    1px solid var(--sf-border);

  border-radius:
    7px;

  outline:
    none;

  font:
    inherit;

  font-size:
    9px;

  color:
    var(--sf-text);

  background:
    var(--sf-surface);
}


/* =========================================================
   63. PAGE BUTTON
   ========================================================= */

.stock-full-page-button {
  width:
    30px;

  height:
    30px;

  padding:
    0;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border:
    1px solid var(--sf-border);

  border-radius:
    7px;

  color:
    var(--sf-text-secondary);

  background:
    var(--sf-surface);

  cursor:
    pointer;

  transition:
    background-color var(--sf-transition),
    border-color var(--sf-transition),
    color var(--sf-transition),
    opacity var(--sf-transition);
}


.stock-full-page-button:hover:not(:disabled) {
  color:
    var(--sf-text);

  background:
    var(--sf-surface-hover);

  border-color:
    var(--sf-border-strong);
}


.stock-full-page-button:disabled {
  opacity:
    0.35;

  cursor:
    not-allowed;
}


.stock-full-page-button svg,
.stock-full-page-button i {
  width:
    13px;

  height:
    13px;
}


/* =========================================================
   64. PAGE CURRENT
   ========================================================= */

.stock-full-page-current {
  min-width:
    105px;

  text-align:
    center;

  font-size:
    9px;

  color:
    var(--sf-text-muted);
}


.stock-full-page-current strong {
  color:
    var(--sf-text);

  font-weight:
    760;
}


/* =========================================================
   65. DARK TABLE BORDERS
   ========================================================= */

html[data-theme="dark"] .stock-full-table th,
html[data-theme="dark"] .stock-full-table td,
body.dark .stock-full-table th,
body.dark .stock-full-table td,
body[data-theme="dark"] .stock-full-table th,
body[data-theme="dark"] .stock-full-table td {
  border-right-color:
    #202020;

  border-bottom-color:
    #262626;
}


/* =========================================================
   66. DARK INPUTS
   ========================================================= */

html[data-theme="dark"] .stock-full-filter-field select,
html[data-theme="dark"] .stock-full-filter-field input,
html[data-theme="dark"] .stock-full-page-size select,
body.dark .stock-full-filter-field select,
body.dark .stock-full-filter-field input,
body.dark .stock-full-page-size select,
body[data-theme="dark"] .stock-full-filter-field select,
body[data-theme="dark"] .stock-full-filter-field input,
body[data-theme="dark"] .stock-full-page-size select {
  color:
    #f4f4f4;

  background:
    #090909;

  border-color:
    #242424;

  color-scheme:
    dark;
}


/* =========================================================
   67. SVG
   ========================================================= */

.stock-full-page svg,
.stock-full-page i[data-lucide] {
  flex:
    0 0 auto;

  stroke-width:
    1.8;
}


/* =========================================================
   68. NO HORIZONTAL PAGE OVERFLOW
   ========================================================= */

.app-main,
.app-content,
.stock-full-page,
.stock-full-content-card,
.stock-full-toolbar,
.stock-full-toolbar-main,
.stock-full-filters,
.stock-full-filter-grid,
.stock-full-metrics,
.stock-full-quick-actions {
  min-width:
    0;

  max-width:
    100%;
}


/* =========================================================
   69. RESPONSIVE · 1500
   ========================================================= */

@media (
  max-width: 1500px
) {
  .stock-full-metrics {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }

  .stock-full-filter-grid {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }
}


/* =========================================================
   70. RESPONSIVE · 1180
   ========================================================= */

@media (
  max-width: 1180px
) {
  .stock-full-page {
    padding:
      18px;
  }

  .stock-full-page-header {
    align-items:
      flex-start;

    flex-direction:
      column;
  }

  .stock-full-header-actions {
    width:
      100%;

    justify-content:
      flex-start;
  }

  .stock-full-quick-actions {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .stock-full-toolbar {
    align-items:
      stretch;

    flex-direction:
      column;
  }

  .stock-full-toolbar-main {
    width:
      100%;
  }

  .stock-full-search-field {
    width:
      100%;

    max-width:
      none;
  }

  .stock-full-toolbar-actions {
    justify-content:
      flex-start;
  }
}


/* =========================================================
   71. RESPONSIVE · 760
   ========================================================= */

@media (
  max-width: 760px
) {
  .stock-full-page {
    padding:
      12px;

    gap:
      12px;
  }

  .stock-full-page-heading h1 {
    font-size:
      28px;
  }

  .stock-full-page-heading p {
    font-size:
      11px;
  }

  .stock-full-header-actions {
    display:
      grid;

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .stock-full-header-actions
  .stock-full-primary-button,
  .stock-full-header-actions
  .stock-full-secondary-button {
    width:
      100%;
  }

  .stock-full-metrics {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .stock-full-filter-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .stock-full-toolbar-main {
    align-items:
      stretch;

    flex-direction:
      column;
  }

  .stock-full-toolbar-actions {
    display:
      grid;

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .stock-full-toolbar-actions
  .stock-full-secondary-button {
    width:
      100%;
  }

  .stock-full-pagination {
    align-items:
      flex-start;

    flex-direction:
      column;
  }

  .stock-full-pagination-controls {
    width:
      100%;

    flex-wrap:
      wrap;
  }
}


/* =========================================================
   72. RESPONSIVE · 520
   ========================================================= */

@media (
  max-width: 520px
) {
  .stock-full-page-heading h1 {
    font-size:
      26px;
  }

  .stock-full-page-kicker {
    font-size:
      9px;
  }

  .stock-full-header-actions {
    grid-template-columns:
      1fr;
  }

  .stock-full-metrics {
    grid-template-columns:
      1fr;
  }

  .stock-full-quick-actions {
    grid-template-columns:
      1fr;
  }

  .stock-full-filter-grid {
    grid-template-columns:
      1fr;
  }

  .stock-full-filter-actions {
    align-items:
      stretch;

    flex-direction:
      column;
  }

  .stock-full-filter-actions button {
    width:
      100%;
  }

  .stock-full-toolbar-actions {
    grid-template-columns:
      1fr;
  }

  .stock-full-pagination-controls {
    align-items:
      flex-start;

    flex-direction:
      column;
  }

  .stock-full-page-current {
    min-width:
      0;
  }
}


/* =========================================================
   FIN PARTE 1 DE 3

   PARTE 2:
   - Modales
   - Formularios
   - Inputs
   - Selects
   - Textarea
   - Switches
   - Detalle producto
   - Columnas
   - Bulk tables
   - Info boxes
   ========================================================= *//* =========================================================
   WIRTZ HUB · RECURSOS · STOCK FULL
   CSS

   PARTE 2 DE 3

   CONTIENE:
   - Panel columnas
   - Modal base
   - Formularios
   - Inputs / selects / textarea
   - Switches
   - Detalle producto
   - Bulk tables
   - Info boxes
   - Importación
   ========================================================= */


/* =========================================================
   73. COLUMNS PANEL
   ========================================================= */

.stock-full-columns-panel {
  position:
    fixed;

  top:
    84px;

  right:
    18px;

  z-index:
    1040;

  width:
    min(
      320px,
      calc(100vw - 28px)
    );

  max-height:
    calc(100vh - 108px);

  display:
    flex;

  flex-direction:
    column;

  border:
    1px solid var(--sf-border);

  border-radius:
    13px;

  background:
    var(--sf-surface);

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.14);

  opacity:
    0;

  visibility:
    hidden;

  transform:
    translateY(-6px);

  pointer-events:
    none;

  transition:
    opacity var(--sf-transition),
    visibility var(--sf-transition),
    transform var(--sf-transition);
}


.stock-full-columns-panel.is-open {
  opacity:
    1;

  visibility:
    visible;

  transform:
    translateY(0);

  pointer-events:
    auto;
}


html[data-theme="dark"] .stock-full-columns-panel,
body.dark .stock-full-columns-panel,
body[data-theme="dark"] .stock-full-columns-panel {
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.6);
}


/* =========================================================
   74. COLUMNS PANEL HEAD
   ========================================================= */

.stock-full-columns-panel-head {
  min-height:
    60px;

  padding:
    11px 12px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    10px;

  border-bottom:
    1px solid var(--sf-border);
}


.stock-full-columns-panel-head > div:first-child {
  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;
}


.stock-full-columns-panel-head strong {
  font-size:
    11px;

  font-weight:
    780;

  color:
    var(--sf-text);
}


.stock-full-columns-panel-head span {
  font-size:
    9px;

  font-weight:
    500;

  color:
    var(--sf-text-muted);
}


/* =========================================================
   75. COLUMNS LIST
   ========================================================= */

.stock-full-columns-list {
  padding:
    8px;

  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;

  overflow-y:
    auto;

  overscroll-behavior:
    contain;

  scrollbar-width:
    thin;
}


/* =========================================================
   76. COLUMN OPTION
   ========================================================= */

.stock-full-column-option {
  min-height:
    34px;

  padding:
    6px 8px;

  display:
    flex;

  align-items:
    center;

  gap:
    8px;

  border-radius:
    8px;

  cursor:
    pointer;

  transition:
    background-color var(--sf-transition);
}


.stock-full-column-option:hover {
  background:
    var(--sf-surface-hover);
}


.stock-full-column-option input {
  width:
    14px;

  height:
    14px;

  accent-color:
    #111111;

  cursor:
    pointer;
}


html[data-theme="dark"] .stock-full-column-option input,
body.dark .stock-full-column-option input,
body[data-theme="dark"] .stock-full-column-option input {
  accent-color:
    #ffffff;
}


.stock-full-column-option span {
  font-size:
    10px;

  font-weight:
    650;

  color:
    var(--sf-text);
}


/* =========================================================
   77. COLUMNS FOOT
   ========================================================= */

.stock-full-columns-panel-foot {
  padding:
    9px 10px;

  display:
    flex;

  justify-content:
    flex-end;

  border-top:
    1px solid var(--sf-border);
}


/* =========================================================
   78. MODAL BODY LOCK
   ========================================================= */

body.stock-full-modal-open {
  overflow:
    hidden !important;
}


/* =========================================================
   79. MODAL OVERLAY
   ========================================================= */

.stock-full-modal-overlay {
  position:
    fixed;

  inset:
    0;

  z-index:
    3000;

  padding:
    24px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  background:
    rgba(0, 0, 0, 0.5);

  opacity:
    0;

  visibility:
    hidden;

  transition:
    opacity 150ms ease,
    visibility 150ms ease;
}


.stock-full-modal-overlay.is-visible {
  opacity:
    1;

  visibility:
    visible;
}


html[data-theme="dark"] .stock-full-modal-overlay,
body.dark .stock-full-modal-overlay,
body[data-theme="dark"] .stock-full-modal-overlay {
  background:
    rgba(0, 0, 0, 0.76);
}


/* =========================================================
   80. MODAL BASE
   ========================================================= */

.stock-full-modal {
  width:
    min(
      100%,
      760px
    );

  max-height:
    calc(100vh - 48px);

  display:
    flex;

  flex-direction:
    column;

  border:
    1px solid var(--sf-border-strong);

  border-radius:
    15px;

  background:
    var(--sf-surface);

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.22);

  overflow:
    hidden;

  transform:
    translateY(8px) scale(0.995);

  transition:
    transform 150ms ease;
}


.stock-full-modal-overlay.is-visible
.stock-full-modal {
  transform:
    translateY(0) scale(1);
}


html[data-theme="dark"] .stock-full-modal,
body.dark .stock-full-modal,
body[data-theme="dark"] .stock-full-modal {
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.78);
}


/* =========================================================
   81. MODAL SIZES
   ========================================================= */

.stock-full-modal-sm {
  max-width:
    460px;
}


.stock-full-modal-md {
  max-width:
    620px;
}


.stock-full-modal-lg {
  max-width:
    860px;
}


.stock-full-modal-xl {
  max-width:
    1180px;
}


/* =========================================================
   82. MODAL HEADER
   ========================================================= */

.stock-full-modal-header {
  min-height:
    64px;

  padding:
    12px 14px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    12px;

  border-bottom:
    1px solid var(--sf-border);

  background:
    var(--sf-surface);
}


/* =========================================================
   83. MODAL HEADING
   ========================================================= */

.stock-full-modal-heading {
  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;
}


.stock-full-modal-heading strong {
  overflow:
    hidden;

  font-size:
    13px;

  font-weight:
    790;

  line-height:
    1.25;

  color:
    var(--sf-text);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


.stock-full-modal-heading span {
  overflow:
    hidden;

  font-size:
    10px;

  font-weight:
    500;

  line-height:
    1.35;

  color:
    var(--sf-text-muted);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


/* =========================================================
   84. MODAL BODY
   ========================================================= */

.stock-full-modal-body {
  min-height:
    0;

  flex:
    1;

  padding:
    14px;

  overflow-y:
    auto;

  overflow-x:
    hidden;

  overscroll-behavior:
    contain;

  scrollbar-width:
    thin;

  background:
    var(--sf-surface);
}


/* =========================================================
   85. MODAL FOOTER
   ========================================================= */

.stock-full-modal-footer {
  min-height:
    62px;

  padding:
    10px 14px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-end;

  flex-wrap:
    wrap;

  gap:
    7px;

  border-top:
    1px solid var(--sf-border);

  background:
    var(--sf-surface-soft);
}


/* =========================================================
   86. FORM
   ========================================================= */

.stock-full-form {
  width:
    100%;

  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    12px;
}


/* =========================================================
   87. FORM SECTION
   ========================================================= */

.stock-full-form-section {
  width:
    100%;

  min-width:
    0;

  padding:
    12px;

  border:
    1px solid var(--sf-border);

  border-radius:
    12px;

  background:
    var(--sf-surface);
}


/* =========================================================
   88. FORM SECTION TITLE
   ========================================================= */

.stock-full-form-section-title {
  margin-bottom:
    11px;

  display:
    flex;

  align-items:
    flex-start;

  gap:
    9px;
}


.stock-full-form-section-icon {
  width:
    30px;

  height:
    30px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  flex:
    0 0 auto;

  border-radius:
    8px;

  color:
    var(--sf-text-secondary);

  background:
    var(--sf-surface-soft);

  border:
    1px solid var(--sf-border-soft);
}


.stock-full-form-section-icon svg,
.stock-full-form-section-icon i {
  width:
    14px;

  height:
    14px;
}


.stock-full-form-section-title > div:last-child {
  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;
}


.stock-full-form-section-title strong {
  font-size:
    11px;

  font-weight:
    760;

  color:
    var(--sf-text);
}


.stock-full-form-section-title span {
  font-size:
    9px;

  font-weight:
    500;

  line-height:
    1.4;

  color:
    var(--sf-text-muted);
}


/* =========================================================
   89. FORM GRID
   ========================================================= */

.stock-full-form-grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap:
    10px;
}


/* =========================================================
   90. FORM FIELD
   ========================================================= */

.stock-full-form-field {
  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    5px;
}


.stock-full-form-field.is-wide {
  grid-column:
    1 / -1;
}


/* =========================================================
   91. FORM LABEL
   ========================================================= */

.stock-full-form-field > label {
  display:
    flex;

  align-items:
    center;

  gap:
    3px;

  font-size:
    9px;

  font-weight:
    720;

  line-height:
    1.3;

  color:
    var(--sf-text-secondary);
}


.stock-full-required {
  color:
    var(--sf-danger);
}


/* =========================================================
   92. INPUT / SELECT / TEXTAREA
   ========================================================= */

.stock-full-form-field input,
.stock-full-form-field select,
.stock-full-form-field textarea,
.stock-full-bulk-table input,
.stock-full-bulk-table select {
  width:
    100%;

  border:
    1px solid var(--sf-border);

  border-radius:
    8px;

  outline:
    none;

  font:
    inherit;

  font-size:
    10px;

  font-weight:
    520;

  color:
    var(--sf-text);

  background:
    var(--sf-surface);

  transition:
    border-color var(--sf-transition),
    background-color var(--sf-transition),
    box-shadow var(--sf-transition);
}


.stock-full-form-field input,
.stock-full-form-field select,
.stock-full-bulk-table input,
.stock-full-bulk-table select {
  height:
    36px;

  padding:
    0 9px;
}


.stock-full-form-field textarea {
  min-height:
    88px;

  padding:
    8px 9px;

  line-height:
    1.45;

  resize:
    vertical;
}


/* =========================================================
   93. FOCUS
   ========================================================= */

.stock-full-form-field input:focus,
.stock-full-form-field select:focus,
.stock-full-form-field textarea:focus,
.stock-full-bulk-table input:focus,
.stock-full-bulk-table select:focus {
  border-color:
    #959598;

  background:
    var(--sf-surface);
}


/* =========================================================
   94. READONLY / DISABLED
   ========================================================= */

.stock-full-form-field input[readonly],
.stock-full-form-field input:disabled,
.stock-full-form-field select:disabled,
.stock-full-form-field textarea:disabled {
  color:
    var(--sf-text-secondary);

  background:
    var(--sf-surface-soft);

  border-color:
    var(--sf-border-soft);

  cursor:
    default;
}


/* =========================================================
   95. PLACEHOLDER
   ========================================================= */

.stock-full-form-field input::placeholder,
.stock-full-form-field textarea::placeholder {
  color:
    var(--sf-text-faint);

  opacity:
    1;
}


/* =========================================================
   96. FIELD HINT
   ========================================================= */

.stock-full-field-hint {
  font-size:
    8px;

  font-weight:
    500;

  line-height:
    1.35;

  color:
    var(--sf-text-muted);
}


/* =========================================================
   97. DARK FORM CONTROLS
   ========================================================= */

html[data-theme="dark"]
.stock-full-form-field input,
html[data-theme="dark"]
.stock-full-form-field select,
html[data-theme="dark"]
.stock-full-form-field textarea,
html[data-theme="dark"]
.stock-full-bulk-table input,
html[data-theme="dark"]
.stock-full-bulk-table select,
body.dark
.stock-full-form-field input,
body.dark
.stock-full-form-field select,
body.dark
.stock-full-form-field textarea,
body.dark
.stock-full-bulk-table input,
body.dark
.stock-full-bulk-table select,
body[data-theme="dark"]
.stock-full-form-field input,
body[data-theme="dark"]
.stock-full-form-field select,
body[data-theme="dark"]
.stock-full-form-field textarea,
body[data-theme="dark"]
.stock-full-bulk-table input,
body[data-theme="dark"]
.stock-full-bulk-table select {
  color:
    #f5f5f5;

  background:
    #090909;

  border-color:
    #292929;

  color-scheme:
    dark;
}


/* =========================================================
   98. SWITCH LIST
   ========================================================= */

.stock-full-switch-list {
  display:
    flex;

  flex-direction:
    column;

  gap:
    8px;
}


/* =========================================================
   99. SWITCH FIELD
   ========================================================= */

.stock-full-switch-field {
  min-height:
    58px;

  padding:
    10px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    12px;

  border:
    1px solid var(--sf-border);

  border-radius:
    10px;

  background:
    var(--sf-surface-soft);

  cursor:
    pointer;
}


/* =========================================================
   100. SWITCH COPY
   ========================================================= */

.stock-full-switch-copy {
  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;
}


.stock-full-switch-copy strong {
  font-size:
    10px;

  font-weight:
    740;

  color:
    var(--sf-text);
}


.stock-full-switch-copy span {
  font-size:
    9px;

  font-weight:
    500;

  line-height:
    1.35;

  color:
    var(--sf-text-muted);
}


/* =========================================================
   101. SWITCH
   ========================================================= */

.stock-full-switch {
  position:
    relative;

  width:
    38px;

  height:
    22px;

  display:
    inline-flex;

  flex:
    0 0 auto;
}


.stock-full-switch input {
  position:
    absolute;

  opacity:
    0;

  pointer-events:
    none;
}


.stock-full-switch > span {
  position:
    absolute;

  inset:
    0;

  border:
    1px solid var(--sf-border-strong);

  border-radius:
    999px;

  background:
    #d5d5d7;

  transition:
    background-color var(--sf-transition),
    border-color var(--sf-transition);
}


.stock-full-switch > span::after {
  content:
    "";

  position:
    absolute;

  top:
    2px;

  left:
    2px;

  width:
    16px;

  height:
    16px;

  border-radius:
    50%;

  background:
    #ffffff;

  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.2);

  transition:
    transform var(--sf-transition);
}


.stock-full-switch input:checked + span {
  background:
    #111111;

  border-color:
    #111111;
}


.stock-full-switch input:checked + span::after {
  transform:
    translateX(16px);
}


html[data-theme="dark"] .stock-full-switch > span,
body.dark .stock-full-switch > span,
body[data-theme="dark"] .stock-full-switch > span {
  background:
    #282828;

  border-color:
    #3b3b3b;
}


html[data-theme="dark"] .stock-full-switch input:checked + span,
body.dark .stock-full-switch input:checked + span,
body[data-theme="dark"] .stock-full-switch input:checked + span {
  background:
    #ffffff;

  border-color:
    #ffffff;
}


html[data-theme="dark"] .stock-full-switch input:checked + span::after,
body.dark .stock-full-switch input:checked + span::after,
body[data-theme="dark"] .stock-full-switch input:checked + span::after {
  background:
    #000000;
}


/* =========================================================
   102. DETAIL ROOT
   ========================================================= */

.stock-full-detail,
.stock-full-shipment-detail {
  display:
    flex;

  flex-direction:
    column;

  gap:
    12px;
}


/* =========================================================
   103. DETAIL HERO
   ========================================================= */

.stock-full-detail-hero {
  padding:
    13px;

  display:
    flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    16px;

  border:
    1px solid var(--sf-border);

  border-radius:
    12px;

  background:
    var(--sf-surface-soft);
}


.stock-full-detail-hero > div:first-child {
  min-width:
    0;

  flex:
    1;
}


.stock-full-detail-code {
  display:
    inline-flex;

  margin-bottom:
    5px;

  font-size:
    9px;

  font-weight:
    760;

  letter-spacing:
    0.04em;

  color:
    var(--sf-text-muted);
}


.stock-full-detail-hero h3 {
  margin:
    0;

  font-size:
    16px;

  font-weight:
    790;

  line-height:
    1.2;

  letter-spacing:
    -0.02em;

  color:
    var(--sf-text);
}


.stock-full-detail-hero p {
  max-width:
    660px;

  margin:
    5px 0 0;

  font-size:
    10px;

  font-weight:
    500;

  line-height:
    1.45;

  color:
    var(--sf-text-muted);
}


/* =========================================================
   104. DETAIL STATUS
   ========================================================= */

.stock-full-detail-status {
  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-end;

  flex-wrap:
    wrap;

  gap:
    5px;
}


/* =========================================================
   105. DETAIL SECTION
   ========================================================= */

.stock-full-detail-section {
  padding:
    12px;

  border:
    1px solid var(--sf-border);

  border-radius:
    12px;

  background:
    var(--sf-surface);
}


/* =========================================================
   106. DETAIL SECTION TITLE
   ========================================================= */

.stock-full-detail-section-title {
  margin-bottom:
    10px;

  display:
    flex;

  align-items:
    center;

  gap:
    6px;

  font-size:
    10px;

  font-weight:
    750;

  color:
    var(--sf-text);
}


.stock-full-detail-section-title svg,
.stock-full-detail-section-title i {
  width:
    14px;

  height:
    14px;

  color:
    var(--sf-text-secondary);
}


/* =========================================================
   107. DETAIL GRID
   ========================================================= */

.stock-full-detail-grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap:
    8px;
}


/* =========================================================
   108. DETAIL FIELD
   ========================================================= */

.stock-full-detail-field {
  min-width:
    0;

  min-height:
    62px;

  padding:
    9px 10px;

  display:
    flex;

  flex-direction:
    column;

  justify-content:
    center;

  gap:
    3px;

  border:
    1px solid var(--sf-border-soft);

  border-radius:
    9px;

  background:
    var(--sf-surface-soft);
}


.stock-full-detail-field.is-wide {
  grid-column:
    1 / -1;
}


.stock-full-detail-field > span {
  font-size:
    8px;

  font-weight:
    690;

  line-height:
    1.25;

  color:
    var(--sf-text-muted);
}


.stock-full-detail-field > strong {
  overflow:
    hidden;

  font-size:
    10px;

  font-weight:
    750;

  line-height:
    1.35;

  color:
    var(--sf-text);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


/* =========================================================
   109. BULK TABLE SHELL
   ========================================================= */

.stock-full-bulk-table-shell {
  width:
    100%;

  min-width:
    0;

  border:
    1px solid var(--sf-border);

  border-radius:
    10px;

  overflow-x:
    auto;

  overflow-y:
    visible;

  scrollbar-width:
    thin;
}


/* =========================================================
   110. BULK TABLE
   ========================================================= */

.stock-full-bulk-table {
  width:
    100%;

  min-width:
    760px;

  border-collapse:
    collapse;

  border-spacing:
    0;

  background:
    var(--sf-surface);
}


.stock-full-bulk-table thead {
  background:
    var(--sf-surface-soft);
}


.stock-full-bulk-table th {
  height:
    38px;

  padding:
    0 9px;

  border-right:
    1px solid var(--sf-border-soft);

  border-bottom:
    1px solid var(--sf-border);

  font-size:
    8px;

  font-weight:
    770;

  text-align:
    left;

  white-space:
    nowrap;

  color:
    var(--sf-text-secondary);
}


.stock-full-bulk-table td {
  height:
    48px;

  padding:
    7px 9px;

  border-right:
    1px solid var(--sf-border-soft);

  border-bottom:
    1px solid var(--sf-border);

  font-size:
    9px;

  font-weight:
    520;

  vertical-align:
    middle;

  color:
    var(--sf-text);
}


.stock-full-bulk-table th:last-child,
.stock-full-bulk-table td:last-child {
  border-right:
    0;
}


.stock-full-bulk-table tbody tr:last-child td {
  border-bottom:
    0;
}


.stock-full-bulk-table tbody tr:hover {
  background:
    var(--sf-surface-hover);
}


.stock-full-bulk-table input {
  min-width:
    88px;

  max-width:
    120px;
}


/* =========================================================
   111. INFO BOX
   ========================================================= */

.stock-full-info-box {
  min-height:
    58px;

  padding:
    10px 11px;

  display:
    flex;

  align-items:
    flex-start;

  gap:
    9px;

  border:
    1px solid var(--sf-info-border);

  border-radius:
    10px;

  background:
    var(--sf-info-bg);

  color:
    var(--sf-info);
}


.stock-full-info-box > svg,
.stock-full-info-box > i {
  width:
    15px;

  height:
    15px;

  margin-top:
    1px;

  flex:
    0 0 auto;
}


.stock-full-info-box > div {
  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;
}


.stock-full-info-box strong {
  font-size:
    10px;

  font-weight:
    760;
}


.stock-full-info-box span {
  font-size:
    9px;

  font-weight:
    520;

  line-height:
    1.4;
}


html[data-theme="dark"] .stock-full-info-box,
body.dark .stock-full-info-box,
body[data-theme="dark"] .stock-full-info-box {
  color:
    #93c5fd;

  background:
    #07101e;

  border-color:
    #16345f;
}


/* =========================================================
   112. LOADING BLOCK
   ========================================================= */

.stock-full-loading-block {
  min-height:
    180px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    8px;

  font-size:
    10px;

  font-weight:
    650;

  color:
    var(--sf-text-muted);
}


.stock-full-loading-block svg,
.stock-full-loading-block i {
  width:
    17px;

  height:
    17px;
}


/* =========================================================
   113. IMPORT ROOT
   ========================================================= */

.stock-full-import-panel {
  display:
    flex;

  flex-direction:
    column;

  gap:
    12px;
}


/* =========================================================
   114. IMPORT DROP
   ========================================================= */

.stock-full-import-drop {
  min-height:
    210px;

  padding:
    26px 20px;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  gap:
    8px;

  text-align:
    center;

  border:
    1px dashed var(--sf-border-strong);

  border-radius:
    13px;

  background:
    var(--sf-surface-soft);

  transition:
    background-color var(--sf-transition),
    border-color var(--sf-transition);
}


.stock-full-import-drop.is-dragging {
  border-color:
    #8a8a8d;

  background:
    var(--sf-surface-hover);
}


/* =========================================================
   115. IMPORT DROP ICON
   ========================================================= */

.stock-full-import-drop-icon {
  width:
    44px;

  height:
    44px;

  margin-bottom:
    2px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  border:
    1px solid var(--sf-border);

  border-radius:
    12px;

  color:
    var(--sf-text-secondary);

  background:
    var(--sf-surface);
}


.stock-full-import-drop-icon svg,
.stock-full-import-drop-icon i {
  width:
    19px;

  height:
    19px;
}


.stock-full-import-drop > strong {
  font-size:
    12px;

  font-weight:
    770;

  color:
    var(--sf-text);
}


.stock-full-import-drop > span {
  max-width:
    560px;

  font-size:
    9px;

  font-weight:
    500;

  line-height:
    1.45;

  color:
    var(--sf-text-muted);
}


/* =========================================================
   116. IMPORT FILE NAME
   ========================================================= */

.stock-full-import-file-name {
  max-width:
    100%;

  overflow:
    hidden;

  font-size:
    9px;

  font-weight:
    650;

  color:
    var(--sf-text-secondary);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


/* =========================================================
   117. IMPORT ACTIONS
   ========================================================= */

.stock-full-import-actions {
  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-end;

  flex-wrap:
    wrap;

  gap:
    7px;
}


/* =========================================================
   118. IMPORT PREVIEW
   ========================================================= */

.stock-full-import-preview {
  display:
    flex;

  flex-direction:
    column;

  gap:
    10px;
}


/* =========================================================
   119. IMPORT SUMMARY
   ========================================================= */

.stock-full-import-summary {
  display:
    grid;

  grid-template-columns:
    repeat(
      5,
      minmax(0, 1fr)
    );

  gap:
    8px;
}


.stock-full-import-summary > div {
  min-height:
    62px;

  padding:
    9px;

  display:
    flex;

  flex-direction:
    column;

  justify-content:
    center;

  gap:
    3px;

  border:
    1px solid var(--sf-border);

  border-radius:
    9px;

  background:
    var(--sf-surface-soft);
}


.stock-full-import-summary span {
  font-size:
    8px;

  font-weight:
    690;

  color:
    var(--sf-text-muted);
}


.stock-full-import-summary strong {
  font-size:
    13px;

  font-weight:
    780;

  color:
    var(--sf-text);
}


/* =========================================================
   120. IMPORT PREVIEW LIST
   ========================================================= */

.stock-full-import-preview-list {
  max-height:
    330px;

  display:
    flex;

  flex-direction:
    column;

  border:
    1px solid var(--sf-border);

  border-radius:
    10px;

  overflow-y:
    auto;

  scrollbar-width:
    thin;
}


/* =========================================================
   121. IMPORT PREVIEW ROW
   ========================================================= */

.stock-full-import-preview-row {
  min-height:
    46px;

  padding:
    8px 10px;

  display:
    grid;

  grid-template-columns:
    70px
    minmax(110px, 150px)
    minmax(0, 1fr);

  align-items:
    center;

  gap:
    10px;

  border-bottom:
    1px solid var(--sf-border-soft);

  background:
    var(--sf-surface);
}


.stock-full-import-preview-row:last-child {
  border-bottom:
    0;
}


.stock-full-import-preview-row > span:first-child {
  font-size:
    8px;

  font-weight:
    700;

  color:
    var(--sf-text-muted);
}


.stock-full-import-preview-row > strong {
  overflow:
    hidden;

  font-size:
    9px;

  font-weight:
    760;

  color:
    var(--sf-text);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


.stock-full-import-preview-row > span:last-child {
  overflow:
    hidden;

  font-size:
    9px;

  font-weight:
    520;

  line-height:
    1.35;

  color:
    var(--sf-text-secondary);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


.stock-full-import-preview-row.is-ok {
  border-left:
    3px solid #22c55e;
}


.stock-full-import-preview-row.is-error {
  border-left:
    3px solid #ef4444;

  background:
    var(--sf-danger-bg);
}


html[data-theme="dark"] .stock-full-import-preview-row.is-error,
body.dark .stock-full-import-preview-row.is-error,
body[data-theme="dark"] .stock-full-import-preview-row.is-error {
  background:
    #160909;
}


/* =========================================================
   122. RESPONSIVE MODAL · 900
   ========================================================= */

@media (
  max-width: 900px
) {
  .stock-full-modal-overlay {
    padding:
      14px;
  }

  .stock-full-modal {
    max-height:
      calc(100vh - 28px);
  }

  .stock-full-detail-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .stock-full-import-summary {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }
}


/* =========================================================
   123. RESPONSIVE MODAL · 680
   ========================================================= */

@media (
  max-width: 680px
) {
  .stock-full-modal-overlay {
    padding:
      8px;

    align-items:
      flex-end;
  }

  .stock-full-modal {
    width:
      100%;

    max-width:
      none;

    max-height:
      calc(100vh - 16px);

    border-radius:
      14px 14px 0 0;
  }

  .stock-full-modal-header {
    min-height:
      58px;

    padding:
      10px 12px;
  }

  .stock-full-modal-body {
    padding:
      10px;
  }

  .stock-full-modal-footer {
    padding:
      9px 10px;
  }

  .stock-full-form-grid {
    grid-template-columns:
      1fr;
  }

  .stock-full-form-field.is-wide {
    grid-column:
      auto;
  }

  .stock-full-detail-hero {
    flex-direction:
      column;
  }

  .stock-full-detail-status {
    justify-content:
      flex-start;
  }

  .stock-full-detail-grid {
    grid-template-columns:
      1fr;
  }

  .stock-full-detail-field.is-wide {
    grid-column:
      auto;
  }

  .stock-full-import-summary {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .stock-full-import-preview-row {
    grid-template-columns:
      58px
      minmax(90px, 120px)
      minmax(0, 1fr);
  }

  .stock-full-columns-panel {
    top:
      auto;

    right:
      8px;

    bottom:
      8px;

    left:
      8px;

    width:
      auto;

    max-height:
      min(
        520px,
        calc(100vh - 16px)
      );
  }
}


/* =========================================================
   124. RESPONSIVE MODAL · 480
   ========================================================= */

@media (
  max-width: 480px
) {
  .stock-full-modal-footer {
    display:
      grid;

    grid-template-columns:
      1fr;
  }

  .stock-full-modal-footer
  .stock-full-primary-button,
  .stock-full-modal-footer
  .stock-full-secondary-button {
    width:
      100%;
  }

  .stock-full-import-summary {
    grid-template-columns:
      1fr;
  }

  .stock-full-import-preview-row {
    grid-template-columns:
      1fr;

    gap:
      3px;
  }

  .stock-full-import-preview-row > span:last-child {
    white-space:
      normal;
  }

  .stock-full-switch-field {
    align-items:
      flex-start;
  }
}


/* =========================================================
   FIN PARTE 2 DE 3

   PARTE 3:
   - Envíos
   - Cards de envíos
   - Toasts
   - Animaciones
   - Dark mode final
   - Responsive completo
   - Correcciones de app-shell
   - Ajustes visuales finos
   ========================================================= *//* =========================================================
   WIRTZ HUB · RECURSOS · STOCK FULL
   CSS

   PARTE 3 DE 3

   CONTIENE:
   - Envíos
   - Cards de envíos
   - Toast
   - Scrollbars
   - Ajustes dark mode
   - Estados hover/focus
   - Responsive final
   - Correcciones app-shell
   - Microanimaciones
   - Accesibilidad
   ========================================================= */


/* =========================================================
   125. SHIPMENT PAGE
   ========================================================= */

.stock-full-shipment-page {
  display:
    flex;

  flex-direction:
    column;

  gap:
    12px;
}


/* =========================================================
   126. SHIPMENT TOOLBAR
   ========================================================= */

.stock-full-shipment-toolbar {
  min-height:
    62px;

  padding:
    10px 12px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    12px;

  border:
    1px solid var(--sf-border);

  border-radius:
    11px;

  background:
    var(--sf-surface-soft);
}


.stock-full-shipment-toolbar > div:first-child {
  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;
}


.stock-full-shipment-toolbar strong {
  font-size:
    11px;

  font-weight:
    770;

  color:
    var(--sf-text);
}


.stock-full-shipment-toolbar span {
  font-size:
    9px;

  font-weight:
    500;

  color:
    var(--sf-text-muted);
}


/* =========================================================
   127. SHIPMENT LIST
   ========================================================= */

.stock-full-shipment-list {
  display:
    grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap:
    10px;
}


/* =========================================================
   128. SHIPMENT CARD
   ========================================================= */

.stock-full-shipment-card {
  min-width:
    0;

  padding:
    12px;

  display:
    flex;

  flex-direction:
    column;

  gap:
    11px;

  border:
    1px solid var(--sf-border);

  border-radius:
    12px;

  background:
    var(--sf-surface);

  transition:
    border-color var(--sf-transition),
    background-color var(--sf-transition),
    transform var(--sf-transition);
}


.stock-full-shipment-card:hover {
  border-color:
    var(--sf-border-strong);

  background:
    var(--sf-surface-hover);

  transform:
    translateY(-1px);
}


/* =========================================================
   129. SHIPMENT CARD HEAD
   ========================================================= */

.stock-full-shipment-card-head {
  display:
    flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    10px;
}


.stock-full-shipment-card-head > div:first-child {
  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;
}


.stock-full-shipment-card-head span {
  overflow:
    hidden;

  font-size:
    8px;

  font-weight:
    690;

  color:
    var(--sf-text-muted);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


.stock-full-shipment-card-head strong {
  overflow:
    hidden;

  font-size:
    11px;

  font-weight:
    760;

  line-height:
    1.3;

  color:
    var(--sf-text);

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


/* =========================================================
   130. SHIPMENT CARD GRID
   ========================================================= */

.stock-full-shipment-card-grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap:
    7px;
}


.stock-full-shipment-card-grid > div {
  min-width:
    0;

  min-height:
    52px;

  padding:
    8px;

  display:
    flex;

  flex-direction:
    column;

  justify-content:
    center;

  gap:
    2px;

  border:
    1px solid var(--sf-border-soft);

  border-radius:
    8px;

  background:
    var(--sf-surface-soft);
}


.stock-full-shipment-card-grid span {
  font-size:
    8px;

  font-weight:
    650;

  color:
    var(--sf-text-muted);
}


.stock-full-shipment-card-grid strong {
  font-size:
    12px;

  font-weight:
    770;

  font-variant-numeric:
    tabular-nums;

  color:
    var(--sf-text);
}


/* =========================================================
   131. SHIPMENT CARD FOOTER
   ========================================================= */

.stock-full-shipment-card-footer {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    10px;

  padding-top:
    2px;
}


.stock-full-shipment-card-footer > span {
  font-size:
    8px;

  font-weight:
    550;

  color:
    var(--sf-text-muted);
}


/* =========================================================
   132. SHIPMENT DETAIL
   ========================================================= */

.stock-full-shipment-detail {
  min-width:
    0;
}


/* =========================================================
   133. SHIPMENT INPUTS
   ========================================================= */

.stock-full-shipment-detail
.stock-full-bulk-table
input {
  min-width:
    82px;

  max-width:
    100px;

  height:
    32px;

  padding:
    0 7px;

  font-size:
    9px;

  text-align:
    right;
}


/* =========================================================
   134. TOAST
   ========================================================= */

.stock-full-toast {
  position:
    fixed;

  right:
    18px;

  bottom:
    18px;

  z-index:
    5000;

  width:
    min(
      360px,
      calc(100vw - 28px)
    );

  min-height:
    48px;

  padding:
    9px 11px;

  display:
    flex;

  align-items:
    center;

  gap:
    9px;

  border:
    1px solid var(--sf-border);

  border-radius:
    10px;

  color:
    var(--sf-text);

  background:
    var(--sf-surface);

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.16);

  opacity:
    0;

  transform:
    translateY(8px);

  pointer-events:
    none;

  transition:
    opacity var(--sf-transition),
    transform var(--sf-transition);
}


.stock-full-toast.is-visible {
  opacity:
    1;

  transform:
    translateY(0);
}


.stock-full-toast > span {
  min-width:
    0;

  font-size:
    10px;

  font-weight:
    650;

  line-height:
    1.4;
}


/* =========================================================
   135. TOAST ICON
   ========================================================= */

.stock-full-toast__icon {
  width:
    28px;

  height:
    28px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  flex:
    0 0 auto;

  border-radius:
    8px;

  background:
    var(--sf-surface-soft);
}


.stock-full-toast__icon svg,
.stock-full-toast__icon i {
  width:
    14px;

  height:
    14px;
}


/* =========================================================
   136. TOAST TYPES
   ========================================================= */

.stock-full-toast--success {
  border-color:
    var(--sf-success-border);
}


.stock-full-toast--success
.stock-full-toast__icon {
  color:
    var(--sf-success);

  background:
    var(--sf-success-bg);
}


.stock-full-toast--error {
  border-color:
    var(--sf-danger-border);
}


.stock-full-toast--error
.stock-full-toast__icon {
  color:
    var(--sf-danger);

  background:
    var(--sf-danger-bg);
}


.stock-full-toast--warning {
  border-color:
    var(--sf-warning-border);
}


.stock-full-toast--warning
.stock-full-toast__icon {
  color:
    var(--sf-warning);

  background:
    var(--sf-warning-bg);
}


.stock-full-toast--info
.stock-full-toast__icon {
  color:
    var(--sf-info);

  background:
    var(--sf-info-bg);
}


/* =========================================================
   137. DARK TOAST
   ========================================================= */

html[data-theme="dark"]
.stock-full-toast,
body.dark
.stock-full-toast,
body[data-theme="dark"]
.stock-full-toast {
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.72);
}


/* =========================================================
   138. TOOLTIP NATIVE IMPROVEMENT
   ========================================================= */

.stock-full-icon-button,
.stock-full-primary-button,
.stock-full-secondary-button,
.stock-full-quick-action {
  -webkit-tap-highlight-color:
    transparent;
}


/* =========================================================
   139. FOCUS VISIBLE
   ========================================================= */

.stock-full-primary-button:focus-visible,
.stock-full-secondary-button:focus-visible,
.stock-full-icon-button:focus-visible,
.stock-full-page-button:focus-visible,
.stock-full-sort-button:focus-visible,
.stock-full-quick-action:focus-visible,
.stock-full-search-field:focus-within,
.stock-full-filter-field select:focus-visible,
.stock-full-filter-field input:focus-visible,
.stock-full-form-field input:focus-visible,
.stock-full-form-field select:focus-visible,
.stock-full-form-field textarea:focus-visible,
.stock-full-bulk-table input:focus-visible,
.stock-full-bulk-table select:focus-visible {
  outline:
    2px solid rgba(0, 0, 0, 0.12);

  outline-offset:
    2px;
}


html[data-theme="dark"]
.stock-full-primary-button:focus-visible,
html[data-theme="dark"]
.stock-full-secondary-button:focus-visible,
html[data-theme="dark"]
.stock-full-icon-button:focus-visible,
html[data-theme="dark"]
.stock-full-page-button:focus-visible,
html[data-theme="dark"]
.stock-full-sort-button:focus-visible,
html[data-theme="dark"]
.stock-full-quick-action:focus-visible,
body.dark
.stock-full-primary-button:focus-visible,
body.dark
.stock-full-secondary-button:focus-visible,
body.dark
.stock-full-icon-button:focus-visible,
body.dark
.stock-full-page-button:focus-visible,
body.dark
.stock-full-sort-button:focus-visible,
body.dark
.stock-full-quick-action:focus-visible {
  outline-color:
    rgba(255, 255, 255, 0.22);
}


/* =========================================================
   140. CUSTOM SCROLLBARS · WEBKIT
   ========================================================= */

.stock-full-table-shell::-webkit-scrollbar,
.stock-full-modal-body::-webkit-scrollbar,
.stock-full-columns-list::-webkit-scrollbar,
.stock-full-bulk-table-shell::-webkit-scrollbar,
.stock-full-import-preview-list::-webkit-scrollbar {
  width:
    7px;

  height:
    7px;
}


.stock-full-table-shell::-webkit-scrollbar-track,
.stock-full-modal-body::-webkit-scrollbar-track,
.stock-full-columns-list::-webkit-scrollbar-track,
.stock-full-bulk-table-shell::-webkit-scrollbar-track,
.stock-full-import-preview-list::-webkit-scrollbar-track {
  background:
    transparent;
}


.stock-full-table-shell::-webkit-scrollbar-thumb,
.stock-full-modal-body::-webkit-scrollbar-thumb,
.stock-full-columns-list::-webkit-scrollbar-thumb,
.stock-full-bulk-table-shell::-webkit-scrollbar-thumb,
.stock-full-import-preview-list::-webkit-scrollbar-thumb {
  border-radius:
    999px;

  background:
    #c9c9cb;
}


html[data-theme="dark"]
.stock-full-table-shell::-webkit-scrollbar-thumb,
html[data-theme="dark"]
.stock-full-modal-body::-webkit-scrollbar-thumb,
html[data-theme="dark"]
.stock-full-columns-list::-webkit-scrollbar-thumb,
html[data-theme="dark"]
.stock-full-bulk-table-shell::-webkit-scrollbar-thumb,
html[data-theme="dark"]
.stock-full-import-preview-list::-webkit-scrollbar-thumb,
body.dark
.stock-full-table-shell::-webkit-scrollbar-thumb,
body.dark
.stock-full-modal-body::-webkit-scrollbar-thumb,
body.dark
.stock-full-columns-list::-webkit-scrollbar-thumb,
body.dark
.stock-full-bulk-table-shell::-webkit-scrollbar-thumb,
body.dark
.stock-full-import-preview-list::-webkit-scrollbar-thumb {
  background:
    #363636;
}


/* =========================================================
   141. OPTION BACKGROUND DARK
   ========================================================= */

html[data-theme="dark"]
.stock-full-page option,
html[data-theme="dark"]
.stock-full-modal option,
body.dark
.stock-full-page option,
body.dark
.stock-full-modal option,
body[data-theme="dark"]
.stock-full-page option,
body[data-theme="dark"]
.stock-full-modal option {
  color:
    #f5f5f5;

  background:
    #090909;
}


/* =========================================================
   142. TEXT SELECTION
   ========================================================= */

.stock-full-page ::selection,
.stock-full-modal-overlay ::selection {
  color:
    #ffffff;

  background:
    #222222;
}


html[data-theme="dark"]
.stock-full-page ::selection,
html[data-theme="dark"]
.stock-full-modal-overlay ::selection,
body.dark
.stock-full-page ::selection,
body.dark
.stock-full-modal-overlay ::selection {
  color:
    #000000;

  background:
    #ffffff;
}


/* =========================================================
   143. DARK MODE · CONTENT
   ========================================================= */

html[data-theme="dark"]
.stock-full-content-card,
html[data-theme="dark"]
.stock-full-form-section,
html[data-theme="dark"]
.stock-full-detail-section,
html[data-theme="dark"]
.stock-full-shipment-card,
body.dark
.stock-full-content-card,
body.dark
.stock-full-form-section,
body.dark
.stock-full-detail-section,
body.dark
.stock-full-shipment-card,
body[data-theme="dark"]
.stock-full-content-card,
body[data-theme="dark"]
.stock-full-form-section,
body[data-theme="dark"]
.stock-full-detail-section,
body[data-theme="dark"]
.stock-full-shipment-card {
  border-color:
    #252525;
}


/* =========================================================
   144. DARK MODE · STRONG TEXT
   ========================================================= */

html[data-theme="dark"]
.stock-full-page strong,
html[data-theme="dark"]
.stock-full-modal strong,
body.dark
.stock-full-page strong,
body.dark
.stock-full-modal strong,
body[data-theme="dark"]
.stock-full-page strong,
body[data-theme="dark"]
.stock-full-modal strong {
  color:
    #f5f5f5;
}


/* =========================================================
   145. DARK MODE · SECONDARY TEXT
   ========================================================= */

html[data-theme="dark"]
.stock-full-page-heading p,
html[data-theme="dark"]
.stock-full-filter-field label,
html[data-theme="dark"]
.stock-full-form-field > label,
html[data-theme="dark"]
.stock-full-switch-copy span,
body.dark
.stock-full-page-heading p,
body.dark
.stock-full-filter-field label,
body.dark
.stock-full-form-field > label,
body.dark
.stock-full-switch-copy span,
body[data-theme="dark"]
.stock-full-page-heading p,
body[data-theme="dark"]
.stock-full-filter-field label,
body[data-theme="dark"]
.stock-full-form-field > label,
body[data-theme="dark"]
.stock-full-switch-copy span {
  color:
    #b8b8b8;
}


/* =========================================================
   146. DARK MODE · READONLY
   ========================================================= */

html[data-theme="dark"]
.stock-full-stock-cell.is-readonly,
body.dark
.stock-full-stock-cell.is-readonly,
body[data-theme="dark"]
.stock-full-stock-cell.is-readonly {
  color:
    #c9c9c9;
}


/* =========================================================
   147. DARK MODE · SEARCH
   ========================================================= */

html[data-theme="dark"]
.stock-full-search-field,
body.dark
.stock-full-search-field,
body[data-theme="dark"]
.stock-full-search-field {
  background:
    #080808;

  border-color:
    #262626;
}


html[data-theme="dark"]
.stock-full-search-field:focus-within,
body.dark
.stock-full-search-field:focus-within,
body[data-theme="dark"]
.stock-full-search-field:focus-within {
  background:
    #0c0c0c;

  border-color:
    #3d3d3d;
}


/* =========================================================
   148. DARK MODE · QUICK ACTION
   ========================================================= */

html[data-theme="dark"]
.stock-full-quick-action:hover,
body.dark
.stock-full-quick-action:hover,
body[data-theme="dark"]
.stock-full-quick-action:hover {
  background:
    #111111;

  border-color:
    #343434;
}


/* =========================================================
   149. DARK MODE · ROW SELECTED
   ========================================================= */

html[data-theme="dark"]
.stock-full-table-row.is-selected,
body.dark
.stock-full-table-row.is-selected,
body[data-theme="dark"]
.stock-full-table-row.is-selected {
  background:
    #171717;
}


/* =========================================================
   150. DARK MODE · TABLE HOVER
   ========================================================= */

html[data-theme="dark"]
.stock-full-table-row:hover,
body.dark
.stock-full-table-row:hover,
body[data-theme="dark"]
.stock-full-table-row:hover {
  background:
    #101010;
}


/* =========================================================
   151. DARK MODE · IMPORT
   ========================================================= */

html[data-theme="dark"]
.stock-full-import-drop,
body.dark
.stock-full-import-drop,
body[data-theme="dark"]
.stock-full-import-drop {
  background:
    #0b0b0b;

  border-color:
    #343434;
}


/* =========================================================
   152. DARK MODE · INFO BOX
   ========================================================= */

html[data-theme="dark"]
.stock-full-info-box strong,
html[data-theme="dark"]
.stock-full-info-box span,
body.dark
.stock-full-info-box strong,
body.dark
.stock-full-info-box span,
body[data-theme="dark"]
.stock-full-info-box strong,
body[data-theme="dark"]
.stock-full-info-box span {
  color:
    inherit;
}


/* =========================================================
   153. APP LAYOUT SAFETY
   ========================================================= */

.app-shell {
  width:
    100%;

  min-width:
    0;
}


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


.app-content {
  min-width:
    0;

  overflow-x:
    hidden;
}


/* =========================================================
   154. STOCK FULL PAGE INSIDE APP
   ========================================================= */

.app-content
.stock-full-page {
  width:
    100%;

  min-width:
    0;

  max-width:
    none;
}


/* =========================================================
   155. PREVENT BODY HORIZONTAL OVERFLOW
   ========================================================= */

html,
body {
  max-width:
    100%;

  overflow-x:
    hidden;
}


/* =========================================================
   156. TABLE RESPONSIVE SAFETY
   ========================================================= */

.stock-full-table-shell,
.stock-full-bulk-table-shell {
  -webkit-overflow-scrolling:
    touch;
}


/* =========================================================
   157. TABLE MOBILE SHADOW HINT
   ========================================================= */

@media (
  max-width: 1100px
) {
  .stock-full-table-shell {
    box-shadow:
      inset -12px 0 18px -18px rgba(0, 0, 0, 0.3);
  }

  html[data-theme="dark"]
  .stock-full-table-shell,
  body.dark
  .stock-full-table-shell,
  body[data-theme="dark"]
  .stock-full-table-shell {
    box-shadow:
      inset -12px 0 18px -18px rgba(255, 255, 255, 0.14);
  }
}


/* =========================================================
   158. RESPONSIVE · 1200
   ========================================================= */

@media (
  max-width: 1200px
) {
  .stock-full-shipment-list {
    grid-template-columns:
      1fr;
  }

  .stock-full-shipment-card-grid {
    grid-template-columns:
      repeat(
        4,
        minmax(80px, 1fr)
      );
  }
}


/* =========================================================
   159. RESPONSIVE · 900
   ========================================================= */

@media (
  max-width: 900px
) {
  .stock-full-page {
    padding:
      16px;
  }

  .stock-full-shipment-toolbar {
    align-items:
      flex-start;

    flex-direction:
      column;
  }

  .stock-full-shipment-toolbar
  .stock-full-primary-button {
    width:
      100%;
  }

  .stock-full-shipment-card-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }
}


/* =========================================================
   160. RESPONSIVE · 760
   ========================================================= */

@media (
  max-width: 760px
) {
  .stock-full-page {
    padding:
      12px;
  }

  .stock-full-page-header {
    gap:
      12px;
  }

  .stock-full-page-heading h1 {
    font-size:
      27px;
  }

  .stock-full-page-heading p {
    max-width:
      none;
  }

  .stock-full-metric-card {
    min-height:
      82px;
  }

  .stock-full-metric-value {
    font-size:
      17px;
  }

  .stock-full-content-card {
    border-radius:
      12px;
  }

  .stock-full-toolbar {
    padding:
      9px;
  }

  .stock-full-filters {
    padding:
      9px;
  }

  .stock-full-table {
    min-width:
      1200px;
  }

  .stock-full-shipment-card-footer {
    align-items:
      flex-start;

    flex-direction:
      column;
  }

  .stock-full-shipment-card-footer
  .stock-full-secondary-button {
    width:
      100%;
  }
}


/* =========================================================
   161. RESPONSIVE · 600
   ========================================================= */

@media (
  max-width: 600px
) {
  .stock-full-metrics {
    gap:
      8px;
  }

  .stock-full-metric-card {
    padding:
      10px;
  }

  .stock-full-metric-icon {
    width:
      30px;

    height:
      30px;
  }

  .stock-full-quick-action {
    min-height:
      58px;
  }

  .stock-full-shipment-card-grid {
    grid-template-columns:
      1fr 1fr;
  }
}


/* =========================================================
   162. RESPONSIVE · 520
   ========================================================= */

@media (
  max-width: 520px
) {
  .stock-full-page {
    padding:
      10px;
  }

  .stock-full-page-header {
    gap:
      10px;
  }

  .stock-full-page-heading h1 {
    font-size:
      25px;
  }

  .stock-full-page-heading p {
    font-size:
      10px;

    line-height:
      1.45;
  }

  .stock-full-header-actions {
    gap:
      6px;
  }

  .stock-full-primary-button,
  .stock-full-secondary-button {
    min-height:
      37px;

    font-size:
      10px;
  }

  .stock-full-metric-card {
    min-height:
      78px;
  }

  .stock-full-metric-label {
    font-size:
      9px;
  }

  .stock-full-metric-value {
    font-size:
      16px;
  }

  .stock-full-content-card {
    border-radius:
      10px;
  }

  .stock-full-search-field {
    min-width:
      0;
  }

  .stock-full-table {
    min-width:
      1100px;
  }

  .stock-full-pagination {
    padding:
      9px;
  }

  .stock-full-toast {
    right:
      10px;

    bottom:
      10px;

    width:
      calc(100vw - 20px);
  }
}


/* =========================================================
   163. RESPONSIVE · 420
   ========================================================= */

@media (
  max-width: 420px
) {
  .stock-full-metrics {
    grid-template-columns:
      1fr;
  }

  .stock-full-shipment-card-grid {
    grid-template-columns:
      1fr;
  }

  .stock-full-page-heading h1 {
    font-size:
      23px;
  }
}


/* =========================================================
   164. REDUCED MOTION
   ========================================================= */

@media (
  prefers-reduced-motion: reduce
) {
  .stock-full-page *,
  .stock-full-modal-overlay *,
  .stock-full-columns-panel *,
  .stock-full-toast * {
    scroll-behavior:
      auto !important;

    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;
  }
}


/* =========================================================
   165. PRINT
   ========================================================= */

@media print {
  .stock-full-header-actions,
  .stock-full-toolbar-actions,
  .stock-full-filter-actions,
  .stock-full-pagination,
  .stock-full-row-actions,
  .stock-full-columns-panel,
  #stock-full-quick-actions,
  .stock-full-select-column {
    display:
      none !important;
  }

  .stock-full-page {
    padding:
      0;

    background:
      #ffffff;
  }

  .stock-full-content-card,
  .stock-full-metric-card {
    box-shadow:
      none;
  }

  .stock-full-table-shell {
    overflow:
      visible;
  }

  .stock-full-table {
    min-width:
      0;

    font-size:
      8px;
  }
}


/* =========================================================
   166. HIGH CONTRAST TEXT
   ========================================================= */

.stock-full-page,
.stock-full-modal-overlay,
.stock-full-columns-panel {
  font-weight:
    500;
}


.stock-full-page-heading h1,
.stock-full-metric-value,
.stock-full-name-cell strong,
.stock-full-code-value,
.stock-full-number-cell.is-strong,
.stock-full-detail-hero h3,
.stock-full-detail-field strong,
.stock-full-shipment-card-head strong {
  text-rendering:
    geometricPrecision;
}


/* =========================================================
   167. LIGHT MODE TEXT FINAL
   ========================================================= */

html:not([data-theme="dark"])
.stock-full-page,
body:not(.dark):not([data-theme="dark"])
.stock-full-page {
  --sf-text:
    #111111;

  --sf-text-secondary:
    #3b3b3b;

  --sf-text-muted:
    #626262;

  --sf-text-faint:
    #828282;
}


/* =========================================================
   168. LIGHT MODE STRONG TABLE TEXT
   ========================================================= */

html:not([data-theme="dark"])
.stock-full-table th,
body:not(.dark):not([data-theme="dark"])
.stock-full-table th {
  color:
    #333333;
}


html:not([data-theme="dark"])
.stock-full-table td,
body:not(.dark):not([data-theme="dark"])
.stock-full-table td {
  color:
    #171717;
}


/* =========================================================
   169. LIGHT MODE FILTER LABELS
   ========================================================= */

html:not([data-theme="dark"])
.stock-full-filter-field label,
html:not([data-theme="dark"])
.stock-full-form-field > label,
body:not(.dark):not([data-theme="dark"])
.stock-full-filter-field label,
body:not(.dark):not([data-theme="dark"])
.stock-full-form-field > label {
  color:
    #363636;
}


/* =========================================================
   170. LIGHT MODE INPUT TEXT
   ========================================================= */

html:not([data-theme="dark"])
.stock-full-page input,
html:not([data-theme="dark"])
.stock-full-page select,
html:not([data-theme="dark"])
.stock-full-page textarea,
html:not([data-theme="dark"])
.stock-full-modal input,
html:not([data-theme="dark"])
.stock-full-modal select,
html:not([data-theme="dark"])
.stock-full-modal textarea,
body:not(.dark):not([data-theme="dark"])
.stock-full-page input,
body:not(.dark):not([data-theme="dark"])
.stock-full-page select,
body:not(.dark):not([data-theme="dark"])
.stock-full-page textarea,
body:not(.dark):not([data-theme="dark"])
.stock-full-modal input,
body:not(.dark):not([data-theme="dark"])
.stock-full-modal select,
body:not(.dark):not([data-theme="dark"])
.stock-full-modal textarea {
  color:
    #151515;
}


/* =========================================================
   171. DARK MODE TABLE TEXT FINAL
   ========================================================= */

html[data-theme="dark"]
.stock-full-table th,
body.dark
.stock-full-table th,
body[data-theme="dark"]
.stock-full-table th {
  color:
    #c9c9c9;
}


html[data-theme="dark"]
.stock-full-table td,
body.dark
.stock-full-table td,
body[data-theme="dark"]
.stock-full-table td {
  color:
    #eeeeee;
}


/* =========================================================
   172. DARK MODE ACTION BUTTONS FINAL
   ========================================================= */

html[data-theme="dark"]
.stock-full-row-actions
.stock-full-icon-button,
body.dark
.stock-full-row-actions
.stock-full-icon-button,
body[data-theme="dark"]
.stock-full-row-actions
.stock-full-icon-button {
  color:
    #d9d9d9;

  background:
    #0b0b0b;

  border-color:
    #2a2a2a;
}


html[data-theme="dark"]
.stock-full-row-actions
.stock-full-icon-button:hover,
body.dark
.stock-full-row-actions
.stock-full-icon-button:hover,
body[data-theme="dark"]
.stock-full-row-actions
.stock-full-icon-button:hover {
  color:
    #ffffff;

  background:
    #171717;

  border-color:
    #404040;
}


/* =========================================================
   173. BUTTON TEXT VISIBILITY
   ========================================================= */

.stock-full-primary-button span,
.stock-full-secondary-button span {
  color:
    inherit;
}


.stock-full-primary-button {
  text-shadow:
    none;
}


/* =========================================================
   174. NO GLOW
   ========================================================= */

.stock-full-page *,
.stock-full-modal-overlay *,
.stock-full-columns-panel * {
  text-shadow:
    none;
}


.stock-full-primary-button,
.stock-full-secondary-button,
.stock-full-icon-button,
.stock-full-form-field input,
.stock-full-form-field select,
.stock-full-form-field textarea,
.stock-full-search-field,
.stock-full-filter-field input,
.stock-full-filter-field select {
  filter:
    none;
}


/* =========================================================
   175. FINAL BORDER DEFINITION
   ========================================================= */

.stock-full-content-card,
.stock-full-metric-card,
.stock-full-quick-action,
.stock-full-form-section,
.stock-full-detail-section,
.stock-full-detail-field,
.stock-full-shipment-card,
.stock-full-shipment-card-grid > div {
  border-width:
    1px;
}


/* =========================================================
   176. FINAL MOBILE TOUCH TARGETS
   ========================================================= */

@media (
  pointer: coarse
) {
  .stock-full-primary-button,
  .stock-full-secondary-button {
    min-height:
      42px;
  }

  .stock-full-icon-button {
    width:
      38px;

    height:
      38px;
  }

  .stock-full-page-button {
    width:
      38px;

    height:
      38px;
  }

  .stock-full-checkbox-wrap {
    width:
      24px;

    height:
      24px;
  }
}


/* =========================================================
   177. FINAL
   ========================================================= */

.stock-full-page[hidden],
.stock-full-modal-overlay[hidden],
.stock-full-columns-panel[hidden] {
  display:
    none !important;
}


/* =========================================================
   FIN
   frontend/src/pages/recursos/stock-full/stock-full.css
   ========================================================= *//* =========================================================
   STOCK FULL · LISTA · TIPOGRAFÍA MÁS GRANDE
   ========================================================= */

.stock-full-table th {
  font-size:
    11px;

  font-weight:
    800;
}


.stock-full-table td {
  font-size:
    12px;

  font-weight:
    600;
}


.stock-full-code-value {
  font-size:
    12px;

  font-weight:
    800;
}


.stock-full-name-cell strong {
  font-size:
    12px;

  font-weight:
    780;
}


.stock-full-name-cell span {
  font-size:
    11px;

  font-weight:
    600;
}


.stock-full-value-label {
  font-size:
    12px;

  font-weight:
    650;
}


.stock-full-number-cell {
  font-size:
    12px;

  font-weight:
    700;
}


.stock-full-number-cell.is-strong {
  font-size:
    12px;

  font-weight:
    820;
}


.stock-full-stock-cell {
  font-size:
    12px;

  font-weight:
    760;
}


.stock-full-badge {
  min-height:
    24px;

  padding:
    4px 8px;

  font-size:
    10px;

  font-weight:
    800;
}


.stock-full-coverage strong {
  font-size:
    11px;

  font-weight:
    800;
}


.stock-full-coverage span {
  font-size:
    10px;

  font-weight:
    650;
}


.stock-full-break-date strong {
  font-size:
    11px;

  font-weight:
    760;
}


.stock-full-break-date span {
  font-size:
    10px;

  font-weight:
    650;
}


.stock-full-table td {
  padding:
    11px 10px;
}


.stock-full-table th {
  height:
    44px;
}


.stock-full-table-row {
  min-height:
    54px;
}/* =========================================================
   WIRTZ HUB · RECURSOS · STOCK FULL
   COMPLEMENTO FINAL CSS
   REDISEÑO PREMIUM · CUENTA CORRIENTE

   - Compatible con el CSS existente
   - Responsive
   - Modo claro y oscuro
   - Negro real
   - Sin glow
   - Bordes marcados
   - Tipografía firme
   - Modales independientes
   - Conciliación Excel Full
   - Importación CSV
   - Envíos y operaciones
   ========================================================= */


/* =========================================================
   178. VARIABLES FINALES
   ========================================================= */

.stock-full-page,
.stock-full-modal-overlay,
.stock-full-columns-panel,
.stock-full-toast {
  --sf-bg: #f6f7f8;
  --sf-surface: #ffffff;
  --sf-surface-soft: #fafafa;
  --sf-surface-hover: #f1f2f3;
  --sf-surface-selected: #eceef0;

  --sf-border: #d9dce0;
  --sf-border-soft: #e5e7eb;
  --sf-border-strong: #bdc2c9;

  --sf-text: #101114;
  --sf-text-secondary: #34383e;
  --sf-text-muted: #626870;
  --sf-text-faint: #858b93;

  --sf-radius-xs: 6px;
  --sf-radius-sm: 8px;
  --sf-radius: 10px;
  --sf-radius-lg: 13px;

  --sf-shadow: none;
  --sf-transition: 140ms ease;

  font-family:
    "DM Sans",
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}


/* =========================================================
   179. DARK MODE DEFINITIVO
   ========================================================= */

html[data-theme="dark"] .stock-full-page,
html[data-theme="dark"] .stock-full-modal-overlay,
html[data-theme="dark"] .stock-full-columns-panel,
html[data-theme="dark"] .stock-full-toast,
body.dark .stock-full-page,
body.dark .stock-full-modal-overlay,
body.dark .stock-full-columns-panel,
body.dark .stock-full-toast,
body[data-theme="dark"] .stock-full-page,
body[data-theme="dark"] .stock-full-modal-overlay,
body[data-theme="dark"] .stock-full-columns-panel,
body[data-theme="dark"] .stock-full-toast {
  --sf-bg: #000000;
  --sf-surface: #080808;
  --sf-surface-soft: #0c0c0c;
  --sf-surface-hover: #151515;
  --sf-surface-selected: #191919;

  --sf-border: #303030;
  --sf-border-soft: #252525;
  --sf-border-strong: #454545;

  --sf-text: #f7f7f7;
  --sf-text-secondary: #dedede;
  --sf-text-muted: #ababab;
  --sf-text-faint: #858585;

  --sf-shadow: none;

  color-scheme: dark;
}


/* =========================================================
   180. CONTENEDOR PRINCIPAL
   ========================================================= */

.stock-full-app-content {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.stock-full-page {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 100%;
  padding: 22px 24px 32px;
  margin: 0;

  display: block;

  overflow-x: hidden;

  color: var(--sf-text);
  background: var(--sf-bg);
}

.stock-full-page-inner {
  width: 100%;
  min-width: 0;
  max-width: 100%;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stock-full-page-inner > * {
  min-width: 0;
  max-width: 100%;
}


/* =========================================================
   181. ENCABEZADO
   ========================================================= */

.stock-full-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  flex-wrap: wrap;
  gap: 16px;

  min-width: 0;
  padding: 3px 0;
}

.stock-full-page-heading {
  min-width: 0;
  flex: 1 1 320px;
}

.stock-full-page-heading h1 {
  margin: 0;

  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 850;
  line-height: 1.13;
  letter-spacing: -0.045em;

  color: var(--sf-text);
}

.stock-full-page-kicker {
  display: inline-flex;
  align-items: center;

  margin-bottom: 6px;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;

  color: var(--sf-text-muted);
}

.stock-full-page-heading p {
  margin: 7px 0 0;

  max-width: 780px;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;

  color: var(--sf-text-secondary);
}

.stock-full-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;

  gap: 7px;
}


/* =========================================================
   182. BOTONES
   ========================================================= */

.stock-full-primary-button,
.stock-full-secondary-button {
  min-height: 38px;
  padding: 0 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  border: 1px solid;
  border-radius: 8px;

  font-family: inherit;
  font-size: 11px;
  font-weight: 780;
  line-height: 1.2;

  white-space: nowrap;

  box-shadow: none;
  text-shadow: none;

  cursor: pointer;

  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    transform 120ms ease;
}

.stock-full-primary-button {
  color: #ffffff;
  background: #111111;
  border-color: #111111;
}

.stock-full-secondary-button {
  color: var(--sf-text);
  background: var(--sf-surface);
  border-color: var(--sf-border);
}

.stock-full-secondary-button:hover:not(:disabled) {
  color: var(--sf-text);
  background: var(--sf-surface-hover);
  border-color: var(--sf-border-strong);
}

.stock-full-primary-button:hover:not(:disabled) {
  background: #252525;
  border-color: #252525;
}

.stock-full-primary-button:disabled,
.stock-full-secondary-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.stock-full-primary-button svg,
.stock-full-secondary-button svg,
.stock-full-primary-button i,
.stock-full-secondary-button i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

html[data-theme="dark"] .stock-full-primary-button,
body.dark .stock-full-primary-button,
body[data-theme="dark"] .stock-full-primary-button {
  color: #000000;
  background: #ffffff;
  border-color: #ffffff;
}

html[data-theme="dark"] .stock-full-primary-button:hover:not(:disabled),
body.dark .stock-full-primary-button:hover:not(:disabled),
body[data-theme="dark"] .stock-full-primary-button:hover:not(:disabled) {
  background: #e7e7e7;
  border-color: #e7e7e7;
}


/* =========================================================
   183. MÉTRICAS
   ========================================================= */

.stock-full-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;

  width: 100%;
  min-width: 0;
}

.stock-full-metric-card {
  min-width: 0;
  min-height: 104px;

  display: flex;
  align-items: center;
  gap: 11px;

  padding: 14px;

  border: 1px solid var(--sf-border);
  border-radius: 11px;

  background: var(--sf-surface);
  box-shadow: none;

  transition:
    border-color 140ms ease,
    transform 140ms ease,
    background-color 140ms ease;
}

.stock-full-metric-card:hover {
  border-color: var(--sf-border-strong);
  transform: translateY(-1px);
}

.stock-full-metric-icon {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 38px;

  border: 1px solid var(--sf-border-soft);
  border-radius: 9px;

  color: var(--sf-text-secondary);
  background: var(--sf-surface-soft);
}

.stock-full-metric-icon svg,
.stock-full-metric-icon i {
  width: 17px;
  height: 17px;
}

.stock-full-metric-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;

  flex: 1;
  min-width: 0;
}

.stock-full-metric-label {
  font-size: 10px;
  font-weight: 760;
  line-height: 1.3;

  color: var(--sf-text-secondary);
}

.stock-full-metric-value {
  font-size: clamp(19px, 1.65vw, 25px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.035em;

  font-variant-numeric: tabular-nums;

  color: var(--sf-text);
}

.stock-full-metric-content small,
.stock-full-metric-hint {
  font-size: 9px;
  font-weight: 650;

  color: var(--sf-text-muted);
}


/* =========================================================
   184. SECCIÓN DE OPERACIONES
   ========================================================= */

.stock-full-operations,
.stock-full-actions-section {
  width: 100%;
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stock-full-operations-heading,
.stock-full-actions-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stock-full-operations-heading h2,
.stock-full-actions-heading h2 {
  margin: 0;

  font-size: 14px;
  font-weight: 830;
  letter-spacing: -0.02em;

  color: var(--sf-text);
}

.stock-full-operations-heading p,
.stock-full-actions-heading p {
  margin: 4px 0 0;

  font-size: 11px;
  font-weight: 560;
  line-height: 1.4;

  color: var(--sf-text-muted);
}

#stock-full-quick-actions {
  min-width: 0;
  width: 100%;
}

.stock-full-quick-actions,
.stock-full-quick-actions-redesign {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;

  min-width: 0;
  width: 100%;
}

.stock-full-quick-action {
  position: relative;

  min-width: 0;
  min-height: 78px;

  display: flex;
  align-items: center;
  gap: 11px;

  padding: 12px 13px;

  border: 1px solid var(--sf-border);
  border-radius: 11px;

  color: var(--sf-text);
  background: var(--sf-surface);

  text-align: left;
  box-shadow: none;

  cursor: pointer;

  transition:
    border-color 140ms ease,
    background-color 140ms ease,
    transform 140ms ease;
}

.stock-full-quick-action:hover {
  border-color: var(--sf-border-strong);
  background: var(--sf-surface-hover);
  transform: translateY(-1px);
}

.stock-full-quick-action-icon {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 38px;

  border: 1px solid var(--sf-border-soft);
  border-radius: 9px;

  color: var(--sf-text-secondary);
  background: var(--sf-surface-soft);
}

.stock-full-quick-action-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;

  flex: 1;
  min-width: 0;
}

.stock-full-quick-action-copy strong {
  display: block;

  font-size: 11px;
  font-weight: 820;

  color: var(--sf-text);

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stock-full-quick-action-copy small {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;

  color: var(--sf-text-muted);

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stock-full-quick-action-arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  color: var(--sf-text-muted);
}

.stock-full-quick-action-arrow svg,
.stock-full-quick-action-arrow i {
  width: 15px;
  height: 15px;
}

.stock-full-quick-action.is-primary-action,
.stock-full-quick-action--excel {
  border-color: var(--sf-border-strong);
}

.stock-full-quick-action.is-primary-action
.stock-full-quick-action-icon,
.stock-full-quick-action--excel
.stock-full-quick-action-icon {
  color: var(--sf-text);
  border-color: var(--sf-border-strong);
}


/* =========================================================
   185. PANEL INVENTARIO
   ========================================================= */

.stock-full-inventory-panel {
  width: 100%;
  min-width: 0;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--sf-border);
  border-radius: 12px;

  overflow: hidden;

  background: var(--sf-surface);
  box-shadow: none;
}

.stock-full-inventory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  gap: 12px;

  min-height: 70px;
  padding: 15px 16px;

  border-bottom: 1px solid var(--sf-border);
}

.stock-full-inventory-heading > div {
  min-width: 0;
}

.stock-full-inventory-heading h2 {
  margin: 0;

  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.025em;

  color: var(--sf-text);
}

.stock-full-inventory-heading p {
  margin: 4px 0 0;

  font-size: 11px;
  font-weight: 600;

  color: var(--sf-text-muted);
}

.stock-full-readonly-note {
  min-height: 27px;
  padding: 5px 9px;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  border: 1px solid var(--sf-border);
  border-radius: 7px;

  background: var(--sf-surface-soft);

  color: var(--sf-text-secondary);

  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.stock-full-readonly-note svg,
.stock-full-readonly-note i {
  width: 13px;
  height: 13px;
}


/* =========================================================
   186. TOOLBAR Y FILTROS
   ========================================================= */

.stock-full-toolbar {
  min-height: 66px;

  padding: 12px 14px;

  border-bottom: 1px solid var(--sf-border);

  gap: 12px;
}

.stock-full-toolbar-main {
  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 0;
  flex: 1 1 auto;
}

.stock-full-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.stock-full-search-field {
  width: min(480px, 100%);
  max-width: 100%;
  min-width: 0;

  border-color: var(--sf-border);

  background: var(--sf-surface-soft);
}

.stock-full-search-field input {
  font-size: 11px;
  font-weight: 650;
}

.stock-full-search-field input::placeholder {
  color: var(--sf-text-muted);
  opacity: 1;
}

.stock-full-selected-counter {
  font-size: 10px;
  font-weight: 760;

  color: var(--sf-text-secondary);
}

.stock-full-filters {
  padding: 12px 14px;

  background: var(--sf-surface-soft);

  border-bottom: 1px solid var(--sf-border);
}

.stock-full-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.stock-full-filter-field label {
  font-size: 10px;
  font-weight: 760;

  color: var(--sf-text-secondary);
}

.stock-full-filter-field input,
.stock-full-filter-field select {
  min-width: 0;
  width: 100%;
  height: 37px;

  border: 1px solid var(--sf-border);
  border-radius: 8px;

  font-size: 11px;
  font-weight: 650;

  color: var(--sf-text);
  background: var(--sf-surface);
}

.stock-full-filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;

  margin-top: 11px;
}


/* =========================================================
   187. TABLA INVENTARIO
   ========================================================= */

.stock-full-table-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;

  overflow-x: auto;
  overflow-y: auto;

  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: thin;
}

.stock-full-table {
  width: 100%;
  min-width: 1180px;

  border-spacing: 0;
  border-collapse: separate;

  background: var(--sf-surface);
}

.stock-full-table th {
  height: 44px;
  padding: 10px 11px;

  border-bottom: 1px solid var(--sf-border);
  border-right: 1px solid var(--sf-border-soft);

  font-size: 11px;
  font-weight: 820;
  line-height: 1.25;

  color: var(--sf-text-secondary);
  background: var(--sf-surface-soft);

  white-space: nowrap;
}

.stock-full-table td {
  height: 52px;
  padding: 10px 11px;

  border-bottom: 1px solid var(--sf-border-soft);
  border-right: 1px solid var(--sf-border-soft);

  font-size: 12px;
  font-weight: 640;
  line-height: 1.4;

  color: var(--sf-text);
  background: transparent;
}

.stock-full-table th:last-child,
.stock-full-table td:last-child {
  border-right: none;
}

.stock-full-table tbody tr:last-child td {
  border-bottom: none;
}

.stock-full-table tbody tr {
  transition: background-color 120ms ease;
}

.stock-full-table tbody tr:hover {
  background: var(--sf-surface-hover);
}

.stock-full-table tbody tr.is-selected {
  background: var(--sf-surface-selected);
}

.stock-full-table .is-readonly-column {
  background: var(--sf-surface-soft);
}

.stock-full-code-value {
  font-size: 12px;
  font-weight: 820;
  color: var(--sf-text);
}

.stock-full-name-cell strong {
  font-size: 12px;
  font-weight: 790;
  color: var(--sf-text);
}

.stock-full-name-cell span {
  font-size: 11px;
  font-weight: 580;
  color: var(--sf-text-secondary);
}

.stock-full-value-label {
  font-size: 12px;
  font-weight: 650;
  color: var(--sf-text);
}

.stock-full-number-cell {
  font-size: 12px;
  font-weight: 740;
  color: var(--sf-text);
  font-variant-numeric: tabular-nums;
}

.stock-full-number-cell.is-strong {
  font-weight: 850;
}

.stock-full-stock-cell {
  font-size: 12px;
  font-weight: 780;
}

.stock-full-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.stock-full-icon-button {
  width: 32px;
  height: 32px;

  border: 1px solid var(--sf-border);
  border-radius: 7px;

  color: var(--sf-text-secondary);
  background: var(--sf-surface);
}

.stock-full-icon-button:hover:not(:disabled) {
  border-color: var(--sf-border-strong);
  background: var(--sf-surface-hover);
  color: var(--sf-text);
}


/* =========================================================
   188. ESTADO SIN PRODUCTOS
   ========================================================= */

.stock-full-empty-state {
  min-height: 200px;
  padding: 25px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;

  color: var(--sf-text-muted);

  text-align: center;
}

.stock-full-empty-state > svg,
.stock-full-empty-state > i {
  width: 31px;
  height: 31px;

  color: var(--sf-text-muted);
}

.stock-full-empty-state strong {
  font-size: 14px;
  font-weight: 820;

  color: var(--sf-text);
}

.stock-full-empty-state p {
  margin: 0;

  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;

  color: var(--sf-text-muted);
}

.stock-full-skeleton {
  display: inline-block;

  min-width: 16px;

  border-radius: 5px;

  background: var(--sf-border-soft);

  animation: stock-full-pulse 1.2s ease-in-out infinite;
}

@keyframes stock-full-pulse {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}


/* =========================================================
   189. PAGINACIÓN
   ========================================================= */

.stock-full-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  min-height: 60px;
  padding: 10px 14px;

  border-top: 1px solid var(--sf-border);

  background: var(--sf-surface);
}

.stock-full-pagination-info {
  font-size: 11px;
  font-weight: 650;

  color: var(--sf-text-secondary);
}

.stock-full-pagination-info strong {
  font-weight: 840;
  color: var(--sf-text);
}

.stock-full-pagination-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.stock-full-page-current {
  min-width: 58px;

  font-size: 11px;
  font-weight: 820;

  color: var(--sf-text);
  text-align: center;
}

.stock-full-page-size {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  font-size: 10px;
  font-weight: 730;

  color: var(--sf-text-secondary);
}

.stock-full-page-size select {
  min-height: 31px;

  font-size: 11px;
  font-weight: 700;

  border-color: var(--sf-border);
}


/* =========================================================
   190. PANEL DE COLUMNAS
   ========================================================= */

.stock-full-columns-panel {
  z-index: 4200;

  width: min(360px, calc(100vw - 24px));

  border: 1px solid var(--sf-border-strong);
  border-radius: 12px;

  background: var(--sf-surface);

  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
}

.stock-full-columns-panel[hidden] {
  display: none !important;
}

.stock-full-columns-panel__header,
.stock-full-columns-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 14px;

  border-bottom: 1px solid var(--sf-border);
}

.stock-full-columns-panel__header > div,
.stock-full-columns-panel-head > div {
  min-width: 0;
}

.stock-full-columns-panel__header h3 {
  margin: 0;

  font-size: 13px;
  font-weight: 830;

  color: var(--sf-text);
}

.stock-full-columns-panel__header p {
  margin: 4px 0 0;

  font-size: 10px;
  font-weight: 600;

  color: var(--sf-text-muted);
}

.stock-full-columns-panel__body,
.stock-full-columns-list {
  display: flex;
  flex-direction: column;
  gap: 3px;

  min-height: 0;
  padding: 9px;

  overflow-y: auto;
}

.stock-full-column-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  min-height: 38px;

  padding: 8px 10px;

  border: 1px solid transparent;
  border-radius: 7px;
}

.stock-full-column-option:hover {
  background: var(--sf-surface-hover);
  border-color: var(--sf-border-soft);
}

.stock-full-column-option span {
  font-size: 11px;
  font-weight: 730;

  color: var(--sf-text);
}

.stock-full-column-option input {
  width: 16px;
  height: 16px;

  accent-color: #111111;
}

.stock-full-columns-panel__footer,
.stock-full-columns-panel-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;

  padding: 12px;

  border-top: 1px solid var(--sf-border);
}


/* =========================================================
   191. MODALES
   ========================================================= */

.stock-full-modal-overlay {
  position: fixed;
  inset: 0;

  z-index: 12000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: clamp(8px, 2.5vw, 26px);

  background: rgba(0, 0, 0, 0.62);

  isolation: isolate;

  overflow: hidden;
}

.stock-full-modal {
  width: min(100%, 820px);
  max-width: 100%;
  max-height: min(94dvh, 1100px);

  min-height: 0;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--sf-border-strong);
  border-radius: 13px;

  color: var(--sf-text);
  background: var(--sf-surface);

  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);

  overflow: hidden;
}

.stock-full-modal-sm {
  width: min(100%, 470px);
  max-width: 470px;
}

.stock-full-modal-md {
  width: min(100%, 650px);
  max-width: 650px;
}

.stock-full-modal-lg {
  width: min(100%, 980px);
  max-width: 980px;
}

.stock-full-modal-xl {
  width: min(100%, 1500px);
  max-width: 1500px;
}

.stock-full-modal-header {
  flex: 0 0 auto;

  min-height: 67px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 14px 18px;

  border-bottom: 1px solid var(--sf-border);

  background: var(--sf-surface);
}

.stock-full-modal-heading {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stock-full-modal-heading strong {
  font-size: 15px;
  font-weight: 850;
  line-height: 1.25;

  color: var(--sf-text);
}

.stock-full-modal-heading span {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;

  color: var(--sf-text-muted);

  white-space: normal;
}

.stock-full-modal-body {
  min-height: 0;
  min-width: 0;

  flex: 1 1 auto;

  padding: 17px 18px;

  overflow-y: auto;
  overflow-x: hidden;

  overscroll-behavior: contain;

  scrollbar-width: thin;

  background: var(--sf-surface);
}

.stock-full-modal-footer {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;

  min-height: 65px;
  padding: 12px 18px;

  border-top: 1px solid var(--sf-border);

  background: var(--sf-surface-soft);
}

.stock-full-modal-footer .stock-full-primary-button,
.stock-full-modal-footer .stock-full-secondary-button {
  min-height: 39px;
}


/* =========================================================
   192. FORMULARIOS DEL NUEVO JS
   ========================================================= */

.stock-full-form {
  display: flex;
  flex-direction: column;
  gap: 15px;

  width: 100%;
  min-width: 0;
}

.stock-full-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.stock-full-form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;

  min-width: 0;
}

.stock-full-form-label,
.stock-full-form-field > label {
  display: block;

  font-size: 11px;
  font-weight: 790;
  line-height: 1.35;

  color: var(--sf-text-secondary);
}

.stock-full-form-field input,
.stock-full-form-field select,
.stock-full-form-field textarea {
  width: 100%;
  min-width: 0;

  border: 1px solid var(--sf-border);
  border-radius: 8px;

  font-family: inherit;
  font-size: 12px;
  font-weight: 650;

  color: var(--sf-text);
  background: var(--sf-surface);

  outline: none;

  transition:
    background-color 140ms ease,
    border-color 140ms ease;
}

.stock-full-form-field input,
.stock-full-form-field select {
  height: 40px;
  padding: 0 11px;
}

.stock-full-form-field textarea {
  min-height: 96px;
  padding: 10px 11px;

  line-height: 1.5;

  resize: vertical;
}

.stock-full-form-field input:focus,
.stock-full-form-field select:focus,
.stock-full-form-field textarea:focus {
  border-color: var(--sf-border-strong);

  box-shadow: none;
}

.stock-full-form-field input[readonly] {
  color: var(--sf-text-secondary);
  background: var(--sf-surface-soft);

  cursor: default;
}

.stock-full-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;

  padding-top: 14px;

  border-top: 1px solid var(--sf-border);
}


/* =========================================================
   193. FILTROS AVANZADOS
   ========================================================= */

.stock-full-advanced-filters {
  display: flex;
  flex-direction: column;
  gap: 18px;

  min-width: 0;
}

.stock-full-advanced-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.stock-full-advanced-grid .stock-full-filter-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.stock-full-advanced-grid .stock-full-filter-field label {
  font-size: 11px;
  font-weight: 780;
}

.stock-full-advanced-grid input,
.stock-full-advanced-grid select {
  height: 40px;

  font-size: 12px;
  font-weight: 650;
}

.stock-full-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;

  padding-top: 14px;

  border-top: 1px solid var(--sf-border);
}


/* =========================================================
   194. DETALLE
   ========================================================= */

.stock-full-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stock-full-detail-field {
  min-width: 0;
  min-height: 70px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;

  padding: 12px;

  border: 1px solid var(--sf-border);
  border-radius: 9px;

  background: var(--sf-surface-soft);
}

.stock-full-detail-field > span {
  font-size: 10px;
  font-weight: 730;

  color: var(--sf-text-muted);
}

.stock-full-detail-field > strong {
  font-size: 12px;
  font-weight: 820;
  line-height: 1.35;

  color: var(--sf-text);

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  overflow-wrap: anywhere;
}

.stock-full-detail-status {
  margin-top: 12px;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


/* =========================================================
   195. INPUTS EN TABLAS MASIVAS
   ========================================================= */

.stock-full-bulk-quantity,
.stock-full-bulk-edit-value,
.stock-full-table input[type="number"] {
  width: 110px;
  max-width: 100%;
  height: 36px;

  padding: 0 9px;

  border: 1px solid var(--sf-border);
  border-radius: 7px;

  font-family: inherit;
  font-size: 12px;
  font-weight: 800;

  font-variant-numeric: tabular-nums;

  text-align: right;

  color: var(--sf-text);
  background: var(--sf-surface);
}

.stock-full-bulk-quantity:focus,
.stock-full-bulk-edit-value:focus,
.stock-full-table input[type="number"]:focus {
  outline: none;
  border-color: var(--sf-border-strong);
}


/* =========================================================
   196. IMPORTACIÓN CSV ORIGINAL
   ========================================================= */

.stock-full-import-workspace {
  display: flex;
  flex-direction: column;
  gap: 15px;

  width: 100%;
  min-width: 0;
}

#stock-full-original-import-file {
  width: 100%;
  max-width: 100%;

  padding: 14px;

  border: 1px dashed var(--sf-border-strong);
  border-radius: 10px;

  font-family: inherit;
  font-size: 12px;
  font-weight: 680;

  color: var(--sf-text);
  background: var(--sf-surface-soft);
}

#stock-full-original-import-preview {
  min-width: 0;
}

.stock-full-import-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;

  padding: 12px 14px;

  border: 1px solid var(--sf-border);
  border-radius: 9px;

  background: var(--sf-surface-soft);
}

.stock-full-import-summary > strong {
  font-size: 12px;
  font-weight: 830;

  color: var(--sf-text);
}

.stock-full-import-summary > span {
  font-size: 11px;
  font-weight: 700;

  color: var(--sf-text-secondary);
}


/* =========================================================
   197. EXCEL · WORKSPACE
   ========================================================= */

.stock-full-excel-workspace {
  display: flex;
  flex-direction: column;
  gap: 15px;

  width: 100%;
  min-width: 0;
}

.stock-full-excel-intro {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px;

  border: 1px solid var(--sf-border);
  border-radius: 10px;

  background: var(--sf-surface-soft);
}

.stock-full-excel-intro-icon {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--sf-border);
  border-radius: 9px;

  color: var(--sf-text-secondary);
  background: var(--sf-surface);
}

.stock-full-excel-intro-icon svg,
.stock-full-excel-intro-icon i {
  width: 20px;
  height: 20px;
}

.stock-full-excel-intro > div:last-child {
  min-width: 0;
  flex: 1;
}

.stock-full-excel-intro strong {
  display: block;

  font-size: 13px;
  font-weight: 830;

  color: var(--sf-text);
}

.stock-full-excel-intro p {
  margin: 5px 0 0;

  font-size: 11px;
  font-weight: 620;
  line-height: 1.5;

  color: var(--sf-text-secondary);
}


/* =========================================================
   198. EXCEL · ZONA DE CARGA
   ========================================================= */

.stock-full-excel-dropzone {
  width: 100%;
  min-width: 0;
  min-height: 175px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 24px;

  border: 1px dashed var(--sf-border-strong);
  border-radius: 11px;

  background: var(--sf-surface-soft);

  color: var(--sf-text);

  text-align: center;
  cursor: pointer;

  transition:
    background-color 140ms ease,
    border-color 140ms ease;
}

.stock-full-excel-dropzone:hover,
.stock-full-excel-dropzone.is-dragover {
  border-color: var(--sf-text-secondary);
  background: var(--sf-surface-hover);
}

.stock-full-excel-dropzone > svg,
.stock-full-excel-dropzone > i {
  width: 27px;
  height: 27px;

  color: var(--sf-text-secondary);
}

.stock-full-excel-dropzone > strong {
  font-size: 13px;
  font-weight: 830;

  color: var(--sf-text);
}

.stock-full-excel-dropzone > span {
  font-size: 11px;
  font-weight: 640;

  color: var(--sf-text-muted);
}

.stock-full-excel-dropzone input[type="file"] {
  width: min(100%, 350px);

  margin-top: 6px;

  font-family: inherit;
  font-size: 11px;
  font-weight: 650;

  color: var(--sf-text);
}

.stock-full-excel-dropzone input[type="file"]::file-selector-button {
  min-height: 34px;
  padding: 0 11px;
  margin-right: 9px;

  border: 1px solid var(--sf-border-strong);
  border-radius: 7px;

  font-family: inherit;
  font-size: 11px;
  font-weight: 760;

  color: var(--sf-text);
  background: var(--sf-surface);

  cursor: pointer;
}

.stock-full-excel-file-info {
  min-width: 0;

  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;

  color: var(--sf-text-secondary);

  overflow-wrap: anywhere;
}


/* =========================================================
   199. EXCEL · RESULTADOS
   ========================================================= */

.stock-full-excel-results {
  display: flex;
  flex-direction: column;
  gap: 13px;

  min-width: 0;
}

.stock-full-excel-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.stock-full-excel-metrics .stock-full-metric-card {
  min-height: 80px;
  padding: 12px;
}

.stock-full-excel-metrics .stock-full-metric-value {
  font-size: 22px;
}

.stock-full-excel-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;

  min-width: 0;

  padding: 12px;

  border: 1px solid var(--sf-border);
  border-radius: 9px;

  background: var(--sf-surface-soft);
}

.stock-full-excel-toolbar .stock-full-search-field {
  flex: 1 1 240px;
  width: auto;
  min-width: 0;
  max-width: none;
}

.stock-full-excel-toolbar select {
  min-height: 38px;
  min-width: 155px;
  max-width: 100%;

  padding: 0 10px;

  border: 1px solid var(--sf-border);
  border-radius: 8px;

  font-family: inherit;
  font-size: 11px;
  font-weight: 680;

  color: var(--sf-text);
  background: var(--sf-surface);
}


/* =========================================================
   200. EXCEL · TABLA
   ========================================================= */

#sf-excel-table-container {
  min-width: 0;

  border: 1px solid var(--sf-border);
  border-radius: 10px;

  overflow: hidden;
}

.stock-full-excel-table {
  min-width: 1120px;
}

.stock-full-excel-table th {
  font-size: 10px;
  font-weight: 810;
}

.stock-full-excel-table td {
  font-size: 11px;
  font-weight: 640;
}

.stock-full-excel-table .is-numeric {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.stock-full-excel-table .is-numeric strong {
  font-weight: 850;
}

.stock-full-excel-row.is-selected {
  background: var(--sf-surface-selected);
}

.stock-full-excel-row:hover {
  background: var(--sf-surface-hover);
}

.sf-excel-row-checkbox {
  width: 16px;
  height: 16px;

  accent-color: #111111;
  cursor: pointer;
}


/* =========================================================
   201. EXCEL · ADVERTENCIAS
   ========================================================= */

.stock-full-excel-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  padding: 13px;

  border: 1px solid var(--sf-border-strong);
  border-radius: 9px;

  background: var(--sf-surface-soft);

  color: var(--sf-text-secondary);

  font-size: 11px;
  font-weight: 680;
  line-height: 1.5;
}

.stock-full-excel-warning svg,
.stock-full-excel-warning i {
  width: 17px;
  height: 17px;

  flex: 0 0 17px;
  margin-top: 1px;
}

.stock-full-excel-warning.is-warning {
  border-color: var(--sf-warning-border);
  background: var(--sf-warning-bg);
  color: var(--sf-warning);
}

html[data-theme="dark"] .stock-full-excel-warning.is-warning,
body.dark .stock-full-excel-warning.is-warning,
body[data-theme="dark"] .stock-full-excel-warning.is-warning {
  background: #211907;
  border-color: #654916;
  color: #f4cf86;
}


/* =========================================================
   202. EXCEL · FOOTER
   ========================================================= */

.stock-full-excel-footer-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;

  margin-right: auto;

  font-size: 11px;
  font-weight: 670;

  color: var(--sf-text-secondary);
}

.stock-full-excel-footer-summary strong {
  margin-left: 3px;

  font-size: 13px;
  font-weight: 850;

  color: var(--sf-text);
}

.stock-full-excel-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}


/* =========================================================
   203. ENVÍOS
   ========================================================= */

.stock-full-shipment-overview {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;

  padding: 12px;

  margin-bottom: 13px;

  border: 1px solid var(--sf-border);
  border-radius: 9px;

  background: var(--sf-surface-soft);
}

.stock-full-shipment-overview > span {
  font-size: 11px;
  font-weight: 760;

  color: var(--sf-text-secondary);
}

#stock-full-shipment-add-item {
  margin-top: 15px;
  padding: 14px;

  border: 1px solid var(--sf-border);
  border-radius: 9px;

  background: var(--sf-surface-soft);
}


/* =========================================================
   204. TOAST
   ========================================================= */

.stock-full-toast {
  z-index: 20000;

  display: flex;
  align-items: center;
  gap: 10px;

  min-height: 50px;
  padding: 10px 12px;

  border: 1px solid var(--sf-border-strong);
  border-radius: 10px;

  background: var(--sf-surface);
  color: var(--sf-text);

  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
}

.stock-full-toast__message {
  flex: 1;
  min-width: 0;

  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;

  color: var(--sf-text);
}

.stock-full-toast__close {
  width: 25px;
  height: 25px;

  flex: 0 0 25px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 1px solid var(--sf-border);
  border-radius: 6px;

  color: var(--sf-text-secondary);
  background: var(--sf-surface);

  cursor: pointer;
}

.stock-full-toast.is-visible {
  pointer-events: auto;
}


/* =========================================================
   205. DARK · TEXTOS Y CONTROLES
   ========================================================= */

html[data-theme="dark"] .stock-full-modal,
body.dark .stock-full-modal,
body[data-theme="dark"] .stock-full-modal {
  color: var(--sf-text);
  background: var(--sf-surface);
  border-color: var(--sf-border-strong);
}

html[data-theme="dark"] .stock-full-excel-toolbar select,
html[data-theme="dark"] .stock-full-form-field input,
html[data-theme="dark"] .stock-full-form-field select,
html[data-theme="dark"] .stock-full-form-field textarea,
html[data-theme="dark"] .stock-full-bulk-quantity,
html[data-theme="dark"] .stock-full-bulk-edit-value,
html[data-theme="dark"] .stock-full-table input[type="number"],
body.dark .stock-full-excel-toolbar select,
body.dark .stock-full-form-field input,
body.dark .stock-full-form-field select,
body.dark .stock-full-form-field textarea,
body.dark .stock-full-bulk-quantity,
body.dark .stock-full-bulk-edit-value,
body.dark .stock-full-table input[type="number"],
body[data-theme="dark"] .stock-full-excel-toolbar select,
body[data-theme="dark"] .stock-full-form-field input,
body[data-theme="dark"] .stock-full-form-field select,
body[data-theme="dark"] .stock-full-form-field textarea,
body[data-theme="dark"] .stock-full-bulk-quantity,
body[data-theme="dark"] .stock-full-bulk-edit-value,
body[data-theme="dark"] .stock-full-table input[type="number"] {
  color: #f5f5f5;
  background: #090909;
  border-color: #383838;

  color-scheme: dark;
}

html[data-theme="dark"] .stock-full-modal input::placeholder,
html[data-theme="dark"] .stock-full-modal textarea::placeholder,
body.dark .stock-full-modal input::placeholder,
body.dark .stock-full-modal textarea::placeholder,
body[data-theme="dark"] .stock-full-modal input::placeholder,
body[data-theme="dark"] .stock-full-modal textarea::placeholder {
  color: #999999;
  opacity: 1;
}

html[data-theme="dark"] .stock-full-column-option input,
html[data-theme="dark"] .sf-excel-row-checkbox,
body.dark .stock-full-column-option input,
body.dark .sf-excel-row-checkbox,
body[data-theme="dark"] .stock-full-column-option input,
body[data-theme="dark"] .sf-excel-row-checkbox {
  accent-color: #ffffff;
}


/* =========================================================
   206. RESPUESTA · 1500 PX
   ========================================================= */

@media (max-width: 1500px) {
  .stock-full-metrics {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .stock-full-filter-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }
}


/* =========================================================
   207. RESPUESTA · 1200 PX
   ========================================================= */

@media (max-width: 1200px) {
  .stock-full-page {
    padding: 18px;
  }

  .stock-full-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .stock-full-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .stock-full-quick-actions,
  .stock-full-quick-actions-redesign {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .stock-full-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .stock-full-toolbar-main {
    width: 100%;
  }

  .stock-full-search-field {
    width: 100%;
    max-width: none;
  }

  .stock-full-toolbar-actions {
    justify-content: flex-start;
  }
}


/* =========================================================
   208. RESPUESTA · 900 PX
   ========================================================= */

@media (max-width: 900px) {
  .stock-full-modal-lg,
  .stock-full-modal-xl {
    max-width: 100%;
  }

  .stock-full-excel-metrics {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .stock-full-detail-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .stock-full-excel-toolbar {
    align-items: stretch;
  }

  .stock-full-excel-toolbar .stock-full-search-field {
    flex: 1 1 100%;
  }
}


/* =========================================================
   209. RESPUESTA · 760 PX
   ========================================================= */

@media (max-width: 760px) {
  .stock-full-page {
    padding: 12px;
  }

  .stock-full-page-inner {
    gap: 13px;
  }

  .stock-full-header-actions {
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .stock-full-header-actions button {
    width: 100%;
  }

  .stock-full-metrics {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .stock-full-filter-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .stock-full-toolbar-main {
    align-items: stretch;
    flex-direction: column;
  }

  .stock-full-toolbar-actions {
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .stock-full-toolbar-actions button {
    width: 100%;
  }

  .stock-full-inventory-heading {
    padding: 13px;
  }

  .stock-full-modal-overlay {
    padding: 8px;
    align-items: center;
  }

  .stock-full-modal {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 11px;
  }

  .stock-full-modal-header,
  .stock-full-modal-footer {
    padding: 12px;
  }

  .stock-full-modal-body {
    padding: 12px;
  }

  .stock-full-form-grid,
  .stock-full-advanced-grid {
    grid-template-columns: 1fr;
  }

  .stock-full-excel-toolbar select {
    flex: 1 1 180px;
  }

  .stock-full-excel-footer-summary {
    width: 100%;
    margin-right: 0;
  }

  .stock-full-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .stock-full-pagination-controls {
    justify-content: space-between;
  }
}


/* =========================================================
   210. RESPUESTA · 520 PX
   ========================================================= */

@media (max-width: 520px) {
  .stock-full-page {
    padding: 10px;
  }

  .stock-full-page-heading h1 {
    font-size: 26px;
  }

  .stock-full-header-actions {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .stock-full-header-actions button {
    min-width: 0;

    padding: 0 7px;

    font-size: 10px;
  }

  .stock-full-metrics {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .stock-full-metric-card {
    min-height: 91px;
    padding: 10px;
    gap: 8px;
  }

  .stock-full-metric-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .stock-full-metric-value {
    font-size: 18px;
  }

  .stock-full-quick-actions,
  .stock-full-quick-actions-redesign {
    grid-template-columns: 1fr;
  }

  .stock-full-filter-grid {
    grid-template-columns: 1fr;
  }

  .stock-full-toolbar-actions {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .stock-full-excel-metrics {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .stock-full-excel-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .stock-full-excel-toolbar select,
  .stock-full-excel-toolbar button {
    width: 100%;
  }

  .stock-full-excel-footer-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .stock-full-excel-footer-actions button {
    width: 100%;
  }

  .stock-full-detail-grid {
    grid-template-columns: 1fr;
  }

  .stock-full-modal-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .stock-full-modal-footer button {
    width: 100%;
  }
}


/* =========================================================
   211. ACCESIBILIDAD
   ========================================================= */

.stock-full-page :is(
  button,
  input,
  select,
  textarea
):focus-visible,
.stock-full-modal :is(
  button,
  input,
  select,
  textarea
):focus-visible {
  outline: 2px solid var(--sf-border-strong);
  outline-offset: 2px;

  box-shadow: none;
}

.stock-full-page button,
.stock-full-modal button {
  -webkit-tap-highlight-color: transparent;
}

.stock-full-page :disabled,
.stock-full-modal :disabled {
  cursor: not-allowed;
}


/* =========================================================
   212. ANIMACIONES REDUCIDAS
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .stock-full-page *,
  .stock-full-modal-overlay *,
  .stock-full-columns-panel *,
  .stock-full-toast * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   213. CORRECCIONES FINALES
   ========================================================= */

.stock-full-page *,
.stock-full-modal-overlay *,
.stock-full-columns-panel *,
.stock-full-toast * {
  box-sizing: border-box;
  text-shadow: none;
}

.stock-full-page,
.stock-full-page-inner,
.stock-full-inventory-panel,
.stock-full-operations,
.stock-full-toolbar,
.stock-full-filters,
.stock-full-excel-workspace {
  min-width: 0;
  max-width: 100%;
}

.stock-full-content-card,
.stock-full-metric-card,
.stock-full-quick-action,
.stock-full-inventory-panel,
.stock-full-form-section,
.stock-full-detail-field {
  box-shadow: none;
}

.stock-full-modal-overlay[hidden],
.stock-full-columns-panel[hidden] {
  display: none !important;
}

/* =========================================================
   FIN · COMPLEMENTO VISUAL STOCK FULL
   ========================================================= *//* =========================================================
   WIRTZ HUB · STOCK FULL
   BORDES FIRMES + TIPOGRAFÍA FIRME
   ========================================================= */

/* =========================================================
   01. VARIABLES DE CONTRASTE
   ========================================================= */

.stock-full-page,
.stock-full-modal-overlay,
.stock-full-columns-panel,
.stock-full-toast {
  --sf-border: #b9bec6;
  --sf-border-soft: #ced2d8;
  --sf-border-strong: #858c96;

  --sf-text: #080a0d;
  --sf-text-secondary: #242930;
  --sf-text-muted: #424952;
  --sf-text-faint: #626b76;
}

html[data-theme="dark"] .stock-full-page,
html[data-theme="dark"] .stock-full-modal-overlay,
html[data-theme="dark"] .stock-full-columns-panel,
html[data-theme="dark"] .stock-full-toast,
body.dark .stock-full-page,
body.dark .stock-full-modal-overlay,
body.dark .stock-full-columns-panel,
body.dark .stock-full-toast,
body[data-theme="dark"] .stock-full-page,
body[data-theme="dark"] .stock-full-modal-overlay,
body[data-theme="dark"] .stock-full-columns-panel,
body[data-theme="dark"] .stock-full-toast {
  --sf-border: #454545;
  --sf-border-soft: #343434;
  --sf-border-strong: #686868;

  --sf-text: #ffffff;
  --sf-text-secondary: #e3e3e3;
  --sf-text-muted: #bcbcbc;
  --sf-text-faint: #999999;
}


/* =========================================================
   02. CONTENEDORES Y TARJETAS
   ========================================================= */

.stock-full-content-card,
.stock-full-inventory-panel,
.stock-full-metric-card,
.stock-full-quick-action,
.stock-full-form-section,
.stock-full-detail-section,
.stock-full-detail-field,
.stock-full-shipment-card,
.stock-full-shipment-card-grid > div,
.stock-full-excel-intro,
.stock-full-excel-toolbar,
.stock-full-excel-warning,
.stock-full-import-summary,
.stock-full-shipment-overview {
  border: 1px solid var(--sf-border);
  box-shadow: none;
}

.stock-full-inventory-panel,
.stock-full-content-card {
  border-color: var(--sf-border-strong);
}

.stock-full-metric-card:hover,
.stock-full-quick-action:hover,
.stock-full-shipment-card:hover {
  border-color: var(--sf-border-strong);
}


/* =========================================================
   03. TIPOGRAFÍA PRINCIPAL
   ========================================================= */

.stock-full-page,
.stock-full-modal-overlay,
.stock-full-columns-panel,
.stock-full-toast {
  font-weight: 650;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stock-full-page-heading h1 {
  font-weight: 900;
  letter-spacing: -0.045em;
}

.stock-full-page-heading p {
  font-weight: 680;
  color: var(--sf-text-secondary);
}

.stock-full-page-kicker {
  font-weight: 850;
  color: var(--sf-text-secondary);
}

.stock-full-inventory-heading h2,
.stock-full-operations-heading h2,
.stock-full-actions-heading h2 {
  font-weight: 900;
}

.stock-full-inventory-heading p,
.stock-full-operations-heading p,
.stock-full-actions-heading p {
  font-weight: 700;
  color: var(--sf-text-secondary);
}


/* =========================================================
   04. MÉTRICAS
   ========================================================= */

.stock-full-metric-label {
  font-size: 11px;
  font-weight: 850;
  color: var(--sf-text-secondary);
}

.stock-full-metric-value {
  font-weight: 900;
  color: var(--sf-text);
  font-variant-numeric: tabular-nums;
}

.stock-full-metric-content small,
.stock-full-metric-hint {
  font-size: 10px;
  font-weight: 730;
  color: var(--sf-text-muted);
}

.stock-full-metric-icon {
  border-color: var(--sf-border);
  color: var(--sf-text);
}


/* =========================================================
   05. OPERACIONES RÁPIDAS
   ========================================================= */

.stock-full-quick-action {
  border-color: var(--sf-border);
}

.stock-full-quick-action-copy strong {
  font-size: 12px;
  font-weight: 880;
  color: var(--sf-text);
}

.stock-full-quick-action-copy small {
  font-size: 10px;
  font-weight: 720;
  color: var(--sf-text-secondary);
}

.stock-full-quick-action-icon {
  border-color: var(--sf-border);
  color: var(--sf-text);
}


/* =========================================================
   06. BOTONES
   ========================================================= */

.stock-full-primary-button,
.stock-full-secondary-button,
.stock-full-icon-button {
  font-weight: 850;
  box-shadow: none;
}

.stock-full-secondary-button,
.stock-full-icon-button {
  border-color: var(--sf-border);
  color: var(--sf-text);
}

.stock-full-secondary-button:hover:not(:disabled),
.stock-full-icon-button:hover:not(:disabled) {
  border-color: var(--sf-border-strong);
}

.stock-full-primary-button span,
.stock-full-secondary-button span {
  color: inherit;
  font-weight: inherit;
}


/* =========================================================
   07. TABLAS · BORDES MÁS MARCADOS
   ========================================================= */

.stock-full-table {
  border-collapse: separate;
  border-spacing: 0;
}

.stock-full-table th {
  border-bottom: 1px solid var(--sf-border-strong);
  border-right: 1px solid var(--sf-border);

  font-size: 11px;
  font-weight: 900;
  color: var(--sf-text);

  background: var(--sf-surface-soft);
}

.stock-full-table td {
  border-bottom: 1px solid var(--sf-border);
  border-right: 1px solid var(--sf-border-soft);

  font-size: 12px;
  font-weight: 730;
  color: var(--sf-text);
}

.stock-full-table th:last-child,
.stock-full-table td:last-child {
  border-right: none;
}

.stock-full-code-value {
  font-weight: 900;
  color: var(--sf-text);
}

.stock-full-name-cell strong {
  font-weight: 850;
  color: var(--sf-text);
}

.stock-full-name-cell span {
  font-weight: 700;
  color: var(--sf-text-secondary);
}

.stock-full-value-label {
  font-weight: 750;
  color: var(--sf-text);
}

.stock-full-number-cell {
  font-weight: 830;
  color: var(--sf-text);
}

.stock-full-number-cell.is-strong,
.stock-full-stock-cell {
  font-weight: 900;
}

.stock-full-sort-button {
  font-weight: 900;
}

.stock-full-table .is-readonly-column {
  border-right-color: var(--sf-border-strong);
}


/* =========================================================
   08. BADGES Y ESTADOS
   ========================================================= */

.stock-full-badge {
  font-weight: 900;
  border-width: 1px;
}

.stock-full-coverage strong {
  font-weight: 900;
}

.stock-full-coverage span {
  font-weight: 770;
}

.stock-full-break-date strong {
  font-weight: 850;
}

.stock-full-break-date span {
  font-weight: 740;
}


/* =========================================================
   09. TOOLBAR Y FILTROS
   ========================================================= */

.stock-full-toolbar,
.stock-full-filters,
.stock-full-inventory-heading,
.stock-full-pagination {
  border-color: var(--sf-border);
}

.stock-full-search-field {
  border-color: var(--sf-border);
}

.stock-full-search-field input {
  font-weight: 750;
  color: var(--sf-text);
}

.stock-full-selected-counter {
  font-weight: 830;
}

.stock-full-filter-field label,
.stock-full-form-label,
.stock-full-form-field > label {
  font-size: 11px;
  font-weight: 850;
  color: var(--sf-text-secondary);
}

.stock-full-filter-field input,
.stock-full-filter-field select,
.stock-full-page-size select {
  border-color: var(--sf-border);

  font-weight: 760;
  color: var(--sf-text);
}

.stock-full-filter-field input:focus,
.stock-full-filter-field select:focus,
.stock-full-search-field:focus-within {
  border-color: var(--sf-border-strong);
}


/* =========================================================
   10. MODALES
   ========================================================= */

.stock-full-modal {
  border: 1px solid var(--sf-border-strong);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.stock-full-modal-header {
  border-bottom: 1px solid var(--sf-border-strong);
}

.stock-full-modal-footer {
  border-top: 1px solid var(--sf-border-strong);
}

.stock-full-modal-heading strong {
  font-size: 15px;
  font-weight: 900;
  color: var(--sf-text);
}

.stock-full-modal-heading span {
  font-weight: 720;
  color: var(--sf-text-secondary);
}

.stock-full-form-field input,
.stock-full-form-field select,
.stock-full-form-field textarea {
  border-color: var(--sf-border);
  font-weight: 740;
}

.stock-full-form-field input:focus,
.stock-full-form-field select:focus,
.stock-full-form-field textarea:focus {
  border-color: var(--sf-border-strong);
  box-shadow: none;
}

.stock-full-form-actions,
.stock-full-modal-actions {
  border-top-color: var(--sf-border);
}


/* =========================================================
   11. DETALLE DE PRODUCTOS
   ========================================================= */

.stock-full-detail-field {
  border-color: var(--sf-border);
}

.stock-full-detail-field > span {
  font-size: 11px;
  font-weight: 820;
  color: var(--sf-text-secondary);
}

.stock-full-detail-field > strong {
  font-size: 13px;
  font-weight: 900;
  color: var(--sf-text);
}


/* =========================================================
   12. CONCILIACIÓN EXCEL FULL
   ========================================================= */

.stock-full-excel-dropzone {
  border: 2px dashed var(--sf-border-strong);
}

.stock-full-excel-dropzone > strong {
  font-weight: 900;
}

.stock-full-excel-dropzone > span {
  font-weight: 740;
  color: var(--sf-text-secondary);
}

.stock-full-excel-file-info {
  font-weight: 800;
}

.stock-full-excel-intro strong {
  font-weight: 900;
}

.stock-full-excel-intro p {
  font-weight: 700;
  color: var(--sf-text-secondary);
}

.stock-full-excel-metrics .stock-full-metric-value {
  font-weight: 900;
}

.stock-full-excel-table th {
  font-weight: 900;
  border-bottom-color: var(--sf-border-strong);
}

.stock-full-excel-table td {
  font-weight: 760;
}

.stock-full-excel-table .is-numeric strong {
  font-weight: 900;
}

.stock-full-excel-footer-summary {
  font-weight: 800;
}

.stock-full-excel-footer-summary strong {
  font-weight: 900;
}


/* =========================================================
   13. COLUMNAS
   ========================================================= */

.stock-full-columns-panel {
  border-color: var(--sf-border-strong);
}

.stock-full-columns-panel__header,
.stock-full-columns-panel__footer {
  border-color: var(--sf-border);
}

.stock-full-columns-panel__header h3 {
  font-weight: 900;
}

.stock-full-column-option span {
  font-weight: 820;
}


/* =========================================================
   14. PAGINACIÓN
   ========================================================= */

.stock-full-pagination-info,
.stock-full-page-size,
.stock-full-page-current {
  font-weight: 790;
  color: var(--sf-text-secondary);
}

.stock-full-pagination-info strong {
  font-weight: 900;
  color: var(--sf-text);
}


/* =========================================================
   15. DARK MODE · BORDES Y CONTRASTE
   ========================================================= */

html[data-theme="dark"] .stock-full-table th,
body.dark .stock-full-table th,
body[data-theme="dark"] .stock-full-table th {
  color: #ffffff;
  border-bottom-color: #656565;
  border-right-color: #444444;
}

html[data-theme="dark"] .stock-full-table td,
body.dark .stock-full-table td,
body[data-theme="dark"] .stock-full-table td {
  color: #f5f5f5;
  border-bottom-color: #414141;
  border-right-color: #343434;
}

html[data-theme="dark"] .stock-full-metric-label,
body.dark .stock-full-metric-label,
body[data-theme="dark"] .stock-full-metric-label {
  color: #e1e1e1;
}

html[data-theme="dark"] .stock-full-form-label,
html[data-theme="dark"] .stock-full-filter-field label,
body.dark .stock-full-form-label,
body.dark .stock-full-filter-field label,
body[data-theme="dark"] .stock-full-form-label,
body[data-theme="dark"] .stock-full-filter-field label {
  color: #e2e2e2;
}

html[data-theme="dark"] .stock-full-secondary-button,
body.dark .stock-full-secondary-button,
body[data-theme="dark"] .stock-full-secondary-button {
  border-color: #4a4a4a;
  color: #f7f7f7;
}

html[data-theme="dark"] .stock-full-content-card,
html[data-theme="dark"] .stock-full-inventory-panel,
html[data-theme="dark"] .stock-full-metric-card,
html[data-theme="dark"] .stock-full-quick-action,
body.dark .stock-full-content-card,
body.dark .stock-full-inventory-panel,
body.dark .stock-full-metric-card,
body.dark .stock-full-quick-action,
body[data-theme="dark"] .stock-full-content-card,
body[data-theme="dark"] .stock-full-inventory-panel,
body[data-theme="dark"] .stock-full-metric-card,
body[data-theme="dark"] .stock-full-quick-action {
  border-color: #494949;
}


/* =========================================================
   16. SIN GLOW
   ========================================================= */

.stock-full-page *,
.stock-full-modal-overlay *,
.stock-full-columns-panel *,
.stock-full-toast * {
  text-shadow: none;
}

.stock-full-primary-button,
.stock-full-secondary-button,
.stock-full-icon-button,
.stock-full-search-field,
.stock-full-form-field input,
.stock-full-form-field select,
.stock-full-form-field textarea {
  filter: none;
}


/* =========================================================
   FIN · BORDES Y LETRA FIRME
   ========================================================= */