
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/jost-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Cardo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cardo-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Cardo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cardo-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/jost-var-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Cardo';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cardo-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pacifico-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/archivo-black-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Alfa Slab One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/alfa-slab-one-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Permanent Marker';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/permanent-marker-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Baloo Da 2';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1;
  src: url('../fonts/baloo-da-2-var-bengali.woff2') format('woff2');
}

@font-face {
  font-family: 'Baloo Da 2';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  src: url('../fonts/baloo-da-2-var-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Galada';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1;
  src: url('../fonts/galada-400-bengali.woff2') format('woff2');
}

@font-face {
  font-family: 'Galada';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  src: url('../fonts/galada-400-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bebas-neue-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('../fonts/oswald-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Bangers';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bangers-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Luckiest Guy';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/luckiest-guy-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fredoka-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Righteous';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/righteous-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bungee-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Lobster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lobster-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/caveat-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Abril Fatface';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/abril-fatface-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Rye';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/rye-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/orbitron-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/press-start-2p-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-display-var.woff2') format('woff2');
}

.sp-de,
.sp-de *,
.sp-de *::before,
.sp-de *::after {
  box-sizing: border-box;
}

.sp-de {
  --ctl-h: 28px;
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--cream);
  font-family: var(--font-sans, system-ui, sans-serif);
  color: var(--ink);
}

.sp-de [hidden] {
  display: none !important;
}

.sp-de__cleanup-overlay {
  position: absolute;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgb(23 19 13 / 52%);
  cursor: wait;
}

.sp-de__cleanup-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  max-width: min(100%, 24rem);
  padding: 1.125rem 1.5rem;
  border-radius: 1rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  text-align: center;
}

.sp-de__cleanup-spinner {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: sp-de-cleanup-spin 0.75s linear infinite;
}

@keyframes sp-de-cleanup-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sp-de__cleanup-spinner { animation: none; }
}

body.admin-bar .sp-de {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .sp-de {
    top: 46px;
  }
}

.sp-de-fatal {
  margin: 3rem auto;
  max-width: 30rem;
  text-align: center;
  color: var(--gray-600);
}

.sp-de__bar {
  flex: none;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 12px 0 10px;
  background: var(--ink);
  color: var(--white);
}

.sp-de__lead {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sp-de__back {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.sp-de__back:hover {
  background: rgba(255, 255, 255, 0.18);
}

.sp-de__title {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.sp-de__title strong {
  font-size: 13.5px;
  font-weight: 800;
}

.sp-de__count {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.sp-de__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-de__more-wrap {
  display: none;
}

.sp-de__more-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 85;
  width: 230px;
  padding: 6px;
  border: 1px solid var(--cream-line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(23, 19, 13, 0.24);
}

.sp-de__more-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.sp-de__more-item:hover:not(:disabled),
.sp-de__more-item:focus-visible {
  background: var(--cream);
}

.sp-de__more-item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.sp-de__tool {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.sp-de__tool:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
}

.sp-de__tool:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sp-de__tool--wide {
  width: auto;
  gap: 7px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--white);
}

.sp-de__order {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.sp-de__order:hover:not(:disabled),
.sp-de__order[aria-expanded="true"] {
  background: var(--cream-deep);
}

.sp-de__order:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.sp-de__order-caret {
  width: 24px;
  height: 24px;
  margin-left: 2px;
  border-left: 1px solid var(--gray-300);
  display: grid;
  place-items: center;
  transition: transform 140ms ease;
}

.sp-de__order[aria-expanded="true"] .sp-de__order-caret {
  transform: rotate(180deg);
}

.sp-de__order:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.sp-de__order-wrap {
  position: relative;
  z-index: 80;
}

.sp-de__order-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  padding: 18px;
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

.sp-de__order-title {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 800;
}

.sp-de__order-facts {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.sp-de__order-fact-label {
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 700;
}

.sp-de__order-fact {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 12px;
  font-weight: 700;
}

.sp-de__order-cut-row {
  display: contents;
}

.sp-de__order-cut-row[hidden] {
  display: none;
}

.sp-de__order-cut {
  text-align: right;
  white-space: nowrap;
  font-size: 13px;
}

.sp-de__order-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.sp-de__order-quantity-label {
  font-size: 13px;
  font-weight: 800;
}

.sp-de__order-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--gray-300);
  border-radius: 999px;
  overflow: hidden;
}

.sp-de__order-qty-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--white);
  color: var(--gray-600);
  font-family: inherit;
  font-size: 18px;
  cursor: pointer;
}

.sp-de__order-qty-btn:hover:not(:disabled) {
  background: var(--cream);
}

.sp-de__order-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sp-de__order-qty-value {
  width: 38px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.sp-de__order-discount {
  margin: -4px 0 14px;
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--success-50);
  color: var(--success-600);
  font-size: 12px;
  font-weight: 800;
}

.sp-de__order-confirm {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.sp-de__order-confirm:hover:not(:disabled) {
  background: var(--ink-hover);
}

.sp-de__order-confirm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.sp-de__body {
  flex: 1;
  min-height: 0;
  display: flex;
}

.sp-de__rail,
.sp-de__side {
  flex: none;
  background: var(--white);
  min-height: 0;
}

.sp-de__rail {
  display: flex;
  border-right: 1px solid var(--cream-line);
  overflow: hidden;
}

.sp-de__tabs {
  flex: none;
  width: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 0;
  background: var(--cream);
  border-right: 1px solid var(--cream-line);
  overflow-y: auto;
}

.sp-de__tab {
  width: 50px;
  padding: 8px 2px 6px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.sp-de__tab span {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--gray-600);
}

.sp-de__tab--mobile,
.sp-de__mobile-panel-close,
.sp-de__mobile-sheet-head {
  display: none;
}

.sp-de__tab:hover {
  background: var(--cream-deep);
}

.sp-de__tab.is-on,
.sp-de__tab.is-on:hover {
  background: var(--ink);
  color: var(--white);
}

.sp-de__tab.is-on span {
  color: rgba(255, 255, 255, 0.82);
}

.sp-de__panel {
  flex: none;
  width: 228px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sp-de__pane {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.sp-de__panehead {
  flex: none;
  padding: 13px 14px 11px;
  border-bottom: 1px solid var(--cream-line);
}

.sp-de__panetitle {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.sp-de__panelede {
  margin: 3px 0 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--gray-500);
}

.sp-de__panebody {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 13px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sp-de__panenote {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--gray-500);
}

.sp-de__side {
  width: 330px;
  border-left: 1px solid var(--cream-line);
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.sp-de__sidebody {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sp-de__work {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  position: relative;
}

.sp-de__work:focus-visible {
  outline: none;
}

.sp-de-section {
  border-bottom: 1px solid var(--cream-line);
}

.sp-de-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 0;
}

.sp-de-section__toggle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 0 2px;
  border: 0;
  background: none;
  color: var(--gray-500);
  font-family: inherit;
  cursor: pointer;
}

.sp-de-section__chev {
  display: grid;
  place-items: center;
  color: var(--gray-500);
}

.sp-de-section__title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.sp-de-section__body {
  padding: 10px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sp-de__action {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--gray-300);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.sp-de__action:hover {
  border-color: var(--ink);
}

.sp-de__action-icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--cream);
  display: grid;
  place-items: center;
}

.sp-de__action-text {
  min-width: 0;
}

.sp-de__action-text strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
}

.sp-de__action-text em {
  display: block;
  margin-top: 1px;
  font-size: 10.5px;
  font-style: normal;
  color: var(--gray-500);
}

.sp-de__ready {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sp-de__ready-tile {
  display: flex;
  align-items: center;
  min-height: var(--ctl-h);
  padding: 4px 11px;
  border: 1px solid var(--cream-line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.sp-de__ready-tile:hover,
.sp-de__ready-tile:focus-visible {
  border-color: var(--ink);
  background: var(--white);
}

.sp-de__uploads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.sp-de__upload {
  aspect-ratio: 1 / 1;
  padding: 4px;
  border: 1px solid var(--cream-line);
  border-radius: 9px;
  background: repeating-conic-gradient(var(--cream-deep) 0% 25%, var(--white) 0% 50%) 50% / 9px 9px;
  cursor: pointer;
}

.sp-de__upload:hover {
  border-color: var(--ink);
}

.sp-de__upload img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sp-de__shapes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sp-de__shape {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.sp-de__shape:hover {
  border-color: var(--ink);
  background: var(--cream);
}

.sp-de__layerdock {
  flex: 0 1 auto;
  max-height: 50%;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--cream-line);
  background: var(--cream);
}

.sp-de__layerhead {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px 7px;
  color: var(--gray-500);
}

.sp-de__layertitle {
  flex: 1;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.sp-de__layercount {
  font-size: 10px;
  font-weight: 800;
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}

.sp-de__layers {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px 10px;
}

.sp-de__empty {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--gray-500);
}

.sp-de__layer {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px 4px;
  border-radius: 8px;
}

.sp-de__layer.is-on {
  background: var(--cream);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.sp-de__layer-pick {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.sp-de__layer-pick span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sp-de__layer-name {
  flex: 1;
  min-width: 0;
  height: 30px;
  padding: 4px 6px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}

.sp-de__ctx {
  flex: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}

.sp-de__ctx-kind {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

.sp-de__ctx-kind.is-idle {
  color: rgba(255, 255, 255, 0.4);
}

.sp-de__ctx-edit {
  display: none;
}

.sp-de__ctx-rule {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.14);
}

.sp-de__ctx-select {
  height: 28px;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.sp-de__ctx-step {
  display: flex;
  align-items: center;
  gap: 3px;
}

.sp-de__ctx-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: transparent;
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.sp-de__ctx-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sp-de__ctx-value {
  min-width: 46px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.sp-de__ctx-group,
.sp-de__ctx-pills {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
}

.sp-de__ctx-pill {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.sp-de__ctx-pill.is-on {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.sp-de__ctx-dpi {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.sp-de__ctx-dpi.is-good {
  color: var(--pastel-mint, #4de0a4);
}

.sp-de__ctx-dpi.is-warn {
  color: var(--warning-500, #f6cf5b);
}

.sp-de__ctx-dpi.is-bad {
  color: var(--orange-500, #f93c00);
}

.sp-de__ctx-tail {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.sp-de__ctx .sp-de-icon {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--white);
}

.sp-de__ctx .sp-de-icon:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sp-de__ctx .sp-de-icon.is-on {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.sp-de__status {
  flex: none;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.sp-de__facts {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.sp-de__footprint {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--white);
}

.sp-de__fact {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-de__ready-note {
  font-size: 11px;
  font-weight: 700;
  color: var(--pastel-mint, #4de0a4);
}

.sp-de__zoom {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sp-de__zoombtn {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: transparent;
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.sp-de__zoombtn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sp-de__zoombtn[aria-pressed="true"] {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink, #17130d);
}

.sp-de__zoombtn[aria-pressed="true"]:hover {
  background: rgba(255, 255, 255, 0.86);
}

.sp-de__zoomvalue {
  height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
}

.sp-de__stagewrap {
  position: relative;
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: 0 1fr;
  grid-template-rows: 0 1fr;
}

.sp-de.has-rulers .sp-de__stagewrap {
  grid-template-columns: var(--sp-ruler, 18px) 1fr;
  grid-template-rows: var(--sp-ruler, 18px) 1fr;
}

.sp-de__rulercorner {
  grid-area: 1 / 1;
  background: rgba(23, 19, 13, 0.72);
}

.sp-de__ruler {
  display: block;
  width: 100%;
  height: 100%;
}

.sp-de__ruler--across {
  grid-area: 1 / 2;
}

.sp-de__ruler--down {
  grid-area: 2 / 1;
}

.sp-de__board {
  grid-area: 2 / 2;
}

.sp-de__board {
  position: relative;
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--ink);
  touch-action: none;
}

.sp-de__findings {
  position: absolute;
  left: 12px;
  bottom: 50px;
  z-index: 6;
  width: min(420px, 46%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 40%;
  overflow-y: auto;
  border-radius: 12px;
}

.sp-de__findings:not(:empty) {
  padding: 8px 10px 10px;
  border: 1px solid #e4dccd;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 19, 13, 0.14);
  backdrop-filter: blur(6px);
}

.sp-de__finding {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
}

.sp-de__finding svg {
  flex: none;
  margin-top: 1px;
}

.sp-de__finding.is-bad {
  background: #fff0ee;
  color: #8f261c;
}

.sp-de__finding.is-warn {
  background: #fff7e5;
  color: #79520d;
}

.sp-de__finding-fix {
  flex: none;
  margin-left: auto;
  align-self: center;
  padding: 3px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
}

.sp-de__finding-fix:hover,
.sp-de__finding-fix:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.sp-de__finding.is-clickable {
  cursor: pointer;
}

.sp-de__inspector {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sp-de-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sp-de-field__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.sp-de-textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-family: inherit;
  font-size: 12.5px;
  resize: vertical;
}

.sp-de-slider {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sp-de-slider input[type="range"] {
  flex: 1;
  min-width: 0;
  accent-color: var(--ink);
}

.sp-de-slider__value {
  flex: none;
  width: 62px;
  min-width: 62px;
  padding: 2px 4px;
  text-align: right;
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  color: var(--gray-500);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: text;
}

.sp-de-slider__value:hover {
  border-color: var(--gray-200, rgba(0, 0, 0, 0.12));
}

.sp-de-slider__value:focus {
  outline: none;
  color: var(--ink);
  background: var(--paper, #fff);
  border-color: var(--ink);
}

.sp-de-slider input[type="range"] {
  flex: 1;
  min-width: 0;
}

.sp-de-swatches {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
}

.sp-de-swatch {
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid var(--cream-line);
  border-radius: 5px;
  cursor: pointer;
}

.sp-de-swatch.is-on {
  border: 2px solid var(--ink);
}

.sp-de-swatch--none {
  background: repeating-conic-gradient(var(--gray-200) 0% 25%, var(--white) 0% 50%) 50% / 8px 8px;
}

.sp-de-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.sp-de-custom input {
  width: 30px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--cream-line);
  border-radius: 5px;
  background: none;
  cursor: pointer;
}

.sp-de-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sp-de-pill {
  padding: 6px 11px;
  border: 1.5px solid var(--gray-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.sp-de-pill.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.sp-de-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.sp-de-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
}

.sp-de-align {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sp-de-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--cream-line);
  border-radius: 7px;
  background: var(--white);
  color: var(--gray-600);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.sp-de-icon:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.sp-de-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--gray-300);
  border-radius: 999px;
  overflow: hidden;
}

.sp-de-qty__btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--white);
  color: var(--text-body, var(--gray-600));
  font-size: 17px;
  cursor: pointer;
}

.sp-de-qty__btn:hover {
  background: var(--cream);
}

.sp-de-qty__n {
  width: 42px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.sp-de-note {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--gray-500);
}

.sp-de-note.is-good {
  color: var(--success-600);
}

.sp-de-note.is-warn {
  color: var(--warning-500);
}

.sp-de-note.is-bad {
  color: var(--danger-500);
}

.sp-de-inline {
  position: absolute;
  z-index: 40;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 2px solid var(--orange-500);
  outline-offset: -2px;
  background: transparent;
  overflow-x: hidden;
  overflow-y: auto;
  resize: none;
  white-space: pre-wrap;
  word-break: break-word;
}

.sp-de-inline-handle {
  position: absolute;
  z-index: 41;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 2px solid #17130d;
  border-radius: 50%;
  background: #fff;
  cursor: ew-resize;
  touch-action: none;
  transform: translate(-50%, -50%);
}

.sp-de-inline-handle:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
}

.sp-dv {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 10, 8, 0.62);
}

.sp-dv__panel {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.sp-dv__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 0;
}

.sp-dv__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}

.sp-dv__close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--gray-500);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.sp-dv__close:hover {
  background: var(--cream);
  color: var(--ink);
}

.sp-dv__body {
  padding: 14px 18px 20px;
}

.sp-dv__loading {
  margin: 0;
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

.sp-dv__scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 24px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(45deg, var(--gray-50) 0 10px, var(--white) 10px 20px);
}

.sp-dv__card {
  position: absolute;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  display: grid;
  place-items: end start;
  padding: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.sp-dv__sticker {
  position: relative;
  z-index: 1;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.sp-dv__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 16px;
}

.sp-dv__fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp-dv__fact-k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.sp-dv__fact-v {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.sp-dv__caveat {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--gray-500);
}

@media (max-width: 560px) {
  .sp-dv__facts {
    grid-template-columns: 1fr;
  }

  .sp-de__title {
    display: none;
  }

  .sp-de__bar {
    gap: 8px;
    padding: 0 8px;
  }

  .sp-de__tools {
    gap: 6px;
    min-width: 0;
  }

  .sp-de__tool--wide span {
    display: none;
  }

  .sp-de__order {
    min-width: 0;
    padding: 0 13px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .sp-de__order-popover {
    width: min(300px, calc(100vw - 16px));
    right: -4px;
  }
}

.sp-de-swatches__note {
  display: block;
  margin: 8px 0 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.sp-de__setup {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background: var(--ink);
}

.sp-de__work {
  position: relative;
}

.sp-de.is-setup .sp-de__rail,
.sp-de.is-setup .sp-de__side,
.sp-de.is-setup .sp-de__tools {
  display: none;
}

.sp-de-setup__card {
  width: min(640px, 100%);
  margin: auto;
  padding: 26px 26px 22px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}

.sp-de-setup__title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
}

.sp-de-setup__lede {
  margin: 0 0 18px;
  max-width: 900px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--gray-600);
}

.sp-de-setup__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.sp-de-setup__layout.is-single {
  grid-template-columns: minmax(0, 640px);
}

.sp-de-setup__choices {
  min-width: 0;
}

.sp-de-setup__row {
  margin-bottom: 16px;
}

.sp-de-setup__label {
  display: block;
  margin-bottom: 7px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.sp-de-setup__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.sp-de-setup__pill {
  padding: 8px 15px;
  border: 1.5px solid var(--gray-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.sp-de-setup__pill:hover {
  border-color: var(--ink);
}

.sp-de-setup__pill.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.sp-de-setup__starters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.sp-de-setup__row--wide {
  min-width: 0;
  margin-bottom: 0;
}

.sp-de-setup__starter {
  padding: 0;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  font-family: inherit;
  cursor: pointer;
}

.sp-de-setup__starter:hover {
  border-color: var(--ink);
}

.sp-de-setup__starter.is-on {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
}

.sp-de-setup__art {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  height: 62px;
  background: var(--white);
  border-bottom: 1px solid var(--cream-line);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: pre-line;
}

.sp-de-setup__thumb {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.sp-de-setup__oven {
  position: absolute;
  left: -99999px;
  top: 0;
}

.sp-de-setup__name {
  display: block;
  padding: 7px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.sp-de-setup__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-line);
}

.sp-de-setup__price {
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.sp-de-setup__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sp-de-setup__fact {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
}

.sp-de-setup__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}

.sp-de-setup__go:hover:not(:disabled) {
  background: var(--ink-hover);
}

.sp-de-setup__go:disabled {
  background: var(--gray-300);
  color: var(--gray-600);
  cursor: not-allowed;
}

.sp-de-chosen {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.sp-de-chosen__fact {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
}

.sp-de-chosen__redo {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gray-600);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.sp-de-chosen__redo:hover {
  color: var(--ink);
}

@media (max-width: 1180px) {
  .sp-de__panel {
    width: 198px;
  }

  .sp-de__side {
    width: 262px;
  }
}

@media (max-width: 900px) {
  .sp-de__bar {
    gap: 6px;
    padding-inline: 7px;
  }

  .sp-de__tools {
    gap: 4px;
    flex: none;
  }

  .sp-de__back,
  .sp-de__tool {
    width: 40px;
    height: 40px;
  }

  .sp-de__tool--wide {
    padding: 0;
    justify-content: center;
  }

  .sp-de__tool--wide span,
  .sp-de__order-label,
  .sp-de__order-caret {
    display: none;
  }

  .sp-de__order {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
  }

  .sp-de__body {
    flex-direction: column;
  }

  .sp-de__work {
    order: -1;
    flex: 0 0 40%;
    min-height: 0;
  }

  .sp-de__rail,
  .sp-de__side {
    width: 100%;
    min-height: 0;
    max-height: none;
    border: 0;
    border-top: 1px solid var(--cream-line);
  }

  .sp-de__rail {
    flex: 1.2 1 0;
  }

  .sp-de__side {
    flex: 1.7 1 0;
  }

  .sp-de__panelede {
    display: none;
  }

  .sp-de__panehead {
    padding: 10px 14px 9px;
  }

  .sp-de__layerdock {
    max-height: 42%;
    min-height: 78px;
  }

  .sp-de__tabs {
    flex-direction: row;
    width: auto;
    padding: 6px 6px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--cream-line);
  }

  .sp-de__tab {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    width: auto;
    padding: 7px 10px;
  }

  .sp-de__rail {
    flex-direction: column;
  }

  .sp-de__panel {
    width: auto;
    flex: 1;
  }

  .sp-de__uploads {
    grid-template-columns: repeat(4, 1fr);
  }

  .sp-de__ready {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sp-de__ready-tile {
    flex: 1 1 30%;
  }

  .sp-de.is-setup .sp-de__work {
    flex: 1 1 auto;
  }

  .sp-de__setup {
    padding: 14px;
  }

  .sp-de-setup__card {
    width: min(640px, 100%);
    padding: 18px 18px 16px;
  }

  .sp-de-setup__layout {
    display: block;
  }

  .sp-de-setup__title {
    font-size: 18px;
  }

  .sp-de-setup__lede {
    margin-bottom: 12px;
  }

  .sp-de-setup__row {
    margin-bottom: 11px;
  }

  .sp-de-setup__pill {
    padding: 7px 13px;
  }

  .sp-de-setup__starters {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-de-setup__art {
    height: 44px;
  }

  .sp-de-setup__name {
    padding: 5px 4px;
  }

  .sp-de-setup__foot {
    margin-top: 14px;
    padding-top: 12px;
  }

  .sp-de__findings {
    width: min(340px, calc(100% - 24px));
    max-height: 120px;
  }

  .sp-de__ctx {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sp-de__ctx::-webkit-scrollbar {
    display: none;
  }

  .sp-de__ctx-group,
  .sp-de__ctx-pills,
  .sp-de__ctx-tail {
    flex-wrap: nowrap;
    flex: none;
  }
}

@media (max-width: 560px) {
  .sp-de__tools > .sp-de__tool:nth-child(3),
  .sp-de__tools > .sp-de__tool:nth-child(4),
  .sp-de__tools > .sp-de__tool:nth-child(5) {
    display: none;
  }

  .sp-de__more-wrap {
    position: relative;
    z-index: 85;
    display: block;
  }

  .sp-de__more-wrap .sp-de__tool {
    font-size: 24px;
    line-height: 1;
  }

  .sp-de__order-wrap {
    z-index: 84;
  }
}

.sp-de-dropper {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  margin-top: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.sp-de-dropper:hover,
.sp-de-dropper:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.sp-de-dropper svg {
  flex: none;
}

.sp-de__mode {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 32px);
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
  font-size: 12.5px;
  font-weight: 600;
}

.sp-de__mode-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-de__mode-done {
  flex: none;
  padding: 5px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.sp-de__mode-done:hover {
  background: var(--cream-deep);
}

.sp-de.is-tooling .sp-de__board {
  outline: 2px solid var(--brand, #f93c00);
  outline-offset: -2px;
}

.sp-de__stagewrap.is-drop-target,
.sp-de__board.is-drop-target {
  outline: 2px dashed var(--brand, #f93c00);
  outline-offset: -4px;
}

.sp-de-dropper.is-on {
  border-color: var(--brand, #f93c00);
  background: rgba(249, 60, 0, 0.14);
}

.sp-de__gallerytabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0 14px 12px;
  border-bottom: 1px solid var(--cream-line);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.sp-de__gallerytabs::-webkit-scrollbar {
  display: none;
}

.sp-de__gallerytab {
  flex: none;
  padding: 9px 5px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600, #6b6255);
  white-space: nowrap;
  scroll-snap-align: center;
  cursor: pointer;
}

.sp-de__gallerytab:hover {
  color: var(--ink);
}

.sp-de__gallerytab:focus-visible {
  outline: 2px solid var(--brand, #f93c00);
  outline-offset: -3px;
}

.sp-de__gallerytab.is-on {
  border-bottom-color: var(--brand, #f93c00);
  color: var(--ink);
}

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

.sp-de__art {
  min-width: 0;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 7px 8px;
  border: 1px solid var(--cream-line);
  border-radius: 11px;
  background-color: var(--white);
  background-image:
    linear-gradient(45deg, rgba(23, 19, 13, 0.07) 25%, transparent 25%, transparent 75%, rgba(23, 19, 13, 0.07) 75%),
    linear-gradient(45deg, rgba(23, 19, 13, 0.07) 25%, transparent 25%, transparent 75%, rgba(23, 19, 13, 0.07) 75%);
  background-size: 8px 8px;
  background-position: 0 0, 4px 4px;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.sp-de__art:hover,
.sp-de__art:focus-visible {
  border-color: var(--brand, #f93c00);
  box-shadow: 0 5px 14px rgba(23, 19, 13, 0.12);
  transform: translateY(-1px);
}

.sp-de__art img {
  width: 100%;
  height: 82px;
  max-width: 100%;
  object-fit: contain;
}

.sp-de__art-name {
  min-height: 25px;
  overflow: hidden;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sp-de-measure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.sp-de-measure__cell {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 2px 4px 2px 7px;
  border: 1px solid var(--gray-200, rgba(0, 0, 0, 0.12));
  border-radius: 6px;
}

.sp-de-measure__cell:focus-within {
  border-color: var(--ink);
  background: var(--paper, #fff);
}

.sp-de-measure__tag {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
}

.sp-de-measure__box {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 2px 0;
  text-align: right;
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: text;
}

.sp-de-measure__box:focus {
  outline: none;
}

.sp-de__layer-grip {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  min-height: 26px;
  margin-left: 2px;
  color: var(--gray-500, #8b8375);
  cursor: grab;
  touch-action: none;
}

.sp-de__layer-grip:active {
  cursor: grabbing;
}

.sp-de__layer-grip:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  border-radius: 5px;
}

.sp-de__layer.is-dragging {
  opacity: 0.4;
}

.sp-de__layer.is-over {
  box-shadow: inset 0 2px 0 0 var(--brand, #f93c00);
}

.sp-de__layer-lock {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  color: var(--gray-500, #8b8375);
}

.sp-de-pill--face {
  border-style: dashed;
}

.sp-de-pill--face:hover,
.sp-de-pill--face:focus-visible {
  border-style: solid;
}

.sp-de-menu {
  position: fixed;
  z-index: 60;
  min-width: 196px;
  padding: 5px;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background: var(--paper, #fff);
  border: 1px solid var(--gray-200, rgba(0, 0, 0, 0.12));
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(12, 10, 8, 0.18);
}

.sp-de-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 7px 9px;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  color: inherit;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.sp-de-menu__row:hover,
.sp-de-menu__row:focus-visible {
  outline: none;
  background: var(--gray-100, rgba(0, 0, 0, 0.06));
}

.sp-de-menu__keys {
  font-size: 11px;
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}

.sp-de-menu__rule {
  height: 1px;
  margin: 4px 6px;
  background: var(--gray-200, rgba(0, 0, 0, 0.1));
}

.sp-de__side {
  --row-gutter: 62px;
  --row-h: 30px;
}

.sp-de-g {
  border-bottom: 1px solid var(--cream-line);
}

.sp-de-g__head {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  padding: 9px 10px 7px;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.sp-de-g__caret {
  display: grid;
  place-items: center;
  color: var(--gray-500);
}

.sp-de-g__title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.sp-de-g__body {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0 10px 11px;
}

.sp-de-g.is-open > .sp-de-g__body {
  display: flex;
}

.sp-de-r {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--row-h);
}

.sp-de-r--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
}

.sp-de-r__label {
  flex: none;
  width: var(--row-gutter);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
}

.sp-de-r--stack .sp-de-r__label {
  width: auto;
}

.sp-de-r__field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sp-de-hint {
  margin: 1px 0 2px;
  padding-left: 2px;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--gray-500);
}

.sp-de-hint.is-warn {
  color: var(--warning-500);
}

.sp-de-num {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  height: var(--ctl-h);
  padding: 0 7px;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: ew-resize;
  touch-action: none;
}

.sp-de-num:focus-within {
  background: var(--white);
  border-color: var(--ink);
}

.sp-de-num__suffix {
  flex: none;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--gray-500);
}

.sp-de-num__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  cursor: text;
  font-variant-numeric: tabular-nums;
}

.sp-de-num__steps {
  align-self: stretch;
  display: flex;
  flex: none;
  margin: -1px -7px -1px 2px;
  border-left: 1px solid var(--cream-line);
}

.sp-de-num__step {
  display: grid;
  place-items: center;
  width: 27px;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--cream-line);
  background: transparent;
  color: var(--gray-500);
  cursor: pointer;
}

.sp-de-num__step:first-child {
  border-left: 0;
}

.sp-de-num__step:last-child {
  border-radius: 0 7px 7px 0;
}

.sp-de-num__step:hover,
.sp-de-num__step:focus-visible {
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.sp-de-select {
  flex: 1;
  min-width: 0;
  height: var(--ctl-h);
  padding: 0 22px 0 8px;
  appearance: none;
  cursor: pointer;
  background: var(--cream) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6459' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 7px center;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.sp-de-select:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.sp-de-seg {
  display: flex;
  gap: 2px;
  padding: 2px;
  background: var(--cream);
  border-radius: 7px;
}

.sp-de-seg.is-grow {
  flex: 1;
  min-width: 0;
}

.sp-de-seg__b {
  flex: none;
  min-width: 26px;
  height: 24px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
}

.sp-de-seg.is-grow .sp-de-seg__b {
  flex: 1 1 0%;
  min-width: 0;
}

.sp-de-seg__b.is-on {
  background: var(--white);
  box-shadow: 0 1px 2px rgba(23, 19, 13, 0.12);
}

.sp-de-icons {
  display: flex;
  gap: 3px;
  min-width: 0;
}

.sp-de-icons.is-grow {
  flex: 1;
}

.sp-de-icons__b {
  flex: none;
  width: var(--ctl-h);
  min-width: var(--ctl-h);
  height: var(--ctl-h);
  display: grid;
  place-items: center;
  border: 1px solid var(--cream-line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.sp-de-icons.is-grow .sp-de-icons__b {
  flex: 1 1 0%;
  width: auto;
  min-width: 0;
}

.sp-de-icons__b:hover:not(:disabled) {
  background: var(--cream);
}

.sp-de-icons__b:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sp-de-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
}

.sp-de-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--ink);
}

.sp-de-chip {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 2px;
  border: 1px solid var(--gray-300);
  border-radius: 7px;
  background: var(--white);
  cursor: pointer;
}

.sp-de-chip__ink {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.sp-de-chip__ink.is-none {
  background: repeating-conic-gradient(var(--gray-300) 0% 25%, var(--white) 0% 50%) 50% / 8px 8px;
}

.sp-de-hex {
  flex: 1;
  min-width: 0;
  height: var(--ctl-h);
  padding: 0 7px;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 7px;
  outline: none;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
}

.sp-de-hex:focus {
  background: var(--white);
  border-color: var(--ink);
}

.sp-de-pop {
  position: fixed;
  z-index: 400;
  width: 236px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(23, 19, 13, 0.22);
}

.sp-de-tabs {
  display: flex;
  gap: 2px;
  padding: 7px 8px 0;
  border-bottom: 1px solid var(--cream-line);
  background: var(--white);
}

.sp-de-tabs__b {
  flex: 1;
  padding: 7px 4px 8px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gray-500);
}

.sp-de-tabs__b.is-on {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.sp-de-icons__b.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.sp-de-num.is-scrubbing {
  user-select: none;
}

.sp-de-num.is-scrubbing .sp-de-num__input {
  user-select: none;
  pointer-events: none;
}

.sp-de-r .sp-de-measure__cell {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--ctl-h);
  padding: 0 7px;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 7px;
}

.sp-de-r .sp-de-measure__cell:focus-within {
  background: var(--white);
  border-color: var(--ink);
}

.sp-de-r .sp-de-measure__tag {
  flex: none;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--gray-500);
}

.sp-de-r .sp-de-measure__box {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.sp-de__fact--go {
  border: 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.35);
  background: none;
  padding: 0;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.sp-de__fact--go:hover,
.sp-de__fact--go:focus-visible {
  color: var(--white);
  border-bottom-color: var(--white);
}

.sp-de-chip.is-compact {
  width: 26px;
  height: 26px;
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.sp-de-chip.is-compact:hover {
  border-color: var(--white);
}

.sp-de-pop .sp-de-field {
  gap: 5px;
}

.sp-de-pop .sp-de-field + .sp-de-field {
  margin-top: 10px;
}

.sp-de-pop .sp-de-field__label,
.sp-de-pop .sp-de-swatches__note {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.sp-de-pop .sp-de-swatches {
  gap: 4px;
}

.sp-de-pop .sp-de-swatch {
  border-radius: 4px;
}

.sp-de-pop .sp-de-hexline,
.sp-de-pop .sp-de-field > input[type="text"] {
  height: 26px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.sp-de-pop .sp-de-slider {
  gap: 7px;
}

.sp-de-pop .sp-de-slider input[type="range"] {
  height: 14px;
}

.sp-de-pop .sp-de-dropper {
  margin-top: 10px;
  padding: 6px 9px;
  border-color: var(--cream-line);
  background: var(--cream);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
}

.sp-de-pop .sp-de-dropper:hover {
  border-color: var(--ink);
}

.sp-de-pop .sp-de-custom {
  margin-top: 10px;
  font-size: 11.5px;
}

.sp-de-pop .sp-de-field .sp-de-field {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-height: var(--row-h, 30px);
}

.sp-de-pop .sp-de-field .sp-de-field > .sp-de-field__label {
  flex: none;
  width: 62px;
}

.sp-de-pop .sp-de-slider {
  flex: 1;
  min-width: 0;
}

.sp-de-pop .sp-de-slider__value {
  flex: 1;
  width: auto;
  min-width: 0;
  height: 26px;
  padding: 0 7px;
  text-align: left;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.sp-de-pop .sp-de-slider__value:focus {
  background: var(--white);
  border-color: var(--ink);
  outline: none;
}

.sp-de-pop .sp-de-field .sp-de-field > .sp-de-field__label {
  width: 72px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gray-600);
}

.sp-de__toolbox {
  flex: none;
  width: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0;
  border-right: 1px solid var(--cream-line);
  background: var(--cream-deep);
}

.sp-de__toolbtn {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.sp-de__toolbtn:hover:not(:disabled):not(.is-on) {
  background: var(--white);
  border-color: var(--cream-line);
}

.sp-de__toolbtn.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.sp-de__toolbtn svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 900px) {
  .sp-de__side {
    flex-direction: column;
  }

  .sp-de__toolbox {
    flex-direction: row;
    width: auto;
    justify-content: center;
    padding: 4px 0;
    border-right: 0;
    border-bottom: 1px solid var(--cream-line);
  }
}

.sp-de__tabs,
.sp-de__ctx,
.sp-de__status {
  background: var(--white);
}

.sp-de__tab.is-on,
.sp-de__tab.is-on:hover {
  background: #b9e4cb;
  color: var(--ink);
}

.sp-de__tab.is-on span {
  color: var(--ink);
}

.sp-de__work,
.sp-de__board {
  background: #f2ede4;
}

.sp-de__ctx,
.sp-de__status {
  border-color: var(--cream-line);
}

.sp-de__ctx-kind,
.sp-de__ctx-value,
.sp-de__footprint {
  color: var(--ink);
}

.sp-de__ctx-kind.is-idle,
.sp-de__fact {
  color: var(--gray-600);
}

.sp-de__ctx-rule {
  background: var(--cream-line);
}

.sp-de__ctx-select,
.sp-de__ctx-btn,
.sp-de__ctx-pill,
.sp-de__ctx .sp-de-icon,
.sp-de__zoombtn,
.sp-de__zoomvalue {
  border-color: var(--cream-line);
  background: var(--white);
  color: var(--ink);
}

.sp-de__ctx-btn:hover,
.sp-de__ctx-pill:hover,
.sp-de__ctx .sp-de-icon:hover,
.sp-de__zoombtn:hover {
  background: var(--cream);
}

.sp-de__ctx-pill.is-on,
.sp-de__ctx .sp-de-icon.is-on,
.sp-de__zoombtn[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.sp-de__ready-note,
.sp-de__ctx-dpi.is-good {
  color: #1f7a45;
}

.sp-de__ctx-dpi.is-warn {
  color: #906800;
}

.sp-de__setup {
  background: var(--white);
}

.sp-de-setup__card {
  box-shadow: none;
}

@media (max-width: 900px) {
  .sp-de {
    /* 35% of the viewport after the 54px header and 60px tab rail. */
    --sp-de-mobile-sheet-height: calc(35dvh - 39.9px);
  }

  .sp-de__body {
    position: relative;
    display: block;
    overflow: hidden;
  }

  .sp-de__work {
    position: absolute;
    inset: 0 0 60px;
    width: 100%;
    min-height: 0;
  }

  .sp-de.is-mobile-pane-open .sp-de__work,
  .sp-de.is-mobile-inspector-open .sp-de__work,
  .sp-de.is-mobile-layers-open .sp-de__work {
    bottom: calc(60px + var(--sp-de-mobile-sheet-height));
  }

  .sp-de__rail {
    position: absolute;
    inset: auto 0 0;
    z-index: 40;
    height: 60px;
    overflow: visible;
    border: 0;
  }

  .sp-de__tabs {
    height: 60px;
    width: 100%;
    justify-content: space-around;
    gap: 0;
    padding: 4px max(3px, env(safe-area-inset-right)) 4px max(3px, env(safe-area-inset-left));
    overflow-x: auto;
    overflow-y: hidden;
    border: 0;
    border-top: 1px solid var(--cream-line);
    background: var(--white);
    scrollbar-width: none;
  }

  .sp-de__tabs::-webkit-scrollbar {
    display: none;
  }

  .sp-de__tab {
    flex: 1 0 39px;
    min-width: 39px;
    max-width: 80px;
    height: 51px;
    padding: 4px 2px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    border-radius: 9px;
  }

  .sp-de__tab svg {
    width: 17px;
    height: 17px;
  }

  .sp-de__tab span {
    font-size: 9px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .sp-de__tab--mobile {
    display: flex;
  }

  .sp-de__panel,
  .sp-de__sidebody {
    position: absolute;
    inset: auto 0 60px;
    z-index: 42;
    width: 100%;
    height: var(--sp-de-mobile-sheet-height);
    min-height: 0;
    max-height: calc(100dvh - 160px);
    display: none;
    overflow: hidden;
    border: 1px solid var(--cream-line);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: var(--white);
    box-shadow: 0 -12px 30px rgba(23, 19, 13, 0.16);
  }

  .sp-de.is-mobile-pane-open .sp-de__panel,
  .sp-de.is-mobile-inspector-open .sp-de__sidebody,
  .sp-de.is-mobile-layers-open .sp-de__sidebody {
    display: flex;
  }

  .sp-de__panehead {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 10px 58px 10px 14px;
  }

  .sp-de__mobile-panel-close {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 1;
    display: grid;
    border-color: var(--cream-line);
    color: var(--ink);
  }

  .sp-de__mobile-sheet-head {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 6px 12px 6px 16px;
    border-bottom: 1px solid var(--cream-line);
    font-size: 13px;
  }

  .sp-de__mobile-sheet-head .sp-de__tool {
    border-color: var(--cream-line);
    color: var(--ink);
  }

  .sp-de__mobile-sheet-actions {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .sp-de__mobile-sheet-actions [hidden] {
    display: none;
  }

  .sp-de__inspector .sp-de-tabs {
    flex: none;
    gap: 7px;
    padding: 9px 12px;
    overflow-x: auto;
    border-bottom: 1px solid var(--cream-line);
    scrollbar-width: none;
  }

  .sp-de__inspector .sp-de-tabs::-webkit-scrollbar {
    display: none;
  }

  .sp-de__inspector .sp-de-tabs__b {
    flex: none;
    min-height: 34px;
    margin: 0;
    padding: 6px 12px;
    border: 1px solid var(--cream-line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-size: 12px;
    white-space: nowrap;
  }

  .sp-de__inspector .sp-de-tabs__b.is-on {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
  }

  .sp-de-g--mobile-font > .sp-de-g__head {
    display: none;
  }

  .sp-de-g--mobile-font > .sp-de-g__body {
    padding: 14px 12px 18px;
  }

  .sp-de__text-words-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
  }

  .sp-de__text-words-head span:last-child {
    color: var(--gray-600);
    font-weight: 500;
  }

  .sp-de__side {
    display: contents;
  }

  .sp-de__toolbox {
    position: absolute;
    inset: auto 0 60px;
    z-index: 39;
    height: 42px;
    gap: 7px;
    justify-content: center;
    padding: 4px 8px;
    border-top: 1px solid var(--cream-line);
    border-bottom: 0;
    background: var(--cream);
  }

  .sp-de__toolbtn {
    width: 34px;
    height: 32px;
  }

  .sp-de__sidebody {
    bottom: 60px;
    flex-direction: column;
  }

  .sp-de__inspector {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }

  .sp-de__layerdock {
    flex: none;
    max-height: none;
    min-height: 0;
  }

  .sp-de.is-mobile-inspector-open .sp-de__layerdock,
  .sp-de.is-mobile-layers-open .sp-de__inspector {
    display: none;
  }

  .sp-de.is-mobile-layers-open .sp-de__layerdock {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
  }

  .sp-de.is-setup .sp-de__work {
    inset: 0;
  }
}

@media (min-width: 901px) {
  .sp-de__ctx-idle .sp-de__ctx-view {
    display: none;
  }
}

@media (max-width: 900px) {
  .sp-de__status .sp-de__status-view {
    display: none;
  }
}

@media (max-width: 560px) {
  .sp-de__title {
    display: flex;
  }

  .sp-de__setup {
    display: flex;
    align-items: center;
    padding: 24px;
  }

  .sp-de-setup__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  .sp-de-setup__layout,
  .sp-de-setup__choices {
    display: flex;
    flex: none;
    flex-direction: column;
  }

  .sp-de-setup__foot {
    width: 100%;
    max-width: none;
    margin-top: 24px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .sp-de-setup__summary {
    flex: 1;
    min-width: 0;
  }

  .sp-de-setup__go {
    width: auto;
    flex: none;
    padding-inline: 18px;
    font-size: 14px;
  }

  .sp-de-setup__go {
    justify-content: center;
  }
}

@media (max-width: 359px) {
  .sp-de__count {
    display: none;
  }
}

.sp-de-nest {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 2px 0 6px 7px;
  padding-left: 8px;
  border-left: 2px solid var(--cream-line);
}

.sp-de-fx-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp-de-fx-card {
  overflow: hidden;
  border: 1px solid var(--cream-line);
  border-radius: 10px;
  background: var(--white);
}

.sp-de-fx-card__head {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 5px 4px 8px;
}

.sp-de-fx-card__disclosure {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.sp-de-fx-card__disclosure:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.sp-de-fx-card__caret {
  flex: none;
  width: 14px;
  display: grid;
  place-items: center;
}

.sp-de-fx-card__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}

.sp-de-fx-card__head .sp-de-check,
.sp-de-fx-card__head .sp-de-icons {
  flex: none;
}

.sp-de-fx-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-top: 1px solid var(--cream-line);
  background: color-mix(in srgb, var(--cream) 45%, var(--white));
}

.sp-de-fx-card__body[hidden] {
  display: none;
}

.sp-de-fx-card.is-off .sp-de-fx-card__title {
  color: var(--gray-500);
}

.sp-de__mode .sp-de__pen {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 0 0 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.sp-de__mode .sp-de-num {
  flex: none;
  width: 132px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
}

.sp-de__mode .sp-de-num:focus-within {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
}

.sp-de__mode .sp-de-num__input {
  color: var(--white);
  font-size: 11.5px;
}

.sp-de__peninks {
  display: flex;
  align-items: center;
  gap: 3px;
}

.sp-de__penink {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  cursor: pointer;
}

.sp-de__penink:hover {
  border-color: var(--white);
}

.sp-de__penink.is-on {
  border-color: var(--white);
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--white);
}

.sp-de__mode .sp-de__pen[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .sp-de__mode {
    bottom: 10px;
    width: calc(100% - 24px);
    max-width: 420px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 8px;
    padding: 8px 10px;
    border-radius: 16px;
  }

  .sp-de__mode-name {
    flex: 0 0 100%;
    width: 100%;
    text-align: center;
    font-size: 11px;
    line-height: 1.2;
  }

  .sp-de__mode .sp-de__pen {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    gap: 4px;
    padding: 0;
    border-left: 0;
  }

  .sp-de__mode .sp-de-num {
    flex: 1 1 82px;
    min-width: 82px;
    width: auto;
    max-width: 112px;
  }

  .sp-de.is-tooling .sp-de__findings {
    bottom: 124px;
  }
}

.sp-de.is-tooling .sp-de__stagewrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px var(--orange-500);
}

.sp-de.is-tooling .sp-de__toolbox {
  background: var(--ink);
  border-right-color: var(--ink);
}

.sp-de.is-tooling .sp-de__toolbtn {
  color: rgba(255, 255, 255, 0.55);
}

.sp-de.is-tooling .sp-de__toolbtn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.sp-de.is-tooling .sp-de__toolbtn.is-on {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.sp-de-chip.has-mark {
  position: relative;
}

.sp-de-chip__mark {
  position: absolute;
  inset: 1px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: rgba(23, 19, 13, 0.42);
  color: var(--white);
  pointer-events: none;
}

.sp-de__mode .sp-de-chip {
  border-color: rgba(255, 255, 255, 0.32);
  background: transparent;
}

.sp-de__mode .sp-de-chip:hover {
  border-color: var(--white);
}

.sp-de__board {
  background-color: #e9e4da;
  background-image: radial-gradient(#d6cfc2 1px, transparent 1px);
  background-size: 14px 14px;
}

.sp-de__stagewrap {
  background: #e9e4da;
}

.sp-de__ctx {
  min-height: 52px;
  padding: 7px 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
}

.sp-de__ctx > *,
.sp-de__ctx-group,
.sp-de__ctx-tail {
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.sp-de__ctx-idle {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.sp-de__ctx-idle .sp-de-icon,
.sp-de__ctx .sp-de-icon,
.sp-de__ctx-select,
.sp-de__ctx-btn {
  min-width: 38px;
  min-height: 38px;
  border-radius: 10px;
}

.sp-de__ctx-kind {
  flex: none;
  font-size: 12px;
  letter-spacing: 0;
}

.sp-de__ctx-edit {
  align-items: center;
  flex: none;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--cream-line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.sp-de__text-copy-look {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--cream-line);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .sp-de__ctx {
    gap: 5px;
    padding: 6px 8px;
  }

  .sp-de__ctx-edit {
    display: inline-flex;
    min-height: 34px;
    padding: 0 8px;
    font-size: 11px;
  }

  .sp-de__ctx-select {
    max-width: 88px;
    min-height: 34px;
    padding: 0 4px;
    font-size: 11px;
  }

  .sp-de__ctx .sp-de-icon {
    width: 32px;
    min-width: 32px;
    min-height: 34px;
  }

  .sp-de__ctx.is-text .sp-de__ctx-copy-look,
  .sp-de__ctx.is-text .sp-de__ctx-tail .sp-de__ctx-rule {
    display: none;
  }

  .sp-de__ctx-step .sp-de__ctx-btn,
  .sp-de__ctx-group {
    display: none;
  }

  .sp-de__ctx-step {
    min-height: 34px;
    padding: 0 6px;
    border: 1px solid var(--cream-line);
    border-radius: 10px;
    white-space: nowrap;
  }

  .sp-de__ctx-copy-look {
    order: 1;
  }
}

.sp-de__toolbox {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 12px;
  width: 48px;
  gap: 3px;
  padding: 5px;
  border: 0;
  border-radius: 13px;
  background: #ede4d6;
  box-shadow: 0 2px 8px rgba(23, 19, 13, 0.1);
}

.sp-de__toolbtn {
  width: 38px;
  height: 38px;
}

.sp-de__side {
  width: 300px;
  display: block;
}

.sp-de__sidebody {
  width: 100%;
  height: 100%;
}

.sp-de__inspector {
  min-height: 180px;
}

.sp-de__layerdock {
  min-height: 96px;
  max-height: 28%;
  background: #fff;
}

.sp-de__layerhead {
  padding: 9px 14px 5px;
}

.sp-de__layertitle {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.sp-de__text-add {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.sp-de__text-add:hover {
  background: #352d22;
}

.sp-de__text-faces {
  border-top: 1px solid var(--cream-line);
  padding-top: 10px;
  font-size: 12px;
  color: var(--gray-600);
}

.sp-de__text-faces summary {
  cursor: pointer;
}

.sp-de__text-faces .sp-de__ready {
  margin-top: 10px;
}

.sp-de__text-quick {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 2px 0 10px;
}

.sp-de__text-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sp-de__text-quick-label {
  flex: 0 0 100%;
  font-size: 12px;
  color: var(--ink);
}

.sp-de__text-chip {
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.sp-de__text-chip.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.sp-de__text-size {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  font-size: 12px;
}

.sp-de__text-size input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--ink);
}

.sp-de__text-more {
  border-top: 1px solid var(--cream-line);
  padding: 10px 0 0;
}

.sp-de__text-more summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.sp-de__text-more > :not(summary) {
  margin-top: 9px;
}

@media (max-width: 900px) {
  .sp-de__rail {
    bottom: 0;
  }

  .sp-de__work {
    bottom: 60px;
  }

  .sp-de.is-mobile-pane-open .sp-de__work,
  .sp-de.is-mobile-inspector-open .sp-de__work,
  .sp-de.is-mobile-layers-open .sp-de__work {
    bottom: calc(60px + var(--sp-de-mobile-sheet-height));
  }

  .sp-de__sidebody {
    bottom: 60px;
  }

  .sp-de__toolbox {
    top: 10px;
    left: 10px;
    bottom: auto;
    right: auto;
    width: 46px;
    height: auto;
    flex-direction: column;
    padding: 4px;
    border: 0;
  }

  .sp-de__toolbtn {
    width: 38px;
    height: 38px;
  }

  .sp-de__sidebody {
    height: var(--sp-de-mobile-sheet-height);
  }

  .sp-de.is-setup .sp-de__work {
    inset: 0;
  }
}

@media (max-width: 900px) {
  .sp-de { --sp-de-mobile-rail-height: calc(60px + env(safe-area-inset-bottom)); }
  .sp-de :is(input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="range"]):not([type="file"]),select,textarea) { font-size: 16px; }
  .sp-de__rail,.sp-de__tabs { height: var(--sp-de-mobile-rail-height); }
  .sp-de__tabs { padding-bottom: calc(4px + env(safe-area-inset-bottom)); }
  .sp-de__tab { min-width: 44px; flex-basis: 44px; }
  .sp-de__tab span { font-size: 11px; }
  .sp-de__work { bottom: var(--sp-de-mobile-rail-height); }
  .sp-de :is(.sp-de__panel,.sp-de__sidebody) { bottom: var(--sp-de-mobile-rail-height); }
  .sp-de.is-mobile-pane-open .sp-de__work,.sp-de.is-mobile-inspector-open .sp-de__work,.sp-de.is-mobile-layers-open .sp-de__work { bottom: calc(var(--sp-de-mobile-rail-height) + var(--sp-de-mobile-sheet-height)); }
  .sp-de__order-popover { width: min(300px,calc(100vw - 24px)); max-height: calc(100dvh - 80px - env(safe-area-inset-bottom)); overflow-y: auto; }
  .sp-de.is-setup .sp-de__work { inset: 0; }
}

@media (max-width: 900px) {
  .sp-de :is(.sp-de-setup__pill,.sp-de__text-chip,.sp-de__ctx-pill) { min-height: 44px; }
  .sp-de :is(.sp-de__back,.sp-de__tool,.sp-de__order) { min-width: 44px; min-height: 44px; }
  .sp-de__toolbox { width: 54px; }
  .sp-de__toolbtn { width: 44px; height: 44px; }
}

.sp-de-mobile-notice{font-family:var(--font-sans,system-ui,sans-serif);width:min(420px,calc(100% - 32px));max-height:calc(100dvh - 48px);box-sizing:border-box;padding:28px;border:1px solid var(--border-default);border-radius:24px;background:var(--surface-card,#fff);color:var(--ink);box-shadow:0 20px 60px rgba(23,19,13,.22)}
.sp-de-mobile-notice::backdrop{background:rgba(23,19,13,.5)}
.sp-de-mobile-notice__title{margin:0 0 14px;font-size:24px;line-height:1.2}
.sp-de-mobile-notice__message{margin:0;color:var(--text-muted);font-size:16px;line-height:1.6}
.sp-de-mobile-notice__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.sp-de-mobile-notice__actions button{flex:1;min-height:48px;padding:12px;border:1.5px solid var(--ink);border-radius:999px;font:inherit;font-weight:700;cursor:pointer}
.sp-de-mobile-notice__cancel{background:transparent;color:var(--ink)}
.sp-de-mobile-notice__continue{background:var(--ink);color:#fff}
.sp-de-mobile-notice__actions button:focus-visible{outline:2px solid var(--border-focus);outline-offset:3px}
.sp-de-tooltip {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  width: max-content;
  max-width: min(280px, calc(100vw - 16px));
  padding: 7px 10px;
  border-radius: 6px;
  background: #24221e;
  color: #fff;
  box-shadow: 0 3px 12px #0003;
  font: 500 12px/1.45 system-ui, sans-serif;
  overflow-wrap: anywhere;
  text-align: left;
}

.sp-de-tooltip[hidden] { display: none; }
