:root {
  --bg: #191722;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-solid: #fbfbff;
  --surface-soft: rgba(255, 255, 255, 0.46);
  --ink: #090811;
  --muted: #756f86;
  --line: rgba(255, 255, 255, 0.58);
  --line-strong: rgba(88, 66, 139, 0.18);
  --green: #b8fa18;
  --green-dark: #537007;
  --green-soft: #edffb7;
  --purple: #7542d9;
  --purple-dark: #4f27ba;
  --purple-soft: #eadfff;
  --progress-track: rgba(117, 66, 217, 0.15);
  --progress-fill: var(--purple);
  --accent: #090811;
  --blue: #2f6fcc;
  --blue-soft: #e6f0ff;
  --coral: #c75268;
  --coral-soft: #ffe4eb;
  --amber: #886321;
  --amber-soft: #fff0c9;
  --shadow: 0 24px 70px rgba(24, 18, 42, 0.16);
  --soft-shadow: 0 14px 34px rgba(47, 29, 84, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #191722;
}

body {
  margin: 0;
  min-height: 100vh;
  min-width: 320px;
  background:
    radial-gradient(circle at 48% -12%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(135deg, #191722 0%, #1c1a26 46%, #15141d 100%);
  color: var(--ink);
  font-family: Inter, "SF Pro Display", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  padding: 28px;
}

body.auth-gate-active {
  overflow: hidden;
}

body.auth-gate-active .app-shell {
  overflow: visible;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body.auth-gate-active .app-shell > :not(#authModal) {
  visibility: hidden;
  pointer-events: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: calc(100vh - 56px);
  max-width: 1760px;
  margin: 0 auto;
  overflow: clip;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.24), transparent 30%),
    radial-gradient(circle at 58% 105%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(244, 243, 248, 0.98) 0%, rgba(224, 222, 232, 0.98) 48%, rgba(204, 202, 214, 0.98) 100%);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.topbar {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(240px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #222;
  position: relative;
  top: auto;
  z-index: 5;
  backdrop-filter: blur(22px) saturate(1.12);
}

.topbar-search {
  position: relative;
  display: block;
  width: 100%;
  max-width: 640px;
  min-width: 0;
  justify-self: start;
}

.topbar-search-icon {
  position: absolute;
  top: 50%;
  left: 11px;
  display: inline-flex;
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: 999px;
  background: #020106;
  pointer-events: none;
  transform: translateY(-50%);
  z-index: 1;
  align-items: center;
  justify-content: center;
}

.topbar-search-icon svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.topbar-search input {
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 249, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  padding-left: 66px;
  font-size: 14px;
  font-weight: 650;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  margin-right: 0;
  min-width: 0;
}

.topbar-actions .topbar-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 0;
  padding-inline: 18px;
  white-space: nowrap;
  font-weight: 750;
}

.topbar-actions .topbar-action-button + .topbar-action-button {
  box-shadow: inset 1px 0 rgba(255, 255, 255, 0.16);
}

.topbar-settings {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  min-height: 56px;
}

.topbar-utility-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
}

.topbar-icon-button {
  display: inline-flex;
  width: 44px;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.topbar-icon-button:hover,
.topbar-icon-button:focus-visible {
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
}

.topbar-icon-button:focus-visible {
  outline: 2px solid rgba(204, 204, 204, 0.7);
  outline-offset: 2px;
}

.topbar-icon-button svg {
  display: block;
  width: 25.3px;
  height: 25.3px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.topbar-favorite-button svg {
  width: 28.4px;
  height: 28.4px;
}

.topbar-settings-button {
  display: inline-flex;
  width: 44px;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.topbar-settings-button:hover,
.topbar-settings-button:focus-visible,
.topbar-settings-button[aria-expanded="true"] {
  background: transparent;
  color: #ccc;
}

.topbar-settings-button:focus-visible {
  outline: 2px solid rgba(204, 204, 204, 0.7);
  outline-offset: 2px;
}

.topbar-settings-button svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.topbar-login-button {
  display: inline-flex;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  transition: color 0.18s ease, opacity 0.18s ease;
  white-space: nowrap;
}

.topbar-login-button:hover,
.topbar-login-button:focus-visible {
  color: rgba(255, 255, 255, 0.78);
}

.topbar-login-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.topbar-login-button.is-authenticated {
  width: 56px;
  padding: 0 7px;
}

.topbar-user-avatar {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 17px;
  font-weight: 760;
  line-height: 1;
}

.topbar-user-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar-catalog-button,
.topbar-kanban-add-column-button,
.topbar-column-filter-button,
.topbar-automation-button {
  display: none;
}

.settings-menu {
  position: fixed;
  top: 113px;
  right: max(53px, calc((100vw - 1760px) / 2 + 25px));
  z-index: 20;
  min-width: 250px;
  border: 1px solid rgba(17, 16, 26, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 249, 0.96);
  padding: 6px;
  box-shadow: 0 18px 46px rgba(20, 17, 32, 0.2);
}

.settings-menu[hidden] {
  display: none;
}

.settings-menu-separator {
  display: block;
  height: 1px;
  margin: 4px 6px;
  background: rgba(17, 16, 26, 0.1);
}

.settings-menu-item {
  display: flex;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 10px 12px;
  font: inherit;
  font-weight: 750;
  align-items: center;
  text-align: left;
  text-decoration: none;
}

.settings-menu-item:hover,
.settings-menu-item:focus-visible {
  background: rgba(99, 48, 213, 0.1);
  color: var(--purple);
  outline: none;
}

.auth-modal {
  width: min(420px, calc(100vw - 32px));
  max-width: 100%;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--ink);
  padding: 0;
}

.auth-modal::backdrop {
  background: rgba(9, 8, 17, 0.58);
  backdrop-filter: blur(8px);
}

body.auth-gate-active .auth-modal::backdrop {
  background: rgba(9, 8, 17, 0.86);
  backdrop-filter: blur(10px);
}

.auth-modal-card {
  position: relative;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 18px;
  background: rgba(255, 255, 249, 0.98);
  box-shadow: 0 28px 74px rgba(9, 8, 17, 0.32);
  padding: 34px;
}

.auth-modal-card h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 850;
}

.auth-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.auth-field input {
  min-height: 48px;
  border: 1px solid rgba(88, 66, 139, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  font-size: 15px;
  font-weight: 650;
}

.auth-field input:focus {
  border-color: var(--purple);
  outline: 2px solid rgba(118, 67, 255, 0.2);
  outline-offset: 0;
}

.auth-status {
  min-height: 18px;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.auth-status.is-error {
  color: #c85567;
}

.auth-status.is-success {
  color: #15803d;
}

.auth-submit {
  min-height: 48px;
  border-radius: 8px;
  font-weight: 820;
}

.auth-register {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 780;
}

body.auth-gate-active .auth-register,
body.auth-gate-active .auth-modal-close {
  display: none;
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(9, 8, 17, 0.08);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
}

.auth-modal-close:hover,
.auth-modal-close:focus-visible {
  background: var(--ink);
  color: #fff;
}

.auth-modal-close:focus-visible {
  outline: 2px solid rgba(118, 67, 255, 0.35);
  outline-offset: 2px;
}

.topbar-brand {
  display: grid;
  position: relative;
  z-index: 60;
  justify-items: start;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 750;
}

.topbar-caption {
  margin: 6px 0 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
}

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

.topbar-logo {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: min(195px, 100%);
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.topbar-logo-wordmark {
  display: inline-flex;
  color: #fff;
  font-size: 34px;
  font-weight: 850;
  line-height: 1;
}

.topbar-logo--text {
  display: none;
}

.topbar-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 27px;
  object-fit: contain;
}

.topbar-logo:hover {
  opacity: 0.86;
}

.topbar-logo[aria-expanded="true"] {
  opacity: 1;
}

.topbar-logo:focus-visible {
  border-radius: 6px;
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}

/* codex-kanban-logo-only-board-desktop-20260521 */
@media (min-width: 901px) {
  .topbar-brand.is-kanban-logo-mode .topbar-logo--image {
    display: none;
  }

  .topbar-brand.is-kanban-logo-mode .topbar-logo--text {
    display: inline-flex;
    color: var(--ink);
    font-size: 34px;
    font-weight: 850;
    line-height: 1;
  }
}

/* codex-kanban-topbar-purple-white-trello-desktop-20260521 */
@media (min-width: 901px) {
  body:has(#kanbanView:not(.is-hidden)) .app-shell {
    border-color: #555;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    box-shadow: 0 18px 46px rgba(79, 39, 186, 0.28);
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-brand.is-kanban-logo-mode .topbar-logo--text {
    color: #fff;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-brand.is-kanban-logo-mode {
    min-height: 56px;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-catalog-button {
    position: absolute;
    top: 50%;
    left: clamp(200px, 18vw, 365px);
    display: inline-flex;
    width: 56px;
    min-width: 56px;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: translateY(-50%);
    transition: color 0.18s ease, opacity 0.18s ease;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-catalog-button:hover,
  body:has(#kanbanView:not(.is-hidden)) .topbar-catalog-button:focus-visible {
    color: var(--green);
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-catalog-button:focus-visible {
    outline: 2px solid rgba(184, 250, 24, 0.7);
    outline-offset: 2px;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-catalog-button svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-logo:focus-visible {
    outline-color: #fff;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-settings-button {
    color: #fff;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-settings-button:hover,
  body:has(#kanbanView:not(.is-hidden)) .topbar-settings-button:focus-visible,
  body:has(#kanbanView:not(.is-hidden)) .topbar-settings-button[aria-expanded="true"] {
    color: #ccc;
  }
}

/* codex-root-catalog-launcher-20260525 */
@media (min-width: 901px) {
  /* codex-catalog-button-all-pages-20260526 */
  .topbar-brand {
    min-height: 56px;
  }

  .topbar-catalog-button {
    position: absolute;
    top: 50%;
    left: 200px;
    display: inline-flex;
    width: 56px;
    min-width: 56px;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: translateY(-50%);
    transition: color 0.18s ease, opacity 0.18s ease;
  }

  .topbar-catalog-button:hover,
  .topbar-catalog-button:focus-visible {
    color: var(--green);
  }

  .topbar-catalog-button:focus-visible {
    outline: 2px solid rgba(184, 250, 24, 0.7);
    outline-offset: 2px;
  }

  .topbar-catalog-button svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  body:has(#catalogView:not(.is-hidden)) .topbar-brand {
    min-height: 56px;
  }

  body:has(#catalogView:not(.is-hidden)) .topbar-catalog-button {
    position: absolute;
    top: 50%;
    left: 200px;
    display: inline-flex;
    width: 56px;
    min-width: 56px;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: translateY(-50%);
    transition: color 0.18s ease, opacity 0.18s ease;
  }

  body:has(#catalogView:not(.is-hidden)) .topbar-catalog-button:hover,
  body:has(#catalogView:not(.is-hidden)) .topbar-catalog-button:focus-visible {
    color: var(--green);
  }

  body:has(#catalogView:not(.is-hidden)) .topbar-catalog-button:focus-visible {
    outline: 2px solid rgba(184, 250, 24, 0.7);
    outline-offset: 2px;
  }

  body:has(#catalogView:not(.is-hidden)) .topbar-catalog-button svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }
}







.catalog-modal {
  width: 70vw;
  height: 70vh;
  max-width: calc(100vw - 96px);
  max-height: calc(100vh - 128px);
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: #222;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.48);
  color: #fff;
  overflow: auto;
  padding: clamp(30px, 3.4vw, 44px);
  outline: none;
}

.catalog-modal::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.catalog-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 30px);
  justify-content: start;
  align-content: start;
}

.catalog-modal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: clamp(116px, 15vh, 176px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #2d2d2d;
  color: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.22);
  padding: 22px;
  text-align: center;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.catalog-modal-card:hover,
.catalog-modal-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 54px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.catalog-modal-card:focus-visible {
  outline: 2px solid rgba(184, 250, 24, 0.72);
  outline-offset: 3px;
}

.catalog-modal-brand-card {
  cursor: pointer;
}

.catalog-modal-brand-card.is-active {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 22px 54px rgba(0, 0, 0, 0.28);
}

.catalog-modal-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 62px;
  object-fit: contain;
  pointer-events: none;
}

.catalog-modal-brand-logo--superior {
  max-width: 84%;
  max-height: 56px;
}

.catalog-modal-brand-logo--knog {
  max-width: 70%;
  max-height: 79px;
}

.catalog-modal-brand-logo--panaracer {
  max-width: 80%;
  max-height: 50px;
}

.catalog-modal-brand-logo--hjc {
  max-width: 58%;
  max-height: 56px;
}

.catalog-modal-brand-logo--ass-savers {
  max-width: 74%;
  max-height: 66px;
}

.catalog-modal-brand-logo--onguard {
  max-width: 74%;
  max-height: 58px;
}

.catalog-modal-brand-logo--one {
  max-width: 78%;
  max-height: 60px;
}

.catalog-modal-brand-logo--rock-machine {
  max-width: 78%;
  max-height: 54px;
}

.catalog-modal-brand-logo--rondo {
  max-width: 72%;
  max-height: 48px;
}

.logo-menu {
  position: absolute;
  top: -8px;
  left: 209px;
  z-index: 80;
  display: grid;
  gap: 4px;
  width: min(270px, calc(100vw - 48px));
  border: 1px solid rgba(17, 16, 26, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 249, 0.97);
  box-shadow: 0 22px 56px rgba(20, 17, 32, 0.24);
  padding: 8px;
  animation: logoMenuSlideIn 180ms ease-out both;
  backdrop-filter: blur(18px);
}

.logo-menu[hidden] {
  display: none;
}

.logo-menu-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  padding: 10px 12px;
  font-weight: 780;
  line-height: 1.2;
  text-align: left;
}

.logo-menu-item:hover,
.logo-menu-item:focus-visible {
  background: rgba(9, 8, 17, 0.08);
  outline: none;
}

@keyframes logoMenuSlideIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 2.4vw, 40px);
  font-weight: 720;
  line-height: 1.05;
}

h3 {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 760;
}

.topbar-actions,
.status-controls,
.publish-actions,
.danger-actions,
.view-tabs,
.bulk-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-actions {
  position: relative;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
}

.view-tabs {
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  background: var(--surface);
}

.view-tab {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 7px 13px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.view-tab.active {
  background: var(--ink);
  color: #fff;
}

.sync-indicator {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.sync-indicator.online {
  border-color: rgba(45, 106, 79, 0.2);
  background: var(--green-soft);
  color: var(--green);
}

.sync-indicator.warning {
  border-color: rgba(139, 104, 40, 0.22);
  background: var(--amber-soft);
  color: var(--amber);
}

.button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 720;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68), 0 10px 22px rgba(51, 33, 84, 0.12);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.button-primary {
  border-color: rgba(7, 5, 13, 0.86);
  background: var(--ink);
  color: #fff;
}

.button-secondary {
  background: var(--green);
  color: #142000;
  border-color: rgba(112, 154, 10, 0.28);
}

.button-danger {
  background: var(--coral-soft);
  color: var(--coral);
  border-color: rgba(185, 93, 79, 0.2);
}

#deleteCurrentProduct {
  background: transparent;
  border-color: transparent;
  color: var(--coral);
  box-shadow: none;
  font-weight: 500;
}

#deleteCurrentProduct:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.button-ghost {
  background: transparent;
  border-color: var(--line);
}

.app-main {
  min-height: calc(100vh - 124px);
}

.is-hidden {
  display: none !important;
}

.catalog-view {
  padding: 22px 24px 24px;
}

.dashboard-view {
  padding: 22px 24px 24px;
}

.dashboard-page {
  display: grid;
  gap: 12px;
}

.dashboard-toolbar {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: flex-start;
}

.dashboard-period-filter {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(117, 111, 134, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 42px rgba(17, 16, 26, 0.07);
}

.dashboard-period-filter button {
  min-height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 0 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}

.dashboard-period-filter button:hover,
.dashboard-period-filter button:focus-visible {
  background: rgba(17, 16, 26, 0.06);
  color: var(--ink);
  outline: none;
}

.dashboard-period-filter button.is-active {
  background: var(--ink);
  color: #fff;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.dashboard-card {
  display: grid;
  align-content: space-between;
  gap: 20px;
  min-height: 196px;
  padding: 22px;
  overflow: hidden;
}

.dashboard-revenue-card {
  background:
    linear-gradient(135deg, rgba(184, 250, 24, 0.22), rgba(255, 255, 255, 0.62) 46%, rgba(255, 255, 255, 0.86)),
    rgba(255, 255, 255, 0.66);
}

.dashboard-card-head,
.dashboard-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.dashboard-card-head span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.08;
}

.dashboard-card-head strong,
.dashboard-card-foot strong {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.dashboard-card-value {
  color: var(--ink);
  font-size: 42px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
}

.dashboard-card-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-card-details > div {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(17, 16, 26, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.dashboard-card-details span {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.1;
}

.dashboard-card-details p,
.dashboard-card-foot span {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.dashboard-card-foot span {
  min-width: 0;
}

@media (max-width: 1500px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(360px, 1fr));
  }
}

.kanban-view {
  padding: 22px 24px 24px;
}

/* codex-kanban-background-222-20260521 */
@media (min-width: 901px) {
  body:has(#kanbanView:not(.is-hidden)) .app-main {
    background: #222;
  }
}

.settings-view {
  padding: 22px 24px 24px;
}

.integrations-view {
  padding: 22px 24px 24px;
}

.mail-view {
  padding: 22px 24px 24px;
}

.settings-layout {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(250px, 300px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

/* codex-settings-menu-sizes-only-20260520 */
.settings-view.settings-view-has-category-menu .settings-layout {
  grid-template-columns: minmax(210px, 250px) minmax(250px, 300px) minmax(250px, 300px) minmax(0, 1fr);
}

.integrations-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.mail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.mail-empty-panel {
  min-height: calc(100vh - 172px);
}

.mail-empty-surface {
  min-height: 420px;
}

.mail-panel {
  display: grid;
  gap: 14px;
}

.mail-panel-title {
  margin-bottom: 2px;
}

.mail-panel-title p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 650;
}

.mail-refresh-button {
  inline-size: 132px;
  flex: 0 0 132px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding-inline: 16px;
  white-space: nowrap;
}

.mail-status {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 650;
}

.mail-status.is-error {
  color: #ffb7aa;
}

.mail-message-list {
  display: grid;
  gap: 8px;
  align-content: start;
  transition: opacity 120ms ease;
}

.mail-message-list.is-loading {
  opacity: 0.58;
  pointer-events: none;
}

.mail-content {
  display: grid;
  grid-template-columns: minmax(168px, 220px) minmax(280px, 0.95fr) minmax(420px, 1.45fr);
  gap: 14px;
  align-items: start;
}

.mail-folder-panel {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(34, 34, 34, 0.72);
  color: rgba(255, 255, 255, 0.92);
}

.mail-folder-item {
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.mail-folder-item.is-active {
  pointer-events: none;
}

.mail-folder-item.is-active {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.96);
}

.mail-folder-item:hover,
.mail-folder-item:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mail-folder-item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.34);
  outline-offset: 2px;
}

.mail-message {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(34, 34, 34, 0.8);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mail-message.is-unread {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(34, 34, 34, 0.72);
}

.mail-message.is-active {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(34, 34, 34, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.mail-message:hover,
.mail-message:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(34, 34, 34, 0.72);
}

.mail-message:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.34);
  outline-offset: 2px;
}

.mail-message-main {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.mail-message-sender,
.mail-message-email,
.mail-message-date {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 650;
}

.mail-message-sender,
.mail-message-subject,
.mail-message-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mail-message-subject {
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 760;
}

.mail-message-date {
  align-self: start;
  white-space: nowrap;
}

.mail-detail {
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 18px;
  background: rgba(34, 34, 34, 0.72);
  color: rgba(255, 255, 255, 0.92);
  transition: opacity 120ms ease;
}

.mail-detail.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

@media (min-width: 1101px) {
  .app-shell.is-mail-view-active {
    overflow: visible;
  }

  .mail-view:not(.is-hidden) .mail-detail {
    position: sticky;
    top: 96px;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .app-shell.is-mail-view-active.has-mail-detail-actions .mail-detail {
    padding-bottom: 92px;
  }

  .mail-detail-actions--dock {
    position: fixed;
    bottom: 18px;
    z-index: 80;
    box-sizing: border-box;
    margin-top: 0;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(34, 34, 34, 0.96);
    box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
  }
}

.mail-detail-empty,
.mail-detail-loading,
.mail-detail-error {
  display: grid;
  place-items: center;
  min-height: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.mail-detail-error {
  color: #ffb7aa;
}

.mail-detail-header {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mail-detail-subject {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 20px;
  font-weight: 780;
  line-height: 1.25;
}

.mail-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 650;
}

.mail-detail-body {
  margin: 18px 0 0;
  max-height: none;
  overflow: visible;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.mail-detail-body--plain {
  white-space: pre-wrap;
}

.mail-detail-body--html {
  max-height: none;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  color: #202124;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: normal;
}

.mail-detail-body--html * {
  box-sizing: border-box;
  max-width: 100%;
}

.mail-detail-body--html p {
  margin: 0 0 12px;
}

.mail-detail-body--html blockquote {
  margin: 14px 0 0 14px;
  padding-left: 12px;
  border-left: 2px solid #dadce0;
}

.mail-detail-body--html table {
  width: auto;
  max-width: 100% !important;
  border-collapse: separate;
  border-spacing: 0;
  color: inherit;
  background: transparent;
}

.mail-detail-body--html table[width="100%"] {
  width: 100% !important;
}

.mail-detail-body--html table[align="center"] {
  margin-left: auto;
  margin-right: auto;
}

.mail-detail-body--html table[align="right"] {
  margin-left: auto;
  margin-right: 0;
}

.mail-detail-body--html table[align="left"] {
  margin-left: 0;
  margin-right: auto;
}

.mail-detail-body--html th,
.mail-detail-body--html td {
  max-width: 100%;
  vertical-align: top;
}

.mail-detail-body--html img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

.mail-detail-body--html table[border]:not([border="0"]) {
  border-collapse: collapse;
}

.mail-detail-body--html table[border]:not([border="0"]) th,
.mail-detail-body--html table[border]:not([border="0"]) td {
  padding: 6px 8px;
  border: 1px solid #cfcfcf;
}

.mail-detail-body--html a {
  color: #0b57d0;
}

.mail-detail-attachments {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mail-detail-attachments-title,
.mail-detail-attachment {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 650;
}

.mail-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mail-detail-actions--inline-hidden {
  display: none;
}

.mail-detail-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.mail-detail-action:hover,
.mail-detail-action:focus-visible {
  border-color: rgba(179, 255, 0, 0.82);
  background: rgba(179, 255, 0, 0.12);
  color: #fff;
}

.mail-detail-action.is-disabled {
  opacity: 0.44;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .mail-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .mail-folder-panel {
    min-height: 0;
  }

  .mail-detail {
    min-height: 320px;
  }
}

/* codex-mail-client-dark-design-system-20260524 */
@media (min-width: 901px) {
  body:has(#mailView:not(.is-hidden)) .app-shell {
    border-color: rgba(255, 255, 255, 0.12);
    background: #222;
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.48);
  }

  body:has(#mailView:not(.is-hidden)) .app-main,
  body:has(#mailView:not(.is-hidden)) .mail-view {
    background: #222;
  }

  body:has(#mailView:not(.is-hidden)) .topbar {
    grid-template-columns: minmax(250px, 300px) minmax(360px, 680px) auto;
    align-items: center;
    border-bottom-color: rgba(255, 255, 255, 0.12);
    background: #14213d;
    box-shadow:
      0 18px 46px rgba(6, 13, 28, 0.38),
      inset 0 -1px rgba(255, 255, 255, 0.08);
  }

  body:has(#mailView:not(.is-hidden)) .topbar-logo--image img {
    filter: brightness(0) invert(1);
    opacity: 0.96;
  }

  body:has(#mailView:not(.is-hidden)) .topbar-logo:focus-visible {
    outline-color: #fff;
  }

  body:has(#mailView:not(.is-hidden)) .topbar-search {
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin-left: 0;
    justify-self: stretch;
  }

  body:has(#mailView:not(.is-hidden)) .topbar-search-icon {
    background: transparent;
    color: #fff;
  }

  body:has(#mailView:not(.is-hidden)) .topbar-search input {
    border-color: rgba(255, 255, 255, 0.9);
    background: transparent;
    box-shadow: none;
    color: #fff;
  }

  body:has(#mailView:not(.is-hidden)) .topbar-search input:focus {
    border-color: #fff;
    outline: none;
    box-shadow: none;
  }

  body:has(#mailView:not(.is-hidden)) .topbar-search input::placeholder {
    color: rgba(255, 255, 255, 0.68);
  }

  body:has(#mailView:not(.is-hidden)) .topbar-actions {
    grid-column: 3;
    grid-row: 1;
  }

  body:has(#mailView:not(.is-hidden)) .topbar-kanban-add-column-button,
  body:has(#mailView:not(.is-hidden)) .topbar-column-filter-button,
  body:has(#mailView:not(.is-hidden)) .topbar-automation-button,
  body:has(#mailView:not(.is-hidden)) .topbar-login-button {
    display: none;
  }

  body:has(#mailView:not(.is-hidden)) .topbar-settings {
    margin-left: 0;
  }

  body:has(#mailView:not(.is-hidden)) .topbar-settings-button {
    color: #fff;
  }

  body:has(#mailView:not(.is-hidden)) .topbar-settings-button:hover,
  body:has(#mailView:not(.is-hidden)) .topbar-settings-button:focus-visible,
  body:has(#mailView:not(.is-hidden)) .topbar-settings-button[aria-expanded="true"] {
    color: var(--green);
  }

  body:has(#mailView:not(.is-hidden)) .topbar-settings-button:focus-visible {
    outline-color: rgba(184, 250, 24, 0.7);
  }

  body:has(#mailView:not(.is-hidden)) .mail-empty-panel {
    min-height: calc(100vh - 172px);
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: #333;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  }

  body:has(#mailView:not(.is-hidden)) .mail-empty-panel .panel-title {
    color: rgba(255, 255, 255, 0.92);
  }

  body:has(#mailView:not(.is-hidden)) .mail-empty-surface {
    min-height: 420px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.kanban-page {
  display: grid;
  gap: 12px;
}

.kanban-control-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: 18px;
}

.kanban-title-block {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.kanban-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kanban-title-block h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.05;
}

.kanban-create-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.5fr) minmax(180px, 0.8fr) auto;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.kanban-create-form input,
.kanban-create-form select,
.kanban-create-form textarea {
  width: 100%;
  border: 1px solid rgba(117, 111, 134, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  outline: none;
}

.kanban-create-form input,
.kanban-create-form select,
.kanban-create-form textarea {
  min-height: 48px;
  padding: 12px 13px;
  font-size: 14px;
  font-weight: 650;
}

.kanban-create-form textarea {
  resize: none;
}

.kanban-create-form input:focus,
.kanban-create-form select:focus,
.kanban-create-form textarea:focus {
  border-color: rgba(117, 66, 217, 0.48);
  box-shadow: 0 0 0 3px rgba(117, 66, 217, 0.12);
}

.kanban-create-form .button {
  min-height: 48px;
  border-radius: 8px;
}

.kanban-summary {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(120px, 1fr)) minmax(170px, 1fr);
  align-items: center;
  justify-content: stretch;
  gap: 8px;
}

.kanban-summary > div,
.kanban-save-status {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  padding: 8px 12px;
}

.kanban-summary span {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
}

.kanban-summary p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.kanban-save-status {
  display: inline-flex;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.kanban-save-status.online {
  background: var(--green-soft);
  color: var(--green-dark);
}

.kanban-save-status.warning {
  background: var(--amber-soft);
  color: var(--amber);
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: 12px;
  align-items: start;
}

/* codex-kanban-six-columns-desktop-20260521 */
@media (min-width: 1360px) {
  .kanban-board {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.kanban-column {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 520px;
  overflow: visible;
  padding: 14px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.kanban-column.has-custom-background {
  background: var(--kanban-column-bg);
  border-color: rgba(89, 71, 132, 0.14);
}

.kanban-column.has-dark-background .kanban-column-head h3,
.kanban-column.has-dark-background .kanban-column-title-button {
  color: #fff;
}

.kanban-column.has-dark-background .kanban-column-head strong {
  color: rgba(255, 255, 255, 0.72);
}

.kanban-column.has-dark-background .kanban-column-title-button:hover,
.kanban-column.has-dark-background .kanban-column-title-button:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.kanban-column.has-custom-text .kanban-column-head h3,
.kanban-column.has-custom-text .kanban-column-title-button,
.kanban-column.has-custom-text .kanban-column-head strong,
.kanban-column.has-custom-text .kanban-quick-add {
  color: var(--kanban-column-text);
}

.kanban-column.has-custom-text .kanban-column-title-button:hover,
.kanban-column.has-custom-text .kanban-column-title-button:focus-visible {
  color: var(--kanban-column-text);
  text-decoration: underline;
}

.kanban-column.has-custom-text .kanban-quick-add:hover,
.kanban-column.has-custom-text .kanban-quick-add:focus-visible {
  color: var(--kanban-column-text);
}

.kanban-column.has-open-card-menu {
  z-index: 70;
}

.kanban-column.is-over {
  border-color: rgba(184, 250, 24, 0.95);
  background: rgba(255, 255, 255, 0.68);
  transform: translateY(-2px);
}

.kanban-column.has-custom-background.is-over {
  background: var(--kanban-column-bg);
}

.kanban-column-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.kanban-column-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.1;
}

.kanban-column-title-button {
  appearance: none;
  max-width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.kanban-column-title-button:hover,
.kanban-column-title-button:focus-visible {
  color: var(--purple);
  outline: none;
}

.kanban-column-head strong {
  color: var(--muted);
  font-size: 14px;
}

.kanban-column-head-actions {
  position: relative;
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.kanban-column-action {
  display: inline-flex;
  width: 32px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.kanban-column.has-custom-text .kanban-column-action {
  color: var(--kanban-column-text);
}

.kanban-column-action:hover,
.kanban-column-action:focus-visible,
.kanban-column-action[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
  outline: none;
}

.kanban-column.has-custom-text .kanban-column-action:hover,
.kanban-column.has-custom-text .kanban-column-action:focus-visible,
.kanban-column.has-custom-text .kanban-column-action[aria-expanded="true"] {
  color: var(--kanban-column-text);
}

.kanban-column-action svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.kanban-column-action-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  display: grid;
  gap: 7px;
  width: min(240px, calc(100vw - 48px));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(9, 8, 18, 0.88);
  box-shadow: 0 20px 48px rgba(9, 8, 18, 0.34);
  padding: 8px;
  backdrop-filter: blur(18px);
}

.kanban-column-body {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 440px;
  overflow: visible;
}

.kanban-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 120px;
  overflow: visible;
  border: 1px solid rgba(117, 111, 134, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--soft-shadow);
  padding: 12px;
  cursor: grab;
}

.kanban-card-member-list,
.kanban-card-member-avatar {
  display: none;
}

.kanban-card-column-text {
  display: none;
}

.kanban-card.has-action-menu {
  z-index: 40;
}

.kanban-card.is-dragging {
  opacity: 0.52;
  cursor: grabbing;
}

.kanban-card-head {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding-right: 26px;
}

.kanban-card-head strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.kanban-card-head.is-title-empty {
  margin-bottom: -4px;
}

.kanban-card-title-placeholder {
  min-width: 0;
}

.kanban-card > .kanban-card-action {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  display: inline-flex;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: #090811;
  color: #fff;
  line-height: 1;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(9, 8, 17, 0.18);
  transition: opacity 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.kanban-card:not(.has-image) .kanban-card-action {
  transform: none;
}

.kanban-card-action:hover,
.kanban-card-action:focus-visible,
.kanban-card-action[aria-expanded="true"] {
  color: #fff;
  opacity: 0.9;
  outline: none;
}

.kanban-card-action:focus-visible {
  box-shadow: 0 0 0 3px rgba(9, 8, 17, 0.18), 0 8px 18px rgba(9, 8, 17, 0.18);
}

.kanban-card-action svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.kanban-card-action svg path {
  fill: none;
  stroke: currentColor;
}

.kanban-card > .kanban-card-action-menu {
  position: absolute;
  top: 0;
  left: calc(100% + 8px);
  z-index: 80;
  display: grid;
  gap: 7px;
  width: min(240px, calc(100vw - 48px));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(9, 8, 18, 0.88);
  box-shadow: 0 20px 48px rgba(9, 8, 18, 0.34);
  padding: 8px;
  backdrop-filter: blur(18px);
}

.kanban-card > .kanban-card-action-menu.is-member-menu {
  top: calc(100% - 40px);
  right: auto;
  bottom: auto;
  left: calc(100% + 8px);
}

.kanban-card-action-item {
  display: flex;
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  align-items: center;
  text-align: left;
}

.kanban-card-action-item:hover,
.kanban-card-action-item:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  outline: none;
}

.kanban-card-title-form {
  display: grid;
  gap: 9px;
}

.kanban-card-title-form label {
  color: rgba(255, 255, 255, 0.72);
}

.kanban-card-title-form input {
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  padding: 9px 10px;
}

.kanban-card-title-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.kanban-card-title-actions .button {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 12px;
}

.kanban-card-title-actions .button:hover {
  transform: none;
}

.kanban-card-details {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
  white-space: pre-wrap;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.kanban-card-details.is-primary {
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  -webkit-line-clamp: 4;
}

body.kanban-modal-open,
body.automation-modal-open,
body.kanban-column-filter-modal-open,
body.catalog-modal-open {
  overflow: hidden;
}

.kanban-card-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 8, 18, 0.42);
  padding: 24px;
}

.kanban-card-modal {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(70vw, 1120px);
  height: min(70vh, 820px);
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid rgba(117, 111, 134, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(9, 8, 18, 0.28);
}

.kanban-card-modal-side {
  display: none;
}

.kanban-card-comments-list {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.kanban-card-comment {
  display: grid;
  position: relative;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  border: 1px solid rgba(117, 111, 134, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 38px 26px 11px;
}

.kanban-card-comment.is-system {
  grid-template-columns: minmax(0, 1fr);
  padding-left: 14px;
}

.kanban-card-comment.has-author-card-background {
  border-color: color-mix(in srgb, var(--kanban-comment-bg) 72%, #ffffff);
  background: var(--kanban-comment-bg);
}

.kanban-card-comment-avatar {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(117, 111, 134, 0.24);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(117, 66, 217, 0.96), rgba(88, 48, 176, 0.96));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 5px 12px rgba(8, 7, 16, 0.12);
}

.kanban-card-comment-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kanban-card-comment-body {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.kanban-card-comment-head {
  display: block;
  align-items: baseline;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.kanban-card-comment-author {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kanban-card-comment.has-author-card-background .kanban-card-comment-author,
.kanban-card-comment.has-author-card-background .kanban-card-comment-text {
  color: var(--kanban-comment-text);
}

.kanban-card-comment.has-author-card-background .kanban-card-comment-time {
  color: color-mix(in srgb, var(--kanban-comment-text) 68%, transparent);
}

.kanban-card-comment.has-author-card-background .kanban-card-comment-delete {
  color: color-mix(in srgb, var(--kanban-comment-text) 72%, transparent);
}

.kanban-card-comment-time {
  position: absolute;
  right: 11px;
  bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
}

.kanban-card-comment-delete {
  display: inline-flex;
  position: absolute;
  top: 7px;
  right: 7px;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #ccc;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, background-color 0.16s ease;
}

.kanban-card-comment-delete svg {
  display: block;
  width: 15px;
  height: 15px;
}

.kanban-card-comment:hover .kanban-card-comment-delete,
.kanban-card-comment:focus-within .kanban-card-comment-delete {
  opacity: 1;
  pointer-events: auto;
}

.kanban-card-comment-delete:hover,
.kanban-card-comment-delete:focus-visible {
  background: rgba(9, 8, 18, 0.06);
  outline: none;
}

.kanban-card-comment-text {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.42;
  white-space: pre-wrap;
  word-break: break-word;
}

.kanban-card-comment.is-system .kanban-card-comment-body {
  gap: 0;
}

.kanban-card-comment.is-system .kanban-card-comment-text {
  font-size: 14px;
}

.kanban-card-comments-empty {
  margin: 0;
  border: 1px dashed rgba(117, 111, 134, 0.24);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  padding: 12px;
}

.kanban-card-comment-form {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(117, 111, 134, 0.14);
  padding-top: 10px;
}

.kanban-card-comment-input-shell {
  position: relative;
  width: 100%;
  min-height: 104px;
  border: 1px solid rgba(117, 111, 134, 0.22);
  border-radius: 8px;
  background: #fff;
}

.kanban-card-comment-form-avatar {
  display: inline-flex;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(117, 111, 134, 0.22);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(117, 66, 217, 0.96), rgba(88, 48, 176, 0.96));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(8, 7, 16, 0.14);
}

.kanban-card-comment-form-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kanban-card-comment-textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  outline: none;
}

.kanban-card-comment-textarea {
  min-height: 102px;
  max-height: 160px;
  padding: 14px 10px 10px 62px;
  resize: vertical;
}

.kanban-card-comment-textarea:focus {
  box-shadow: none;
}

.kanban-card-comment-input-shell:focus-within {
  border-color: rgba(117, 66, 217, 0.48);
  box-shadow: 0 0 0 3px rgba(117, 66, 217, 0.12);
}

.kanban-card-comment-submit {
  justify-self: end;
  min-height: 34px;
  padding: 8px 14px;
}

.kanban-card-modal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto minmax(160px, 260px) auto;
  align-items: start;
  gap: 18px;
  border-bottom: 1px solid rgba(117, 111, 134, 0.14);
  padding: 18px 20px 16px;
}

.kanban-card-modal-heading > span,
.kanban-card-modal-field span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kanban-card-modal-heading {
  min-width: 0;
}

.kanban-card-modal-head-meta {
  display: none;
}

.kanban-card-modal-members {
  position: relative;
  display: flex;
  min-width: 40px;
  min-height: 40px;
  align-self: center;
  justify-self: center;
  align-items: center;
  justify-content: center;
  z-index: 8;
}

.kanban-card-modal-member-list {
  display: inline-flex;
  max-width: 188px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px 0;
}

.kanban-card-modal-member-avatar,
.kanban-card-modal-member-add,
.kanban-card-modal-member-picker-avatar,
.kanban-card-modal-member-remove {
  appearance: none;
  display: inline-flex;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(117, 66, 217, 0.96), rgba(88, 48, 176, 0.96));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(8, 7, 16, 0.22);
  cursor: pointer;
}

.kanban-card-modal-member-avatar + .kanban-card-modal-member-avatar {
  margin-left: -7px;
}

.kanban-card-modal-member-avatar img,
.kanban-card-modal-member-picker-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kanban-card-modal-member-add,
.kanban-card-modal-member-picker-avatar,
.kanban-card-modal-member-remove {
  padding: 0;
  text-decoration: none;
}

.kanban-card-modal-member-add {
  border-color: rgba(117, 111, 134, 0.38);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(9, 8, 18, 0.78);
  box-shadow: none;
}

.kanban-card-modal-member-add svg {
  display: block;
  width: 17px;
  height: 17px;
}

.kanban-card-modal-member-remove {
  border-color: rgba(255, 255, 255, 0.14);
  background: #222;
  color: #fff;
  box-shadow: none;
}

.kanban-card-modal-member-remove svg {
  display: block;
  width: 15px;
  height: 15px;
}

.kanban-card-modal-member-add:hover,
.kanban-card-modal-member-add:focus-visible,
.kanban-card-modal-member-avatar:hover,
.kanban-card-modal-member-avatar:focus-visible,
.kanban-card-modal-member-picker-avatar:hover,
.kanban-card-modal-member-picker-avatar:focus-visible,
.kanban-card-modal-member-remove:hover,
.kanban-card-modal-member-remove:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(117, 66, 217, 0.24), 0 8px 18px rgba(8, 7, 16, 0.2);
}

.kanban-card-modal-member-picker {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: max-content;
  max-width: min(236px, calc(100vw - 56px));
  border: 1px solid rgba(117, 111, 134, 0.18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(9, 8, 18, 0.24);
  padding: 10px;
  transform: translateX(-50%);
}

.kanban-card-modal-member-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 34px);
  gap: 8px;
}

.kanban-card-modal-member-picker-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.kanban-card-checklist-button {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  align-self: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid rgba(117, 111, 134, 0.2);
  border-radius: 8px;
  background: rgba(117, 66, 217, 0.08);
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  padding: 0 12px;
  white-space: nowrap;
  cursor: pointer;
}

.kanban-card-checklist-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.kanban-card-checklist-button:hover,
.kanban-card-checklist-button:focus-visible {
  border-color: rgba(117, 66, 217, 0.34);
  background: rgba(117, 66, 217, 0.14);
}

.kanban-card-checklist {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0 0 2px;
}

.kanban-card-checklist-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 34px;
  border: 1px solid rgba(117, 111, 134, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0 12px 0 10px;
}

.kanban-card-checklist-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #7542d9;
}

.kanban-card-checklist-row input[type="text"] {
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0;
  padding: 0;
  outline: none;
  box-shadow: none;
}

.kanban-card-modal-field .kanban-card-checklist-row input[type="text"],
.kanban-card-modal-field .kanban-card-checklist-row input[type="text"]:focus {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.kanban-card-checklist-row:focus-within {
  border-color: rgba(117, 66, 217, 0.48);
  box-shadow: 0 0 0 3px rgba(117, 66, 217, 0.12);
}

.kanban-card-modal-head h2 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
}

.kanban-card-modal-title {
  display: inline-block;
  max-width: 100%;
  min-height: 1.16em;
  overflow-wrap: anywhere;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 2px 4px;
  margin-left: -5px;
  cursor: text;
  outline: none;
}

.kanban-card-modal-title:focus {
  border-color: rgba(117, 66, 217, 0.48);
  background: rgba(117, 66, 217, 0.1);
  box-shadow: 0 0 0 3px rgba(117, 66, 217, 0.12);
}

.kanban-card-modal-head-column {
  width: min(260px, 100%);
}

.kanban-card-modal-close {
  display: inline-flex;
  position: relative;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(9, 8, 18, 0.08);
  color: #eee;
  font-size: 0;
  line-height: 0;
  align-items: center;
  justify-content: center;
}

.kanban-card-modal-close::before,
.kanban-card-modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.kanban-card-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.kanban-card-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.kanban-card-modal-close:hover,
.kanban-card-modal-close:focus-visible {
  background: rgba(9, 8, 18, 0.13);
  outline: none;
}

.kanban-card-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  min-height: 0;
  overflow: auto;
  padding: 20px;
}

.kanban-card-modal-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: start;
  gap: 16px;
  min-width: 0;
}

.kanban-card-modal-top.no-images {
  grid-template-columns: minmax(0, 1fr);
}

.kanban-card-modal-fields {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.kanban-card-modal-field {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.kanban-card-modal-field.wide {
  grid-column: 1 / -1;
}

.kanban-card-modal-field input,
.kanban-card-modal-field select,
.kanban-card-modal-field textarea {
  width: 100%;
  border: 1px solid rgba(117, 111, 134, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
}

.kanban-card-modal-field input:focus,
.kanban-card-modal-field select:focus,
.kanban-card-modal-field textarea:focus {
  border-color: rgba(117, 66, 217, 0.48);
  box-shadow: 0 0 0 3px rgba(117, 66, 217, 0.12);
}

.kanban-card-modal-field textarea {
  min-height: 300px;
  font-size: 15px;
  resize: vertical;
  white-space: pre-wrap;
}

.kanban-card-modal-images {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.kanban-card-modal-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(117, 111, 134, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.kanban-card-modal-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: inherit;
}

.kanban-card-modal-image-button:focus-visible {
  outline: 3px solid rgba(117, 66, 217, 0.32);
  outline-offset: -3px;
}

.kanban-card-modal-file-tile {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.kanban-card-modal-file-tile:focus-visible {
  outline: 3px solid rgba(117, 66, 217, 0.32);
  outline-offset: -3px;
}

.kanban-card-modal-image img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.kanban-card-modal-file-preview {
  display: flex;
  width: 100%;
  height: 120px;
  align-items: center;
  justify-content: center;
  background: var(--green);
}

.kanban-card-modal-file-icon {
  display: inline-flex;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.kanban-card-modal-image.is-cover img {
  height: 188px;
}

.kanban-card-modal-image figcaption {
  padding: 7px 8px;
  border-top: 1px solid rgba(117, 111, 134, 0.12);
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.kanban-card-modal-attachment-file figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  text-transform: none;
}

.kanban-card-modal-attachment-file figcaption span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kanban-card-modal-attachment-file figcaption em {
  color: inherit;
  font-style: normal;
  font-weight: 400;
  opacity: 0.68;
}

.kanban-card-modal-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

@media (min-width: 901px) {
  .kanban-card-modal-backdrop {
    background: rgba(8, 8, 10, 0.72);
  }

  .kanban-card-modal {
    width: min(86vw, 1780px);
    height: min(78vh, 900px);
    max-width: calc(100vw - 96px);
    max-height: calc(100vh - 128px);
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: #222;
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.48);
  }

  .kanban-card-modal-head {
    grid-template-columns: minmax(0, 1fr) auto auto minmax(220px, auto) minmax(180px, 260px) auto;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    padding: 20px 24px 18px;
  }

  .kanban-card-modal-member-add {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(232, 229, 240, 0.82);
  }

  .kanban-card-modal-member-add:hover,
  .kanban-card-modal-member-add:focus-visible {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
  }

  .kanban-card-modal-member-picker {
    border-color: rgba(255, 255, 255, 0.14);
    background: #2f2f2f;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
  }

  .kanban-card-modal-member-remove {
    border-color: rgba(255, 255, 255, 0.16);
    background: #222;
  }

  .kanban-card-modal-member-picker-empty {
    color: rgba(232, 229, 240, 0.68);
  }

  .kanban-card-modal-heading > span,
  .kanban-card-modal-field span,
  .kanban-card-modal-meta {
    color: rgba(232, 229, 240, 0.74);
  }

  .kanban-card-modal-head-meta {
    display: flex;
    align-self: center;
    justify-self: center;
    max-width: clamp(220px, 22vw, 380px);
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
    color: rgba(232, 229, 240, 0.62);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
  }

  .kanban-card-modal-head-meta em {
    font-style: normal;
    font-weight: 400;
  }

  .kanban-card-checklist-button {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
  }

  .kanban-card-checklist-button:hover,
  .kanban-card-checklist-button:focus-visible {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.14);
  }

  .kanban-card-checklist-row {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
  }

  .kanban-card-checklist-row input[type="text"] {
    background: transparent;
    color: #fff;
    box-shadow: none;
  }

  .kanban-card-checklist-row input[type="text"]::placeholder {
    color: rgba(232, 229, 240, 0.46);
  }

  .kanban-card-checklist-row:focus-within {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
  }

  .kanban-card-modal-head h2 {
    margin-top: 0;
    color: #fff;
  }

  .kanban-card-modal-title:focus {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
  }

  .kanban-card-modal-close {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #eee;
  }

  .kanban-card-modal-close:hover,
  .kanban-card-modal-close:focus-visible {
    background: rgba(255, 255, 255, 0.18);
  }

  .kanban-card-modal-field input,
  .kanban-card-modal-field select,
  .kanban-card-modal-field textarea,
  .kanban-card-comment-input-shell {
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: #333;
    color: #fff;
    box-shadow: none;
    color-scheme: dark;
  }

  .kanban-card-modal-field input::placeholder,
  .kanban-card-modal-field textarea::placeholder,
  .kanban-card-comment-textarea::placeholder {
    color: rgba(232, 229, 240, 0.62);
  }

  .kanban-card-modal-field input:focus,
  .kanban-card-modal-field select:focus,
  .kanban-card-modal-field textarea:focus,
  .kanban-card-comment-input-shell:focus-within {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
  }

  .kanban-card-comment-textarea {
    background: transparent;
    color: #fff;
    box-shadow: none;
  }

  .kanban-card-modal-body.has-side {
    grid-template-columns: minmax(0, 1fr) clamp(400px, 31.25%, 540px);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    align-items: stretch;
    gap: 16px;
    overflow: hidden;
    padding-right: 24px;
  }

  .kanban-card-modal-top,
  .kanban-card-modal-top.no-images {
    grid-template-columns: minmax(180px, 20%) minmax(0, 1fr);
  }

  .kanban-card-modal-body.has-side .kanban-card-modal-top,
  .kanban-card-modal-body.has-side .kanban-card-modal-top.no-images {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: minmax(180px, 20%) minmax(0, 1fr);
  }

  .kanban-card-modal-body.has-side .kanban-card-checklist {
    grid-column: 1;
    grid-row: 1;
  }

  .kanban-card-modal-body.has-side .kanban-card-modal-field.wide {
    grid-column: 1;
    grid-row: 2;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
  }

  .kanban-card-modal-body.has-side .kanban-card-modal-images-inline {
    grid-column: 1;
    grid-row: 3;
  }

  .kanban-card-modal-body.has-side .kanban-card-modal-meta {
    grid-column: 1;
    grid-row: 4;
    display: none;
  }

  .kanban-card-modal-body.has-side:not(:has(.kanban-card-checklist)) .kanban-card-modal-field.wide {
    grid-row: 1;
  }

  .kanban-card-modal-body.has-side:not(:has(.kanban-card-checklist)) .kanban-card-modal-images-inline {
    grid-row: 2;
  }

  .kanban-card-modal-body.has-side:not(:has(.kanban-card-checklist)) .kanban-card-modal-meta {
    grid-row: 3;
  }

  .kanban-card-modal-body.has-side:not(:has(.kanban-card-checklist)) .kanban-card-modal-side {
    grid-row: 1 / 4;
  }

  .kanban-card-modal-body.has-side .kanban-card-modal-field.wide textarea {
    height: 100%;
    min-height: 0;
  }

  .kanban-card-modal-side {
    grid-column: 2;
    grid-row: 1 / 5;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: #333;
    padding: 14px;
  }

  .kanban-card-comments-title {
    color: rgba(232, 229, 240, 0.74);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .kanban-card-comments-empty {
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    color: rgba(232, 229, 240, 0.72);
  }

  .kanban-card-comment-form {
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .kanban-card-comment-submit {
    min-height: 36px;
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 600;
    box-shadow: none;
  }

  .kanban-card-comment-submit:hover,
  .kanban-card-comment-submit:focus-visible {
    border-color: rgba(117, 66, 217, 0.42);
    background: rgba(117, 66, 217, 0.22);
    box-shadow: 0 0 0 3px rgba(117, 66, 217, 0.12);
  }

  .kanban-card-comment {
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(34, 34, 34, 0.72);
  }

  .kanban-card-comment-delete:hover,
  .kanban-card-comment-delete:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .kanban-card-comment-author,
  .kanban-card-comment-text {
    color: #fff;
  }

  .kanban-card-comment-time {
    color: rgba(232, 229, 240, 0.66);
  }

  .kanban-card-modal-images {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2px 6px 0;
  }

  .kanban-card-modal-side .kanban-card-modal-images {
    min-height: 0;
    align-content: start;
    padding: 0 0 8px;
  }

  .kanban-card-modal-image {
    flex: 0 0 clamp(190px, 24%, 300px);
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: #333;
    scroll-snap-align: start;
  }

  .kanban-card-modal-image figcaption {
    border-top-color: rgba(255, 255, 255, 0.1);
    background: #333;
    color: rgba(232, 229, 240, 0.72);
    font-weight: 400;
  }

  .kanban-card-modal-head-column {
    align-self: center;
  }

  .kanban-card-modal-image img,
  .kanban-card-modal-image.is-cover img,
  .kanban-card-modal-file-preview {
    height: 100px;
  }

  .kanban-image-lightbox-backdrop {
    position: fixed;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 8, 18, 0.72);
    padding: 42px;
  }

  .kanban-image-lightbox {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #0f0e18;
    box-shadow: 0 32px 110px rgba(9, 8, 18, 0.46);
  }

  .kanban-image-lightbox img {
    display: block;
    width: min(88vw, 1700px);
    height: min(78vh, 900px);
    object-fit: contain;
    background: #111019;
  }

  .kanban-image-lightbox figcaption {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    padding: 10px 14px;
    text-transform: uppercase;
  }

  .kanban-image-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #0f0e18;
    font-size: 28px;
    line-height: 1;
  }

  .kanban-image-lightbox-close:hover,
  .kanban-image-lightbox-close:focus-visible {
    background: #fff;
    outline: none;
  }
}

@media (max-width: 900px) {
  .kanban-card-modal-backdrop {
    padding: 12px;
  }

  .kanban-card-modal {
    width: calc(100vw - 24px);
    height: min(86vh, 820px);
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .kanban-card-modal-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .kanban-card-modal-members {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }

  .kanban-card-checklist-button {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }

  .kanban-card-modal-head-column {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .kanban-card-modal-top {
    grid-template-columns: 1fr;
  }

  .kanban-card-modal-images {
    grid-column: auto;
  }

  .kanban-card-modal-field textarea {
    min-height: 260px;
  }
}

.kanban-card-image {
  margin: 2px 0 8px;
  overflow: hidden;
  border: 1px solid rgba(117, 111, 134, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.kanban-card-image img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

@media (min-width: 901px) {
  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-card-background .kanban-card {
    background: var(--kanban-card-bg);
    border-color: rgba(89, 71, 132, 0.16);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-card-text .kanban-card-head strong,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-card-text .kanban-card-details,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-card-text .kanban-card-details.is-primary,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-card-text .kanban-card-column-text {
    color: var(--kanban-card-text);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card-column-text {
    display: block;
    margin: -2px 0 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .panel.kanban-column {
    padding-left: 6px;
    padding-right: 6px;
  }

  .kanban-card.has-image {
    position: relative;
  }

  .kanban-card.has-image .kanban-card-image {
    order: 1;
    margin: -12px -12px 0;
    border-width: 0 0 1px;
    border-radius: 8px 8px 0 0;
    background: transparent;
  }

  .kanban-card.has-image .kanban-card-head {
    order: 2;
    position: static;
    grid-template-columns: minmax(0, 1fr);
  }

  .kanban-card.has-image .kanban-card-head.is-title-empty {
    margin-bottom: 0;
  }

  .kanban-card.has-image > .kanban-card-details {
    order: 4;
  }

  .kanban-card.has-image .kanban-card-files-badge {
    order: 5;
    align-self: end;
  }

  .kanban-card.has-image .kanban-card-column-text {
    order: 3;
    margin-top: -4px;
  }

  .kanban-card.has-image .kanban-card-action {
    top: 8px;
    right: 8px;
  }

  .kanban-card.has-image .kanban-card-action-menu {
    top: 8px;
  }
}

.kanban-quick-add {
  display: flex;
  min-height: 66px;
  width: 100%;
  border: 1px dashed rgba(117, 111, 134, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  cursor: pointer;
}

.kanban-quick-add:hover,
.kanban-quick-add:focus-visible,
.kanban-quick-add.is-file-over {
  color: color-mix(in srgb, var(--muted) 64%, #ffffff);
  outline: none;
}

.kanban-quick-form {
  display: grid;
  gap: 6px;
}

.kanban-quick-form textarea {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(117, 111, 134, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  resize: none;
  outline: none;
}

.kanban-quick-form textarea:focus {
  border-color: rgba(117, 66, 217, 0.48);
  box-shadow: 0 0 0 3px rgba(117, 66, 217, 0.12);
}

.kanban-quick-voice-row {
  display: flex;
  justify-content: flex-end;
  padding-right: 8px;
}

.kanban-quick-voice {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(9, 8, 18, 0.92);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(9, 8, 17, 0.18);
}

.kanban-quick-voice svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kanban-quick-voice:hover,
.kanban-quick-voice:focus-visible,
.kanban-quick-voice.is-listening {
  background: var(--purple);
  outline: none;
}

.kanban-quick-voice:disabled {
  cursor: default;
  opacity: 0.38;
}

.kanban-quick-attachment {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(117, 111, 134, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.kanban-quick-attachment img {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
}

.kanban-quick-attachment.is-file-list {
  padding: 10px;
}

.kanban-quick-file-list {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.kanban-file-chip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  color: #f7f3ff;
  font-size: 12px;
  font-weight: 700;
}

.kanban-file-chip-icon {
  display: inline-flex;
  min-width: 34px;
  height: 24px;
  padding: 0 6px;
  border-radius: 7px;
  background: var(--purple);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

.kanban-file-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kanban-file-chip-size {
  color: rgba(247, 243, 255, 0.62);
  font-size: 11px;
  white-space: nowrap;
}

.kanban-quick-attachment-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  display: inline-flex;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  background: rgba(9, 8, 18, 0.82);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

.kanban-card-files-badge {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  height: 24px;
  padding: 0 9px;
  border-radius: 7px;
  background: var(--green);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  align-items: center;
  justify-self: start;
  text-decoration: none;
  cursor: pointer;
}

.kanban-card-files-badge:hover,
.kanban-card-files-badge:focus-visible {
  color: var(--ink);
  outline: none;
  filter: brightness(1.05);
}

.kanban-card-files-badge:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.24);
}

.kanban-card-modal-files {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.kanban-card-modal-file {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #333;
  color: #f7f3ff;
  text-decoration: none;
}

.kanban-card-modal-file:hover,
.kanban-card-modal-file:focus-visible {
  border-color: rgba(168, 85, 247, 0.62);
  outline: none;
}

.kanban-card-modal-file-name {
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kanban-card-modal-file-size {
  color: rgba(247, 243, 255, 0.58);
  font-size: 12px;
  white-space: nowrap;
}

.content-layer-title {
  align-self: start;
  align-content: start;
}

.content-layer-title .eyebrow {
  margin-bottom: 0;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.category-menu {
  display: grid;
  position: sticky;
  top: 112px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: var(--soft-shadow);
  padding: 16px;
  backdrop-filter: blur(18px);
}

.category-menu-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  max-height: calc(100vh - 220px);
  overflow: auto;
  margin-right: -20px;
  padding-right: 20px;
  scrollbar-color: #111111 rgba(0, 0, 0, 0.08);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.category-menu-list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.category-menu-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
}

.category-menu-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #111111;
}

.category-menu-list::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

.settings-category-menu {
  position: static;
}

.settings-catalog-category-menu {
  position: static;
}

.settings-category-menu .category-menu-list {
  min-height: 400px;
  max-height: 400px;
  align-content: start;
  overflow: hidden;
  margin-right: 0;
  padding-right: 0;
}

.settings-catalog-category-menu .category-menu-list {
  min-height: 400px;
  align-content: start;
}

.settings-values-menu {
  width: 100%;
  position: static;
}

.settings-values-menu .category-menu-list {
  min-height: 400px;
  max-height: calc(100vh - 220px);
  align-content: start;
}

.settings-main-panel {
  min-height: 400px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.settings-main-panel > .panel-title {
  min-height: 48px;
}

.settings-logout-button {
  appearance: none;
  min-height: 38px;
  border: 1px solid rgba(9, 8, 17, 0.16);
  border-radius: 8px;
  background: #090811;
  color: #fff;
  padding: 9px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.settings-logout-button[hidden] {
  display: none;
}

.settings-logout-button:hover,
.settings-logout-button:focus-visible {
  background: #1b1825;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 22px rgba(51, 33, 84, 0.12);
  transform: translateY(-1px);
}

.settings-logout-button:focus-visible {
  outline: 2px solid rgba(117, 66, 217, 0.18);
  outline-offset: 2px;
}

.settings-logout-button:active {
  transform: translateY(0);
}

@media (max-width: 1500px) and (min-width: 1101px) {
  .settings-view.settings-view-has-category-menu .settings-layout {
    grid-template-columns: minmax(180px, 220px) minmax(220px, 260px) minmax(220px, 260px) minmax(0, 1fr);
  }
}

.settings-main-empty {
  border: 1px dashed rgba(89, 71, 132, 0.24);
  border-radius: 8px;
  padding: 14px;
  color: var(--muted);
  font-size: 13px;
}

.settings-brand-panel {
  --settings-brand-logo-size: 176px;
  display: grid;
  grid-template-columns: var(--settings-brand-logo-size) minmax(280px, 420px) minmax(200px, 240px);
  align-items: start;
  gap: 14px;
}

.settings-category-panel {
  display: grid;
  gap: 14px;
}

.settings-users-panel {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.settings-users-card,
.settings-user-avatar-card,
.settings-user-column-card,
.settings-users-list {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(89, 71, 132, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 249, 0.72);
  padding: 16px;
}

.settings-users-head {
  display: grid;
  gap: 4px;
}

.settings-users-title {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
}

.settings-users-note,
.settings-user-status,
.settings-users-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.settings-user-form {
  display: grid;
  gap: 12px;
}

.settings-user-form label {
  display: grid;
  gap: 8px;
}

.settings-user-form label > span,
.settings-user-roles legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.settings-user-form input[type="text"],
.settings-user-form input[type="password"],
.settings-user-column-field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(89, 71, 132, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.settings-user-form input[type="text"]:focus,
.settings-user-form input[type="password"]:focus,
.settings-user-column-field select:focus {
  border-color: rgba(117, 66, 217, 0.42);
  outline: 2px solid rgba(117, 66, 217, 0.14);
  outline-offset: 0;
}

.settings-user-column-card {
  gap: 12px;
}

.settings-user-column-field {
  display: grid;
  gap: 8px;
  max-width: 520px;
}

.settings-user-column-field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.settings-user-column-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(89, 71, 132, 0.72) 50%),
    linear-gradient(135deg, rgba(89, 71, 132, 0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 18px,
    calc(100% - 12px) 18px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.settings-user-roles {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.settings-user-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.settings-user-form .settings-user-role {
  display: flex;
  min-height: 36px;
  border: 1px solid rgba(89, 71, 132, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  padding: 8px 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  align-items: center;
  gap: 8px;
}

.settings-user-form .settings-user-role > span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.settings-user-form .settings-user-role input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  accent-color: var(--purple);
}

.settings-user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.settings-user-status.is-error {
  color: var(--coral);
}

.settings-user-status.is-success {
  color: var(--green-dark);
}

.settings-users-list-items {
  display: grid;
  gap: 8px;
}

.settings-user-avatar-card {
  display: none;
}

.settings-user-avatar-preview {
  display: grid;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(89, 71, 132, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 34px;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.settings-user-avatar-preview img,
.settings-user-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.settings-user-avatar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.settings-user-avatar-upload,
.settings-user-avatar-remove {
  min-height: 36px;
  padding-left: 14px;
  padding-right: 14px;
  white-space: nowrap;
}

.settings-user-avatar {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(117, 66, 217, 0.1);
  color: var(--purple);
  font-size: 13px;
  font-weight: 750;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.settings-users-values-wrap,
.settings-users-list--values {
  display: none;
}

.settings-user-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(140px, 0.4fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(89, 71, 132, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  margin: 0;
  padding: 10px 12px;
  color: inherit;
  font: inherit;
  text-align: left;
  appearance: none;
  cursor: pointer;
}

.settings-user-row:hover,
.settings-user-row.active {
  border-color: rgba(117, 66, 217, 0.28);
  background: rgba(117, 66, 217, 0.08);
}

.settings-user-row:focus-visible {
  outline: 2px solid rgba(117, 66, 217, 0.18);
  outline-offset: 2px;
}

.settings-user-login {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.settings-user-roles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.settings-user-role-pill,
.settings-user-column-pill,
.settings-user-password-pill {
  display: inline-flex;
  min-height: 24px;
  border-radius: 999px;
  background: rgba(117, 66, 217, 0.1);
  color: var(--purple);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 750;
  align-items: center;
}

.settings-user-password-pill {
  background: rgba(83, 112, 7, 0.11);
  color: var(--green-dark);
  white-space: nowrap;
}

.settings-user-column-pill {
  background: rgba(9, 8, 17, 0.08);
  color: var(--ink);
  white-space: nowrap;
}

/* codex-desktop-users-list-in-values-menu-20260522 */
@media (min-width: 901px) {
  .settings-users-panel {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    max-width: none;
  }

  .settings-users-card {
    min-width: 0;
  }

  .settings-user-avatar-card {
    display: grid;
    justify-items: center;
    align-content: start;
    min-height: 232px;
  }

  .settings-user-column-card {
    grid-column: 1 / -1;
  }

  .settings-user-avatar {
    display: inline-grid;
  }

  .settings-users-panel .settings-users-list--main {
    display: none;
  }

  .settings-users-values-wrap {
    display: grid;
    margin-top: 10px;
  }

  .settings-users-list--values {
    display: grid;
    gap: 12px;
    padding: 12px;
  }

  .settings-users-list--values .settings-user-row {
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    padding: 10px;
  }

  .settings-users-list--values .settings-user-roles-list,
  .settings-users-list--values .settings-user-column-pill,
  .settings-users-list--values .settings-user-password-pill {
    grid-column: 2;
  }

  .settings-users-list--values .settings-user-login {
    font-size: 13px;
  }

  .settings-users-list--values .settings-user-roles-list {
    gap: 5px;
  }

  .settings-users-list--values .settings-user-password-pill {
    justify-self: start;
  }

  .settings-users-list--values .settings-user-column-pill {
    justify-self: start;
  }
}

/* codex-settings-size-filter-select-20260520 */
.settings-kanban-column-grid label,
.settings-size-filter-grid label {
  display: grid;
  gap: 8px;
  max-width: 520px;
}

.settings-kanban-color-field {
  display: grid;
  gap: 8px;
  max-width: 520px;
}

.settings-kanban-order-field {
  width: min(100%, 350px);
}

.settings-kanban-order-field input[type="number"] {
  appearance: textfield;
}

.settings-kanban-order-field input[type="number"]::-webkit-outer-spin-button,
.settings-kanban-order-field input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.settings-kanban-color-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 1220px);
  max-width: 1220px;
}

.settings-kanban-column-grid label > span,
.settings-kanban-color-field > span,
.settings-size-filter-grid label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.kanban-column-color-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 420px;
}

.kanban-column-color-reset {
  appearance: none;
  height: 30px;
  border: 1px solid rgba(89, 71, 132, 0.16);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  min-width: 88px;
  padding: 0 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.kanban-column-color-native {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.kanban-column-color-native input[type="color"] {
  appearance: none;
  width: 38px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(89, 71, 132, 0.16);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.kanban-column-color-native input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 3px;
}

.kanban-column-color-native input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 5px;
}

.kanban-column-color-native input[type="color"]::-moz-color-swatch {
  border: 0;
  border-radius: 5px;
}

.kanban-column-color-reset:hover,
.kanban-column-color-reset:focus-visible,
.kanban-column-color-native input[type="color"]:hover,
.kanban-column-color-native input[type="color"]:focus-visible {
  border-color: var(--purple);
  outline: none;
}

.kanban-column-color-reset.is-active {
  border-color: var(--purple);
  box-shadow: 0 0 0 2px rgba(117, 66, 217, 0.2);
}

.kanban-column-color-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 10px 14px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: var(--kanban-color-tile-bg, #fff);
  box-shadow: 0 0 0 1px rgba(89, 71, 132, 0.14);
  overflow: hidden;
}

.settings-kanban-column-grid .kanban-column-color-tile > span {
  position: relative;
  z-index: 1;
  color: var(--kanban-color-tile-text, var(--ink));
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  pointer-events: none;
}

.kanban-column-color-tile input[type="color"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  opacity: 0;
  cursor: pointer;
}

.kanban-column-color-tile:hover,
.kanban-column-color-tile:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 2px rgba(117, 66, 217, 0.2);
}

/* codex-brand-logo-compact-row-20260520 */
.settings-brand-logo-preview {
  grid-column: 1;
  grid-row: 1;
  width: var(--settings-brand-logo-size);
  height: var(--settings-brand-logo-size);
  min-height: 0;
  align-self: start;
  display: grid;
  place-items: center;
  border: 1px solid rgba(89, 71, 132, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  padding: 12px;
}

.settings-brand-logo-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.settings-brand-logo-placeholder {
  padding: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  overflow-wrap: anywhere;
}

.settings-brand-logo-actions {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-self: start;
  gap: 10px;
  min-width: 0;
}

/* codex-brand-logo-actions-align-20260520 */
.settings-brand-logo-actions .button {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

/* codex-brand-logo-meta-side-20260520 */
.settings-brand-logo-meta {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: var(--settings-brand-logo-size);
  min-width: 0;
  max-width: none;
  margin: 0;
  align-self: start;
  align-content: center;
  border: 1px solid rgba(89, 71, 132, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}

.settings-brand-logo-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.settings-brand-logo-meta-row span {
  color: var(--muted);
}

.settings-brand-logo-meta-row strong {
  color: var(--ink);
  font-weight: 700;
}

.settings-upload-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.settings-brand-logo-hint,
.settings-category-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.settings-brand-logo-hint {
  grid-column: 1 / -1;
  grid-row: 2;
}

.settings-brand-logo-hint.is-error {
  color: var(--coral);
}

.settings-brand-logo-hint.is-success {
  color: #1d6f34;
}

.integrations-panel {
  min-height: 400px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.integration-panel-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.integration-card {
  border: 1px solid rgba(89, 71, 132, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
  padding: 14px;
  display: grid;
  gap: 14px;
}

.integration-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.integration-card-head-copy {
  display: grid;
  gap: 6px;
}

.integration-card-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.integration-card-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.integration-card-subtitle code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}

.integration-state-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(89, 71, 132, 0.12);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.integration-state-badge.is-success {
  background: var(--green-soft);
  color: #1d6f34;
}

.integration-state-badge.is-error {
  background: var(--coral-soft);
  color: var(--coral);
}

.integration-meta {
  margin: 0;
  display: grid;
  gap: 8px;
}

.integration-meta-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.integration-meta dt {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.integration-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.integration-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.integration-run-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.integration-run-status.is-error {
  color: var(--coral);
}

.integration-run-status.is-success {
  color: #1d6f34;
}

@media (max-width: 900px) {
  .integration-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .integration-meta-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* codex-brand-favorite-separate-block-20260520 */
.settings-brand-favorite-block {
  border: 1px solid rgba(89, 71, 132, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.settings-brand-favorite-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.settings-brand-favorite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}

.settings-brand-favorite-row span {
  color: var(--muted);
}

.settings-brand-favorite-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.settings-brand-landing-block {
  grid-column: 1 / -1;
  grid-row: 3;
  border: 1px solid rgba(89, 71, 132, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.settings-brand-landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.settings-brand-landing-header .settings-brand-favorite-title {
  margin: 0;
}

.settings-brand-landing-add {
  min-width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
  font-size: 28px;
  line-height: 1;
}

.settings-brand-landing-list {
  display: grid;
  gap: 10px;
}

.settings-brand-landing-row {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.settings-brand-landing-title {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  cursor: text;
}

.settings-brand-landing-title:focus {
  outline: none;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.settings-brand-landing-title::placeholder {
  color: var(--ink);
  opacity: 1;
}

.settings-brand-landing-row input[type="url"] {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(89, 71, 132, 0.2);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.settings-brand-landing-row input[type="url"]:focus {
  outline: none;
  border-color: rgba(9, 8, 17, 0.44);
  box-shadow: 0 0 0 2px rgba(9, 8, 17, 0.08);
}

.settings-brand-landing-remove {
  min-width: 90px;
}

@media (min-width: 1700px) {
  .settings-brand-panel {
    grid-template-columns: var(--settings-brand-logo-size) minmax(280px, 420px) minmax(200px, 240px);
  }

  .settings-brand-logo-hint {
    grid-row: 2;
  }

  .settings-brand-landing-block {
    grid-row: 3;
  }
}

@media (max-width: 1600px) {
  .settings-brand-panel {
    grid-template-columns: var(--settings-brand-logo-size) minmax(0, 1fr);
  }

  .settings-brand-logo-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .settings-brand-logo-hint {
    grid-row: 3;
  }

  .settings-brand-landing-block {
    grid-row: 4;
  }
}

@media (max-width: 900px) {
  .settings-brand-logo-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .settings-brand-panel {
    grid-template-columns: 1fr;
  }

  .settings-brand-logo-preview,
  .settings-brand-logo-meta,
  .settings-brand-logo-actions,
  .settings-brand-logo-hint,
  .settings-brand-favorite-block,
  .settings-brand-landing-block {
    grid-column: 1;
    grid-row: auto;
  }

  .settings-brand-logo-preview {
    width: min(176px, 100%);
    height: min(176px, calc(100vw - 88px));
  }

  .settings-brand-logo-meta {
    height: auto;
    min-height: var(--settings-brand-logo-size);
  }
}

.settings-values-list.is-category-tree .category-menu-group-toggle,
.settings-values-list.is-category-tree .category-menu-item,
.settings-values-list.is-category-tree .category-menu-count-action {
  cursor: pointer;
  pointer-events: auto;
}


.settings-values-list:not(.is-category-tree) .settings-value-item {
  cursor: pointer;
}

.settings-values-list:not(.is-category-tree) .settings-value-item:hover {
  background: rgba(255, 255, 255, 0.58);
}

.settings-values-list:not(.is-category-tree) .settings-value-item.active {
  border-left-color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(9, 8, 17, 0.08);
}

/* codex-size-filter-green-20260520 */
.settings-values-list:not(.is-category-tree) .settings-value-item.has-size-filter {
  color: #15803d;
}

.settings-values-list:not(.is-category-tree) .settings-value-item.has-size-filter .category-menu-count {
  color: #15803d;
}

.category-menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 6px;
  padding: 8px 10px 8px 11px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.category-menu-item:hover {
  background: rgba(255, 255, 255, 0.58);
}

.category-menu-item.active {
  border-left-color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(9, 8, 17, 0.08);
}

/* codex-dsdistribution-category-active-no-left-border-desktop-20260530 */
@media (min-width: 768px) {
  #catalogView .category-menu-item.active,
  #editorView .category-menu-item.active {
    border-left-color: transparent;
  }
}

.category-menu-item.is-child {
  padding-left: 28px;
  cursor: grab;
}

.category-menu-item.is-branch {
  padding-left: 28px;
}

.category-menu-item.is-grandchild {
  min-height: 34px;
  padding-left: 44px;
}

.category-menu-nested {
  display: grid;
  gap: 1px;
}

.category-menu-nested.has-active > .category-menu-item.is-branch {
  background: rgba(255, 255, 255, 0.48);
}

.category-menu-grandchildren {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    grid-template-rows 320ms cubic-bezier(0.25, 0.1, 0.25, 1),
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: grid-template-rows, opacity, transform;
}

.category-menu-grandchildren.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.category-menu-grandchildren.is-opening {
  animation: category-menu-grandchildren-open 320ms cubic-bezier(0.25, 0.1, 0.25, 1) both;
}

.category-menu-grandchildren.is-closing {
  pointer-events: none;
  animation: category-menu-grandchildren-close 320ms cubic-bezier(0.45, 0, 0.55, 1) both;
}

.category-menu-grandchildren-inner {
  display: grid;
  gap: 1px;
  min-height: 0;
  overflow: hidden;
}

@keyframes category-menu-grandchildren-open {
  from {
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes category-menu-grandchildren-close {
  from {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
  }

  to {
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-menu-grandchildren {
    transition: none;
    transform: none;
  }

  .category-menu-grandchildren.is-opening,
  .category-menu-grandchildren.is-closing {
    animation: none;
  }
}

.category-menu-item.dragging {
  cursor: grabbing;
  opacity: 0.52;
}

.category-menu-group.drag-over > .category-menu-group-toggle {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(9, 8, 17, 0.16);
}

.category-menu-name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-menu-count {
  min-width: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-align: right;
}

.category-menu-count-action {
  cursor: pointer;
}

.category-menu-count-action:hover,
.category-menu-count-action:focus-visible {
  color: var(--ink);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.category-menu-item.settings-active,
.category-menu-group-toggle.settings-active {
  border-left-color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(9, 8, 17, 0.08);
}

.category-menu-group {
  display: grid;
  gap: 2px;
}

.category-menu-group-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.category-menu-group-toggle:hover {
  background: rgba(255, 255, 255, 0.58);
}

.category-menu-group.has-active > .category-menu-group-toggle {
  color: var(--ink);
}

.category-menu-group-name {
  flex: 1;
  overflow: hidden;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* codex-desktop-catalog-category-menu-regular-plus-1px-20260526 */
@media (min-width: 901px) {
  .catalog-view .category-menu-name,
  .catalog-view .category-menu-count,
  #editorView .category-menu-name,
  #editorView .category-menu-count {
    font-size: 14px;
    font-weight: 400;
  }

  .catalog-view .category-menu-group-name,
  #editorView .category-menu-group-name {
    font-size: 15px;
    font-weight: 700;
  }

  .catalog-view .category-menu-group-toggle > .category-menu-count,
  #editorView .category-menu-group-toggle > .category-menu-count {
    display: none;
  }
}

.category-menu-children {
  display: grid;
  gap: 1px;
  padding-bottom: 4px;
}

.category-menu-empty {
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.catalog-panel > * {
  min-width: 0;
}

.catalog-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  align-items: end;
}

.catalog-hidden-controls {
  display: none;
}

.bulk-bar,
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.bulk-bar {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  color: var(--muted);
  font-size: 13px;
}

.catalog-product-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-left: 0;
}

.catalog-product-head > span {
  flex: 0 0 auto;
}

.table-delete-selected {
  min-height: 32px;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.catalog-table-wrap {
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #f9f9f9;
}

.catalog-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  background: #fff;
}

.catalog-table.is-size-summary-table {
  min-width: 860px;
}

.catalog-table th,
.catalog-table td {
  border-bottom: 1px solid #f9f9f9;
  padding: 12px;
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
}

.catalog-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.catalog-table tbody td {
  border-bottom-color: #f1f1f1;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* codex-catalog-table-row-bg-f9f9f9-20260526 */
.catalog-table tbody tr {
  background: #f9f9f9;
}

.catalog-table tr:last-child td {
  border-bottom: 0;
}

.catalog-table tr.clickable-row {
  cursor: pointer;
}

.catalog-table tr.clickable-row:hover {
  background: #faf9fd;
}

.catalog-table tr.clickable-row:focus-visible {
  outline: 3px solid rgba(45, 106, 79, 0.2);
  outline-offset: -3px;
}

.catalog-category-head,
.catalog-category-cell {
  width: 104px;
  min-width: 92px;
}

.catalog-category-cell {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.catalog-rrc-head,
.catalog-rrc-cell,
.catalog-dealer-head,
.catalog-dealer-cell {
  width: 86px;
  min-width: 76px;
  white-space: nowrap;
}

.catalog-rrc-cell,
.catalog-dealer-cell {
  color: var(--ink);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

/* codex-dsdistribution-catalog-sizes-all-brands-desktop-20260531 */
.catalog-sizes-head,
.catalog-sizes-cell {
  display: table-cell;
}

.catalog-sizes-head,
.catalog-sizes-cell {
  width: 180px;
  min-width: 156px;
}

.catalog-sizes-cell {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1.28;
  white-space: pre-wrap;
}

/* codex-dsdistribution-catalog-wide-price-size-columns-desktop-20260530 */
@media (min-width: 901px) {
  body:has(#catalogView:not(.is-hidden)) .catalog-rrc-head,
  body:has(#catalogView:not(.is-hidden)) .catalog-rrc-cell,
  body:has(#catalogView:not(.is-hidden)) .catalog-dealer-head,
  body:has(#catalogView:not(.is-hidden)) .catalog-dealer-cell {
    width: 112px;
    min-width: 99px;
  }

  body:has(#catalogView:not(.is-hidden)) .catalog-sizes-head,
  body:has(#catalogView:not(.is-hidden)) .catalog-sizes-cell {
    width: 234px;
    min-width: 203px;
  }

  body:has(#catalogView:not(.is-hidden)) .catalog-table.is-size-summary-table {
    --catalog-name-size-column-width: 384px;
  }

  body:has(#catalogView:not(.is-hidden)) .catalog-table.is-size-summary-table .catalog-product-col,
  body:has(#catalogView:not(.is-hidden)) .catalog-table.is-size-summary-table .catalog-sizes-col {
    width: var(--catalog-name-size-column-width);
  }

  body:has(#catalogView:not(.is-hidden)) .catalog-table.is-size-summary-table th:has(.catalog-product-head),
  body:has(#catalogView:not(.is-hidden)) .catalog-table.is-size-summary-table td:has(.table-product),
  body:has(#catalogView:not(.is-hidden)) .catalog-table.is-size-summary-table .catalog-sizes-head,
  body:has(#catalogView:not(.is-hidden)) .catalog-table.is-size-summary-table .catalog-sizes-cell {
    width: var(--catalog-name-size-column-width);
    min-width: var(--catalog-name-size-column-width);
    max-width: var(--catalog-name-size-column-width);
  }
}

.table-product {
  display: grid;
  grid-template-columns: 130px minmax(210px, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 84px;
}

.table-product strong,
.table-product span {
  display: block;
}

.table-product strong {
  max-width: 360px;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-product span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.table-product .product-variants-line {
  max-width: 360px;
  overflow: hidden;
  color: var(--accent);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-product .product-color-line {
  max-width: 360px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.28;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.table-thumb {
  width: 130px;
  height: 84px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

/* codex-dsdistribution-catalog-title50-photo40-desktop-20260531 */
@media (min-width: 901px) {
  body:has(#catalogView:not(.is-hidden)) .catalog-product-head {
    padding-left: 38px;
  }

  body:has(#catalogView:not(.is-hidden)) .catalog-table tbody td:has(.table-product) {
    padding-top: 0;
    padding-bottom: 0;
  }

  body:has(#catalogView:not(.is-hidden)) .table-product {
    grid-template-columns: 176px minmax(210px, 1fr);
    min-height: 119px;
    box-sizing: border-box;
    padding-left: 28px;
  }

  body:has(#catalogView:not(.is-hidden)) .catalog-table.is-size-summary-table .table-product {
    grid-template-columns: 150px minmax(180px, 1fr);
    gap: 10px;
  }

  body:has(#catalogView:not(.is-hidden)) .catalog-table.is-size-summary-table .table-product strong,
  body:has(#catalogView:not(.is-hidden)) .catalog-table.is-size-summary-table .table-product span {
    max-width: 300px;
  }

  body:has(#catalogView:not(.is-hidden)) .catalog-table.is-size-summary-table .table-thumb {
    width: 150px;
    height: 103px;
  }

  body:has(#catalogView:not(.is-hidden)) .table-thumb {
    width: 176px;
    height: 119px;
    display: block;
    background: #f9f9f9;
    object-fit: contain;
    object-position: left center;
  }
}

.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.table-action {
  min-height: 34px;
  padding: 7px 11px;
}

.empty-cell {
  height: 140px;
  color: var(--muted);
  text-align: center !important;
}

.pagination {
  justify-content: flex-end;
  color: var(--muted);
  font-size: 13px;
}

.catalog-infinite-scroll-sentinel {
  height: 1px;
  pointer-events: none;
}

.catalog-infinite-scroll-sentinel[hidden] {
  display: none;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 12px;
  min-height: calc(100vh - 124px);
  padding: 0 24px;
}

/* codex-dsdistribution-product-detail-no-menu-desktop-20260530 */
#editorView.workspace {
  grid-template-columns: minmax(0, 1fr);
}

.product-sidebar {
  border-right: 0;
  padding: 18px 0;
}

.product-sidebar-categories {
  padding: 22px 0 18px;
}

.editor-catalog-title {
  display: grid;
  align-content: end;
  min-height: 84.390625px;
  margin-bottom: 12px;
  padding-bottom: 2px;
}

.editor-catalog-title.content-layer-title {
  align-content: start;
}

.editor-category-menu {
  top: 112px;
  padding: 16px;
}

.editor-category-menu .category-menu-list {
  max-height: calc(100vh - 192px);
}

.toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.field-stack {
  display: grid;
  gap: 7px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.field-label-row > span {
  min-width: 0;
}

.field-action-button {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(88, 66, 139, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--ink);
}

textarea {
  resize: vertical;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(9, 8, 17, 0.42);
  box-shadow: 0 0 0 3px rgba(9, 8, 17, 0.08);
}

input:disabled {
  color: #4d5450;
  background: rgba(255, 255, 255, 0.38);
}

.product-list {
  display: grid;
  gap: 10px;
}

.product-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.52);
  text-align: left;
}

.product-item.active {
  border-color: rgba(9, 8, 17, 0.24);
  box-shadow: var(--shadow);
}

.product-thumb {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(246, 245, 253, 0.95), rgba(218, 211, 240, 0.7));
}

.product-meta {
  min-width: 0;
}

.product-name {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-subline {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--muted);
}

.status-dot.ready,
.status-dot.published {
  background: var(--green-dark);
}

.status-dot.review {
  background: var(--amber);
}

.status-dot.error {
  background: var(--coral);
}

.editor-area {
  padding: 22px 0 24px;
  min-width: 0;
}

.editor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.editor-header > div:first-child {
  min-width: 0;
}

.editor-source-updated {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
}

.editor-back-button {
  white-space: nowrap;
}

.status-pill,
.owner-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.status-pill.ready,
.status-pill.published {
  background: var(--green-soft);
  color: var(--green-dark);
}

.status-pill.review {
  background: var(--amber-soft);
  color: var(--amber);
}

.status-pill.error {
  background: var(--coral-soft);
  color: var(--coral);
}

.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.editor-grid.category-settings-mode {
  grid-template-columns: minmax(0, 1fr);
}

.editor-main-stack {
  grid-column: 1;
  display: grid;
  min-width: 0;
  gap: 12px;
}

.category-settings-panel {
  grid-column: 1;
}

.category-settings-grid {
  grid-template-columns: minmax(0, 1fr);
}

#categorySettingsDescription {
  min-height: 260px;
}

.panel {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(18px);
}

.product-overview-panel {
  display: grid;
  gap: 0;
}

.product-overview-hero {
  display: grid;
  min-width: 0;
  gap: 20px;
}

.product-overview-panel .accounting-heading {
  margin-bottom: 0;
  order: 1;
}

.product-overview-hero .spec-summary-panel {
  order: 3;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}

.product-overview-hero .spec-summary-panel .panel-title {
  margin-bottom: 14px;
}

.product-overview-photo {
  order: 2;
  display: none;
}

.product-overview-photo[hidden] {
  display: none;
}

@media (min-width: 901px) {
  .product-overview-hero {
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 34px;
    row-gap: 18px;
    align-items: stretch;
  }

  .product-overview-panel .accounting-heading {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr);
    align-self: start;
    order: 0;
  }

  .product-overview-hero .spec-summary-panel {
    grid-column: 2;
    grid-row: 2;
    align-self: stretch;
    order: 0;
  }

  .product-overview-hero:has(.product-overview-photo[hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-overview-hero:has(.product-overview-photo[hidden]) .accounting-heading,
  .product-overview-hero:has(.product-overview-photo[hidden]) .spec-summary-panel {
    grid-column: 1;
  }

  .product-overview-photo {
    grid-column: 1;
    grid-row: 1 / 3;
    order: 0;
    display: flex;
    width: max-content;
    height: var(--product-overview-photo-height, 180px);
    min-height: 0;
    min-width: 0;
    align-items: center;
    justify-content: center;
    align-self: start;
    justify-self: start;
    overflow: visible;
    border-radius: 0;
    background: transparent;
  }

  .product-overview-photo[hidden] {
    display: none;
  }

  .product-overview-photo-button {
    display: flex;
    width: auto;
    height: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: zoom-in;
  }

  .product-overview-photo-button:focus-visible {
    outline: 2px solid rgba(255, 90, 0, 0.75);
    outline-offset: -4px;
  }

  .product-overview-photo img {
    display: block;
    width: auto;
    height: 100%;
    object-fit: contain;
  }

  .product-flag-spec-table {
    margin-bottom: 0;
  }

  .product-flag-spec-row {
    align-items: center;
  }

  .product-flag-spec-value {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
  }

  .product-flag-switch {
    display: inline-flex;
    min-height: 20px;
    align-items: center;
    gap: 0;
    color: #090811;
    cursor: pointer;
    line-height: 1;
    user-select: none;
  }

  .product-flag-switch-control {
    position: relative;
    display: inline-flex;
    width: 37px;
    height: 20px;
    flex: 0 0 auto;
  }

  .product-flag-switch-control input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }

  .product-flag-switch-track {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(9, 8, 17, 0.1);
    border-radius: 999px;
    background: #f1f1f1;
    box-shadow: inset 0 1px 2px rgba(9, 8, 17, 0.08);
    transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
  }

  .product-flag-switch-thumb {
    position: absolute;
    top: 1px;
    left: 2px;
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(9, 8, 17, 0.18);
    transition: transform 0.18s ease;
  }

  .product-flag-switch-control input:checked + .product-flag-switch-track {
    border-color: #2f3036;
    background: #2f3036;
  }

  .product-flag-switch-control input:checked + .product-flag-switch-track .product-flag-switch-thumb {
    transform: translateX(16px);
  }

  .product-flag-switch-control input:focus-visible + .product-flag-switch-track {
    outline: 2px solid rgba(184, 250, 24, 0.7);
    outline-offset: 3px;
  }

  .product-flag-switch-control input:disabled {
    cursor: not-allowed;
  }

  .product-flag-switch-control input:disabled + .product-flag-switch-track {
    opacity: 0.52;
  }
}

.product-overview-sizes {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.variant-summary-panel,
.spec-summary-panel,
.spec-details-panel {
  grid-column: 1;
}

.spec-summary-panel {
  position: relative;
  z-index: 2;
}

.spec-summary-panel:has(.primary-color-picker.is-open) {
  z-index: 90;
}

.validation-stack {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 112px;
  display: grid;
  gap: 12px;
  align-self: start;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.settings-kanban-column-delete {
  appearance: none;
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #090811;
  cursor: pointer;
  transition: color 0.16s ease, opacity 0.16s ease, transform 0.16s ease;
}

.settings-kanban-column-delete[hidden] {
  display: none;
}

.settings-kanban-column-delete:hover,
.settings-kanban-column-delete:focus-visible {
  background: transparent;
  color: #2a2734;
  outline: none;
}

.settings-kanban-column-delete:focus-visible {
  box-shadow: none;
}

.settings-kanban-column-delete:active {
  transform: translateY(1px);
}

.settings-kanban-column-delete:disabled {
  cursor: not-allowed;
  opacity: 0.34;
  transform: none;
}

.settings-kanban-column-delete svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.owner-content {
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
}

.owner-check {
  background: var(--green-soft);
  color: var(--green-dark);
}

.spec-gpt-button {
  flex: 0 0 auto;
  max-width: 100%;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.wide {
  grid-column: 1 / -1;
}

.variant-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border-top: 1px solid rgba(88, 66, 139, 0.14);
  padding-top: 12px;
}

.variant-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.variant-panel-head h4 {
  margin: 0;
  font-size: 14px;
}

.variant-panel-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.variant-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(88, 66, 139, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.38);
}

.variant-row {
  display: grid;
  grid-template-columns:
    minmax(112px, 1fr)
    minmax(112px, 0.86fr)
    minmax(50px, 0.42fr)
    minmax(82px, 0.62fr)
    minmax(82px, 0.62fr)
    minmax(78px, 0.5fr)
    minmax(48px, 0.38fr)
    minmax(42px, 0.36fr)
    minmax(58px, 0.46fr);
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(88, 66, 139, 0.12);
  background: #fff;
  padding: 8px 10px;
  font-size: 12px;
}

.variant-row:first-child {
  border-top: 0;
}

.variant-row span,
.variant-row b {
  color: var(--ink);
}

.variant-row strong,
.variant-row em,
.variant-row .variant-barcode,
.variant-row .variant-warehouse-stock {
  min-width: 0;
  overflow-wrap: anywhere;
  font-style: normal;
}

.variant-row strong {
  color: var(--muted);
  font-weight: 700;
}

.variant-row .variant-barcode {
  color: var(--muted);
  font-weight: 700;
}

.variant-row .variant-warehouse-stock {
  color: var(--muted);
  font-weight: 700;
}

.variant-row-head {
  background: #f9f9f9;
  border-color: rgba(24, 28, 35, 0.08);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  padding-bottom: 16px;
  text-transform: uppercase;
}

.variant-row-head + .variant-row {
  padding-top: 16px;
}

.variant-row-head strong,
.variant-row-head em,
.variant-row-head .variant-barcode,
.variant-row-head .variant-warehouse-stock,
.variant-row-head b {
  color: var(--muted);
}

.variant-empty {
  color: var(--muted);
  font-size: 13px;
}

.spec-table {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.spec-table-primary,
.spec-table-details,
.spec-table-content {
  gap: 0;
  margin-top: 0;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(88, 66, 139, 0.13);
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
}

.spec-subheading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 0;
  margin: 8px 0 0;
  padding: 2px 0 2px;
  color: #080816;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.spec-table-details .spec-subheading:not(:first-child) {
  margin-top: 28px;
}

@media (max-width: 1360px) {
  .spec-subheading {
    min-height: 0;
    font-size: 14px;
  }
}

@media (max-width: 920px) {
  .spec-subheading {
    min-height: 0;
    font-size: 14px;
  }
}

.spec-row strong {
  color: var(--ink);
  font-weight: 700;
}

.spec-value-editable,
.spec-value-static {
  min-width: 0;
  overflow-wrap: anywhere;
}

.spec-value-editable {
  margin: -2px -4px;
  padding: 2px 4px;
  border-radius: 6px;
  cursor: text;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.spec-value-editable.is-empty {
  display: block;
  width: min(100%, 520px);
  min-height: 28px;
  background: rgba(9, 8, 17, 0.035);
  box-shadow: inset 0 0 0 1px rgba(88, 66, 139, 0.13);
}

.spec-value-editable:hover,
.spec-value-editable:focus-visible {
  background: rgba(9, 8, 17, 0.05);
  box-shadow: 0 0 0 2px rgba(9, 8, 17, 0.08);
  outline: none;
}

.spec-value-input {
  min-height: 34px;
  padding: 5px 8px;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  resize: none;
  overflow: hidden;
}

.spec-value-select {
  width: fit-content;
  min-width: 180px;
  max-width: 100%;
  min-height: 0;
  margin: -2px -4px;
  padding: 2px 26px 2px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
}

.spec-value-select:focus-visible {
  outline: 2px solid rgba(9, 8, 17, 0.14);
  outline-offset: 1px;
}

.spec-row-color-picker {
  align-items: center;
  overflow: visible;
}

.primary-color-picker {
  position: relative;
  display: inline-flex;
  width: min(100%, 370px);
  min-width: 0;
  align-items: stretch;
}

.primary-color-picker.is-open {
  z-index: 91;
}

.primary-color-dropdown-button {
  display: inline-flex;
  width: 100%;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  padding: 2px 30px 2px 0;
  text-align: left;
  transition: color 0.16s ease, opacity 0.16s ease;
}

.primary-color-dropdown-button:hover,
.primary-color-dropdown-button:focus-visible,
.primary-color-picker.is-open .primary-color-dropdown-button {
  background: transparent;
  box-shadow: none;
  outline: none;
}

.primary-color-dropdown-button:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.primary-color-selected-swatches {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 18px;
}

.primary-color-selected-swatches .primary-color-swatch {
  margin-left: -5px;
}

.primary-color-selected-swatches .primary-color-swatch:first-child {
  margin-left: 0;
}

.primary-color-dropdown-label {
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-color-dropdown-arrow {
  position: absolute;
  right: 13px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.58;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.16s ease;
}

.primary-color-picker.is-open .primary-color-dropdown-arrow {
  transform: translateY(2px) rotate(225deg);
}

.primary-color-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 92;
  width: min(340px, calc(100vw - 48px));
  border: 1px solid rgba(88, 66, 139, 0.16);
  border-radius: 8px;
  background: rgba(252, 251, 255, 0.98);
  box-shadow: 0 18px 42px rgba(30, 24, 56, 0.18);
  padding: 8px;
}

.primary-color-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px;
}

.primary-color-option,
.primary-color-clear {
  min-height: 32px;
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  line-height: 1;
}

.primary-color-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(88, 66, 139, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  padding: 6px 8px 6px 7px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.primary-color-option:hover,
.primary-color-option:focus-visible {
  border-color: rgba(9, 8, 17, 0.28);
  background: rgba(255, 255, 255, 0.94);
  outline: none;
}

.primary-color-option.is-selected {
  border-color: rgba(132, 241, 32, 0.78);
  background: rgba(240, 255, 214, 0.9);
  box-shadow: 0 0 0 2px rgba(132, 241, 32, 0.18);
}

.primary-color-swatch {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 1px solid rgba(9, 8, 17, 0.2);
  border-radius: 999px;
  background: var(--chip-color);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.primary-color-option span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-color-option-mark {
  width: 7px;
  height: 7px;
  margin-left: auto;
  flex: 0 0 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
}

.primary-color-option.is-selected .primary-color-option-mark {
  opacity: 0.76;
}

.primary-color-clear {
  margin-top: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 5px 8px;
  font-weight: 600;
  cursor: pointer;
}

.primary-color-clear:hover,
.primary-color-clear:focus-visible {
  border-color: rgba(88, 66, 139, 0.14);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  outline: none;
}

@media (max-width: 640px) {
  .primary-color-picker,
  .primary-color-dropdown {
    width: 100%;
  }

  .primary-color-options {
    grid-template-columns: 1fr;
  }
}

.spec-table-primary .spec-row:first-child,
.spec-table-details .spec-row:first-child,
.spec-table-content .spec-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.spec-summary-panel .product-flag-spec-table .spec-row:first-child,
.spec-summary-panel .product-flag-spec-table + .spec-table-primary .spec-row:first-child {
  border-top: 1px solid rgba(88, 66, 139, 0.13);
  padding-top: 8px;
}

.readiness-score {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.readiness-score span {
  display: block;
  font-size: 42px;
  font-weight: 760;
  line-height: 1;
}

.readiness-score p {
  margin-bottom: 0;
  color: var(--muted);
}

progress {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--progress-track);
  accent-color: var(--purple);
  box-shadow: inset 0 0 0 1px rgba(117, 66, 217, 0.08);
}

progress::-webkit-progress-bar {
  border-radius: inherit;
  background: var(--progress-track);
}

progress::-webkit-progress-value {
  border-radius: inherit;
  background: var(--progress-fill);
}

progress::-moz-progress-bar {
  border-radius: inherit;
  background: var(--progress-fill);
}

.check-list {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.check-item::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  border: 1px solid rgba(88, 66, 139, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.62);
}

.check-item.ok {
  color: var(--ink);
}

.check-item.ok::before {
  border-color: var(--green);
  background: var(--green);
}

.danger-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.event-log {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.event-log:empty {
  display: none;
}

.event-log-detached {
  margin-top: 2px;
  padding: 2px 4px 0;
}

.event-log p {
  margin-bottom: 0;
  border-left: 3px solid rgba(9, 8, 17, 0.14);
  padding-left: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.accounting-panel {
  background: rgba(255, 255, 255, 0.62);
}

.accounting-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.accounting-heading .editor-source-updated {
  margin: 0;
}

.accounting-heading h2 {
  overflow-wrap: anywhere;
  font-size: 32px;
  line-height: 1.08;
}

/* codex-product-archive-title-badge-20260526 */
.accounting-heading h2 .product-title-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.accounting-heading h2 .product-title-main,
.accounting-heading h2 .product-title-meta {
  display: block;
  overflow-wrap: anywhere;
}

.accounting-heading h2 .product-title-line .product-title-main {
  min-width: 0;
}

.accounting-heading h2 .product-title-link {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.14em;
}

.accounting-heading h2 .product-title-link:hover,
.accounting-heading h2 .product-title-link:focus-visible {
  text-decoration: underline;
}

.accounting-heading h2 .product-title-meta {
  margin-top: 2px;
}

.product-title-archive-badge {
  display: inline-flex;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #090811;
  color: #fff;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.validation-panel {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(111, 58, 214, 0.96), rgba(93, 45, 199, 0.98)),
    var(--purple);
  color: #fff;
  padding-bottom: 32px;
  box-shadow: 0 22px 54px rgba(65, 32, 151, 0.32);
}

.validation-panel .panel-title h3,
.validation-panel .readiness-score span,
.validation-panel .readiness-score p,
.validation-panel .check-item,
.validation-panel .check-item.ok,
.validation-panel .event-log p {
  color: #fff;
}

.validation-panel .owner-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.validation-panel progress,
.validation-panel progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.2);
}

.validation-panel progress::-webkit-progress-value {
  background: var(--green);
}

.validation-panel .check-item::before {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
}

.validation-panel .check-item.ok::before {
  border-color: var(--green);
  background: var(--green);
}

.validation-panel .button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--purple-dark);
}

.validation-panel .publish-actions {
  margin-top: 18px;
}

.validation-panel .button-primary {
  border-color: rgba(184, 250, 24, 0.42);
  background: var(--green);
  color: #142000;
}

.validation-panel .publish-all-data-toggle {
  display: inline-grid;
  margin-top: 16px;
  grid-template-columns: minmax(0, auto) 42px;
  gap: 12px;
  align-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
}

.validation-panel .publish-all-data-toggle-label {
  min-width: 0;
}

.validation-panel .publish-all-data-toggle-control {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 24px;
  flex: 0 0 auto;
}

.validation-panel .publish-all-data-toggle-control input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.validation-panel .publish-all-data-toggle-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.14);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.validation-panel .publish-all-data-toggle-track::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  content: "";
  transition: transform 0.18s ease;
}

.validation-panel .publish-all-data-toggle-control input:checked + .publish-all-data-toggle-track {
  background: var(--green);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.36);
}

.validation-panel .publish-all-data-toggle-control input:checked + .publish-all-data-toggle-track::before {
  transform: translateX(18px);
}

.validation-panel .publish-all-data-toggle-control input:focus-visible + .publish-all-data-toggle-track {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

@media (min-width: 768px) {
  .validation-panel .publish-actions {
    justify-content: center;
  }

  .validation-panel #publishProduct {
    width: min(100%, 292px);
    border-radius: 999px;
  }

  .validation-panel .publish-all-data-toggle {
    display: grid;
    width: min(100%, 292px);
    margin-inline: auto;
  }
}

@media (max-width: 1740px) and (min-width: 1101px) {
  .topbar {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .topbar-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% - 316px);
    margin-left: 316px;
    justify-self: start;
  }

  .topbar-actions {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 1100px) {
  body {
    padding: 18px;
  }

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

  .dashboard-period-filter {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .dashboard-period-filter button {
    padding-left: 8px;
    padding-right: 8px;
  }

  .dashboard-card-value {
    font-size: 38px;
  }

  .app-shell {
    min-height: calc(100vh - 36px);
  }

  .topbar {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .topbar-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
    max-width: none;
    justify-self: stretch;
  }

  .topbar-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .view-tabs {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .catalog-layout {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  }

  .settings-layout {
    grid-template-columns: minmax(220px, 260px) minmax(220px, 260px) minmax(0, 1fr);
  }

  .settings-view.settings-view-has-category-menu .settings-layout {
    grid-template-columns: minmax(180px, 220px) minmax(220px, 260px) minmax(220px, 260px) minmax(0, 1fr);
  }

  .kanban-control-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .kanban-create-form {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.45fr) minmax(0, 1fr) auto;
  }

  .kanban-summary {
    justify-content: stretch;
  }

  .kanban-board {
    overflow-x: auto;
    padding-bottom: 6px;
    grid-template-columns: repeat(5, minmax(240px, 1fr));
  }

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

  .workspace {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .product-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
    padding: 16px;
  }

  .editor-area {
    padding: 22px 16px 24px;
  }

  .editor-category-menu {
    position: static;
  }

  .product-sidebar-categories {
    padding: 12px 16px 0;
  }

  .product-list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .editor-grid {
    grid-template-columns: 1fr;
  }

  .validation-stack,
  .variant-summary-panel,
  .spec-summary-panel,
  .spec-details-panel {
    grid-column: auto;
    grid-row: auto;
    position: static;
  }
}

/* codex-trello-hide-topbar-controls-desktop-20260522 */
@media (min-width: 901px) {
  body:has(#kanbanView:not(.is-hidden)) .topbar {
    grid-template-columns: minmax(250px, 1fr) auto;
    align-items: center;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-search {
    display: none;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-actions {
    grid-column: 2;
    grid-row: 1;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-automation-button {
    display: inline-flex;
    min-width: clamp(190px, 18vw, 350px);
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    transition: color 0.18s ease, opacity 0.18s ease;
    white-space: nowrap;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-automation-button:hover,
  body:has(#kanbanView:not(.is-hidden)) .topbar-automation-button:focus-visible {
    color: var(--green);
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-automation-button:focus-visible {
    outline: 2px solid rgba(184, 250, 24, 0.7);
    outline-offset: 2px;
  }

  body:has(#kanbanView:not(.is-hidden)) .automation-modal-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-login-button {
    display: inline-flex;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    transition: color 0.18s ease, opacity 0.18s ease;
    white-space: nowrap;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-login-button:hover,
  body:has(#kanbanView:not(.is-hidden)) .topbar-login-button:focus-visible {
    color: var(--green);
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-login-button:focus-visible {
    outline: 2px solid rgba(184, 250, 24, 0.7);
    outline-offset: 2px;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-login-button.is-authenticated {
    width: 56px;
    padding: 0 7px;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-user-avatar {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 17px;
    font-weight: 760;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(8, 7, 16, 0.18);
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-user-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-settings {
    margin-left: 0;
  }
}

/* codex-settings-panel-full-height-controls-desktop-20260522 */
@media (min-width: 901px) {
  body:has(#settingsMenu:not([hidden]))::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(6, 5, 9, 0.56);
    backdrop-filter: blur(2px);
  }

  body:has(#settingsMenu:not([hidden])) .topbar {
    background:
      linear-gradient(90deg, transparent 0 calc(100% - 400px), #333 calc(100% - 400px) 100%),
      rgba(235, 232, 247, 0.54);
  }

  body:has(#kanbanView:not(.is-hidden)):has(#settingsMenu:not([hidden])) .topbar {
    background:
      linear-gradient(90deg, transparent 0 calc(100% - 400px), #333 calc(100% - 400px) 100%),
      linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  }

  .settings-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: grid;
    width: min(400px, 100vw);
    min-width: 0;
    align-content: start;
    gap: 8px;
    border: 1px solid rgba(249, 249, 249, 0.16);
    border-left-color: rgba(249, 249, 249, 0.1);
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
    background: #333;
    color: #f9f9f9;
    box-shadow: -24px 0 58px rgba(0, 0, 0, 0.28);
    overflow-y: auto;
    padding: 104px 30px 32px;
  }

  .settings-menu[hidden] {
    display: none;
  }

  .settings-menu-controls {
    position: absolute;
    top: 26px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
  }

  .settings-menu-control {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #f9f9f9;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: color 0.18s ease, background 0.18s ease;
  }

  .settings-menu-control:hover,
  .settings-menu-control:focus-visible {
    background: rgba(249, 249, 249, 0.1);
    color: #ccc;
    outline: none;
  }

  .settings-menu-control:focus-visible {
    outline: 2px solid rgba(204, 204, 204, 0.72);
    outline-offset: 2px;
  }

  .settings-menu-close {
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
  }

  .settings-menu-gear svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .settings-menu-separator {
    height: 1px;
    margin: 4px 0;
    background: rgba(249, 249, 249, 0.22);
  }

  .settings-menu-item {
    min-height: 46px;
    border-radius: 8px;
    color: #f9f9f9;
    padding: 12px 18px;
    font-weight: 750;
  }

  .settings-menu-auth-button {
    margin-top: -2px;
    color: rgba(249, 249, 249, 0.74);
  }

  .settings-menu-item:hover,
  .settings-menu-item:focus-visible {
    background: rgba(249, 249, 249, 0.12);
    color: #f9f9f9;
  }
}

/* codex-trello-compact-transparent-quick-add-desktop-20260522 */
@media (min-width: 901px) {
  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-add {
    min-height: 33px;
    border: 0;
    background: transparent;
    font-weight: 500;
    gap: 0.5em;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-add-plus {
    display: inline-block;
    font-size: 1.4em;
    line-height: 1;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-add:hover,
  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-add:focus-visible,
  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-add.is-file-over {
    color: rgba(255, 255, 255, 0.84);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-text .kanban-quick-add {
    color: var(--kanban-column-text);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-text .kanban-quick-add:hover,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-text .kanban-quick-add:focus-visible,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-text .kanban-quick-add.is-file-over {
    color: color-mix(in srgb, var(--kanban-column-text) 72%, #ffffff);
  }
}

/* codex-kanban-board-design-system-222-333-desktop-20260522 */
@media (min-width: 901px) {
  body:has(#kanbanView:not(.is-hidden)) .app-shell {
    border-color: rgba(255, 255, 255, 0.12);
    background: #222;
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.48);
  }

  body:has(#kanbanView:not(.is-hidden)) .app-main,
  body:has(#kanbanView:not(.is-hidden)) .kanban-view {
    background: #222;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar {
    border-bottom-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 46px rgba(79, 39, 186, 0.28);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-board {
    gap: 14px;
  }

  body:has(#kanbanView:not(.is-hidden)) .panel.kanban-column {
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: #333;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  }

  body:has(#kanbanView:not(.is-hidden)) .panel.kanban-column.has-custom-background {
    background: var(--kanban-column-bg);
    border-color: rgba(255, 255, 255, 0.12);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column.is-over {
    border-color: rgba(117, 66, 217, 0.74);
    box-shadow: 0 26px 76px rgba(117, 66, 217, 0.24);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column:not(.has-custom-text) .kanban-column-head h3,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column:not(.has-custom-text) .kanban-column-title-button {
    color: rgba(255, 255, 255, 0.92);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column:not(.has-custom-text) .kanban-column-title-button:hover,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column:not(.has-custom-text) .kanban-column-title-button:focus-visible {
    color: var(--purple-soft);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column:not(.has-custom-text) .kanban-column-head strong {
    color: rgba(255, 255, 255, 0.62);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column:not(.has-custom-card-background) .kanban-card {
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: #222;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-card-background .kanban-card {
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-card-background:not(.has-custom-card-text) .kanban-card-head strong,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-card-background:not(.has-custom-card-text) .kanban-card-details.is-primary {
    color: #090811;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-card-background:not(.has-custom-card-text) .kanban-card-details,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-card-background:not(.has-custom-card-text) .kanban-card-column-text {
    color: rgba(9, 8, 17, 0.68);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column .kanban-card.has-custom-card-background {
    background: var(--kanban-card-bg);
    border-color: rgba(255, 255, 255, 0.12);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column .kanban-card.has-custom-card-background:not(.has-custom-card-text) .kanban-card-head strong,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column .kanban-card.has-custom-card-background:not(.has-custom-card-text) .kanban-card-details.is-primary {
    color: #090811;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column .kanban-card.has-custom-card-background:not(.has-custom-card-text) .kanban-card-details,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column .kanban-card.has-custom-card-background:not(.has-custom-card-text) .kanban-card-column-text {
    color: rgba(9, 8, 17, 0.68);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card {
    isolation: isolate;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0);
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
    pointer-events: none;
    transition:
      background-color 0.16s ease,
      box-shadow 0.16s ease;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card > * {
    position: relative;
    z-index: 1;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card > .kanban-card-action {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card > .kanban-card-action-menu {
    position: absolute;
    z-index: 80;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card > .kanban-card-action-menu.is-member-menu {
    top: calc(100% - 40px);
    right: auto;
    bottom: auto;
    left: calc(100% + 8px);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card:hover,
  body:has(#kanbanView:not(.is-hidden)) .kanban-card:focus-visible,
  body:has(#kanbanView:not(.is-hidden)) .kanban-card.is-keyboard-active {
    outline: none;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card:hover::before,
  body:has(#kanbanView:not(.is-hidden)) .kanban-card:focus-visible::before,
  body:has(#kanbanView:not(.is-hidden)) .kanban-card.is-keyboard-active::before {
    background: rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 0 0 1px var(--kanban-column-text, var(--kanban-card-text, rgba(255, 255, 255, 0.88)));
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-card-hover-background .kanban-card:hover::before,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-card-hover-background .kanban-card:focus-visible::before,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-card-hover-background .kanban-card.is-keyboard-active::before {
    background: var(--kanban-card-hover-bg);
  }

  body:has(#kanbanView:not(.is-hidden)) #kanbanBoard.is-keyboard-navigating .kanban-card:hover:not(.is-keyboard-active)::before {
    background: rgba(255, 255, 255, 0);
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card.has-member {
    padding-bottom: 44px;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card-member-list {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    max-width: calc(100% - 20px);
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    pointer-events: auto;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card-member-list .kanban-card-member-avatar {
    position: static;
    display: inline-flex;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(117, 66, 217, 0.96), rgba(88, 48, 176, 0.96));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(8, 7, 16, 0.22);
    cursor: pointer;
    pointer-events: auto;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card-member-list .kanban-card-member-avatar:hover,
  body:has(#kanbanView:not(.is-hidden)) .kanban-card-member-list .kanban-card-member-avatar:focus-visible,
  body:has(#kanbanView:not(.is-hidden)) .kanban-card-member-list .kanban-card-member-avatar[aria-expanded="true"] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(117, 66, 217, 0.28), 0 8px 18px rgba(8, 7, 16, 0.22);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card-member-list .kanban-card-member-avatar + .kanban-card-member-avatar {
    margin-left: -7px;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card-member-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column:not(.has-custom-card-text) .kanban-card-head strong,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column:not(.has-custom-card-text) .kanban-card-details.is-primary {
    color: rgba(255, 255, 255, 0.92);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column:not(.has-custom-card-text) .kanban-card-details,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column:not(.has-custom-card-text) .kanban-card-column-text {
    color: rgba(255, 255, 255, 0.62);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column .kanban-card.has-custom-card-text .kanban-card-head strong,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column .kanban-card.has-custom-card-text .kanban-card-details,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column .kanban-card.has-custom-card-text .kanban-card-details.is-primary,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column .kanban-card.has-custom-card-text .kanban-card-column-text {
    color: var(--kanban-card-text);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card.has-image .kanban-card-image {
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px 16px 0 0;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card-action {
    background: #090811;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card-action:focus-visible {
    box-shadow: 0 0 0 3px rgba(117, 66, 217, 0.34), 0 10px 22px rgba(0, 0, 0, 0.26);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column-action {
    color: rgba(255, 255, 255, 0.72);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column-action:hover,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column-action:focus-visible,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column-action[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(117, 66, 217, 0.18);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card-action-menu,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column-action-menu {
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(34, 34, 34, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-card-title-form input,
  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-form textarea {
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: #222;
    color: #fff;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.54);
    font-weight: 400;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-form textarea:focus {
    border-color: rgba(117, 66, 217, 0.58);
    box-shadow: 0 0 0 3px rgba(117, 66, 217, 0.16);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-add {
    color: rgba(255, 255, 255, 0.58);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-add:hover,
  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-add:focus-visible,
  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-add.is-file-over {
    color: rgba(255, 255, 255, 0.84);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column-body {
    padding-bottom: 62px;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-text .kanban-quick-add {
    color: var(--kanban-column-text);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-text .kanban-quick-add:hover,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-text .kanban-quick-add:focus-visible,
  body:has(#kanbanView:not(.is-hidden)) .kanban-column.has-custom-text .kanban-quick-add.is-file-over {
    color: color-mix(in srgb, var(--kanban-column-text) 72%, #ffffff);
  }
}

/* codex-kanban-quick-image-description-bottom-desktop-20260523 */
@media (min-width: 901px) {
  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-form:has(.kanban-quick-attachment) {
    gap: 0;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-form:has(.kanban-quick-attachment):focus-within {
    border-radius: 16px;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--kanban-card-bg, #222) 28%, transparent);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-form:has(.kanban-quick-attachment) .kanban-quick-attachment {
    order: 1;
    border-color: var(--kanban-card-bg, #222);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    background: #222;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-form:has(.kanban-quick-attachment) .kanban-quick-attachment img {
    max-height: 220px;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-form:has(.kanban-quick-attachment) textarea {
    order: 2;
    min-height: 76px;
    border-color: var(--kanban-card-bg, #222);
    border-top-color: var(--kanban-card-bg, #222);
    border-radius: 0 0 16px 16px;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-form:has(.kanban-quick-attachment) .kanban-quick-voice-row {
    order: 3;
    padding-top: 6px;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-form:has(.kanban-quick-attachment) textarea:focus {
    box-shadow: none;
  }
}

/* codex-kanban-quick-add-placeholder-polish-desktop-20260523 */
@media (min-width: 901px) {
  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-form textarea {
    border-color: var(--kanban-card-bg, #222);
    border-radius: 16px;
    font-weight: 400;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-form textarea:focus {
    border-color: var(--kanban-card-bg, #222);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--kanban-card-bg, #222) 28%, transparent);
  }
}

/* codex-kanban-quick-add-voice-input-desktop-20260523 */
@media (min-width: 901px) {
  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-voice-row {
    min-height: 0;
    align-items: center;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column:has([data-kanban-quick-form]) {
    min-height: 0;
    padding-bottom: 15px;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column:has([data-kanban-quick-form]) .kanban-column-body {
    min-height: 0;
    padding-bottom: 0;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-voice {
    background: #090811;
    color: #fff;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-voice:hover,
  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-voice:focus-visible,
  body:has(#kanbanView:not(.is-hidden)) .kanban-quick-voice.is-listening {
    background: var(--purple);
  }
}

/* codex-kanban-column-bottom-gap-shorter-desktop-20260523 */
@media (min-width: 901px) {
  body:has(#kanbanView:not(.is-hidden)) .panel.kanban-column {
    min-height: auto;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-column-body {
    min-height: auto;
    padding-bottom: 0;
  }
}

/* codex-kanban-column-filter-modal-20260523 */
@media (min-width: 901px) {
  body:has(#kanbanView:not(.is-hidden)) .kanban-board {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(300px, 15.4vw, 318px);
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
    padding-bottom: 10px;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-board:has(.kanban-card.has-action-menu) {
    overflow: visible;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-board::-webkit-scrollbar {
    height: 6px;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-board::-webkit-scrollbar-track {
    background: transparent;
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-board::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
  }

  body:has(#kanbanView:not(.is-hidden)) .kanban-board::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.42);
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-kanban-add-column-button,
  body:has(#kanbanView:not(.is-hidden)) .topbar-column-filter-button {
    display: inline-flex;
    width: 56px;
    min-width: 56px;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-kanban-add-column-button {
    margin-right: 4px;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-column-filter-button {
    margin-right: 2px;
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-kanban-add-column-button:hover,
  body:has(#kanbanView:not(.is-hidden)) .topbar-kanban-add-column-button:focus-visible,
  body:has(#kanbanView:not(.is-hidden)) .topbar-column-filter-button:hover,
  body:has(#kanbanView:not(.is-hidden)) .topbar-column-filter-button:focus-visible,
  body:has(#kanbanView:not(.is-hidden)) .topbar-column-filter-button.is-active {
    color: var(--green);
  }

  body:has(#kanbanView:not(.is-hidden)) .topbar-kanban-add-column-button:focus-visible,
  body:has(#kanbanView:not(.is-hidden)) .topbar-column-filter-button:focus-visible {
    outline: 2px solid rgba(184, 250, 24, 0.7);
    outline-offset: 2px;
  }

  .topbar-kanban-add-column-button svg,
  .topbar-column-filter-button svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .kanban-column-filter-modal {
    width: min(520px, calc(100vw - 96px));
    height: auto;
    max-height: calc(100vh - 128px);
    grid-template-rows: auto minmax(0, 1fr);
    background: #222;
  }

  .kanban-column-filter-modal-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .kanban-column-filter-modal-head h2 {
    margin: 0;
  }

  .kanban-column-filter-modal-body {
    overflow: auto;
    padding: 18px;
  }

  .kanban-column-filter-list {
    display: grid;
    gap: 10px;
  }

  .kanban-column-filter-row {
    display: flex;
    min-height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: #333;
    color: #fff;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 16px 0 20px;
  }

  .kanban-column-filter-name {
    min-width: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .kanban-column-filter-switch {
    position: relative;
    display: inline-flex;
    width: 74px;
    height: 40px;
    flex: 0 0 auto;
  }

  .kanban-column-filter-switch input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }

  .kanban-column-filter-switch-track {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: #444;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
    transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
  }

  .kanban-column-filter-switch-thumb {
    position: absolute;
    top: 4px;
    left: 4px;
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f7f7f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    transition: transform 0.18s ease;
  }

  .kanban-column-filter-switch input:checked + .kanban-column-filter-switch-track {
    border-color: rgba(117, 66, 217, 0.86);
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  }

  .kanban-column-filter-switch input:checked + .kanban-column-filter-switch-track .kanban-column-filter-switch-thumb {
    transform: translateX(34px);
  }

  .kanban-column-filter-switch input:focus-visible + .kanban-column-filter-switch-track {
    outline: 2px solid rgba(184, 250, 24, 0.7);
    outline-offset: 3px;
  }

  .kanban-column-filter-switch input:disabled {
    cursor: not-allowed;
  }

  .kanban-column-filter-switch input:disabled + .kanban-column-filter-switch-track {
    opacity: 0.62;
  }
}

@media (max-width: 900px) {
  body {
    padding: 0;
  }

  .app-shell {
    min-height: 100vh;
    border-radius: 0;
  }

  .topbar,
  .editor-header,
  .bulk-bar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .topbar,
  .editor-area,
  .product-sidebar,
  .catalog-view,
  .dashboard-view,
  .kanban-view {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar {
    padding-top: 16px;
  }

  .catalog-layout,
  .settings-layout,
  .catalog-filters,
  .kanban-control-panel,
  .kanban-create-form,
  .kanban-summary,
  .kanban-board {
    grid-template-columns: 1fr;
  }

  .kanban-title-block h2 {
    font-size: 26px;
  }

  .kanban-column {
    min-height: 0;
  }

  .kanban-column-body {
    min-height: 120px;
  }

  .settings-view.settings-view-has-category-menu .settings-layout {
    grid-template-columns: 1fr;
  }

  .topbar-actions {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    margin-right: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    column-gap: 12px;
    row-gap: 0;
    width: 100%;
    align-items: stretch;
  }

  .topbar-actions .topbar-action-button {
    border-radius: 0;
    width: 100%;
  }

  .topbar-actions .topbar-action-button + .topbar-action-button {
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.16);
  }

  .topbar-settings {
    grid-column: 2;
    justify-self: end;
    margin-left: 0;
    min-height: 56px;
    width: 44px;
  }

  .topbar-settings-button {
    width: 44px;
    height: 100%;
  }

  .settings-menu {
    width: min(270px, calc(100vw - 32px));
    min-width: 0;
  }

  .logo-menu {
    top: calc(100% + 10px);
    left: 0;
    width: min(270px, calc(100vw - 32px));
  }

  .category-menu {
    position: static;
  }

  .category-menu-list {
    grid-template-columns: 1fr;
    max-height: 360px;
  }

  .accounting-heading h2 {
    font-size: 27px;
  }

  .bulk-actions {
    align-items: stretch;
    display: grid;
  }

  .field-grid,
  .field-grid.compact {
    grid-template-columns: 1fr;
  }

  .variant-summary-panel .panel-title,
  .spec-details-panel .panel-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .spec-gpt-button {
    width: fit-content;
  }

  .field-label-row {
    align-items: stretch;
    flex-direction: column;
  }

  .field-action-button {
    width: 100%;
  }

  .variant-panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .variant-row {
    grid-template-columns: minmax(42px, 0.35fr) minmax(0, 1fr);
  }

  .variant-row-head {
    display: none;
  }

  .variant-row-head + .variant-row {
    border-top: 0;
    padding-top: 8px;
  }

  .variant-row .variant-barcode,
  .variant-row em,
  .variant-row b {
    grid-column: 2;
  }

  .variant-row .variant-warehouse-stock {
    grid-column: 2;
  }

  .variant-row .variant-warehouse-stock.is-empty {
    display: none;
  }

  .variant-row .variant-warehouse-stock::before {
    content: attr(data-label) " ";
    color: var(--muted);
    font-weight: 600;
  }

  .wide {
    grid-column: auto;
  }
}

/* codex-dsdistribution-filter-main-level-desktop-20260530 */
@media (min-width: 1241px) {
  body:has(#catalogView:not(.is-hidden)) .catalog-layout {
    margin-top: 0;
  }

  body:has(#catalogView:not(.is-hidden)) .catalog-panel {
    margin-top: 0;
  }
}

/* codex-catalog-panel-flat-container-20260526 */
@media (min-width: 901px) {
  body:has(#catalogView:not(.is-hidden)) .catalog-panel {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
  }
}

/* codex-shared-catalog-editor-topbar-20260526 */
@media (min-width: 901px) {
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar {
    border-bottom-color: rgba(9, 8, 17, 0.12);
    background: #fff;
    box-shadow: 0 14px 34px rgba(9, 8, 17, 0.08);
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-logo-wordmark {
    color: #090811;
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-catalog-button {
    color: #090811;
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-catalog-button:hover,
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-catalog-button:focus-visible {
    color: #090811;
    opacity: 0.72;
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-catalog-button:focus-visible {
    outline: 2px solid rgba(9, 8, 17, 0.42);
    outline-offset: 2px;
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-search input {
    border-color: #eeeeee;
  }

}

/* codex-content-blocks-white-20260526 */
@media (min-width: 901px) {
  body:has(#catalogView:not(.is-hidden)) .category-menu {
    background: #fff;
  }

  body:has(#catalogView:not(.is-hidden)) .catalog-table tbody tr {
    background: #fff;
  }

  body:has(#editorView:not(.is-hidden)) .panel:not(.validation-panel) {
    background: #fff;
  }
}

/* codex-content-underlay-eee-20260526 */
@media (min-width: 901px) {
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .app-main {
    background: #eee;
  }

  body:has(#catalogView:not(.is-hidden)) .catalog-table-wrap,
  body:has(#catalogView:not(.is-hidden)) .catalog-table,
  body:has(#catalogView:not(.is-hidden)) .catalog-table tbody,
  body:has(#catalogView:not(.is-hidden)) .catalog-table tbody tr {
    background: #f9f9f9;
  }

}

/* codex-product-validation-purple-20260526 */
@media (min-width: 901px) {
  body:has(#editorView:not(.is-hidden)) .validation-panel {
    border-color: rgba(255, 255, 255, 0.2);
    background:
      linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%),
      var(--purple);
    color: #fff;
    box-shadow: 0 22px 54px rgba(65, 32, 151, 0.32);
  }
}

/* codex-contentds-no-shadows-20260526 */
@media (min-width: 901px) {
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .app-main,
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .app-main *,
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar,
body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar * {
    box-shadow: none !important;
  }
}

/* codex-dsdistribution-orange-topbar-dsd-20260528 */
.topbar,
body:has(#kanbanView:not(.is-hidden)) .topbar,
body:has(#mailView:not(.is-hidden)) .topbar,
body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar,
body:has(#settingsMenu:not([hidden])) .topbar,
body:has(#kanbanView:not(.is-hidden)):has(#settingsMenu:not([hidden])) .topbar {
  border-bottom-color: rgba(255, 255, 255, 0.22);
  background: #ff5a00;
  box-shadow: 0 14px 34px rgba(255, 90, 0, 0.18);
}

.topbar-logo.topbar-logo--image {
  min-height: 56px;
  border-radius: 0;
  background: transparent;
  color: #fff;
  padding: 0;
}

.topbar-logo.topbar-logo--image .topbar-logo-wordmark {
  color: #fff;
  font-size: 34px;
  font-weight: 850;
  line-height: 1;
}

@media (min-width: 901px) {
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-logo-wordmark,
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-catalog-button,
  body:has(#kanbanView:not(.is-hidden)) .topbar-brand.is-kanban-logo-mode .topbar-logo--text,
  body:has(#mailView:not(.is-hidden)) .topbar-logo-wordmark {
    color: #fff;
  }

  .topbar-catalog-button svg rect {
    transition: fill 0.18s ease, stroke 0.18s ease;
  }

  .topbar-catalog-button:hover,
  .topbar-catalog-button:focus-visible,
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-catalog-button:hover,
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-catalog-button:focus-visible {
    color: #fff;
    opacity: 1;
  }

  .topbar-catalog-button:hover svg rect,
  .topbar-catalog-button:focus-visible svg rect {
    fill: #fff;
    stroke: #fff;
  }

  /* codex-dsdistribution-catalog-button-no-focus-ring-desktop-20260530 */
  .topbar-catalog-button:focus,
  .topbar-catalog-button:focus-visible,
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-catalog-button:focus,
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-catalog-button:focus-visible {
    outline: none;
  }
}

/* codex-dsdistribution-topbar-search-gear-polish-20260528 */
.topbar-search input,
body:has(#mailView:not(.is-hidden)) .topbar-search input,
body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-search input {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
  font-weight: 400;
  box-shadow: none;
}

.topbar-search input::placeholder,
body:has(#mailView:not(.is-hidden)) .topbar-search input::placeholder,
body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-search input::placeholder {
  color: #BBB;
  font-weight: 400;
  opacity: 1;
}

.topbar-settings-button,
body:has(#kanbanView:not(.is-hidden)) .topbar-settings-button,
body:has(#mailView:not(.is-hidden)) .topbar-settings-button,
body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-settings-button,
.topbar-icon-button,
body:has(#kanbanView:not(.is-hidden)) .topbar-icon-button,
body:has(#mailView:not(.is-hidden)) .topbar-icon-button,
body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-icon-button {
  color: #fff;
}

.topbar-settings-button:hover,
.topbar-settings-button:focus-visible,
.topbar-settings-button[aria-expanded="true"],
body:has(#kanbanView:not(.is-hidden)) .topbar-settings-button:hover,
body:has(#kanbanView:not(.is-hidden)) .topbar-settings-button:focus-visible,
body:has(#kanbanView:not(.is-hidden)) .topbar-settings-button[aria-expanded="true"],
body:has(#mailView:not(.is-hidden)) .topbar-settings-button:hover,
body:has(#mailView:not(.is-hidden)) .topbar-settings-button:focus-visible,
body:has(#mailView:not(.is-hidden)) .topbar-settings-button[aria-expanded="true"],
body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-settings-button:hover,
body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-settings-button:focus-visible,
body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-settings-button[aria-expanded="true"],
.topbar-icon-button:hover,
.topbar-icon-button:focus-visible,
body:has(#kanbanView:not(.is-hidden)) .topbar-icon-button:hover,
body:has(#kanbanView:not(.is-hidden)) .topbar-icon-button:focus-visible,
body:has(#mailView:not(.is-hidden)) .topbar-icon-button:hover,
body:has(#mailView:not(.is-hidden)) .topbar-icon-button:focus-visible,
body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-icon-button:hover,
body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-icon-button:focus-visible {
  color: rgba(255, 255, 255, 0.78);
}

.topbar-settings-button svg {
  width: 25.3px;
  height: 25.3px;
}

/* codex-dsdistribution-topbar-auth-avatar-desktop-20260531 */
@media (min-width: 901px) {
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-login-button {
    display: inline-flex;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    transition: color 0.18s ease, opacity 0.18s ease;
    white-space: nowrap;
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-login-button:hover,
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-login-button:focus-visible {
    color: rgba(255, 255, 255, 0.78);
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-login-button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-login-button.is-authenticated {
    width: 56px;
    padding: 0 7px;
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-user-avatar {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 17px;
    font-weight: 760;
    line-height: 1;
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-user-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* codex-dsdistribution-search-icon-orange-20260528 */
.topbar-search-icon,
body:has(#mailView:not(.is-hidden)) .topbar-search-icon,
body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar-search-icon {
  background: #ff5a00;
}

/* codex-dsdistribution-sticky-topbar-clean-desktop-20260530 */
@media (min-width: 901px) {
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) {
    --dsd-sticky-topbar-offset: 28px;
    --dsd-sticky-topbar-height: 95px;
    --dsd-sticky-topbar-gap: 12px;
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden))::before {
    content: "";
    position: fixed;
    z-index: 79;
    top: 0;
    right: 0;
    left: 0;
    height: calc(var(--dsd-sticky-topbar-offset) + var(--dsd-sticky-topbar-height));
    background: #191722;
    pointer-events: none;
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .app-shell {
    overflow: visible;
    background: #191722;
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar {
    position: sticky;
    top: var(--dsd-sticky-topbar-offset);
    z-index: 80;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
    background: #ff5a00;
    backdrop-filter: none;
  }

  body:has(:is(#catalogView, #editorView):not(.is-hidden)) .topbar::before {
    content: none;
    display: none;
  }

  body:has(#catalogView:not(.is-hidden)) .catalog-category-menu {
    top: calc(var(--dsd-sticky-topbar-offset) + var(--dsd-sticky-topbar-height) + var(--dsd-sticky-topbar-gap));
    max-height: calc(100vh - var(--dsd-sticky-topbar-offset) - var(--dsd-sticky-topbar-height) - var(--dsd-sticky-topbar-gap) - 20px);
  }
}

/* codex-dsdistribution-sticky-catalog-table-head-desktop-20260530 */
/* codex-dsdistribution-sticky-table-head-flush-desktop-20260530 */
@media (min-width: 901px) {
  body:has(#catalogView:not(.is-hidden)) {
    --dsd-catalog-table-head-top: calc(
      var(--dsd-sticky-topbar-offset, 28px)
      + var(--dsd-sticky-topbar-height, 95px)
    );
  }

  .catalog-table-sticky-head {
    position: fixed;
    z-index: 72;
    top: var(--dsd-catalog-table-head-top);
    left: var(--dsd-catalog-table-head-left, 0);
    width: var(--dsd-catalog-table-head-width, 0);
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity 0.12s ease;
  }

  .catalog-table-sticky-head.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .catalog-table-sticky-head .catalog-table {
    width: var(--dsd-catalog-table-width, 100%);
    min-width: var(--dsd-catalog-table-width, 100%);
    transform: translateX(calc(var(--dsd-catalog-table-scroll-x, 0px) * -1));
  }

  .catalog-table-sticky-head .catalog-table th {
    position: static;
    background: #fff;
    box-shadow:
      inset 0 -1px 0 #f1f1f1,
      0 10px 18px rgba(238, 238, 238, 0.94);
  }

  .catalog-table-sticky-head :is(button, input, select, textarea, a) {
    pointer-events: none;
  }
}

@media (max-width: 1740px) and (min-width: 901px) {
  body:has(:is(#catalogView, #editorView):not(.is-hidden)) {
    --dsd-sticky-topbar-height: 167px;
  }
}

/* codex-dsdistribution-remove-shell-frame-desktop-20260529 */
@media (min-width: 901px) {
  .app-shell {
    border: 0;
  }
}

/* codex-dsdistribution-catalog-cart-column-20260529 */
.topbar-cart-button {
  position: relative;
}

.topbar-cart-count {
  position: absolute;
  top: 8px;
  right: 1px;
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #ff5a00;
  font-size: 11px;
  font-weight: 850;
  line-height: 18px;
  pointer-events: none;
}

.topbar-cart-count[hidden] {
  display: none;
}

.topbar-cart-button.is-cart-updated svg {
  animation: topbar-cart-bump 0.34s ease;
  transform-origin: center;
}

.catalog-table {
  min-width: 1000px;
}

.catalog-cart-head,
.catalog-cart-cell {
  width: 72px;
  min-width: 72px;
  text-align: center !important;
}

.catalog-cart-head svg {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.catalog-add-cart-button {
  display: inline-flex;
  position: relative;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(#444, #444) center / 3px 19px no-repeat, linear-gradient(#444, #444) center / 19px 3px no-repeat, #f9f9f9;
  color: #111;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  transition: opacity 0.16s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

body:has(#catalogView:not(.is-hidden)) .catalog-add-cart-button {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

.catalog-add-cart-button:hover,
.catalog-add-cart-button:focus-visible {
  background: linear-gradient(#444, #444) center / 3px 19px no-repeat, linear-gradient(#444, #444) center / 19px 3px no-repeat, #f9f9f9;
  transform: scale(1.04);
}

.catalog-add-cart-button:focus-visible {
  outline: 2px solid rgba(117, 66, 217, 0.34);
  outline-offset: 2px;
}

.catalog-add-cart-button.is-added {
  animation: catalog-add-cart-bump 0.34s ease;
}

.variant-cart-head,
.variant-cart-cell {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.variant-cart-head svg {
  display: block;
  width: 25.3px;
  height: 25.3px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.variant-add-cart-button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(#fff, #fff) center / 2px 15px no-repeat, linear-gradient(#fff, #fff) center / 15px 2px no-repeat, #ff5a00;
  box-shadow: 0 6px 14px rgba(255, 90, 0, 0.26);
}

.variant-add-cart-button:hover,
.variant-add-cart-button:focus-visible {
  background: linear-gradient(#fff, #fff) center / 2px 15px no-repeat, linear-gradient(#fff, #fff) center / 15px 2px no-repeat, #ff5a00;
  box-shadow: 0 8px 18px rgba(255, 90, 0, 0.32);
}

/* codex-dsdistribution-catalog-plus-222-desktop-20260530 */
@media (min-width: 901px) {
  /* codex-dsdistribution-catalog-plus-size-match-desktop-20260530 */
  .catalog-add-cart-button {
    width: 34px;
    height: 34px;
    background: linear-gradient(#fff, #fff) center / 2px 15px no-repeat, linear-gradient(#fff, #fff) center / 15px 2px no-repeat, #222;
    box-shadow: 0 6px 14px rgba(34, 34, 34, 0.22) !important;
  }

  body:has(#catalogView:not(.is-hidden)) .catalog-add-cart-button {
    box-shadow: 0 6px 14px rgba(34, 34, 34, 0.22) !important;
  }

  .catalog-add-cart-button:hover,
  .catalog-add-cart-button:focus-visible {
    background: linear-gradient(#fff, #fff) center / 2px 15px no-repeat, linear-gradient(#fff, #fff) center / 15px 2px no-repeat, #222;
    box-shadow: 0 8px 18px rgba(34, 34, 34, 0.28) !important;
  }
}

/* codex-dsdistribution-catalog-row-counter-mobile-ref-desktop-20260531 */
.catalog-cart-head,
.catalog-cart-cell {
  width: 100px;
  min-width: 100px;
}

.catalog-cart-control {
  position: relative;
  display: inline-flex;
  width: 100px;
  height: 42px;
  align-items: center;
  justify-content: flex-end;
  vertical-align: middle;
}

.catalog-cart-control .catalog-add-cart-button {
  position: absolute;
  top: 4px;
  right: 0;
  z-index: 4;
}

.catalog-add-cart-button.ds-catalog-qty-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.94);
}

.catalog-cart-control .ds-catalog-qty-stepper {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  display: grid;
  width: 100px;
  height: 42px;
  grid-template-columns: 32px 36px 32px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px) scaleX(0.42);
  transform-origin: right center;
  transition: transform 0.24s cubic-bezier(0.2, 0.82, 0.2, 1), opacity 0.14s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.catalog-cart-control .ds-catalog-qty-stepper.is-active {
  opacity: 1;
  pointer-events: auto;
}

.catalog-cart-control .ds-catalog-qty-stepper.is-expanded {
  transform: translateX(0) scaleX(1);
}

.catalog-cart-control .ds-catalog-qty-stepper.is-active.is-loading {
  opacity: 0.72;
}

.catalog-cart-control .ds-catalog-qty-stepper.is-exiting {
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.catalog-cart-control .ds-catalog-qty-stepper__button {
  display: flex;
  width: 32px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #111;
  font: 500 24px/1 Arial, sans-serif;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.1s ease 0.08s;
}

.catalog-cart-control .ds-catalog-qty-stepper.is-expanded .ds-catalog-qty-stepper__button {
  opacity: 1;
}

.catalog-cart-control .ds-catalog-qty-stepper.is-exiting .ds-catalog-qty-stepper__button {
  opacity: 0;
  transition-delay: 0s;
}

.catalog-cart-control .ds-catalog-qty-stepper__minus {
  padding-bottom: 2px;
}

.catalog-cart-control .ds-catalog-qty-stepper__plus {
  font-size: 26px;
  font-weight: 400;
}

.catalog-cart-control .ds-catalog-qty-stepper__value {
  display: flex;
  min-width: 36px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #000;
  font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 17.64px;
  text-align: center;
}

@keyframes catalog-add-cart-bump {
  0% {
    transform: scale(1);
  }
  46% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes topbar-cart-bump {
  0% {
    transform: scale(1);
  }
  46% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

/* codex-dsdistribution-cart-modal-dark-footer-desktop-20260603 */
.cart-modal-backdrop[hidden] {
  display: none;
}

body.cart-modal-open {
  overflow: hidden;
}

@media (min-width: 901px) {
  .cart-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 8, 10, 0.72);
    padding: 24px;
  }

  .cart-modal-card {
    display: grid;
    width: min(91vw, calc(100vw - 96px));
    height: min(91vh, calc(100vh - 96px));
    max-height: calc(100vh - 96px);
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    background: #222;
    color: #fff;
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.34);
  }

  .cart-modal-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #222;
    padding: 20px 24px 18px 44px;
  }

  .cart-modal-title-wrap {
    display: grid;
    min-width: 0;
    gap: 6px;
  }

  .cart-modal-title-wrap p {
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 11px;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .cart-modal-title {
    min-width: 0;
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.18;
    text-align: left;
  }

  .cart-modal-clear {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
  }

  .cart-modal-clear:hover,
  .cart-modal-clear:focus-visible {
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
  }

  .cart-modal-close {
    position: relative;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0;
    font-size: 0;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .cart-modal-close::before,
  .cart-modal-close::after {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
  }

  .cart-modal-close::before {
    transform: rotate(45deg);
  }

  .cart-modal-close::after {
    transform: rotate(-45deg);
  }

  .cart-modal-close:hover,
  .cart-modal-close:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    outline: none;
  }

  .cart-modal-body {
    display: grid;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 20px;
    overflow: hidden;
    background: #222;
    padding: 28px 44px 28px;
  }

  .cart-modal-section {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .cart-modal-list,
  .cart-modal-empty {
    grid-area: 1 / 1;
  }

  .cart-modal-list {
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 0;
    overflow: auto;
    padding-right: 4px;
    scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.06);
    scrollbar-width: thin;
  }

  .cart-modal-item {
    display: grid;
    grid-template-columns: 68px minmax(260px, 1fr) minmax(132px, auto) 132px 40px;
    align-items: center;
    gap: 16px;
    min-width: 0;
    min-height: 100px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 14px 16px;
  }

  .cart-modal-item-photo {
    display: flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: rgba(9, 8, 17, 0.55);
    font-size: 13px;
    font-weight: 850;
  }

  .cart-modal-item-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .cart-modal-item-main {
    display: grid;
    min-width: 0;
    gap: 6px;
  }

  .cart-modal-item-main h3 {
    min-width: 0;
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 760;
    line-height: 1.28;
    overflow-wrap: anywhere;
  }

  .cart-modal-item-meta {
    min-width: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: pre-wrap;
  }

  .cart-modal-item-price {
    display: grid;
    min-width: 0;
    justify-items: end;
    color: #fff;
    font-size: 15px;
    font-weight: 760;
    line-height: 1.3;
  }

  .cart-modal-item-price strong {
    color: #fff;
    font-size: 15px;
    font-weight: 760;
    white-space: nowrap;
  }

  .cart-modal-quantity {
    display: grid;
    width: 132px;
    grid-template-columns: 38px minmax(36px, 1fr) 38px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
  }

  .cart-modal-quantity button {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 760;
    line-height: 1;
    transition: background 0.16s ease;
  }

  .cart-modal-quantity button:hover,
  .cart-modal-quantity button:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
  }

  .cart-modal-quantity span {
    min-width: 36px;
    color: #fff;
    font-size: 14px;
    font-weight: 760;
    text-align: center;
  }

  .cart-modal-remove {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.52);
    padding: 0;
    transition: background 0.16s ease, color 0.16s ease;
  }

  .cart-modal-remove svg {
    display: block;
    width: 20px;
    height: 20px;
  }

  .cart-modal-remove:hover,
  .cart-modal-remove:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
  }

  .cart-modal-empty {
    display: grid;
    min-height: 240px;
    place-items: center;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.58);
    font-size: 15px;
    font-weight: 650;
  }

  .cart-modal-empty[hidden] {
    display: none;
  }

  .cart-modal-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 20px;
    align-items: center;
    min-width: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 22px;
  }

  .cart-modal-summary-card {
    display: grid;
    min-width: 0;
    gap: 8px;
  }

  .cart-modal-summary-card span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
  }

  .cart-modal-summary-card strong {
    color: #fff;
    font-size: 32px;
    font-weight: 780;
    line-height: 1;
    white-space: nowrap;
  }

  .cart-modal-submit {
    display: inline-flex;
    min-width: 220px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(110, 67, 210, 0.92);
    border-radius: 8px;
    background: rgba(110, 67, 210, 0.9);
    color: #fff;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 780;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  }

  .cart-modal-submit:hover,
  .cart-modal-submit:focus-visible {
    border-color: rgba(126, 76, 232, 0.98);
    background: rgba(126, 76, 232, 0.98);
    outline: none;
  }

  .cart-modal-submit:active {
    transform: translateY(1px);
  }

  .cart-modal-submit:disabled {
    cursor: default;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.42);
    transform: none;
  }

  .cart-modal-status {
    min-height: 18px;
    grid-column: 1 / -1;
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
  }

  .cart-modal-status.is-success {
    color: #bcf36f;
  }

  .cart-modal-status.is-error {
    color: #ff9d8f;
  }
}

/* codex-dsdistribution-cart-size-modal-admin-dark-desktop-20260531 */
.cart-size-modal[hidden] {
  display: none;
}

.cart-size-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(9, 8, 17, 0.48);
  padding: 32px;
}

body.cart-size-modal-open {
  overflow: hidden;
}

.cart-size-modal-card {
  position: relative;
  width: min(760px, calc(100vw - 64px));
  max-height: calc(100vh - 64px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #222;
  color: #fff;
  box-shadow: 0 26px 72px rgba(9, 8, 17, 0.34);
}

.cart-size-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background:
    linear-gradient(#eee, #eee) center / 16px 2px no-repeat,
    linear-gradient(#eee, #eee) center / 2px 16px no-repeat,
    rgba(255, 255, 255, 0.08);
  transform: rotate(45deg);
}

.cart-size-modal-close:hover,
.cart-size-modal-close:focus-visible {
  background:
    linear-gradient(#fff, #fff) center / 16px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 16px no-repeat,
    rgba(255, 255, 255, 0.14);
}

.cart-size-modal-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.22);
  outline-offset: 2px;
}

.cart-size-modal-head {
  padding: 34px 64px 22px 34px;
}

.cart-size-modal-head p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cart-size-modal-head h2 {
  max-width: 600px;
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.16;
}

.cart-size-modal-meta {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.cart-size-modal-table {
  overflow: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 20px 14px;
  scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.cart-size-row {
  display: grid;
  width: 100%;
  grid-template-columns: 80px 128px 126px 118px 100px;
  gap: 14px;
  align-items: center;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  padding: 0 14px;
  text-align: left;
}

.cart-size-row-head {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 44px;
  border-radius: 0;
  background: #222;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

button.cart-size-row {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

button.cart-size-row + button.cart-size-row {
  margin-top: 4px;
}

button.cart-size-row:hover,
button.cart-size-row:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

button.cart-size-row.is-selected {
  border-color: rgba(255, 255, 255, 0.48);
  background: transparent;
}

button.cart-size-row.is-disabled {
  cursor: default;
  opacity: 0.42;
}

.cart-size-row strong {
  color: #fff;
  font-size: 17px;
  font-weight: 850;
}

.cart-size-row span {
  min-width: 0;
  color: rgba(255, 255, 255, 0.58);
  overflow-wrap: anywhere;
}

.cart-size-modal-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 34px 26px;
}

.cart-size-modal-selection {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.32;
}

.cart-size-modal-selection strong {
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.cart-size-modal-submit {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 850;
}

.cart-size-modal-submit:hover,
.cart-size-modal-submit:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.cart-size-modal-submit:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.22);
  outline-offset: 2px;
}

.cart-size-modal-submit:disabled {
  cursor: default;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.38);
}

/* codex-dsdistribution-catalog-ds-acf-filter-20260530 */
@media (min-width: 901px) {
  #catalogView .catalog-category-menu {
    grid-template-rows: auto;
    overflow: auto;
    scrollbar-color: #111111 rgba(0, 0, 0, 0.08);
    scrollbar-gutter: stable;
    scrollbar-width: thin;
  }

  #catalogView .catalog-filter-placement {
    min-width: 0;
    margin-top: 0;
  }

  #catalogView .dsd-catalog-filter,
  #catalogView .dsd-catalog-filter * {
    box-sizing: border-box;
  }

  #catalogView .dsd-catalog-filter {
    display: block;
    position: relative;
    width: 100%;
    overflow: visible;
    border: 0;
    background: #fff;
    color: #111;
    box-shadow: none !important;
    margin: 0;
    padding: 0;
  }

  #catalogView .dsd-catalog-filter .ds-acf__head,
  #catalogView .dsd-catalog-filter .ds-acf__close,
  #catalogView .dsd-catalog-filter .ds-acf__footer {
    display: none;
  }

  #catalogView .dsd-catalog-filter .ds-acf__content {
    position: relative;
  }

  #catalogView .dsd-catalog-filter .ds-acf-facet {
    position: relative;
    border-top: 1px solid #e2e2e2;
    padding: 0;
  }

  #catalogView .dsd-catalog-filter .ds-acf__content .ds-acf-facet:first-child,
  #catalogView .dsd-catalog-filter .ds-acf-facet:first-child {
    border-top: 0;
  }

  #catalogView .dsd-catalog-filter .ds-acf-facet + .ds-acf-facet {
    margin-top: 5px;
  }

  #catalogView .dsd-catalog-filter .ds-acf-facet__summary {
    position: relative;
    display: block;
    list-style: none;
    cursor: pointer;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    padding: 19px 18px 18px 0;
    text-transform: uppercase;
    -webkit-text-fill-color: #111;
  }

  #catalogView .dsd-catalog-filter .ds-acf-facet__summary::-webkit-details-marker {
    display: none;
  }

  #catalogView .dsd-catalog-filter .ds-acf-facet__summary::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 0;
    height: 0;
    border-top: 5px solid #111;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: "";
    transform: translateY(-35%);
  }

  #catalogView .dsd-catalog-filter .ds-acf-facet[open] > .ds-acf-facet__summary::after {
    border-top: 0;
    border-bottom: 5px solid #111;
    transform: translateY(-50%);
  }

  #catalogView .dsd-catalog-filter .ds-acf-facet--price > .ds-acf-facet__summary {
    border-bottom: 0;
    padding-top: 0;
    padding-right: 18px;
    padding-bottom: 17px;
  }

  #catalogView .dsd-catalog-filter .ds-acf-facet--price[open] > .ds-acf-facet__summary {
    background-image: linear-gradient(#e2e2e2, #e2e2e2);
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 100% 1px;
  }

  #catalogView .dsd-catalog-filter .ds-acf-options {
    display: grid;
    gap: 11px;
    padding: 0 0 19px;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option {
    display: grid;
    grid-template-columns: 16px 1fr;
    align-items: center;
    gap: 11px;
    color: #111;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.25;
    -webkit-text-fill-color: #111;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option__box {
    display: block;
    width: 15.5px;
    height: 15.5px;
    border: 1px solid #000;
    border-radius: 0;
    background: #fff;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option input:checked + .ds-acf-option__box {
    border-color: #000;
    background: #000;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option input:focus-visible + .ds-acf-option__box {
    outline: 2px solid #111;
    outline-offset: 2px;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option__label {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option:not(:has(input:is([data-ds-acf-filter="razmer-velosiped"], [data-ds-acf-filter="razmer-drugie-tovary"]))):not(.ds-acf-option--swatch) .ds-acf-option__label {
    font-size: 15px;
    line-height: 1.25;
  }

  #catalogView .dsd-catalog-filter .ds-acf-options:has(input:is([data-ds-acf-filter="razmer-velosiped"], [data-ds-acf-filter="razmer-drugie-tovary"])) {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-right: 24px;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option:has(input:is([data-ds-acf-filter="razmer-velosiped"], [data-ds-acf-filter="razmer-drugie-tovary"])) {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 31px;
    height: 31px;
    margin: 0;
    gap: 0;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option:has(input:is([data-ds-acf-filter="razmer-velosiped"], [data-ds-acf-filter="razmer-drugie-tovary"])) .ds-acf-option__box {
    display: none;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option:has(input:is([data-ds-acf-filter="razmer-velosiped"], [data-ds-acf-filter="razmer-drugie-tovary"])) .ds-acf-option__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 31px;
    height: 31px;
    border: 1px solid #ccc;
    background: #fff;
    color: #555;
    padding: 0 4px;
    font-size: 13px;
    font-weight: 500;
    line-height: 31px;
    text-align: center;
    white-space: nowrap;
    -webkit-text-fill-color: #555;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option:has(input:is([data-ds-acf-filter="razmer-velosiped"], [data-ds-acf-filter="razmer-drugie-tovary"]):checked) .ds-acf-option__label {
    background: #000;
    color: #fff;
    -webkit-text-fill-color: #fff;
  }

  #catalogView .dsd-catalog-filter .ds-acf-facet--swatch .ds-acf-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option--swatch {
    display: inline-flex;
    flex: 0 0 31px;
    align-items: center;
    width: 31px;
    height: 31px;
    min-height: 31px;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option--swatch .ds-acf-option__label {
    display: none;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option__swatch {
    display: block;
    width: 31px;
    height: 31px;
    border: 1px solid #d2d2d2;
    background: var(--ds-acf-swatch, #d9d9d9);
  }

  #catalogView .dsd-catalog-filter .ds-acf-option--swatch input:checked + .ds-acf-option__swatch {
    border-color: #111;
    box-shadow: inset 0 0 0 3px #fff;
  }

  #catalogView .dsd-catalog-filter .ds-acf-option--swatch input:focus-visible + .ds-acf-option__swatch {
    outline: 2px solid #111;
    outline-offset: 2px;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price {
    padding: 24px 0 14px;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #20252b;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__values span {
    display: inline-flex;
    position: relative;
    align-items: center;
    min-height: 30px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.25;
    transition: color 0.14s ease, margin 0.14s ease;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__values span.is-active {
    z-index: 1;
    height: 30px;
    background: transparent;
    color: #fff;
    line-height: 30px;
    margin: -6px 0;
    padding: 0;
    -webkit-text-fill-color: #fff;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__values span.is-active::before {
    position: absolute;
    inset: 0 -10px;
    z-index: -1;
    background: #111;
    content: "";
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__slider {
    --ds-acf-price-active: var(--ds-acf-price-end);
    --ds-acf-price-thumb-size: 18px;
    position: relative;
    width: 100%;
    height: 42px;
    margin-top: 0;
    overflow: visible;
    touch-action: none;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__track {
    position: absolute;
    top: 16px;
    left: calc(var(--ds-acf-price-thumb-size) / 2);
    right: calc(var(--ds-acf-price-thumb-size) / 2);
    height: 2px;
    background: #d8d8d8;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__track::after {
    position: absolute;
    top: 0;
    right: calc(100% - var(--ds-acf-price-end));
    bottom: 0;
    left: var(--ds-acf-price-start);
    background: #111;
    content: "";
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__range {
    position: absolute;
    top: 6px;
    left: 0;
    width: 100%;
    height: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    outline: 0;
    box-shadow: none;
    color: transparent;
    pointer-events: none;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__range--min {
    z-index: 4;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__range--max {
    z-index: 5;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__range.is-active {
    z-index: 6;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__range::-webkit-slider-runnable-track {
    height: 2px;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    background: transparent;
    box-shadow: none;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__range::-moz-range-track {
    height: 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__range::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    background: #111;
    box-shadow: none;
    cursor: pointer;
    margin-top: -8px;
    pointer-events: auto;
    transition: box-shadow 0.16s ease, height 0.16s ease, margin-top 0.16s ease, width 0.16s ease;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 0;
    background: #111;
    box-shadow: none;
    cursor: pointer;
    pointer-events: auto;
    transition: box-shadow 0.16s ease, height 0.16s ease, width 0.16s ease;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__range.is-active::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(17, 17, 17, 0.08);
    margin-top: -9px;
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__range.is-active::-moz-range-thumb {
    width: 20px;
    height: 20px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(17, 17, 17, 0.08);
  }

  #catalogView .dsd-catalog-filter .ds-acf-price__bubble,
  #catalogView .dsd-catalog-filter .ds-acf-price__bubble[hidden] {
    display: none !important;
  }
}

@media (max-width: 900px) {
  #catalogView .catalog-filter-placement {
    display: none;
  }
}

/* codex-dsdistribution-dealer-card-modal-desktop-20260531 */
/* codex-dsdistribution-dealer-card-title-plain-desktop-20260531 */
/* codex-dsdistribution-dealer-card-title-align-desktop-20260531 */
body.dealer-card-modal-open,
body.site-exchange-filter-modal-open {
  overflow: hidden;
}

.dealer-card-modal-backdrop[hidden] {
  display: none !important;
}

@media (min-width: 901px) {
  .site-exchange-filter-modal {
    width: min(91vw, calc(100vw - 96px));
    height: min(91vh, calc(100vh - 96px));
    max-height: calc(100vh - 96px);
    grid-template-rows: auto minmax(0, 1fr);
    border-color: rgba(255, 255, 255, 0.12);
    background: #222;
  }

  .site-exchange-filter-modal-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .dealer-card-modal-head {
    padding-left: 44px;
  }

  .site-exchange-filter-tabs {
    display: inline-flex;
    width: min(100%, 900px);
    min-height: 40px;
    align-items: center;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px;
  }

  .dealer-card-modal-tabs {
    width: min(100%, 420px);
  }

  .dealer-card-modal-title {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.18;
    letter-spacing: 0;
  }

  .site-exchange-filter-tab {
    display: inline-flex;
    flex: 1 1 0;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    padding: 0 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
  }

  .site-exchange-filter-tab:hover,
  .site-exchange-filter-tab:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
  }

  .site-exchange-filter-tab.is-active {
    background: rgba(110, 67, 210, 0.9);
    color: #fff;
  }

  .site-exchange-filter-modal-close {
    background: rgba(255, 255, 255, 0.08);
    color: #eee;
  }

  .site-exchange-filter-modal-close:hover,
  .site-exchange-filter-modal-close:focus-visible {
    background: rgba(255, 255, 255, 0.14);
  }

  .site-exchange-filter-modal-body {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    min-height: 0;
    overflow: hidden;
    padding: 18px 20px 20px;
    background: #222;
  }

  .site-exchange-filter-layout,
  .dealer-card-section {
    height: 100%;
    min-height: 0;
  }

  .dealer-card-section {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 18px;
    overflow: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 20px 24px;
    scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.06);
    scrollbar-width: thin;
  }

  .dealer-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(230px, 280px);
    gap: 18px 20px;
    align-items: start;
    min-height: 0;
  }

  .dealer-card-fields {
    display: grid;
    gap: 12px;
    min-width: 0;
  }

  .site-exchange-filter-field {
    display: grid;
    gap: 6px;
  }

  .site-exchange-filter-field span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
  }

  .site-exchange-filter-field input {
    appearance: none;
    width: 100%;
    min-height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: #1c1c1c;
    color: #fff;
    padding: 0 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    box-shadow: none;
  }

  .site-exchange-filter-field input:focus {
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: none;
  }

  .site-exchange-filter-field input.is-required-missing,
  .site-exchange-filter-field input[aria-invalid="true"] {
    border-color: #ff9d8f;
    box-shadow: none;
  }

  .site-exchange-filter-field input::placeholder {
    color: rgba(255, 255, 255, 0.45);
  }

  .dealer-card-logo-card {
    display: grid;
    gap: 12px;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 14px;
  }

  .dealer-card-logo-preview {
    display: flex;
    aspect-ratio: 1;
    width: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #1c1c1c;
    color: rgba(255, 255, 255, 0.46);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
  }

  .dealer-card-logo-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
  }

  .dealer-card-logo-preview img[hidden] {
    display: none !important;
  }

  .dealer-card-logo-actions,
  .dealer-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .dealer-card-logo-actions {
    justify-content: stretch;
  }

  .dealer-card-logo-actions .button {
    flex: 1 1 0;
  }

  .dealer-card-actions {
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
  }

  .dealer-card-status {
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
  }

  .dealer-card-status.is-error {
    color: #ff9d8f;
  }

  .dealer-card-status.is-success {
    color: #bcf36f;
  }

  #dealerCompanyInn::-webkit-contacts-auto-fill-button,
  #dealerCompanyInn::-webkit-credentials-auto-fill-button {
    position: absolute;
    right: 0;
    display: none !important;
    visibility: hidden;
    pointer-events: none;
  }

  .dealer-card-modal .button {
    min-height: 38px;
    border-color: rgba(255, 255, 255, 0.68);
    background: transparent;
    color: #fff;
    box-shadow: none;
    transform: none;
  }

  .dealer-card-modal .button:hover,
  .dealer-card-modal .button:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    transform: none;
    outline: none;
  }

  .dealer-card-modal .dealer-card-submit {
    border-color: rgba(110, 67, 210, 0.92);
    background: rgba(110, 67, 210, 0.9);
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .dealer-card-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .dealer-card-logo-card {
    grid-column: 1 / -1;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    align-items: center;
  }
}

/* codex-dsdistribution-cabinet-orders-desktop-20260601 */
/* codex-dsdistribution-cabinet-tabs-desktop-20260601 */
body.cabinet-modal-open {
  overflow: hidden;
}

.cabinet-modal-backdrop[hidden] {
  display: none !important;
}

@media (min-width: 901px) {
  .cabinet-modal-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr);
    padding-left: 44px;
    padding-right: 44px;
  }

  .cabinet-modal-title-wrap {
    display: grid;
    min-width: 0;
    gap: 6px;
  }

  .cabinet-modal-title-wrap p {
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .cabinet-modal-title {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.18;
  }

  .cabinet-modal-head-actions {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
  }

  .cabinet-modal-body {
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    padding: 12px 20px 20px;
  }

  .cabinet-tabs {
    width: min(100%, 720px);
    justify-self: center;
    margin: 0;
  }

  .cabinet-panels {
    display: grid;
    min-height: 0;
    overflow: hidden;
  }

  .cabinet-panel {
    display: grid;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .cabinet-panel[hidden] {
    display: none !important;
  }

  .cabinet-orders-section {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 14px;
    padding: 16px 24px 20px;
  }

  .cabinet-dealer-section,
  .cabinet-history-section,
  .cabinet-latest-order-section {
    grid-template-rows: minmax(0, 1fr);
    padding: 16px 24px 20px;
  }

  .cabinet-dealer-form {
    display: grid;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 14px;
    overflow: auto;
    padding-right: 4px;
    scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.06);
    scrollbar-width: thin;
  }

  .cabinet-dealer-grid {
    gap: 14px 20px;
  }

  .cabinet-dealer-section .dealer-card-fields {
    gap: 8px;
  }

  .cabinet-dealer-section .site-exchange-filter-field {
    gap: 4px;
  }

  .cabinet-dealer-section .site-exchange-filter-field input {
    min-height: 32px;
  }

  .cabinet-dealer-section .button {
    min-height: 38px;
    border-color: rgba(255, 255, 255, 0.68);
    background: transparent;
    color: #fff;
    box-shadow: none;
    transform: none;
  }

  .cabinet-dealer-section .button:hover,
  .cabinet-dealer-section .button:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    transform: none;
    outline: none;
  }

  .cabinet-dealer-section .dealer-card-submit {
    border-color: rgba(110, 67, 210, 0.92);
    background: rgba(110, 67, 210, 0.9);
  }

  #cabinetDealerCompanyInn::-webkit-contacts-auto-fill-button,
  #cabinetDealerCompanyInn::-webkit-credentials-auto-fill-button {
    position: absolute;
    right: 0;
    display: none !important;
    visibility: hidden;
    pointer-events: none;
  }

  .cabinet-orders-summary {
    color: #fff;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
  }

  .cabinet-orders-status {
    min-height: 18px;
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
  }

  .cabinet-orders-status.is-error {
    color: #ff9d8f;
  }

  .cabinet-orders-list {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 0;
    overflow: auto;
    padding-right: 4px;
    scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.06);
    scrollbar-width: thin;
  }

  .cabinet-orders-empty {
    display: grid;
    min-height: 220px;
    place-items: center;
    gap: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.58);
    padding: 28px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
  }

  .cabinet-orders-empty strong {
    color: #fff;
    font-size: 17px;
    font-weight: 760;
  }

  .cabinet-orders-empty span {
    max-width: 340px;
  }

  .cabinet-order-card {
    display: grid;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 16px;
  }

  .cabinet-order-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
  }

  .cabinet-order-head h3 {
    margin: 4px 0 0;
    color: #fff;
    font-size: 18px;
    font-weight: 780;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .cabinet-order-head span,
  .cabinet-order-items span,
  .cabinet-order-more,
  .cabinet-order-item-empty {
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
  }

  .cabinet-order-head mark {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    border-radius: 999px;
    background: rgba(188, 243, 111, 0.14);
    color: #bcf36f;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  .cabinet-order-totals {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 14px;
  }

  .cabinet-order-totals strong {
    color: #fff;
    font-size: 24px;
    font-weight: 780;
    line-height: 1;
  }

  .cabinet-order-totals span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
  }

  .cabinet-order-items {
    display: grid;
    gap: 8px;
  }

  .cabinet-order-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
  }

  .cabinet-order-item div {
    display: grid;
    min-width: 0;
    gap: 3px;
  }

  .cabinet-order-item strong {
    color: #fff;
    font-size: 14px;
    font-weight: 720;
    line-height: 1.28;
    overflow-wrap: anywhere;
  }

  .cabinet-order-item em {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
  }

  .cabinet-order-more,
  .cabinet-order-item-empty {
    margin: 0;
  }

  .cabinet-history-list,
  .cabinet-latest-order-list {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 0;
    overflow: auto;
    padding-right: 4px;
    scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.06);
    scrollbar-width: thin;
  }

  .cabinet-history-section,
  .cabinet-latest-order-section {
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 14px;
  }

  .cabinet-history-item {
    display: grid;
    grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr) auto auto auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 14px 16px;
  }

  .cabinet-history-item span,
  .cabinet-history-item small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
  }

  .cabinet-history-item strong,
  .cabinet-history-item b {
    color: #fff;
    font-size: 14px;
    font-weight: 760;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .cabinet-history-item em {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    border-radius: 999px;
    background: rgba(188, 243, 111, 0.14);
    color: #bcf36f;
    padding: 0 9px;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

}

/* codex-dsdistribution-product-detail-light-modal-desktop-20260604 */
body.product-modal-open {
  overflow: hidden;
}

@media (min-width: 901px) {
  #editorView.product-detail-modal.is-hidden {
    display: none !important;
  }

  #editorView.product-detail-modal:not(.is-hidden) {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 8, 10, 0.72);
    padding: 48px;
  }

  #editorView.product-detail-modal .editor-area {
    position: relative;
    display: grid;
    width: min(91vw, calc(100vw - 96px));
    height: min(91vh, calc(100vh - 96px));
    max-height: calc(100vh - 96px);
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(9, 10, 18, 0.08);
    border-radius: 40px;
    background: #fff;
    box-shadow: 0 36px 96px rgba(0, 0, 0, 0.24);
  }

  #editorView.product-detail-modal .editor-grid {
    min-height: 0;
    height: 100%;
    overflow: auto;
    padding: 22px 30px;
    background: #fff;
    scrollbar-color: rgba(17, 17, 17, 0.22) rgba(17, 17, 17, 0.06);
    scrollbar-width: thin;
  }

  #editorView.product-detail-modal .product-detail-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #202126;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(13, 14, 20, 0.2);
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  }

  #editorView.product-detail-modal .product-detail-modal-close::before,
  #editorView.product-detail-modal .product-detail-modal-close::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 10px;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  #editorView.product-detail-modal .product-detail-modal-close::before {
    transform: rotate(45deg);
  }

  #editorView.product-detail-modal .product-detail-modal-close::after {
    transform: rotate(-45deg);
  }

  #editorView.product-detail-modal .product-detail-modal-close:hover,
  #editorView.product-detail-modal .product-detail-modal-close:focus-visible {
    background: #f45c1f;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(244, 92, 31, 0.28);
  }

  #editorView.product-detail-modal .product-overview-panel {
    padding-right: 64px;
  }

  body.product-modal-open #editorView.product-detail-modal:not(.is-hidden) .panel:not(.validation-panel),
  body.product-modal-open #editorView.product-detail-modal:not(.is-hidden) .variant-summary-panel,
  body.product-modal-open #editorView.product-detail-modal:not(.is-hidden) .spec-summary-panel,
  body.product-modal-open #editorView.product-detail-modal:not(.is-hidden) .spec-details-panel {
    background: #f9f9f9;
    box-shadow: none;
  }

  #editorView.product-detail-modal .editor-main-stack {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: auto minmax(0, auto);
    gap: 16px 20px;
    align-items: start;
  }

  #editorView.product-detail-modal .editor-main-stack::before,
  #editorView.product-detail-modal .editor-main-stack::after {
    content: "";
    position: relative;
    z-index: 0;
    min-height: 100%;
    border: 1px solid rgba(9, 10, 18, 0.06);
    border-radius: 8px;
    background: #f9f9f9;
  }

  #editorView.product-detail-modal .editor-main-stack::before {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  #editorView.product-detail-modal .editor-main-stack::after {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  #editorView.product-detail-modal .product-overview-panel {
    position: relative;
    z-index: 1;
    grid-column: 1 / 3;
    grid-row: 1;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  #editorView.product-detail-modal .product-overview-hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: auto auto;
    gap: 16px 20px;
    align-items: start;
  }

  #editorView.product-detail-modal .accounting-heading,
  #editorView.product-detail-modal .spec-summary-panel,
  #editorView.product-detail-modal .product-overview-sizes,
  #editorView.product-detail-modal .product-overview-photo,
  #editorView.product-detail-modal .spec-details-panel {
    position: relative;
    z-index: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  #editorView.product-detail-modal .accounting-heading {
    grid-column: 2;
    grid-row: 1;
    z-index: 2;
    margin: 0;
    padding: 22px 22px 0;
  }

  #editorView.product-detail-modal .accounting-heading h2 {
    font-size: 17px;
    line-height: 1.18;
  }

  #editorView.product-detail-modal .spec-summary-panel {
    grid-column: 2;
    grid-row: 1;
    padding: 92px 22px 0;
  }

  #editorView.product-detail-modal .product-overview-sizes {
    grid-column: 1;
    grid-row: 2;
    padding: 0 22px 22px;
  }

  #editorView.product-detail-modal .variant-row {
    display: flex;
    gap: 6px;
    padding: 7px 8px;
    font-size: 11px;
    line-height: 1.18;
  }

  #editorView.product-detail-modal .variant-row > * {
    min-width: 0;
  }

  #editorView.product-detail-modal .variant-row > strong,
  #editorView.product-detail-modal .variant-row > .variant-barcode {
    flex: 1.05 1 74px;
  }

  #editorView.product-detail-modal .variant-row > span:not(.variant-barcode):not(.variant-warehouse-stock):not(.variant-cart-head):not(.variant-cart-cell) {
    flex: 0.68 1 46px;
  }

  #editorView.product-detail-modal .variant-row > em {
    flex: 0.64 1 44px;
  }

  #editorView.product-detail-modal .variant-row > .variant-warehouse-stock {
    flex: 0.54 1 34px;
  }

  #editorView.product-detail-modal .variant-row > .variant-cart-head,
  #editorView.product-detail-modal .variant-row > .variant-cart-cell {
    flex: 0 0 30px;
  }

  #editorView.product-detail-modal .variant-add-cart-button {
    width: 30px;
    height: 30px;
    background-size: 2px 13px, 13px 2px, auto;
  }

  #editorView.product-detail-modal .product-overview-photo {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    width: auto;
    height: clamp(320px, 42vh, 480px);
    margin: 22px 22px 0;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    align-self: stretch;
    overflow: hidden;
  }

  #editorView.product-detail-modal .product-overview-photo[hidden] {
    display: none;
  }

  #editorView.product-detail-modal .product-overview-photo-button {
    width: 100%;
    height: 100%;
  }

  #editorView.product-detail-modal .product-overview-photo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  #editorView.product-detail-modal .spec-details-panel {
    grid-column: 2;
    grid-row: 2;
    padding: 0 22px 22px;
  }

  #editorView.product-detail-modal .editor-main-stack:has(.product-overview-photo[hidden]) .spec-details-panel {
    grid-row: 2;
    padding-top: 0;
  }

  #editorView.product-detail-modal .editor-main-stack:has(.category-settings-panel:not(.is-hidden)) {
    display: block;
  }

  #editorView.product-detail-modal .editor-main-stack:has(.category-settings-panel:not(.is-hidden))::before,
  #editorView.product-detail-modal .editor-main-stack:has(.category-settings-panel:not(.is-hidden))::after {
    content: none;
  }
}
