@charset "UTF-8";

/* src/styles/main.scss */
:root {
  --black: #000000;
  --gray-900: #1a1a1a;
  --gray-800: #2d2d2d;
  --gray-700: #404040;
  --gray-600: #525252;
  --gray-500: #737373;
  --gray-400: #a3a3a3;
  --gray-300: #d4d4d4;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --color-success: #2e7d32;
  --color-success-light: #e8f5e9;
  --color-error: #c62828;
  --color-error-light: #ffebee;
  --color-warning: #f57c00;
  --color-warning-light: #fff3e0;
  --color-info: #1565c0;
  --color-info-light: #e3f2fd;
  --color-destructive: #b91c1c;
  --color-destructive-hover: #991b1b;
  --color-success-hover: #256b29;
  --color-success-border: rgba(46, 125, 50, 0.6);
  --color-error-border: rgba(198, 40, 40, 0.6);
  --color-warning-border: rgba(245, 124, 0, 0.6);
  --color-info-border: rgba(21, 101, 192, 0.6);
  --status-ok: #2e7d32;
  --status-action: #f57c00;
  --status-info: #1565c0;
  --status-scope-change: #7b1fa2;
  --status-delayed: #c62828;
}
:root {
  --font-heading:
    "Span",
    Georgia,
    "Times New Roman",
    serif;
  --font-body:
    Jost,
    system-ui,
    -apple-system,
    sans-serif;
  --font-mono:
    "SF Mono",
    Monaco,
    Inconsolata,
    "Fira Code",
    monospace;
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --text-xs: 0.778rem;
  --text-sm: 0.889rem;
  --text-base: 1rem;
  --text-lg: 1.111rem;
  --text-xl: 1.333rem;
  --text-2xl: 1.667rem;
  --text-3xl: 2rem;
  --text-4xl: 2.667rem;
  --leading-tight: 1.2;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
}
:root {
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 700;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-xl);
}
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}
.header-logo:hover {
  text-decoration: none;
}
.header-logo img.image-logo {
  height: 32px;
  width: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.header-action-button {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--gray-600);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: background-color var(--duration-base) var(--easing-default), color var(--duration-base) var(--easing-default);
}
.header-action-button:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}
.floating-menu .popover-content-container {
  width: 280px;
}
.floating-menu-body {
  padding: var(--space-sm);
}
.floating-menu-body .menu-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  height: 40px;
  padding: 0 var(--space-md);
  color: var(--gray-700);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--duration-base) var(--easing-default), color var(--duration-base) var(--easing-default);
}
.floating-menu-body .menu-item:hover {
  background-color: var(--gray-100);
  color: var(--gray-900);
  text-decoration: none;
}
.floating-menu-body .menu-item:hover .menu-item-icon {
  color: var(--gray-900);
}
.floating-menu-body .menu-item.destructive {
  color: var(--color-error);
}
.floating-menu-body .menu-item.destructive:hover {
  background-color: var(--color-error-light);
  color: var(--color-error);
}
.floating-menu-body .menu-item.destructive .menu-item-icon {
  color: var(--color-error);
}
.floating-menu-body .menu-item-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gray-500);
  transition: color var(--duration-base) var(--easing-default);
}
.floating-menu-body .divider {
  height: 1px;
  background: var(--gray-200);
  margin: var(--space-md) 0;
}
.floating-menu-footer {
  padding: var(--space-md);
  background-color: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.floating-menu-footer .avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--gray-900);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  flex-shrink: 0;
}
.floating-menu-footer .footer-info {
  flex: 1;
  min-width: 0;
}
.floating-menu-footer .footer-email {
  font-size: var(--text-xs);
  color: var(--gray-700);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.floating-menu-footer .footer-label {
  font-size: var(--text-xs);
  color: var(--gray-500);
}
:root {
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --easing-default: cubic-bezier(0.4, 0, 0.2, 1);
}
img.image-icon {
  content: url("../assets/icon-BBWPTXO3.svg");
}
img.image-logo {
  content: url("../assets/logo-4ISLHKFH.svg");
}
img.image-retouched-person-dark {
  content: url("../assets/retouched_person_dark-L7I3B42O.svg");
}
img.image-retouched-person-light {
  content: url("../assets/retouched_person_light-U2GC7ALE.svg");
}
.drag-and-drop {
  position: relative;
}
.drag-and-drop [data-draggable-part=grip] {
  cursor: grab;
  text-align: center;
}
.drag-and-drop [data-draggable-part=grip] svg {
  pointer-events: none;
}
.drag-and-drop.dragging {
  cursor: grabbing;
  user-select: none;
}
.editable-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
}
.editable-list .editable-list-chip {
  display: flex;
  align-items: center;
  align-self: stretch;
  height: 36px;
  padding-left: 14px;
  padding-right: 4px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  transition: border-color var(--duration-base) var(--easing-default), box-shadow var(--duration-base) var(--easing-default);
}
.editable-list .editable-list-chip:hover {
  border-color: var(--gray-400);
}
.editable-list .editable-list-chip:focus-within {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--gray-900);
}
.editable-list .editable-list-chip input {
  all: unset;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--gray-900);
  flex: 1;
  min-width: 0;
}
.editable-list .editable-list-chip input::placeholder {
  color: var(--gray-400);
}
.editable-list .chip-remove {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  color: var(--gray-400);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color var(--duration-base) var(--easing-default), color var(--duration-base) var(--easing-default);
}
.editable-list .chip-remove svg {
  width: 10px;
  height: 10px;
}
.editable-list .chip-remove:hover {
  background: var(--color-destructive);
  color: var(--white);
}
.editable-list .editable-list-add {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px dashed var(--gray-300);
  color: var(--gray-400);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color var(--duration-base) var(--easing-default),
    color var(--duration-base) var(--easing-default),
    background-color var(--duration-base) var(--easing-default);
}
.editable-list .editable-list-add svg {
  width: 12px;
  height: 12px;
}
.editable-list .editable-list-add:hover {
  border-color: var(--gray-900);
  color: var(--gray-900);
  background: var(--gray-100);
}
.file-select {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-3xl) var(--space-xl);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  color: var(--gray-400);
  font-size: 3rem;
}
.file-select.hover {
  border-color: var(--gray-900);
  color: var(--gray-900);
}
.file-select.busy {
  position: relative;
  border-color: var(--gray-900);
  color: var(--gray-900);
}
.file-select.busy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--gray-300);
  animation: busy 1s ease infinite alternate;
}
.file-select.success {
  animation: success 5s linear forwards;
}
.file-select.failure {
  border-color: var(--color-error);
  color: var(--color-error);
  background-color: var(--color-error-light);
}
.file-select .status-text {
  font-size: var(--text-xl);
}
.loading {
  display: inline-block;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin var(--duration-slow) linear infinite;
  color: var(--gray-900);
  width: 1.333rem;
  height: 1.333rem;
}
.loading.size__small {
  width: 0.889rem;
  height: 0.889rem;
}
.loading.size__medium {
  width: 1.333rem;
  height: 1.333rem;
}
.loading.size__large {
  width: 1.778rem;
  height: 1.778rem;
}
.loading.white {
  color: var(--white);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.skeleton {
  border-radius: var(--radius-md);
  background-color: var(--gray-200);
  animation: skeleton-pulse 1.5s infinite var(--easing-default);
}
@keyframes skeleton-pulse {
  0% {
    background-color: var(--gray-200);
  }
  50% {
    background-color: var(--gray-100);
  }
  100% {
    background-color: var(--gray-200);
  }
}
.radio-group.row {
  display: flex;
  flex-direction: row;
  gap: var(--space-md);
}
.radio-group.column {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.radio-group .radio-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.radio-group .radio-option input[type=radio] {
  cursor: pointer;
}
.rte-main {
  text-align: left;
  outline: none;
  user-select: text;
  white-space: pre-wrap;
  word-wrap: break-word;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0 var(--space-xs);
  height: 150px;
  overflow: scroll;
}
.rte-hide-caret {
  caret-color: transparent;
}
.rte-button {
  color: var(--gray-500);
  cursor: pointer;
  margin-right: var(--space-md);
  padding: 2px 0;
  display: inline-block;
}
.rte-button.rte-active {
  color: var(--gray-900);
}
.rte-button.rte-disabled {
  color: var(--gray-400);
  pointer-events: none;
}
.rte-controls {
  text-align: left;
  font-size: var(--text-xs);
  padding-bottom: var(--space-sm);
  user-select: none;
  display: inline-block;
  margin-left: var(--space-md);
}
.rte-controls-container {
  border-bottom: 1px solid var(--gray-100);
  text-align: left;
}
.store-picker {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  height: 100%;
}
.store-picker-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.mode-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
  padding: var(--space-lg);
  background-color: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: border-color var(--duration-base) var(--easing-default), background-color var(--duration-base) var(--easing-default);
}
.mode-option:hover {
  background-color: var(--white);
}
.mode-option:hover:not(.selected) {
  border-color: var(--gray-400);
}
.mode-option.selected {
  border-color: var(--gray-900);
}
.mode-option .mode-option-title {
  font-weight: var(--weight-semibold);
  color: var(--gray-900);
}
.mode-option .mode-option-description {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: var(--leading-normal);
}
.store-picker-all-message {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
  color: var(--gray-500);
  background-color: var(--gray-100);
  border-radius: var(--radius-md);
}
.store-picker-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex: 1;
  min-height: 0;
}
.store-picker-toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.store-picker-toolbar .store-picker-search {
  flex: 1;
  min-width: 200px;
}
.store-picker-toolbar .store-picker-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}
.store-picker-toolbar .store-picker-count {
  color: var(--gray-500);
  font-size: var(--text-sm);
  white-space: nowrap;
  padding-right: var(--space-sm);
}
.store-picker-toolbar .store-picker-action {
  background: none;
  border: none;
  padding: var(--space-xs) var(--space-sm);
  font: inherit;
  font-size: var(--text-sm);
  color: var(--gray-600);
  cursor: pointer;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) var(--easing-default), background-color var(--duration-fast) var(--easing-default);
}
.store-picker-toolbar .store-picker-action:hover {
  color: var(--gray-900);
  background-color: var(--gray-100);
}
.store-picker-toolbar .store-picker-action:focus-visible {
  outline: 2px solid var(--gray-900);
  outline-offset: 2px;
}
.store-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
  align-content: start;
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
@media (max-width: 768px) {
  .store-picker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .store-picker-grid {
    grid-template-columns: 1fr;
  }
}
.store-picker-empty {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  text-align: center;
  color: var(--gray-400);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-md);
}
.store-tile {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
  transition: border-color var(--duration-fast) var(--easing-default), background-color var(--duration-fast) var(--easing-default);
}
.store-tile:hover {
  border-color: var(--gray-300);
  background-color: var(--gray-100);
}
.store-tile.selected {
  border-color: var(--gray-900);
}
.store-tile.selected .store-tile-check {
  background-color: var(--gray-900);
  border-color: var(--gray-900);
}
.store-tile.selected .store-tile-check::after {
  opacity: 1;
}
.store-tile input[type=checkbox] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.store-tile .store-tile-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  position: relative;
  transition: background-color var(--duration-fast) var(--easing-default), border-color var(--duration-fast) var(--easing-default);
}
.store-tile .store-tile-check::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--easing-default);
}
.store-tile .store-tile-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.store-tile .store-tile-name {
  font-weight: var(--weight-medium);
  color: var(--gray-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.store-tile .store-tile-id {
  font-size: var(--text-xs);
  color: var(--gray-500);
}
.table {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.table .table-header-content {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: var(--space-sm);
  align-items: center;
}
.table .table-header-content:hover {
  cursor: pointer;
  color: var(--gray-900);
}
.table .table-headers,
.table .table-row,
.table .table-group-header {
  display: grid;
  column-gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
}
.table .error {
  background-color: var(--color-error-light);
  height: fit-content;
}
.table .table-headers {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  background-color: var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 2;
  white-space: nowrap;
}
.table .table-rows {
  overflow-y: auto;
}
.table .table-row {
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}
.table .table-group-header {
  font-family: var(--font-body);
  background-color: var(--gray-200);
  border-left: 3px solid var(--gray-300);
  position: sticky;
  top: 0;
  z-index: 1;
}
.tabs {
  display: grid;
  grid-template-rows: auto 1fr;
  row-gap: var(--space-md);
}
.tabs .tabs-nav {
  display: flex;
  gap: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
}
.tabs .tabs-nav .tab {
  position: relative;
  padding: var(--space-sm) 0;
  font-weight: var(--weight-medium);
  white-space: nowrap;
  color: var(--gray-500);
  cursor: pointer;
  user-select: none;
  transition: color var(--duration-base) var(--easing-default);
}
.tabs .tabs-nav .tab::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gray-900);
  transition: width var(--duration-base) var(--easing-default);
}
.tabs .tabs-nav .tab:hover {
  color: var(--gray-900);
}
.tabs .tabs-nav .tab.selected {
  color: var(--gray-900);
}
.tabs .tabs-nav .tab.selected::after {
  width: 100%;
}
.tabs .current-tab-view {
  overflow: hidden;
}
.pagination-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.pagination-container button {
  padding: unset;
  width: 2.5rem;
  height: 2.5rem;
  background-color: transparent;
  color: var(--gray-700);
}
.pagination-container button:hover {
  background-color: var(--gray-100);
  color: var(--gray-900);
}
.pagination-container button:disabled.active {
  background-color: var(--gray-900);
  color: var(--white);
  font-weight: var(--weight-semibold);
}
.product-filter {
  display: flex;
  flex-direction: column;
  width: min(320px, 90vw);
  max-height: min(70vh, 560px);
  overflow-y: auto;
}
.product-filter .filter-block {
  padding: var(--space-md);
  border-bottom: 1px solid var(--gray-200);
}
.product-filter .filter-block input {
  width: 100%;
}
.product-filter .filter-section {
  border-bottom: 1px solid var(--gray-200);
}
.product-filter .filter-section:last-child {
  border-bottom: none;
}
.product-filter .filter-section-header {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  padding: 0 var(--space-md);
  gap: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
  text-align: left;
  color: var(--gray-900);
}
.product-filter .filter-section-header:hover {
  background-color: var(--gray-100);
}
.product-filter .filter-title {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  flex: 1;
}
.product-filter .filter-badge {
  font-size: var(--text-xs);
  color: var(--gray-500);
  font-weight: var(--weight-medium);
}
.product-filter .filter-chevron {
  transition: transform var(--duration-base) var(--easing-default);
  color: var(--gray-400);
  display: flex;
  align-items: center;
}
.product-filter .filter-chevron > svg {
  width: 12px;
  height: 12px;
}
.product-filter .filter-section-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-base) var(--easing-default);
  overflow: hidden;
}
.product-filter .filter-options {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: 0 var(--space-md);
}
.product-filter .filter-option {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}
.product-filter .filter-option:hover {
  background-color: var(--gray-100);
}
.product-filter .filter-option:first-child {
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-xs);
  border-bottom: 1px solid var(--gray-200);
  border-radius: 0;
}
.product-filter .filter-section.expanded .filter-chevron {
  transform: rotate(180deg);
}
.product-filter .filter-section.expanded .filter-section-content {
  grid-template-rows: 1fr;
}
.decorated-input {
  position: relative;
}
.decorated-input input {
  width: 100%;
}
.decorated-input .input-decoration {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding-right: 12px;
}
button.icon-button.left > .icon-button-icon {
  margin-right: 0.5rem;
}
button.icon-button.right > .icon-button-icon {
  margin-left: 0.5rem;
}
button.icon-button > .icon-button-icon {
  display: flex;
}
.loading-button {
  position: relative;
}
.loading-button .loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: currentColor;
  visibility: hidden;
}
.loading-button.is-loading {
  pointer-events: none;
}
.loading-button.is-loading .loading {
  visibility: visible;
}
.loading-button.is-loading .content {
  visibility: hidden;
}
.box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}
.box .box-icon {
  font-size: 1.25em;
  flex-shrink: 0;
}
.box.info {
  background-color: var(--color-info-light);
  border: 1px solid var(--color-info-border);
}
.box.info .box-icon {
  color: var(--color-info);
}
.box.danger {
  background-color: var(--color-error-light);
  border: 1px solid var(--color-error-border);
}
.box.danger .box-icon {
  color: var(--color-error);
}
.box.warning {
  background-color: var(--color-warning-light);
  border: 1px solid var(--color-warning-border);
}
.box.warning .box-icon {
  color: var(--color-warning);
}
.box.success {
  background-color: var(--color-success-light);
  border: 1px solid var(--color-success-border);
}
.box.success .box-icon {
  color: var(--color-success);
}
.box.compact {
  padding: var(--space-sm) var(--space-md);
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(26, 26, 26, 0.4);
}
.dialog {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "header" "content" "footer";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: min(720px, 90vw);
  max-height: 90vh;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xl);
  row-gap: var(--space-md);
}
.dialog .header {
  grid-area: header;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
}
.dialog .header .icon {
  justify-self: end;
}
.dialog .header .icon > svg {
  font-size: 1.5em;
  color: var(--gray-500);
  cursor: pointer;
}
.dialog .header .icon > svg:hover {
  color: var(--gray-900);
}
.dialog .content {
  grid-area: content;
  overflow-y: auto;
}
.dialog .footer {
  grid-area: footer;
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  background-color: var(--white);
}
.sticker {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
}
.with-tooltip {
  display: inline;
  position: relative;
  cursor: help;
}
.with-tooltip > .tooltip {
  position: absolute;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--easing-default), visibility 0s linear var(--duration-base);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--gray-900);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: normal;
  white-space: normal;
  text-align: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 320px;
}
.with-tooltip > .tooltip::before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}
.with-tooltip > .tooltip.left {
  right: calc(100% + 30px);
  top: 50%;
  transform: translateY(-50%);
}
.with-tooltip > .tooltip.left::before {
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-left-color: var(--gray-900);
}
.with-tooltip > .tooltip.right {
  left: calc(100% + 30px);
  top: 50%;
  transform: translateY(-50%);
}
.with-tooltip > .tooltip.right::before {
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-right-color: var(--gray-900);
}
.with-tooltip > .tooltip.top {
  bottom: calc(100% + 30px);
  left: 50%;
  transform: translateX(-50%);
}
.with-tooltip > .tooltip.top::before {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: var(--gray-900);
}
.with-tooltip > .tooltip.bottom {
  top: calc(100% + 30px);
  left: 50%;
  transform: translateX(-50%);
}
.with-tooltip > .tooltip.bottom::before {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-color: var(--gray-900);
}
.with-tooltip:hover > .tooltip,
.with-tooltip:active > .tooltip {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--duration-base) var(--easing-default) 300ms, visibility 0s linear 300ms;
}
.popover {
  position: relative;
  height: fit-content;
}
.popover .popover-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm);
  gap: var(--space-sm);
  color: var(--gray-900);
  background-color: var(--gray-100);
  border-bottom: none;
}
.popover .popover-toggle:hover {
  background-color: var(--gray-200);
}
.popover .popover-toggle .icon {
  transition: transform var(--duration-base) var(--easing-default);
}
.popover .popover-content-container {
  position: absolute;
  top: calc(100% + var(--space-xs));
  z-index: 400;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 200ms var(--easing-default),
    transform 200ms var(--easing-default),
    visibility 200ms var(--easing-default);
}
.popover .popover-content-container.left {
  left: 0;
}
.popover .popover-content-container.right {
  right: 0;
}
.popover .popover-content-container .popover-content {
  overflow: hidden;
}
.popover.expanded .popover-toggle .icon {
  transform: rotateX(180deg);
}
.popover.expanded .popover-content-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.popover .underlay {
  position: fixed;
  inset: 0;
  z-index: 399;
  background: rgba(26, 26, 26, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--easing-default), visibility var(--duration-base) var(--easing-default);
}
.popover .underlay.visible {
  opacity: 1;
  visibility: visible;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  width: fit-content;
  color: var(--gray-500);
  font-size: var(--text-sm);
  text-decoration: none;
}
.back-link svg {
  width: 14px;
  height: 14px;
}
.back-link:hover {
  color: var(--gray-900);
  text-decoration: none;
}
.column-sort-icon {
  display: inline-flex;
  align-items: center;
}
.column-sort-icon.active {
  color: var(--gray-800);
}
.navigation {
  display: grid;
  grid-auto-flow: column;
  gap: var(--space-xl);
  justify-content: start;
  padding-bottom: var(--space-lg);
}
.navigation a,
.navigation a:hover {
  text-decoration: none;
}
.navigation .nav-link {
  position: relative;
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  color: var(--gray-500);
  transition: color var(--duration-fast) var(--easing-default);
}
.navigation .nav-link::before {
  content: "";
  position: absolute;
  bottom: -0.2em;
  left: 0;
  width: 0;
  height: 0.1em;
  transition: width var(--duration-fast) var(--easing-default);
  background-color: var(--gray-900);
}
.navigation .nav-link.selected::before {
  width: 100%;
}
.navigation .nav-link.selected {
  color: var(--gray-900);
}
.click-and-collect.reservation-details-page {
  position: relative;
  display: grid;
}
.click-and-collect.reservation-details-page .return-link {
  position: absolute;
  top: var(--space-xl);
  left: var(--space-3xl);
  font-size: var(--text-lg);
}
.click-and-collect.reservation-details-page .center {
  display: grid;
  justify-content: center;
  align-content: center;
  grid-template-columns: max-content;
  grid-template-rows: max-content;
}
.click-and-collect.reservation-details-page .details {
  display: grid;
  grid-template: "code   code  code " auto "state  items meta " auto "update items meta " 2fr/min-content 5fr 2fr;
  gap: var(--space-xl);
  margin: 0 var(--space-3xl);
}
.click-and-collect.reservation-details-page .details .pickup-code {
  grid-area: code;
  text-align: center;
}
.click-and-collect.reservation-details-page .details .state-transitions {
  grid-area: state;
  display: grid;
  grid-auto-flow: row;
  gap: var(--space-md);
  height: min-content;
  justify-self: end;
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition {
  position: relative;
  display: grid;
  grid-template: "dot state" "dot time "/auto 1fr;
  gap: 0 var(--space-md);
  align-items: center;
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition .dot {
  grid-area: dot;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition .line {
  grid-area: dot;
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: calc(100% + var(--space-md));
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition:last-child .line {
  display: none;
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.new {
  color: var(--gray-900);
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.new .dot,
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.new .line {
  background-color: var(--gray-900);
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.ready {
  color: var(--color-success);
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.ready .dot,
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.ready .line {
  background-color: var(--color-success);
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.picked-up {
  color: var(--gray-500);
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.picked-up .dot,
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.picked-up .line {
  background-color: var(--gray-500);
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.expired {
  color: var(--color-warning);
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.expired .dot,
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.expired .line {
  background-color: var(--color-warning);
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.error {
  color: var(--color-error);
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.error .dot,
.click-and-collect.reservation-details-page .details .state-transitions .state-transition.error .line {
  background-color: var(--color-error);
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition .state {
  grid-area: state;
}
.click-and-collect.reservation-details-page .details .state-transitions .state-transition .transitioned-at {
  grid-area: time;
}
.click-and-collect.reservation-details-page .details .state-update {
  grid-area: update;
  display: grid;
  gap: var(--space-sm);
  height: fit-content;
}
.click-and-collect.reservation-details-page .details .items {
  grid-area: items;
}
.click-and-collect.reservation-details-page .details .items .item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: var(--space-md);
}
.click-and-collect.reservation-details-page .details .items .item .amount {
  text-align: right;
  font-weight: var(--weight-semibold);
}
.click-and-collect.reservation-details-page .details .metadata {
  grid-area: meta;
  display: grid;
  gap: var(--space-3xl);
  height: min-content;
}
.click-and-collect.reservation-details-page .details .metadata .metadata-field .name {
  color: var(--gray-500);
}
.click-and-collect.reservation-details-page .details .metadata .metadata-field .value {
  font-size: var(--text-xl);
}
.click-and-collect.reservation-details-page .state-update-dialog {
  display: grid;
  grid-template: "text    text  " "cancel confirm";
  gap: var(--space-md);
}
.click-and-collect.reservation-details-page .state-update-dialog .prompt {
  grid-area: text;
}
.click-and-collect.reservation-details-page .state-update-dialog .error-message {
  border: 1px solid var(--color-error);
  padding: var(--space-md);
}
.click-and-collect.reservation-details-page .state-update-dialog .error-message .close-reservation-button {
  margin-top: var(--space-md);
}
.click-and-collect.reservation-details-page .state-update-dialog .confirm {
  grid-area: confirm;
  width: fit-content;
  justify-self: right;
}
.click-and-collect.reservation-details-page .state-update-dialog .secondary {
  grid-area: cancel;
  width: fit-content;
}
.click-and-collect.reservation-details-page .missing-items-dialog {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: var(--space-xl);
  justify-items: start;
  width: 60%;
  max-height: 80%;
}
.click-and-collect.reservation-details-page .missing-items-dialog .missing-items-deviation-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-sm) var(--space-md);
  width: 100%;
  overflow-y: auto;
}
.click-and-collect.reservation-details-page .missing-items-dialog input[type=checkbox] {
  height: 1rem;
}
.click-and-collect.reservation-details-page .close-with-reason-dialog {
  display: grid;
  grid-template: "text    text  " "reason  reason" "cancel confirm";
  gap: var(--space-md);
}
.click-and-collect.reservation-details-page .close-with-reason-dialog .prompt {
  grid-area: text;
}
.click-and-collect.reservation-details-page .close-with-reason-dialog .reason-input {
  grid-area: reason;
}
.click-and-collect.reservation-details-page .close-with-reason-dialog .close-and-send-button {
  grid-area: confirm;
  width: fit-content;
}
.click-and-collect.reservation-details-page .close-with-reason-dialog .cancel-button {
  grid-area: cancel;
  width: fit-content;
  justify-self: right;
}
.click-and-collect-page {
  display: grid;
  grid-template: "top          top         " auto "stores       search      " auto "reservations reservations" 1fr/1fr auto;
  gap: var(--space-md);
  overflow-y: auto;
}
.click-and-collect-page .stores-dropdown {
  grid-area: stores;
}
.click-and-collect-page .pickup-code-search {
  grid-area: search;
}
.click-and-collect-page .reservations {
  grid-area: reservations;
  display: grid;
  grid-auto-rows: auto auto 1fr;
  gap: var(--space-md);
  overflow-y: auto;
}
.click-and-collect-page .reservations .reservation-list {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: min-content;
  overflow-y: auto;
}
.click-and-collect-page .reservations .reservation-list .reservation-card {
  display: grid;
  gap: var(--space-sm);
  grid-template: "id      count  " "code    code   " "state   state  " "updated expires";
  padding: var(--space-lg);
  background-color: white;
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--gray-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: box-shadow var(--duration-base) var(--easing-default);
}
.click-and-collect-page .reservations .reservation-list .reservation-card:hover {
  box-shadow: var(--shadow-hover);
}
.click-and-collect-page .reservations .reservation-list .reservation-card.new {
  border-left-color: var(--gray-900);
}
.click-and-collect-page .reservations .reservation-list .reservation-card.new .state {
  color: var(--gray-900);
}
.click-and-collect-page .reservations .reservation-list .reservation-card.ready {
  border-left-color: var(--color-success);
}
.click-and-collect-page .reservations .reservation-list .reservation-card.ready .state {
  color: var(--color-success);
}
.click-and-collect-page .reservations .reservation-list .reservation-card.picked-up {
  border-left-color: var(--gray-500);
}
.click-and-collect-page .reservations .reservation-list .reservation-card.picked-up .state {
  color: var(--gray-500);
}
.click-and-collect-page .reservations .reservation-list .reservation-card.expired {
  border-left-color: var(--color-warning);
}
.click-and-collect-page .reservations .reservation-list .reservation-card.expired .state {
  color: var(--color-warning);
}
.click-and-collect-page .reservations .reservation-list .reservation-card.error {
  border-left-color: var(--color-error);
}
.click-and-collect-page .reservations .reservation-list .reservation-card.error .state {
  color: var(--color-error);
}
.click-and-collect-page .reservations .reservation-list .reservation-card .id {
  grid-area: id;
}
.click-and-collect-page .reservations .reservation-list .reservation-card .product-count {
  grid-area: count;
  text-align: right;
}
.click-and-collect-page .reservations .reservation-list .reservation-card .pickup-code {
  grid-area: code;
  text-align: center;
  line-height: 1;
  font-size: var(--text-4xl);
  font-weight: var(--weight-regular);
  color: var(--gray-900);
}
.click-and-collect-page .reservations .reservation-list .reservation-card .state {
  grid-area: state;
  text-align: center;
}
.click-and-collect-page .reservations .reservation-list .reservation-card .updated-at {
  grid-area: updated;
}
.click-and-collect-page .reservations .reservation-list .reservation-card .expires-at {
  grid-area: expires;
  text-align: right;
}
.click-and-collect-top {
  grid-area: top;
}
.click-and-collect-top h2 {
  margin: 0;
  text-align: center;
}
.pim-page .file-import-page {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  min-height: 0;
}
.pim-page .file-import-page .file-import-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  flex: 1;
  min-height: 0;
  padding: var(--space-xl);
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.pim-page .file-import-page .toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-md);
}
.pim-page .file-import-page .import-config {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.pim-page .file-import-page .import-config label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--gray-700);
}
.pim-page .file-import-page .file-select {
  flex: 1;
  min-height: 12rem;
}
.pim-page .file-import-page .warnings-content {
  flex: 1;
  min-width: 0;
}
.pim-page .file-import-page .warnings-content .warnings-title {
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-sm);
}
.pim-page .file-import-page .warnings-content .errors-by-file {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  overflow: auto;
  font-size: var(--text-xs);
  color: var(--gray-700);
}
.pim-page .file-import-page .warnings-content .errors-by-file .file-errors {
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-error-light);
  border: 1px solid var(--color-error-border);
  border-radius: var(--radius-sm);
}
@keyframes busy {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 1;
  }
}
@keyframes success {
  0%, 20% {
    border-color: var(--color-success);
    color: var(--color-success);
    background-color: var(--color-success-light);
  }
}
.pim-page .product-images-page {
  min-height: 0;
}
.pim-page .product-images-page > .tabs {
  height: 100%;
  overflow: hidden;
}
.pim-page .product-images-page .products {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  height: 100%;
}
.pim-page .product-images-page .products .product-search {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--space-md);
  width: min-content;
  padding: var(--space-lg);
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pim-page .product-images-page .products .product-search form {
  display: grid;
  grid-template-columns: 1fr auto;
}
.pim-page .product-images-page .products .product-search form input[type=submit] {
  margin-left: var(--space-md);
}
.pim-page .product-images-page .products .selected-product-images {
  position: relative;
  overflow-y: auto;
}
.pim-page .product-images-page .products .selected-product-images .product-images-options {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: var(--white);
  width: fit-content;
  padding: var(--space-md);
  border: solid var(--gray-200);
  border-width: 0 1px 1px 0;
}
.pim-page .product-images-page .products .selected-product-images .loading {
  position: absolute;
  inset: 0;
  margin: auto;
}
.pim-page .product-images-page .draft-upload-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.pim-page .product-images-page .draft-upload-prompt .file-select {
  max-width: 16rem;
  padding: var(--space-xl);
  font-size: 1.5rem;
}
.pim-page .product-images-page .upload-draft {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  height: 100%;
}
.pim-page .product-images-page .upload-draft .draft-info {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.pim-page .product-images-page .upload-draft .draft-info .metadata {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  height: min-content;
}
.pim-page .product-images-page .upload-draft .draft-info .metadata h4 {
  margin: 0;
}
.pim-page .product-images-page .upload-draft .draft-info .controls {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
}
.pim-page .product-images-page .upload-draft .draft-images {
  overflow-y: auto;
}
.pim-page .product-images-page .upload-draft .draft-product-images .draft-product-images-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-bottom: var(--space-sm);
}
.pim-page .product-images-page .upload-draft .draft-product-images .draft-product-images-header h3 {
  margin: 0;
}
.pim-page .product-images-page .upload-draft .loading {
  position: absolute;
  inset: 0;
  margin: auto;
}
.pim-page .product-images-page .product-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, 256px);
  gap: var(--space-xl);
  margin: var(--space-lg);
}
.pim-page .product-images-page .product-images .product-image {
  display: inline-grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: 100%;
  gap: var(--space-md);
  width: 256px;
  padding: var(--space-lg);
  justify-items: stretch;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background-color: var(--white);
}
.pim-page .product-images-page .product-images .product-image.warning-highlight {
  border-color: var(--color-warning-border);
  background-color: var(--color-warning-light);
}
.pim-page .product-images-page .product-images .product-image img {
  max-width: 100%;
}
.pim-page .product-images-page .product-images .product-image .product-image-names {
  font-size: var(--text-xs);
}
.pim-page .product-images-page .product-images .product-image .product-image-meta-and-controls {
  display: grid;
  grid-template: "kind-meta kind-meta gap edit      edit     " "active    move      gap delete    make-main"/auto auto 1fr auto auto;
  gap: 6px;
}
.pim-page .product-images-page .product-images .product-image .product-image-meta-and-controls .image-control-icon-button {
  cursor: pointer;
  display: block;
}
.pim-page .product-images-page .product-images .product-image .product-image-meta-and-controls .kind-meta {
  grid-area: kind-meta;
}
.pim-page .product-images-page .product-images .product-image .product-image-meta-and-controls .edit-image-button {
  grid-area: edit;
  padding: 0;
  width: 40px;
  height: 40px;
  opacity: 0.5;
}
.pim-page .product-images-page .product-images .product-image .product-image-meta-and-controls .edit-image-button:hover {
  opacity: 1;
}
.pim-page .product-images-page .product-images .product-image .product-image-meta-and-controls .edit-image-button {
  background: none;
}
.pim-page .product-images-page .product-images .product-image .product-image-meta-and-controls .move-button {
  grid-area: move;
  padding-top: var(--space-xs);
  padding-bottom: var(--space-xs);
}
.pim-page .product-images-page .product-images .product-image .product-image-meta-and-controls .active-checkbox {
  grid-area: active;
}
.pim-page .product-images-page .product-images .product-image .product-image-meta-and-controls .delete {
  grid-area: delete;
  color: var(--color-error);
}
.pim-page .product-images-page .product-images .product-image .product-image-meta-and-controls .delete.disabled {
  visibility: hidden;
}
.pim-page .product-images-page .product-images .product-image .product-image-meta-and-controls .make-main {
  grid-area: make-main;
  color: var(--gray-800);
}
.pim-page .product-images-page .product-images .product-image .image-container {
  position: relative;
}
.pim-page .product-images-page .product-images .product-image .image-container .inactive-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 6px);
  background:
    linear-gradient(
      to top right,
      transparent calc(50% - 3px),
      rgba(0, 0, 0, 0.4) calc(50% - 3px),
      rgba(0, 0, 0, 0.4) calc(50% + 3px),
      transparent calc(50% + 3px));
}
.pim-page .product-images-page .product-images .product-images-drop-area {
  position: relative;
  display: none;
  margin: 0 calc(-1 * var(--space-xl) - 2px);
}
.pim-page .product-images-page .product-images .product-images-drop-area > * {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
}
.pim-page .product-images-page .product-images.dragging .product-images-drop-area:hover,
.pim-page .product-images-page .product-images.dragging .product-images-drop-area:has(+ .product-image:hover),
.pim-page .product-images-page .product-images.dragging .product-images-drop-area.always-active {
  display: block;
}
.pim-page .product-images-page .product-images.dragging .product-images-drop-area:has(> :hover) {
  display: none;
}
.pim-page .product-images-page .move-draft-image {
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: min-content min-content;
  gap: var(--space-md);
  justify-content: space-between;
  width: 70%;
  height: 70%;
  overflow: hidden;
  white-space: nowrap;
}
.pim-page .product-images-page .move-draft-image .product-search {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-column: span 2;
  overflow: auto;
}
.pim-page .product-images-page .product-list {
  overflow-y: auto;
}
.pim-page .product-images-page .product-list .product-list-item {
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background-color var(--duration-fast) var(--easing-default);
}
.pim-page .product-images-page .product-list .product-list-item:hover {
  background-color: var(--gray-100);
}
.pim-page .product-images-page .product-list .product-list-item.selected {
  background-color: var(--gray-100);
}
.pim-page .product-images-page .product-list .loading {
  margin-top: var(--space-xl);
}
.pim-page .product-images-page .edit-image-dialog {
  max-width: 90vw;
  max-height: none;
}
.pim-page .product-images-page .edit-image-dialog > .content {
  overflow: visible;
}
.pim-page .product-images-page .edit-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}
.pim-page .product-images-page .edit-image #edited-image-preview {
  position: relative;
}
.pim-page .product-images-page .edit-image #edited-image-preview > img {
  display: block;
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
}
.pim-page .product-images-page .edit-image #edited-image-preview > .set-sticker-button {
  position: absolute;
  background: none;
  border: 2px solid transparent;
  border-radius: 50%;
  aspect-ratio: 1;
  padding: 2px;
  margin: 5%;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity var(--duration-base) var(--easing-default), border-color var(--duration-base) var(--easing-default);
}
.pim-page .product-images-page .edit-image #edited-image-preview > .set-sticker-button.selected {
  opacity: 1;
}
.pim-page .product-images-page .edit-image #edited-image-preview > .set-sticker-button:hover {
  opacity: 0.8;
  border-color: var(--gray-900);
}
.pim-page .product-images-page .edit-image #edited-image-preview > .set-sticker-button > img {
  width: 100%;
  height: 100%;
}
.pim-page .product-images-page .edit-image #edited-image-preview > .set-sticker-button.top-left {
  top: 0;
  left: 0;
}
.pim-page .product-images-page .edit-image #edited-image-preview > .set-sticker-button.top-right {
  top: 0;
  right: 0;
}
.pim-page .product-images-page .edit-image #edited-image-preview > .set-sticker-button.bottom-left {
  bottom: 0;
  left: 0;
}
.pim-page .product-images-page .edit-image #edited-image-preview > .set-sticker-button.bottom-right {
  bottom: 0;
  right: 0;
}
.pim-page .products-page {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  min-height: 0;
}
.pim-page .products-page .product-list-search {
  display: flex;
  gap: var(--space-md);
}
.pim-page .products-page .product-list-search input {
  flex: 1;
  max-width: 400px;
}
.pim-page .products-page .product-line-context {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  flex: 1;
  min-height: 0;
}
.pim-page .products-page .product-line-context h2 {
  margin: 0;
}
.pim-page .products-page .product-table {
  flex: 1;
  min-height: 0;
  border-color: var(--gray-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  font-size: var(--text-sm);
}
.pim-page .products-page .product-table .table-headers {
  font-size: var(--text-xs);
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-300);
}
.pim-page .products-page .product-table .table-row {
  transition: background-color var(--duration-base) var(--easing-default);
}
.pim-page .products-page .product-table .table-row:hover {
  background-color: var(--gray-100);
}
.pim-page .products-page .product-table .secondary {
  color: var(--gray-500);
}
.pim-page .products-page .product-table .numeric {
  text-align: right;
}
.pim-page .products-page .product-table .sku-link {
  font-weight: var(--weight-medium);
  color: var(--gray-900);
  text-decoration: none;
}
.pim-page .products-page .product-table .sku-link:hover {
  text-decoration: underline;
}
.pim-page .products-page .product-table .variants-link {
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--gray-700);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-base) var(--easing-default);
}
.pim-page .products-page .product-table .variants-link:hover {
  color: var(--gray-900);
}
.pim-page .products-page .product-table .copyable-value {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}
.pim-page .products-page .product-table .copyable-value:has(.variants-link) {
  display: flex;
}
.pim-page .products-page .product-table .copy-button {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-400);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--easing-default), color var(--duration-fast) var(--easing-default);
}
.pim-page .products-page .product-table .copy-button:hover {
  color: var(--gray-700);
}
.pim-page .products-page .product-table .copy-button .copy-icon {
  width: 12px;
  height: 12px;
}
.pim-page .products-page .product-table .table-row:hover .copy-button {
  opacity: 1;
}
.pim-page .products-page .product-table .brand-badge {
  display: inline-block;
  padding: 2px 10px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--gray-700);
}
.pim-page .products-page .product-table .stock-positive {
  color: var(--color-success);
  font-weight: var(--weight-medium);
}
.pim-page .products-page .product-table .stock-low {
  color: var(--color-error);
  font-weight: var(--weight-medium);
}
.pim-page .product-detail-page {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.pim-page .product-detail-page > .back-link {
  margin-bottom: var(--space-md);
}
.pim-page .product-detail-page .detail-header {
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: var(--space-md);
  flex-shrink: 0;
}
.pim-page .product-detail-page .detail-header .product-meta .product-name {
  font-weight: var(--weight-semibold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pim-page .product-detail-page .detail-header .product-detail-chips {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-xs);
}
.pim-page .product-detail-page .detail-header .chip {
  display: inline-block;
  padding: 2px 10px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--gray-600);
}
.pim-page .product-detail-page .detail-header .chip.stock-positive {
  background: var(--color-success-light);
  color: var(--color-success);
}
.pim-page .product-detail-page .detail-header .chip.stock-low {
  background: var(--color-error-light);
  color: var(--color-error);
}
.pim-page .product-detail-page .detail-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid var(--gray-200);
  padding-top: var(--space-md);
  flex-shrink: 0;
}
.pim-page .product-detail-page .detail-footer .save-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.pim-page .product-detail-page .detail-footer .save-actions .btn-primary.saved {
  background: var(--color-success);
}
.pim-page .product-detail-page .detail-footer .save-actions .btn-primary .loading {
  width: 1.2rem;
}
.pim-page .product-detail-page .enrichment {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.pim-page .product-detail-page .enrichment-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: var(--space-xs) 0;
}
.pim-page .product-detail-page .enrichment-form > hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 0;
}
.pim-page .product-detail-page .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}
.pim-page .product-detail-page .form-grid.metadata-grid {
  grid-template-columns: repeat(4, 1fr);
}
.pim-page .product-detail-page .enrichment-field > b {
  display: block;
}
.pim-page .product-detail-page .form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.pim-page .product-detail-page .form-field.span-2 {
  grid-column: span 2;
}
.pim-page .product-detail-page .form-field.span-3 {
  grid-column: span 3;
}
.pim-page .product-detail-page .form-field.span-4 {
  grid-column: span 4;
}
.pim-page .product-detail-page .form-field.category-display {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pim-page .product-detail-page .form-field b,
.pim-page .product-detail-page .form-field label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--gray-700);
}
.pim-page .product-detail-page .form-field input,
.pim-page .product-detail-page .form-field textarea,
.pim-page .product-detail-page .form-field select {
  font-size: var(--text-base);
}
.pim-page .product-detail-page .form-field input:focus-visible,
.pim-page .product-detail-page .form-field textarea:focus-visible,
.pim-page .product-detail-page .form-field select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--gray-900);
}
.pim-page .product-detail-page .form-field .editable-list-chip input {
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: var(--text-sm);
  flex: 1;
  min-width: 0;
  transition: none;
}
.pim-page .product-detail-page .form-field .editable-list-chip input:hover {
  border-color: transparent;
}
.pim-page .product-detail-page .form-field .editable-list-chip input:focus-visible {
  box-shadow: none;
}
.pim-page .product-detail-page .form-field textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
  line-height: var(--leading-normal);
}
.pim-page .product-detail-page .colors-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}
.pim-page .product-detail-page .color-swatch-preview .swatch-segments {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.pim-page .product-detail-page .color-swatch-preview .swatch-segment {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--duration-base) var(--easing-default);
}
.pim-page .product-detail-page .color-swatch-preview .swatch-segment:hover {
  opacity: 0.85;
}
.pim-page .product-detail-page .color-swatch-preview .swatch-color-text {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
}
.pim-page .product-detail-page .color-swatch-preview .color-editor {
  margin-top: var(--space-lg);
  display: flex;
  justify-content: center;
}
.pim-page .product-detail-page .color-swatch-preview .color-editor form {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.pim-page .product-detail-page .color-swatch-preview .color-editor .color-preview {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.pim-page .product-detail-page .color-swatch-preview .color-editor .color-preview.invalid {
  border-color: var(--color-error);
}
.pim-page .product-detail-page .color-swatch-preview .color-editor input {
  height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  width: 120px;
}
.pim-page .product-detail-page .color-swatch-preview .color-editor input:focus-visible {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--gray-900);
}
.pim-page .product-detail-page .color-swatch-preview .color-editor .delete-button {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--gray-500);
  cursor: pointer;
  transition: background-color var(--duration-base) var(--easing-default), color var(--duration-base) var(--easing-default);
}
.pim-page .product-detail-page .color-swatch-preview .color-editor .delete-button svg {
  width: 14px;
  height: 14px;
}
.pim-page .product-detail-page .color-swatch-preview .color-editor .delete-button:hover {
  background: var(--color-error-light);
  color: var(--color-error);
}
.pim-page .product-detail-page .error-container {
  padding: var(--space-xl);
}
.pim-page .product-detail-page .refill-relation-field .loading {
  width: 1.2rem;
  display: inline-block;
}
.pim-page .product-detail-page .refill-relation-field input[type=checkbox] {
  all: revert;
  vertical-align: middle;
}
.pim-page .product-detail-page .refill-relation-field label {
  margin-left: var(--space-sm);
  vertical-align: middle;
}
.pim-page .product-detail-page .refill-relation-field .related-product-link {
  color: var(--gray-500);
  transition: color var(--duration-base) var(--easing-default);
}
.pim-page .product-detail-page .refill-relation-field .related-product-link:hover {
  color: var(--gray-900);
}
.pim-page .product-detail-page .refill-relation-field .related-product-link.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.pim-page .product-detail-page .refill-relation-field .related-product-link svg {
  width: 14px;
  height: 14px;
}
.pim-page .product-detail-page .fallback-text-editor {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-sm);
}
.pim-page .product-detail-page .fallback-text-editor pre {
  display: flex;
  flex: 1;
  margin: 0;
}
.pim-page .product-detail-page .fallback-text-editor textarea {
  width: 100%;
  flex: 1;
  min-height: 80px;
  font-family: var(--font-mono);
}
.pim-page .product-detail-page .fallback-text-field {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pim-page .product-detail-page .rich-text-field .trix-content,
.pim-page .product-detail-page .fallback-text-field .trix-content {
  min-height: 80px;
  border: 1px solid var(--gray-200);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 12px 16px;
}
.pim-page .product-detail-page .rich-text-field .trix-content:focus-visible,
.pim-page .product-detail-page .fallback-text-field .trix-content:focus-visible {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--gray-900);
}
.pim-page {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--space-md);
  min-height: 0;
}
.pim-top {
  display: flex;
}
.portal-page {
  text-align: center;
}
.portal-heading {
  text-align: center;
  margin: 0 0 var(--space-3xl) 0;
}
.portal-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
}
.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  width: 200px;
  padding: var(--space-xl);
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  user-select: none;
  transition: box-shadow var(--duration-base) var(--easing-default), transform var(--duration-base) var(--easing-default);
}
.app-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.app-card-icon {
  font-size: var(--text-4xl);
  color: var(--gray-700);
  line-height: 1;
}
.app-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--gray-900);
}
.restock-page .product-table {
  font-size: var(--text-xs);
}
.restock-page .product-table input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.restock-page .product-table select {
  height: auto;
  padding: var(--space-xs) var(--space-sm);
}
.restock-page .product-table .sticker {
  padding: 2px 8px;
  font-size: 0.85em;
}
.product-table-element.centered {
  display: flex;
  justify-content: center;
  text-align: center;
}
.product-table-element.loading-sales {
  display: flex;
  animation: loading-animation 1.5s infinite var(--easing-default);
  height: 1.2rem;
  border-radius: var(--radius-sm);
}
@keyframes loading-animation {
  0% {
    background-color: var(--gray-200);
  }
  50% {
    background-color: var(--gray-100);
  }
  100% {
    background-color: var(--gray-200);
  }
}
.product-table-element.loading-balance {
  width: 4rem;
}
.product-table-element.highlight-text {
  font-weight: var(--weight-semibold);
}
.product-table-element.loading-amount {
  display: flex;
  justify-content: center;
}
.product-table-element.label-value-cell {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}
.product-table-element.label-value-cell :nth-child(1) {
  text-align: right;
}
.product-table-element.label-value-cell :nth-child(2) {
  text-align: left;
}
.product-table-element.label-value-cell .icon {
  margin-left: var(--space-sm);
}
.product-table-element.label-value-cell .icon.trend-up {
  color: var(--color-success);
}
.product-table-element.label-value-cell .icon.trend-slight-up {
  color: var(--color-success);
}
.product-table-element.label-value-cell .icon.trend-slight-up svg {
  rotate: 45deg;
}
.product-table-element.label-value-cell .icon.trend-neutral {
  color: var(--gray-400);
}
.product-table-element.label-value-cell .icon.trend-slight-down {
  color: var(--color-warning);
}
.product-table-element.label-value-cell .icon.trend-slight-down svg {
  rotate: -45deg;
}
.product-table-element.label-value-cell .icon.trend-down {
  color: var(--color-error);
}
.product-table-element.amount-cell .amount-input {
  width: 100%;
}
.product-table-element.amount-cell .amount-input.error {
  border: 2px solid var(--color-error);
  outline: none;
}
.product-table-element.amount-cell .d-pak-meta {
  font-weight: var(--weight-semibold);
  padding: var(--space-xs);
}
.product-table-element.amount-cell .d-pak-amount-input {
  display: grid;
  grid-auto-flow: column;
  gap: var(--space-xs);
  width: fit-content;
  line-height: 2.4;
  text-align: center;
}
.product-table-element.amount-cell .d-pak-amount-input button {
  height: auto;
  padding: var(--space-xs);
  aspect-ratio: 1;
  font-size: inherit;
  background-color: var(--white);
  color: var(--gray-900);
  border-color: var(--gray-300);
}
.product-table-element.amount-cell .d-pak-amount-input button:hover {
  background-color: var(--gray-100);
  border-color: var(--gray-400);
}
.product-table-element.amount-cell .d-pak-amount-input .d-pak-amount {
  min-width: 1.3rem;
}
.restock-page .order-history {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: var(--space-sm);
  height: 100%;
}
.restock-page .order-history .history-item-row {
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--easing-default);
}
.restock-page .order-history .history-item-row:hover {
  background-color: var(--gray-100);
}
.restock-page .order-history .order-status-icon,
.restock-page .order-history .failed-lines-warning {
  font-size: var(--text-xl);
}
.restock-page .order-history .failed-lines-warning {
  color: var(--color-warning);
}
.restock-page .brands {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: var(--space-sm);
  height: 100%;
}
.restock-page .brands .brands-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: var(--space-sm);
  min-height: 0;
}
.restock-page .brands .promotions-section {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
.restock-page .brands .promotions-section .promotion-list {
  padding: var(--space-md);
}
.restock-page .brands .promotions-section .promotion-list .promotion-sublist {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: var(--space-sm);
}
.restock-page .brands .promotions-section .promotion-list .promotion-sublist .promotion-option {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  transition: border-color var(--duration-base) var(--easing-default);
}
.restock-page .brands .promotions-section .promotion-list .promotion-sublist .promotion-option:hover {
  border-color: var(--gray-400);
}
.restock-page .brands .promotions-section .promotion-list .promotion-sublist .promotion-option .promotion-option-details {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}
.restock-page .brands .promotions-section .promotion-list .promotion-sublist .promotion-option .promotion-option-details .promotion-label {
  display: flex;
  flex-direction: column;
}
.restock-page .brands .promotions-section .promotion-list .promotion-sublist .promotion-option .promotion-option-details .promotion-deadline-warning.open {
  color: var(--color-success);
}
.restock-page .brands .promotions-section .promotion-list .promotion-sublist .promotion-option .promotion-option-details .promotion-deadline-warning.passed {
  color: var(--color-error);
}
.restock-page .brands .brands-actions-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.restock-page .brands .brands-actions-container .brands-action-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  background-color: var(--white);
  transition: border-color var(--duration-base) var(--easing-default);
}
.restock-page .brands .brands-actions-container .brands-action-card .select-all-checkbox-label {
  display: flex;
  flex-direction: column;
}
.restock-page .brands .brands-actions-container .brands-action-card .option-label {
  display: flex;
  flex-direction: column;
}
.restock-page .brands .brands-content {
  min-height: 0;
}
.restock-page .brands .table-row {
  cursor: pointer;
}
.restock-page .brands .selected-row {
  font-weight: var(--weight-semibold);
  color: var(--gray-900);
}
.restock-page .brands .brands-main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--space-sm);
  height: 100%;
}
.restock-page .brands .brands-main > .toolbar {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
}
.restock-page .products {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: var(--space-sm);
  height: 100%;
}
.restock-page .products .table-row.product-row {
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}
.restock-page .products .table-row.read-only {
  color: var(--gray-500);
  background-color: var(--gray-100);
}
.restock-page .products .toolbar {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: var(--space-sm);
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
}
.restock-page .products .toolbar .result-text {
  margin: auto var(--space-md);
}
.restock-page .products .toolbar input[type=date].invalid {
  border-color: var(--color-error);
  color: var(--color-error);
}
.restock-page .products > .loading {
  margin: auto;
}
.restock-page .products .product-list-container {
  width: 100%;
  height: 100%;
}
.restock-page .products .header-content {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}
.restock-page .products .header-content .tooltip {
  width: 300%;
}
.restock-page .products .group-header {
  display: flex;
  gap: var(--space-xl);
  font-weight: var(--weight-semibold);
  color: var(--gray-900);
}
.restock-page .products .amount-to-order-container {
  display: flex;
  flex-direction: column;
}
.restock-page .products .amount-to-order-container .suggested-amount {
  color: var(--gray-500);
  text-wrap: nowrap;
  font-weight: var(--weight-semibold);
}
.restock-page .order-details {
  height: 100%;
}
.restock-page .order-details .order-details-inner {
  display: grid;
  grid-template-rows: auto minmax(40%, 1fr);
  row-gap: var(--space-md);
  height: 100%;
}
.restock-page .order-details .order-details-inner.all-processed {
  grid-template-rows: minmax(0, 1fr);
}
.restock-page .order-details .unprocessed-items {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}
.restock-page .order-details .unprocessed-items .unprocessed-items-header {
  position: relative;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--gray-700);
  cursor: pointer;
}
.restock-page .order-details .unprocessed-items .unprocessed-items-header .unprocessed-items-show-all {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  font-size: var(--text-xs);
}
.restock-page .order-details .unprocessed-items .unprocessed-items-header .unprocessed-items-show-all > * {
  width: 100%;
}
.restock-page .order-details .unprocessed-items .unprocessed-items-table {
  margin-top: var(--space-xl);
  height: revert;
}
.restock-page .order-details .order-table .order-header {
  display: grid;
  grid-template-columns: 1fr auto;
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
}
.restock-page .order-details .item-error {
  color: var(--color-error);
  font-size: var(--text-sm);
}
.restock-page .order-details .failed-lines-warning {
  color: var(--color-warning);
}
.restock-top .order-details-top .order-status-icon,
.restock-top .order-details-top .failed-lines-warning {
  font-size: var(--text-3xl);
  margin-right: var(--space-md);
}
.restock-page .cart {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: var(--space-sm);
  height: 100%;
}
.restock-page .cart .group-header {
  display: grid;
  column-gap: var(--space-md);
  font-weight: var(--weight-semibold);
  color: var(--gray-900);
}
.restock-page .cart .group-header.supplier {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.restock-page .cart .group-header.supplier .blocked-text {
  text-align: center;
  color: var(--color-error);
}
.restock-page .cart .group-header.brand {
  grid-template-columns: 2rem minmax(0, 1fr) auto;
}
.restock-page .cart .group-header .group-icon {
  cursor: pointer;
  color: var(--color-success);
}
.restock-page .cart .group-header .group-icon.locked {
  color: var(--color-error);
}
.restock-page .cart .locked-row {
  color: var(--gray-500);
}
.restock-page .cart .invalid-row {
  color: var(--color-error);
}
.restock-page .cart .remove-cart-item-button {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-error);
  cursor: pointer;
}
.restock-page {
  display: grid;
  grid-template: "top" auto "content" minmax(0, 1fr) "bottom"/1fr;
  gap: var(--space-sm);
  padding: var(--space-xs);
  overflow-y: hidden;
}
.restock-page .amount-validation-error {
  position: relative;
  display: block;
}
.restock-page .amount-validation-error .notification.error {
  position: absolute;
  right: 0;
  width: max-content;
  z-index: 2;
}
.restock-page .content {
  grid-area: content;
}
.restock-page .content .content-panel {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
}
.restock-page .content .content-panel .table {
  border: none;
  border-radius: 0;
}
.restock-page .select-store {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  max-height: 80%;
  margin: auto;
  padding: var(--space-xl);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}
.restock-page .select-store h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
}
.restock-page .select-store .store-list {
  display: grid;
  gap: var(--space-sm);
  padding: var(--space-xs);
  overflow: auto;
}
.restock-page .select-store .store-list .store-button {
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background-color: var(--white);
  color: var(--gray-900);
  transition: border-color var(--duration-base) var(--easing-default), transform var(--duration-base) var(--easing-default);
}
.restock-page .select-store .store-list .store-button:hover {
  border-color: var(--gray-400);
  transform: translateY(-1px);
}
.restock-page .page-bottom {
  grid-area: bottom;
  background-color: var(--white);
  border-top: 1px solid var(--gray-200);
  padding-top: var(--space-md);
}
.restock-page .page-bottom .order-bottom {
  position: relative;
}
.restock-page .page-bottom .store-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.restock-page .page-bottom .store-bottom .navigation-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.restock-page .page-bottom .store-bottom button.confirm {
  display: flex;
}
.restock-page .summary {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--gray-700);
  font-size: var(--text-sm);
}
.restock-page .summary .cart-icon {
  font-size: var(--text-lg);
  color: var(--gray-900);
}
.restock-page .summary .cart-details {
  display: flex;
  flex-direction: column;
}
.restock-page .summary .empty-cart {
  margin-left: auto;
  color: var(--color-destructive);
  cursor: pointer;
}
.restock-page .summary .empty-cart:hover {
  color: var(--color-destructive-hover);
}
.restock-page .remove-item-from-cart-dialog,
.restock-page .confirm-order-dialog,
.restock-page .order-sending-dialog,
.restock-page .order-receipt-dialog,
.restock-page .order-error-dialog,
.restock-page .confirm-empty-cart-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: min(720px, 90vw);
  padding: var(--space-xl);
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.restock-page .dialog-header,
.restock-page .confirm-header {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  color: var(--gray-900);
}
.restock-page .remove-item-from-cart-dialog {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.restock-page .remove-item-from-cart-dialog .dialog-buttons {
  display: flex;
  flex-direction: row;
  gap: var(--space-md);
}
.restock-page .remove-item-from-cart-dialog .dialog-buttons .dialog-confirm {
  margin-left: auto;
  background-color: var(--color-destructive);
}
.restock-page .remove-item-from-cart-dialog .dialog-buttons .dialog-confirm:hover:not(:disabled) {
  background-color: var(--color-destructive-hover);
}
.restock-page .confirm-order-dialog {
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  gap: var(--space-lg);
  width: min(720px, 90vw);
  max-height: 90vh;
  text-align: center;
}
.restock-page .confirm-order-dialog .confirm-icon {
  color: var(--gray-900);
  font-size: var(--text-3xl);
}
.restock-page .confirm-order-dialog .confirm-text {
  color: var(--gray-900);
  font-size: var(--text-lg);
}
.restock-page .confirm-order-dialog .confirm-warning {
  color: var(--color-error);
  font-size: var(--text-sm);
}
.restock-page .confirm-order-dialog .confirm-buttons {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
}
.restock-page .order-sending-dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-2xl);
}
.restock-page .order-receipt-dialog {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.restock-page .order-receipt-dialog .status-button {
  margin-left: var(--space-md);
}
.restock-page .order-error-dialog {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.restock-page .order-error-dialog .error-content {
  background-color: var(--gray-100);
  padding: var(--space-md);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  overflow: auto;
}
.restock-page .confirm-empty-cart-dialog {
  display: grid;
  grid-template: "text   text   " "input  input  " "cancel confirm";
  row-gap: var(--space-lg);
}
.restock-page .confirm-empty-cart-dialog .confirm-prompt {
  grid-area: text;
}
.restock-page .confirm-empty-cart-dialog .store-name-input {
  grid-area: input;
}
.restock-page .confirm-empty-cart-dialog .empty-cart-cancel {
  grid-area: cancel;
  width: fit-content;
}
.restock-page .confirm-empty-cart-dialog .empty-cart-confirm {
  grid-area: confirm;
  width: fit-content;
  margin-left: auto;
}
.restock-page hr {
  border: none;
  background-color: var(--gray-100);
  height: 1px;
  margin: 0;
}
.restock-top {
  grid-area: top;
  display: flex;
  align-items: center;
}
.restock-top .steps {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.restock-top .steps .step {
  display: flex;
  align-items: center;
  font-size: var(--text-base);
  color: var(--gray-400);
}
.restock-top .steps .step > span {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.restock-top .steps .step > span::before {
  content: attr(data-text);
  font-weight: var(--weight-medium);
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
.restock-top .steps .step:not(:last-child)::after {
  content: "\203a";
  margin-left: var(--space-xl);
  color: var(--gray-300);
}
.restock-top .steps .step.active {
  color: var(--gray-900);
  font-weight: var(--weight-medium);
}
.restock-top .steps .step.completed {
  color: var(--gray-600);
}
.restock-top .store-context {
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--gray-500);
  font-weight: var(--weight-medium);
}
.restock-top .store-context select {
  background: transparent;
  border: none;
  font: inherit;
  color: inherit;
  padding: 0;
  cursor: pointer;
}
.restock-top .order-details-top {
  display: flex;
  align-items: baseline;
  gap: var(--space-xl);
}
.restock-top .order-details-top .order-details-id {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--gray-900);
}
.restock-top .order-details-top .order-details-timestamps {
  font-size: var(--text-sm);
  color: var(--gray-500);
}
.restock-page .order-status-icon,
.restock-top .order-status-icon {
  line-height: 0;
}
.restock-page .order-status-icon .processing,
.restock-top .order-status-icon .processing {
  display: inline-block;
  color: var(--gray-900);
  animation: spin 2s infinite linear;
}
.restock-page .order-status-icon .succeeded,
.restock-top .order-status-icon .succeeded {
  color: var(--status-ok);
}
.restock-page .order-status-icon .failed,
.restock-top .order-status-icon .failed {
  color: var(--status-delayed);
}
.system-page {
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.system-page .loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 20%;
}
.system-page .tabs {
  height: 100%;
}
.system-page .config-fields {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: var(--space-xl);
}
.system-page .config-fields .property-input {
  width: 100%;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  height: min-content;
  padding: var(--space-lg);
}
.system-page .config-fields .property-input label {
  display: block;
  font-weight: var(--weight-semibold);
  color: var(--gray-900);
}
.system-page .config-fields .property-input .property-input-subtitle {
  color: var(--gray-500);
}
.system-page .config-fields .list-property-input {
  display: grid;
  gap: var(--space-sm);
}
.system-page .config-fields .list-property-input .list-property-header {
  display: grid;
  grid-template-columns: 1fr 6rem;
  gap: var(--space-sm);
  align-items: center;
  margin-bottom: calc(-1 * var(--space-sm));
}
.system-page .config-fields .list-property-input .list-property-item {
  display: grid;
  grid-template-columns: 1fr 6rem;
  gap: var(--space-sm);
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  border-bottom: 1px solid var(--gray-200);
  line-height: 2;
  transition: background-color var(--duration-base) var(--easing-default);
}
.system-page .config-fields .list-property-input .list-property-item:hover {
  background-color: var(--gray-100);
}
.system-page .config-fields .list-property-input .list-property-item .remove-button {
  padding: 0;
  color: var(--color-error);
  background: none;
}
.system-page .config-fields .list-property-input .list-property-item .edit-button {
  padding: 0 var(--space-xs) 0 0;
  background: none;
  color: var(--gray-900);
}
.system-page .config-fields .list-property-input .list-property-add,
.system-page .config-fields .list-property-input .list-property-edit {
  display: grid;
  grid-template-columns: 1fr 6rem;
  gap: var(--space-sm);
  align-items: center;
}
.system-page .config-fields .list-property-input .list-property-controls {
  display: flex;
  justify-content: space-around;
}
.system-page .config-fields .list-property-input .list-property-controls .undo-edit-button {
  background: none;
  color: var(--gray-900);
  padding: 0;
}
.system-page .config-fields .selected-stores {
  font-weight: var(--weight-semibold);
}
.system-page .config-fields .selected-stores > .tooltip {
  white-space: nowrap;
}
.system-page .config-fields .hidden-products-rule {
  display: grid;
  grid-template-columns: 1fr 1fr 10rem;
  gap: var(--space-md);
  line-height: 2;
}
.system-page .config-fields .requested-delivery-dates .requested-delivery-fallback {
  background-color: var(--gray-100);
  width: min-content;
  margin: var(--space-md) 0;
  padding: var(--space-sm);
}
.system-page .config-fields .key-value-list-item,
.system-page .config-fields .key-value-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md);
}
.system-page .config-fields .key-value-list-item > .value,
.system-page .config-fields .key-value-input > .value {
  text-align: right;
}
.system-page .config-fields .numeric-input {
  position: relative;
  width: min-content;
}
.system-page .config-fields .numeric-input::after {
  content: attr(data-suffix);
  position: absolute;
  top: var(--space-sm);
  right: var(--space-2xl);
  color: var(--gray-500);
}
.system-page .store-picker-dialog {
  width: min(900px, 85vw);
  max-width: min(900px, 85vw);
  height: min(80vh, 720px);
}
.user-management-page {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: var(--space-3xl);
  overflow: hidden;
}
.user-management-page .users {
  display: grid;
  grid-auto-rows: min-content;
  gap: var(--space-md);
  padding: var(--space-xs) var(--space-md) var(--space-xs) var(--space-xs);
  position: relative;
  overflow-y: auto;
}
.user-management-page .users .user-banner-skeleton {
  height: 3rem;
  width: 16rem;
}
.user-management-page .user-banner {
  display: grid;
  gap: var(--space-xs);
  position: relative;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  background-color: var(--white);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--easing-default), border-color var(--duration-fast) var(--easing-default);
  color: var(--gray-900);
  text-decoration: none;
}
.user-management-page .user-banner:hover {
  background-color: var(--gray-100);
  border-color: var(--gray-400);
}
.user-management-page .user-banner.selected {
  background-color: var(--gray-100);
  border-color: var(--gray-900);
}
.user-management-page .user-banner .user-email {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: var(--text-base);
  color: var(--gray-900);
}
.user-management-page .user-banner .user-uuid {
  font-size: var(--text-sm);
  color: var(--gray-500);
}
.user-management-page .selected-user {
  display: grid;
  grid-auto-rows: max-content;
  gap: var(--space-xl);
  position: relative;
  overflow-y: auto;
  width: 100%;
}
.user-management-page .selected-user .header {
  display: grid;
  grid-template-columns: 1fr auto;
}
.user-management-page .selected-user .header h3 {
  margin: 0;
  line-height: 2;
}
.user-management-page .selected-user .section {
  display: grid;
  row-gap: var(--space-md);
  grid-template: "title   controls" "hr      hr      " "content content ";
}
.user-management-page .selected-user .section h3,
.user-management-page .selected-user .section h4 {
  margin: 0;
}
.user-management-page .selected-user .section > :nth-child(1) {
  grid-area: title;
  align-self: end;
}
.user-management-page .selected-user .section > :nth-child(2) {
  grid-area: controls;
}
.user-management-page .selected-user .section > :nth-child(3) {
  grid-area: hr;
}
.user-management-page .selected-user .section > :nth-child(4) {
  grid-area: content;
  padding: var(--space-md);
}
.user-management-page .selected-user .edit-button {
  margin: 0 0 0 auto;
}
.user-management-page .selected-user > .loading {
  position: absolute;
  inset: 0;
  margin: auto;
}
.user-management-page .selected-user .accessible-stores {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: var(--space-md);
}
.user-management-page .selected-user .permissions .api-permissions {
  display: grid;
  gap: var(--space-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-md);
}
.user-management-page .selected-user .permissions .api-permissions h4 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.user-management-page .selected-user .permissions .api-permissions {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.user-management-page .selected-user .card-list {
  overflow: auto;
}
.user-management-page .selected-user .card-list .card {
  float: left;
}
.user-management-page .selected-user .card {
  display: grid;
  grid-auto-flow: row;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  margin: 0 var(--space-md) var(--space-md) 0;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.user-management-page .selected-user .card .title {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: var(--text-base);
  color: var(--gray-900);
}
.user-management-page .selected-user .card .description {
  font-size: var(--text-sm);
  color: var(--gray-500);
}
.user-management-page .selected-user .edit-accessible-stores-dialog {
  width: min(900px, 85vw);
  max-width: min(900px, 85vw);
  height: min(80vh, 720px);
}
.user-management-page .selected-user .edit-roles-dialog .loading {
  grid-column: span 2;
  width: 20rem;
  height: 20rem;
  margin: 0 auto;
}
.user-management-page .selected-user .edit-roles-dialog .role-inputs {
  display: grid;
  grid-template-columns: auto auto;
  gap: var(--space-md);
  align-items: center;
  grid-column: span 2;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-sm);
  overflow-y: auto;
}
.user-management-page .selected-user .edit-roles-dialog .role-input {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-sm);
}
.user-management-page .selected-user .edit-roles-dialog .role-input label :nth-child(1) {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  color: var(--gray-900);
}
.user-management-page .selected-user .edit-roles-dialog .role-input label :nth-child(2) {
  font-size: var(--text-xs);
  color: var(--gray-500);
}
.user-management-top {
  grid-column: 1/-1;
}
.user-management-top h2 {
  margin: 0;
  text-align: center;
}
.user-settings-page {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.user-settings-page .page-loading {
  display: flex;
  justify-content: center;
  padding: var(--space-3xl) 0;
}
.user-settings-page .page-loading .loading {
  width: 3rem;
  height: 3rem;
}
.settings-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}
.profile-section {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.profile-section .profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background-color: var(--gray-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}
.profile-section .profile-details h2 {
  margin: 0 0 var(--space-xs);
}
.profile-section .profile-details .profile-email {
  color: var(--gray-500);
}
.settings-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.settings-card .card-header {
  padding: var(--space-xl);
  border-bottom: 1px solid var(--gray-200);
}
.settings-card .card-header h3 {
  margin: 0;
}
.settings-card .card-header .card-description {
  margin: var(--space-xs) 0 0;
  color: var(--gray-500);
}
.settings-card .card-body {
  padding: var(--space-xl);
}
.settings-card .card-body .loading {
  width: 3rem;
  height: 3rem;
}
.store-notification-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}
@media (max-width: 1199px) {
  .store-notification-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .store-notification-list {
    grid-template-columns: 1fr;
  }
}
.store-notification-list .store-notification-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) var(--easing-default);
}
.store-notification-list .store-notification-row:hover {
  border-color: var(--gray-300);
}
.store-notification-list .store-notification-row .store-name {
  font-weight: var(--weight-medium);
}
.store-notification-list .store-notification-row .store-subscription {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  color: var(--gray-600);
  font-size: var(--text-sm);
}
.assortment-page .brands-page {
  display: grid;
  gap: var(--space-sm);
  grid-template: "filter tools " auto "brands brands" 1fr/1fr auto;
  height: 100%;
}
.assortment-page .brands-page .filter-container {
  grid-area: filter;
  display: grid;
  gap: var(--space-sm);
  grid-auto-flow: column;
  justify-self: left;
  align-self: end;
}
.assortment-page .brands-page .toolbar {
  grid-area: tools;
}
.assortment-page .brands-page .brand-panels-container {
  grid-area: brands;
  height: 100%;
  overflow-y: auto;
}
.assortment-page .brands-page .brand-panels {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.assortment-page .brands-page .brand-panels .brand-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.assortment-page .brands-page .brand-panels .brand-panel .loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transition: opacity var(--duration-fast) linear;
  pointer-events: none;
}
.assortment-page .brands-page .brand-panels .brand-panel .loading-overlay .loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.assortment-page .brands-page .brand-panels .brand-panel.saving {
  pointer-events: none;
}
.assortment-page .brands-page .brand-panels .brand-panel.saving .loading-overlay {
  opacity: 1;
  transition-delay: 500ms;
}
.assortment-page .brands-page .brand-panels .brand-panel h2,
.assortment-page .brands-page .brand-panels .brand-panel h3 {
  margin: 0;
}
.assortment-page .brands-page .brand-panels .brand-panel .title {
  display: block;
}
.assortment-page .brands-page .brand-panels .brand-panel .subtitle {
  display: block;
  font-size: var(--text-xs);
  color: var(--gray-500);
}
.assortment-page .brands-page .brand-panels .brand-panel .separator {
  width: 0;
  border-right: 1px solid var(--gray-200);
}
.assortment-page .brands-page .brand-panels .brand-panel .metadata {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}
.assortment-page .brands-page .brand-panels .brand-panel .settings .notification {
  padding: var(--space-xs);
  text-align: center;
}
.assortment-page .brands-page .brand-panels .brand-panel .settings .save-status {
  opacity: 0;
  transition: opacity 2s;
  user-select: none;
}
.assortment-page .brands-page .brand-panels .brand-panel .settings .save-status.saved {
  opacity: 1;
  transition: opacity 0s;
}
.assortment-page .cluster-page .overview-page {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  overflow: hidden;
  height: 100%;
}
.assortment-page .cluster-page .overview-page .overview-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.assortment-page .cluster-page .overview-page .overview-actions .new-cluster-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.assortment-page .cluster-page .overview-page .overview-actions .filter-block {
  display: flex;
  gap: var(--space-md);
}
.assortment-page .cluster-page .overview-page .overview-actions .filter-block .store-filter .store-filter-container {
  padding: var(--space-sm);
  max-height: 30rem;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: var(--space-sm);
  z-index: 1;
  overflow: auto;
}
.assortment-page .cluster-page .overview-page .overview-actions .filter-block .brand-filter .brand-filter-container {
  padding: var(--space-sm);
  max-height: 30rem;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: var(--space-sm);
  z-index: 1;
  overflow: auto;
}
.assortment-page .cluster-page .overview-page .overview-actions .filter-block .brand-filter .brand-filter-container .brand-filter-item {
  cursor: pointer;
}
.assortment-page .cluster-page .overview-page .overview-actions .filter-block .brand-filter .brand-filter-container .brand-filter-item .brand-filter-header {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  padding-bottom: var(--space-xs);
  font-weight: var(--weight-medium);
}
.assortment-page .cluster-page .overview-page .overview-actions .filter-block .brand-filter .brand-filter-container .brand-filter-item .brand-filter-list {
  padding-left: var(--space-md);
}
.assortment-page .cluster-page .overview-page .overview-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  overflow: auto;
}
.assortment-page .cluster-page .overview-page .overview-content .cluster-groups {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.assortment-page .cluster-page .overview-page .overview-content .cluster-groups .group-header {
  padding-right: var(--space-md);
  padding-left: var(--space-md);
  background-color: var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  margin: 0;
  position: sticky;
  top: 0;
}
.assortment-page .cluster-page .overview-page .overview-content .cluster-groups .group-header .chevron-icon {
  transition: transform var(--duration-base) var(--easing-default);
}
.assortment-page .cluster-page .overview-page .overview-content .cluster-groups .group-header .chevron-icon.collapsed {
  transform: rotateX(-180deg);
}
.assortment-page .cluster-page .overview-page .overview-content .cluster-groups .cluster-group {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  margin: 0;
}
.assortment-page .cluster-page .overview-page .overview-content .cluster-block.collapsed {
  max-height: 0;
  overflow: hidden;
  padding: 0;
}
.assortment-page .cluster-page .overview-page .overview-content .cluster-block {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  padding: var(--space-md);
  gap: var(--space-xs);
}
.assortment-page .cluster-page .overview-page .overview-content .cluster-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.assortment-page .cluster-page .overview-page .overview-content .cluster-card .invalid-stores {
  color: var(--color-error);
  font-weight: var(--weight-medium);
}
.assortment-page .cluster-page .overview-page .overview-content .cluster-card .cluster-description p {
  margin: 2px;
}
.assortment-page .cluster-page .overview-page .overview-content .cluster-card .cluster-description {
  padding-bottom: var(--space-md);
}
.assortment-page .cluster-page .overview-page .overview-content .cluster-card:hover {
  cursor: pointer;
}
.assortment-page .cluster-page .details-page {
  height: 100%;
  overflow-y: hidden;
  display: grid;
  gap: var(--space-md);
  grid-template-rows: 1fr auto;
}
.assortment-page .cluster-page .details-page .action-row-bottom {
  display: flex;
  justify-content: space-between;
}
.assortment-page .cluster-page .details-page .action-row-bottom .save-button {
  position: relative;
  width: 10rem;
}
.assortment-page .cluster-page .details-page .action-row-bottom .save-button .unsaved-icon {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-58%, -50%);
  color: var(--color-warning);
  font-size: 1.3rem;
}
.assortment-page .cluster-page .details-page .details-content {
  display: grid;
  grid-auto-rows: 1fr auto;
  gap: var(--space-md);
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.assortment-page .cluster-page .details-page .details-content .diff-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}
.assortment-page .cluster-page .details-page .details-content .tabs {
  height: 100%;
  overflow: hidden;
}
.assortment-page .cluster-page .details-page .current-tab-view {
  border: 1px solid var(--gray-200);
  border-top: none;
  padding: var(--space-sm);
  overflow: hidden;
}
.assortment-page .cluster-page .details-page .current-tab-view .cluster-metadata-tab {
  display: grid;
  gap: var(--space-md);
}
.assortment-page .cluster-page .details-page .current-tab-view .store-tab {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  height: 100%;
}
.assortment-page .cluster-page .details-page .current-tab-view .store-tab .store-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-sm);
  overflow-y: auto;
}
.assortment-page .cluster-page .details-page .current-tab-view .brand-tab {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  height: 100%;
}
.assortment-page .cluster-page .details-page .current-tab-view .brand-tab .brand-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-sm);
  overflow-y: auto;
}
.assortment-page .cluster-page .details-page .current-tab-view .status-diff-tab {
  height: 100%;
  overflow: auto;
  user-select: none;
  padding: var(--space-sm);
}
.assortment-page .cluster-page .details-page .current-tab-view .status-diff-tab .status-diff-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: var(--space-sm);
  gap: var(--space-sm);
}
.assortment-page .cluster-page .details-page .current-tab-view .status-diff-tab .status-diff-table .status-table-entry {
  border: 1px solid var(--gray-200);
  height: fit-content;
}
.assortment-page .cluster-page .details-page .current-tab-view .status-diff-tab .status-diff-table .status-table-entry .header {
  font-weight: var(--weight-medium);
  background-color: var(--gray-100);
  padding: var(--space-sm);
  cursor: pointer;
}
.assortment-page .cluster-page .details-page .current-tab-view .status-diff-tab .status-diff-table .status-table-entry .content-container {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-base) var(--easing-default);
  overflow: hidden;
}
.assortment-page .cluster-page .details-page .current-tab-view .status-diff-tab .status-diff-table .status-table-entry .content-container .content {
  overflow: hidden;
  text-align: center;
  user-select: all;
}
.assortment-page .cluster-page .details-page .current-tab-view .status-diff-tab .status-diff-table .status-table-entry .content-container.open {
  grid-template-rows: 1fr;
}
.assortment-page .cluster-page .details-page .current-tab-view .checklist-entry {
  display: flex;
  background-color: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  gap: var(--space-xs);
  align-items: center;
}
.assortment-page .cluster-page .details-page .current-tab-view .checklist-entry.incomplete {
  color: var(--color-error);
  font-weight: var(--weight-medium);
  border: 1px solid var(--color-error);
  background-color: var(--color-error-light);
}
.assortment-page .cluster-page .details-page .current-tab-view .products-tab {
  display: grid;
  grid-template: "controls filter" minmax(0, auto) "table  table   " 1fr/1fr auto;
  gap: var(--space-md);
  height: 100%;
  position: relative;
}
.assortment-page .cluster-page .details-page .current-tab-view .products-tab .multiple-select-actions {
  padding: 0 var(--space-sm);
  background-color: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: var(--space-sm);
  align-items: center;
}
.assortment-page .cluster-page .details-page .current-tab-view .products-tab .filter-container {
  grid-area: filter;
  justify-self: end;
}
.assortment-page .cluster-page .details-page .current-tab-view .products-tab .controls {
  grid-area: controls;
  display: flex;
  gap: var(--space-sm);
  height: min-content;
}
.assortment-page .cluster-page .details-page .current-tab-view .products-tab .table-container {
  grid-area: table;
}
.assortment-page .cluster-page .details-page .sync-button-container {
  display: flex;
  flex-direction: row;
  gap: var(--space-sm);
}
.assortment-page .cluster-page .details-page .sync-button-container .unsynced-changes-tooltip {
  color: var(--gray-900);
  min-width: 12rem;
}
.assortment-page .cluster-page .details-page .delete-button {
  background-color: var(--color-error);
  color: var(--white);
}
.assortment-page .cluster-page .details-page .search-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: var(--space-md);
}
.assortment-page .cluster-page .details-page .search-container input {
  flex: 1;
}
.assortment-page .cluster-page .details-page .cluster-sync-response-dialog table {
  width: 100%;
  border-spacing: var(--space-md);
}
.assortment-page .cluster-page .details-page .add-products-dialog {
  max-width: unset;
  width: 90vw;
  height: 90vh;
  display: grid;
  gap: var(--space-sm);
}
.assortment-page .cluster-page .details-page .add-products-dialog h3 {
  margin: 0;
}
.assortment-page .cluster-page .details-page .add-products-dialog .add-products-dialog-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}
.assortment-page .cluster-page .details-page .add-products-dialog .confirm-button {
  background-color: var(--color-success);
}
.assortment-page .cluster-page .details-page .cluster-details-dialog {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.assortment-page .cluster-page .details-page .cluster-details-dialog .confirm-button-container {
  display: flex;
  justify-content: space-between;
  position: sticky;
  background-color: var(--white);
  bottom: 0;
}
.assortment-page .cluster-page .details-page .sync-dialog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}
.assortment-page .cluster-page .details-page .sync-dialog .last-synced-timestamp {
  grid-column: span 2;
}
.assortment-page .cluster-page .details-page .sync-dialog table {
  border-spacing: 0;
}
.assortment-page .cluster-page .details-page .sync-dialog table td {
  padding: var(--space-sm) var(--space-md);
}
.assortment-page .cluster-page .details-page .sync-dialog .unsynced {
  background-color: var(--color-warning-light);
}
.assortment-page .cluster-page .details-page .sync-dialog .deleted {
  color: var(--color-error);
}
.assortment-page .cluster-page .details-page .file-upload-dialog .file-select {
  margin-bottom: var(--space-md);
}
.assortment-page .cluster-page .details-page .file-upload-dialog .dialog-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.assortment-page .cluster-page .details-page .file-upload-dialog .dialog-footer .overwrite-products-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background-color: var(--gray-100);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}
.assortment-page .cluster-page .details-page .file-upload-dialog .dialog-footer .overwrite-products-container .overwrite-products-checkbox {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}
.assortment-page .cluster-page .details-page .file-upload-dialog pre {
  color: var(--color-error);
}
.assortment-page .cluster-page .details-page .table {
  width: 100%;
}
.assortment-page .cluster-page .details-page .table .group-header {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  font-weight: var(--weight-semibold);
  color: var(--gray-900);
}
.assortment-page .cluster-page .details-page .table .table-headers {
  white-space: collapse;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  z-index: 1;
}
.assortment-page .cluster-page .details-page .table .product-table {
  overflow-y: auto;
}
.assortment-page .cluster-page .details-page .table .table-row select {
  width: 100%;
  padding: 0;
}
.assortment-page .cluster-page .details-page .table .table-row {
  padding-top: var(--space-xs);
  padding-bottom: var(--space-xs);
}
.assortment-page .cluster-page .details-page .row-actions-header {
  display: flex;
  justify-content: end;
  width: 100%;
}
.assortment-page .cluster-page .details-page .product-row {
  cursor: pointer;
  width: 100%;
}
.assortment-page .cluster-page .details-page .product-row.inactive {
  background-color: var(--gray-100);
}
.assortment-page .cluster-page .details-page .product-row .row-actions {
  display: flex;
  justify-content: space-between;
}
.assortment-page .cluster-page .details-page .product-row .row-actions input[type=checkbox] {
  transform: scale(1.2);
}
.assortment-page .cluster-page .details-page .delete-product-button {
  font-size: var(--text-xs);
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  margin: auto 0;
}
.assortment-page .cluster-page .details-page .table-container {
  overflow-y: auto;
}
.assortment-page .cluster-page .details-page .dimension-tooltip {
  width: max-content;
}
.assortment-page {
  overflow-y: hidden;
}
.assortment-page .cluster-header {
  padding-bottom: 1rem;
}
.assortment-page .cluster-header .page-title-container {
  display: flex;
  align-items: center;
}
.assortment-page .cluster-header .page-title-container .back-link-container {
  display: flex;
  text-align: center;
}
.assortment-page .cluster-header .page-title-container .back-link-container .back-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  text-decoration: none;
}
.assortment-page .cluster-header .page-title-container .back-link-container .separator {
  margin: 0 1rem;
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--gray-900);
}
.assortment-page .cluster-header .page-title-container svg {
  width: 1.2rem;
  height: 1.2rem;
}
.assortment-page .cluster-header .page-title-container h1,
.assortment-page .cluster-header .page-title-container h3 {
  margin: 0;
}
.assortment-page .cluster-page {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}
.assortment-page .cluster-page .new-cluster-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.notification {
  padding: var(--space-md);
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  color: var(--gray-900);
}
.notification.error {
  border-left: 4px solid var(--color-error);
}
.notification.warning {
  border-left: 4px solid var(--color-warning);
}
.notification.success {
  border-left: 4px solid var(--color-success);
}
.notification.info {
  border-left: 4px solid var(--color-info);
}
html {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-900);
  line-height: var(--leading-normal);
  height: 100%;
  position: relative;
}
body {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
}
h1 {
  font-size: var(--text-3xl);
}
h2 {
  font-size: var(--text-2xl);
}
h3 {
  font-size: var(--text-xl);
}
h4 {
  font-size: var(--text-lg);
}
h5 {
  font-size: var(--text-base);
}
h6 {
  font-size: var(--text-sm);
}
:focus-visible {
  outline: 2px solid var(--gray-900);
  outline-offset: -2px;
}
::selection {
  background-color: var(--gray-200);
  color: var(--gray-900);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
button,
input,
textarea,
select,
a {
  transition:
    background-color var(--duration-base) var(--easing-default),
    border-color var(--duration-base) var(--easing-default),
    color var(--duration-base) var(--easing-default),
    opacity var(--duration-base) var(--easing-default),
    box-shadow var(--duration-base) var(--easing-default);
}
button,
input[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-base);
  cursor: pointer;
  background-color: var(--gray-900);
  color: var(--white);
}
button:hover,
input[type=submit]:hover {
  background-color: var(--gray-800);
}
button.danger,
input[type=submit].danger {
  background-color: var(--color-destructive);
}
button.danger:hover,
input[type=submit].danger:hover {
  background-color: var(--color-destructive-hover);
}
button.confirm,
input[type=submit].confirm {
  background-color: var(--color-success);
}
button.confirm:hover,
input[type=submit].confirm:hover {
  background-color: var(--color-success-hover);
}
button.secondary,
input[type=submit].secondary {
  background-color: var(--white);
  color: var(--gray-900);
  border-color: var(--gray-300);
}
button.secondary:hover,
input[type=submit].secondary:hover {
  background-color: var(--gray-100);
  border-color: var(--gray-400);
}
button.link,
input[type=submit].link {
  background-color: transparent;
  color: var(--gray-900);
  border-color: transparent;
  text-decoration: none;
  padding: 0;
  height: auto;
}
button.link:hover,
input[type=submit].link:hover {
  text-decoration: underline;
  background-color: transparent;
}
button:disabled,
input[type=submit]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
span.danger {
  color: var(--color-error);
}
span.error {
  color: var(--color-error);
}
input:not([type=submit]):not([type=checkbox]):not([type=radio]),
textarea,
select {
  height: 48px;
  padding: 12px 16px;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: inherit;
  color: var(--gray-900);
  line-height: inherit;
}
input:not([type=submit]):not([type=checkbox]):not([type=radio])::placeholder,
textarea::placeholder,
select::placeholder {
  color: var(--gray-500);
}
input:not([type=submit]):not([type=checkbox]):not([type=radio]):hover,
textarea:hover,
select:hover {
  border-color: var(--gray-400);
}
input:not([type=submit]):not([type=checkbox]):not([type=radio]):focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: transparent;
}
input:not([type=submit]):not([type=checkbox]):not([type=radio]):disabled,
textarea:disabled,
select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
textarea {
  height: auto;
  min-height: 150px;
  resize: none;
}
input[type=checkbox],
input[type=radio] {
  cursor: pointer;
  accent-color: var(--gray-900);
}
select,
label:has(input[type=checkbox]),
label:has(input[type=radio]),
input[type=checkbox] ~ label,
input[type=radio] ~ label {
  cursor: pointer;
}
a {
  color: var(--gray-900);
  cursor: pointer;
  text-decoration: underline;
}
a:hover {
  text-decoration: underline;
  color: var(--gray-800);
}
.disabled {
  pointer-events: none;
  color: var(--gray-500);
}
hr {
  border: none;
  background-color: var(--gray-300);
  height: 1px;
  margin: 0;
}
.main-content {
  display: grid;
  grid-template-rows: 1fr;
  max-width: 1440px;
  width: 100%;
  margin-inline: auto;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: var(--space-sm);
  background-color: var(--white);
}
@media (min-width: 640px) {
  .main-content {
    padding: var(--space-md);
  }
}
.notification-container {
  position: fixed;
  z-index: 2000;
  top: var(--space-md);
  right: var(--space-md);
  width: 360px;
  max-width: calc(100vw - 2 * var(--space-md));
  transform: translateX(calc(100% + var(--space-md)));
  opacity: 0;
  transition: transform var(--duration-base) var(--easing-default), opacity var(--duration-base) var(--easing-default);
}
.notification-container.shown {
  transform: translateX(0);
  opacity: 1;
}
.error-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  background-color: var(--color-error-light);
  color: var(--gray-900);
  border: 1px solid var(--color-error);
  border-radius: 50%;
}
body > div:last-child {
  top: 2em;
  left: 2em;
}
