:root {
  color-scheme: light;
  --ss-bg: #e8edf6;
  --ss-bg-2: #dde5f2;
  --ss-surface: rgba(255,255,255,0.7);
  --ss-surface-strong: rgba(255,255,255,0.9);
  --ss-text: #21304f;
  --ss-muted: #697792;
  --ss-accent: #6f63ff;
  --ss-accent-soft: rgba(111, 99, 255, 0.12);
  --ss-danger: #d34f6f;
  --ss-shadow-dark: rgba(149, 166, 198, 0.26);
  --ss-shadow-light: rgba(255, 255, 255, 0.92);
  --ss-tabbar-h: 86px;
  --ss-radius-xl: 28px;
  --ss-radius-lg: 22px;
  --ss-radius-md: 16px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(180deg, #edf2fa 0%, #e3eaf5 100%);
  color: var(--ss-text);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body {
  min-height: 100vh;
  overscroll-behavior-y: none;
}
button,
a {
  font: inherit;
}
button { cursor: pointer; }
img { display: block; max-width: 100%; }
@keyframes ss-spin {
  to { transform: rotate(360deg); }
}

.mTreeRow.is-moving .mTreeEntry {
  background: linear-gradient(180deg, rgba(236,240,255,0.98) 0%, rgba(229,236,248,0.92) 100%);
  box-shadow:
    inset 5px 5px 10px rgba(187, 201, 217, 0.34),
    inset -4px -4px 9px rgba(255,255,255,0.84),
    0 0 0 2px rgba(111, 99, 255, 0.22);
}

.mTreeRow.is-moving .mTreeIcon {
  color: var(--ss-accent);
}

.mTreeRow--root {
  padding-left: 0;
}

.mTreeEntry--root {
  font-weight: 700;
}

.mTreeIcon--home {
  color: var(--ss-muted);
}

.catalogPanel {
  margin: 0 10px 18px;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(245,249,253,0.72) 0%, rgba(233,240,247,0.66) 100%);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.88), 10px 10px 22px rgba(149, 166, 198, 0.14), -8px -8px 18px rgba(255,255,255,0.58);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  overflow-x: hidden;
}
@keyframes shimmer {
  to { background-position: -220% 0; }
}

.mTree {
  display: grid;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}
.mTreeBranch {
  display: block;
  min-width: 0;
  max-width: 100%;
  content-visibility: visible;
  contain-intrinsic-size: auto;
}
.mTreeChildren {
  display: grid;
  gap: 6px;
  margin-top: 6px;
  margin-left: 12px;
  padding-left: 11px;
  border-left: 1px solid rgba(118, 132, 168, 0.12);
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}
.mTreeChildren > .mTreeBranch + .mTreeBranch {
  margin-top: 0;
}
.mTreeRow {
  display: flex;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  padding-right: 2px;
}
.mTreeRow--leaf {
  padding-left: 36px;
}
.mTreeRow.is-active .mTreeEntry {
  background: linear-gradient(180deg, rgba(236,240,255,0.98) 0%, rgba(229,236,248,0.92) 100%);
  box-shadow: inset 3px 3px 7px rgba(193,206,222,0.22), inset -2px -2px 7px rgba(255,255,255,0.88), 0 0 0 1px rgba(111,99,255,0.08);
}
.mTreeToggle,
.mTreeEntry,
.mTreeMore {
  appearance: none;
  border: 0;
}
.mTreeToggle {
  flex: 0 0 30px;
  width: 30px;
  min-height: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(241,246,251,0.9) 0%, rgba(231,239,247,0.82) 100%);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.88), 4px 4px 10px rgba(149,166,198,0.16), -3px -3px 8px rgba(255,255,255,0.72);
  color: rgba(84,101,131,0.92);
  transition: background 140ms ease, box-shadow 140ms ease, color 140ms ease;
}
.mTreeToggle.is-open {
  background: linear-gradient(180deg, rgba(220,229,239,0.98) 0%, rgba(233,240,247,0.92) 100%);
  box-shadow: inset 4px 4px 9px rgba(182,196,214,0.42), inset -3px -3px 7px rgba(255,255,255,0.78), 0 0 0 1px rgba(72,88,116,0.12);
  color: rgba(50,64,90,0.98);
}
.mTreeToggle svg {
  width: 16px;
  height: 16px;
}
.mTreeEntry {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  height: 42px;
  padding: 0 8px 0 3px;
  border-radius: 14px;
  text-align: left;
  background: rgba(255,255,255,0.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.88), 4px 4px 10px rgba(149, 166, 198, 0.08), -3px -3px 8px rgba(255,255,255,0.58);
}
.mTreeMore {
  flex: 0 0 34px;
  width: 34px;
  min-width: 34px;
  min-height: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(241,246,251,0.86) 0%, rgba(231,239,247,0.76) 100%);
  color: rgba(99,114,142,0.88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 2px 2px 5px rgba(193,206,222,0.22), inset -2px -2px 5px rgba(255,255,255,0.82);
}
.mTreeMore svg {
  width: 16px;
  height: 16px;
  display: block;
}
.mTreeIcon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #586b8c;
  background: linear-gradient(180deg, rgba(227,237,247,0.96) 0%, rgba(221,232,244,0.88) 100%);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.8), 3px 3px 8px rgba(149,166,198,0.08);
}
.mTreeIcon svg {
  width: 20px;
  height: 20px;
}
.mTreeIcon--thumb {
  padding: 0;
  overflow: hidden;
  background: rgba(245,248,251,0.82);
  background-size: cover;
  background-position: center;
}
.mTreeIcon--thumb img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 12px;
  background: transparent;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.mTreeText {
  flex: 1 1 auto;
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.mTreeText strong {
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mTreeShareBadge {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #326f62;
  background: #dff3ea;
  border: 1px solid #b9dfd1;
  border-radius: 7px;
}

.mTreeShareBadge svg {
  width: 15px;
  height: 15px;
}

.ss-photo-fs {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-photo-fs__bg {
  position: absolute;
  inset: 0;
  background: rgba(234, 242, 251, 0.92);
  backdrop-filter: blur(6px);
}

.ss-photo-fs__body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(96vw, 1100px);
  justify-content: center;
  padding-inline: 8px;
}

.ss-photo-fs__img {
  max-width: min(90vw, 900px);
  max-height: min(78vh, 720px);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
  background: #f3f3f3;
}

.ss-photo-fs__nav,
.ss-photo-fs__close {
  border: 0;
  background: rgba(255,255,255,0.8);
  color: var(--ss-text);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 6px 6px 16px rgba(0,0,0,0.14);
}

.ss-photo-fs__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
}

.ss-photo-fs__close svg,
.ss-photo-fs__nav svg {
  width: 22px;
  height: 22px;
  display: block;
}

.ss-photo-fs__thumbs {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  z-index: 3;
  display: flex;
  gap: 8px;
  max-width: 92vw;
  overflow: auto;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 10px 10px 26px rgba(0,0,0,0.12);
}

.ss-photo-fs__t {
  border: 0;
  padding: 0;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0.85;
  background: #f3f3f3;
  box-shadow: inset 3px 3px 7px rgba(0,0,0,0.06), inset -3px -3px 7px rgba(255,255,255,0.9);
}

.ss-photo-fs__t img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ss-photo-fs__t.is-active {
  opacity: 1;
  outline: 2px solid rgba(109,93,251,0.55);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .ss-photo-fs__body {
    gap: 8px;
    width: 100vw;
    padding-inline: 10px;
  }

  .ss-photo-fs__img {
    max-width: calc(100vw - 72px);
    max-height: min(70vh, 520px);
  }

  .ss-photo-fs__nav,
  .ss-photo-fs__close {
    width: 40px;
    height: 40px;
  }

  .ss-photo-fs__thumbs {
    bottom: 14px;
    max-width: calc(100vw - 20px);
  }
}
.detailSheet {
  z-index: 10021;
}

.detailPanel {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: linear-gradient(180deg, rgba(244,248,253,0.98) 0%, rgba(233,240,248,0.98) 100%);
}

.detailPanel.is-entering {
  animation: ss-detail-panel-in 220ms cubic-bezier(.22,.8,.24,1);
}

.detailPanel.is-closing {
  animation: ss-detail-panel-out 220ms cubic-bezier(.22,.8,.24,1) forwards;
  pointer-events: none;
}

.detailPanelShell {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248,250,255,0.98) 0%, rgba(239,244,252,0.99) 100%);
}

.detailPanelHeader {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 8px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(235,242,250,0.22) 100%) padding-box,
    linear-gradient(135deg, rgba(255,255,255,0.34) 0%, rgba(226,235,246,0.2) 100%) border-box;
  border: 1px solid transparent;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.52), 10px 10px 20px rgba(167, 184, 206, 0.1), -6px -6px 14px rgba(255,255,255,0.32);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  pointer-events: none;
}

.detailPanelBack {
  pointer-events: auto;
  min-width: 0;
  height: 38px;
  border: 0;
  border-radius: 19px;
  padding: 0 14px 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #445675;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.34) 0%, rgba(235,242,250,0.46) 100%) padding-box,
    linear-gradient(135deg, rgba(255,255,255,0.56) 0%, rgba(226,235,246,0.3) 100%) border-box;
  border: 1px solid transparent;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.78), 12px 12px 22px rgba(167, 184, 206, 0.16), -8px -8px 16px rgba(255,255,255,0.5);
  backdrop-filter: blur(22px) saturate(1.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.detailPanelBackIcon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
}

.detailPanelBackIcon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.detailPanelBackLabel {
  display: inline-block;
  transform: translateY(-0.5px);
}

.detailPanelScroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  overflow-anchor: none;
  padding-bottom: calc(var(--ss-tabbar-h) + env(safe-area-inset-bottom, 0px) + 132px);
  scroll-padding-bottom: calc(var(--ss-tabbar-h) + env(safe-area-inset-bottom, 0px) + 132px);
}

.detailPanelBody {
  display: grid;
  gap: 14px;
  padding: calc(env(safe-area-inset-top, 0px) + 64px) 0 20px;
}

.detailPanelBody.ss-mobile-detail-page {
  padding-left: 10px;
  padding-right: 10px;
}

@keyframes ss-detail-panel-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes ss-detail-final-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes ss-detail-panel-out {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes ss-destination-catalog-in {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes ss-destination-catalog-out {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.switchLink,
.softBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 0;
  text-decoration: none;
  color: var(--ss-text);
  background: var(--ss-surface-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 8px 8px 18px rgba(149, 166, 198, 0.16);
}

.emptyState {
  border-radius: 20px;
  padding: 20px;
  background: rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 8px 8px 18px rgba(149, 166, 198, 0.14);
}
.emptyStateTitle {
  font-size: 18px;
  font-weight: 800;
}
.emptyStateText {
  margin-top: 8px;
  color: var(--ss-muted);
  line-height: 1.55;
}

@keyframes ss-mobile-save-spin {
  to { transform: rotate(360deg); }
}

@-webkit-keyframes ss-mobile-save-spin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

.ss-mobile-add-page {
  padding-bottom: 0;
}

@media (max-width: 420px) {
  .catalogPanel {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@keyframes alerts-period-sheet-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ss-mobile-add-page {
  --surface: #eaf2fb;
  --text: #21304f;
  --muted: #697792;
  --accent: #6f63ff;
  --shadow-dark: rgba(149, 166, 198, 0.26);
  --shadow-light: rgba(255, 255, 255, 0.92);
  --radius: 18px;
  --radius-sm: 14px;
  gap: 12px;
}

.ss-mobile-add-page .card {
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255,255,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 12px 12px 24px var(--shadow-dark), -10px -10px 22px var(--shadow-light);
}

.ss-mobile-add-page .muted {
  color: var(--muted);
}

.ss-mobile-add-page .status {
  min-height: 22px;
  padding: 0 4px 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.ss-mobile-add-page .status.error {
  color: #8d2742;
}

.ss-mobile-add-page .row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ss-mobile-add-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  color: var(--text);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 8px 8px 18px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
}

.ss-mobile-add-page .btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #6f63ff, #8578ff);
  box-shadow: 10px 12px 22px rgba(111,99,255,0.26);
}

.ss-mobile-add-page .btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.ss-mobile-add-page input,
.ss-mobile-add-page select {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255,255,255,0.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 8px 8px 18px rgba(149, 166, 198, 0.1);
}

.ss-mobile-add-page .ss-breadcrumbs-bar {
  margin: -16px -16px 0 -16px;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 8px 8px 18px rgba(149, 166, 198, 0.12);
}

.ss-mobile-add-page .item-cat-bc {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
}

.ss-mobile-add-page .ss-bc-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ss-mobile-add-page .item-cat-trail {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ss-mobile-add-page .ss-bc-home-btn,
.ss-mobile-add-page .ss-bc-crumb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.72);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 6px 6px 14px rgba(149,166,198,0.12);
}

.ss-mobile-add-page .ss-bc-home-btn.is-last,
.ss-mobile-add-page .ss-bc-crumb-btn.is-last {
  font-weight: 700;
  color: var(--accent);
}

.ss-mobile-add-page .item-editor {
  margin-top: 0;
}

.ss-mobile-add-page .item-editor .grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ss-mobile-add-page .item-fields .field-row {
  display: grid;
  gap: 8px;
}

.ss-mobile-add-page .item-fields .field-label {
  flex: initial;
}

.ss-mobile-add-page .ss-inline-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ss-mobile-add-page .ss-inline-title__text {
  font-weight: 800;
  font-size: 28px;
  line-height: 1.08;
}

.ss-mobile-add-page .ss-inline-title__text {
  display: block;
  min-width: 0;
  word-break: break-word;
}

.ss-mobile-add-page .ss-photo-editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ss-mobile-add-page .ss-photo-main,
.ss-mobile-add-page .ss-photo-thumbs {
  width: 100%;
}

.ss-mobile-add-page .ss-photo-main {
  position: relative;
  width: min(100%, 512px);
  max-width: 512px;
  max-height: 512px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.72);
  box-shadow: inset 4px 4px 9px rgba(0,0,0,.06), inset -4px -4px 9px rgba(255,255,255,.9);
}

.ss-mobile-add-page .ss-photo-main__img,
.ss-mobile-add-page .ss-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss-mobile-add-page .ss-photo-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ss-mobile-add-page .ss-photo-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.72);
}

.ss-mobile-add-page .ss-tag-chips {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 6px 6px 14px rgba(149,166,198,0.1);
}

.ss-mobile-add-page .ss-tag-chips__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 420px) {

  .ss-mobile-add-page .ss-bc-wrap {
    flex-direction: column;
    align-items: stretch;
  }
}

.ss-mobile-add-page {
  --surface: #eef4fb;
  --surface-strong: #fbfdff;
  --surface-soft: #e3edf7;
  --border: rgba(207, 220, 234, 0.92);
  --stroke-grad: linear-gradient(135deg, rgba(240,244,249,0.98) 0%, rgba(236,241,247,0.96) 18%, rgba(207,220,235,0.98) 100%);
  --stroke-grad-strong: linear-gradient(135deg, rgba(248,250,255,0.98) 0%, rgba(236,241,247,0.96) 18%, rgba(196,208,224,0.98) 100%);
  --text: #31456a;
  --muted: #7387a2;
  --accent: #6f63ff;
  --accent-strong: #5a70a8;
  --accent-soft: rgba(143, 166, 194, 0.18);
  --add-font-size: 14px;
  --add-line: 1.45;
  --add-font-weight: 500;
  --add-label-size: 12px;
  --add-label-line: 1.35;
  --add-label-weight: 700;
  --add-control-size: 14px;
  --add-control-line: 1.25;
  --add-control-weight: 600;
  --add-title-size: 24px;
  --add-title-line: 1.08;
  --add-title-weight: 800;
  display: grid;
  gap: 14px;
  color: var(--text);
  font-size: var(--add-font-size);
  line-height: var(--add-line);
  font-weight: var(--add-font-weight);
}

.ss-mobile-add-page,
.ss-mobile-add-page input,
.ss-mobile-add-page select,
.ss-mobile-add-page button,
.ss-mobile-add-page .btn,
.ss-mobile-add-page .ss-color-btn,
.ss-mobile-add-page .ss-bc-home-btn,
.ss-mobile-add-page .ss-bc-crumb-btn {
  font-size: var(--add-control-size);
  line-height: var(--add-control-line);
}

.ss-mobile-add-page input,
.ss-mobile-add-page select {
  font-weight: var(--add-font-weight);
}

.ss-mobile-add-page .btn,
.ss-mobile-add-page .ss-color-btn,
.ss-mobile-add-page .ss-bc-home-btn,
.ss-mobile-add-page .ss-bc-crumb-btn {
  font-weight: var(--add-control-weight);
}

.ss-mobile-add-page .item-fields .field-label,
.ss-mobile-add-page .status {
  font-size: var(--add-label-size);
  line-height: var(--add-label-line);
}

.ss-mobile-add-page .item-fields .field-label {
  font-weight: var(--add-label-weight);
}


.ss-mobile-add-page .ss-color-btn-label {
  font-size: var(--add-font-size);
  line-height: 1.25;
}

.ss-mobile-add-page .ss-inline-title__text {
  font-size: var(--add-title-size);
  line-height: var(--add-title-line);
  font-weight: var(--add-title-weight);
}

.ss-mobile-add-page .item-editor-section {
  gap: 10px;
  width: 100%;
}

.ss-mobile-add-page .item-editor-section__toggle {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  column-gap: 10px;
  row-gap: 6px;
  flex-wrap: nowrap;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(251,253,255,0.98) 0%, rgba(236,243,250,0.98) 100%) padding-box,
    var(--stroke-grad) border-box;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.96),
    10px 10px 20px rgba(171, 189, 210, 0.18),
    -8px -8px 16px rgba(255,255,255,0.92);
  color: var(--text);
  text-align: left;
}

.ss-mobile-add-page .item-editor-section__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
}

.ss-mobile-add-page .item-editor-section__meta {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.ss-mobile-add-page .item-editor-section__chevron {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.94),
    4px 4px 10px rgba(171, 189, 210, 0.18);
  color: var(--muted);
}

.ss-mobile-add-page .item-editor-section.is-open .item-editor-section__toggle {
  background:
    linear-gradient(180deg, rgba(241,247,255,1) 0%, rgba(232,240,250,1) 100%) padding-box,
    var(--stroke-grad-strong) border-box;
  box-shadow:
    inset 5px 5px 10px rgba(193,206,222,0.28),
    inset -4px -4px 10px rgba(255,255,255,0.88),
    0 0 0 1px rgba(111,99,255,0.08);
}

.ss-mobile-add-page .item-editor-section.is-open .item-editor-section__chevron {
  background: rgba(236,243,252,0.96);
  box-shadow:
    inset 3px 3px 6px rgba(193,206,222,0.22),
    inset -2px -2px 6px rgba(255,255,255,0.8);
}

.ss-mobile-add-page .item-editor-section__body {
  padding: 2px 2px 0;
}

.ss-mobile-add-page .card {
  position: relative;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, #fdfefe 0%, #eff5fb 100%) padding-box,
    var(--stroke-grad) border-box;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.94),
    0 14px 30px rgba(171, 189, 210, 0.09),
    14px 14px 28px rgba(171, 189, 210, 0.13);
}

.ss-mobile-add-page .card-breadcrumbs {
  background:
    linear-gradient(180deg, #fafcff 0%, #ecf3fa 100%) padding-box,
    var(--stroke-grad) border-box;
}

.ss-mobile-add-page .muted {
  color: var(--muted);
}

.ss-mobile-add-page .status {
  min-height: 22px;
  padding: 4px 4px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ss-mobile-add-page .status.error {
  color: #a03939;
}

.ss-mobile-add-page .row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ss-mobile-add-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #f8fbff 0%, #e5eef7 100%) padding-box,
    var(--stroke-grad) border-box;
  color: var(--text);
  font-weight: 600;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.94), 10px 10px 20px rgba(171, 189, 210, 0.18), -8px -8px 16px rgba(255,255,255,0.94);
}

.ss-mobile-add-page .btn.primary {
  border-color: transparent;
  background:
    linear-gradient(180deg, var(--accent) 0%, #5e51f0 100%) padding-box,
    linear-gradient(135deg, rgba(248,250,255,0.82) 0%, rgba(214,223,238,0.82) 100%) border-box;
  color: #fff;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.2), 12px 12px 24px rgba(111, 99, 255, 0.28), -6px -6px 12px rgba(255,255,255,0.5);
}

.ss-mobile-add-page .btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.ss-mobile-add-page input,
.ss-mobile-add-page select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  font: inherit;
  background:
    linear-gradient(180deg, rgba(236,243,250,0.96) 0%, rgba(229,237,246,0.96) 100%) padding-box,
    var(--stroke-grad) border-box;
  color: var(--text);
  box-shadow: inset 6px 6px 12px rgba(191, 205, 222, 0.28), inset -6px -6px 12px rgba(255,255,255,0.86);
}

.ss-mobile-add-page input::placeholder {
  color: #8a9bb2;
}

.ss-mobile-add-page input:focus,
.ss-mobile-add-page select:focus,
.ss-mobile-add-page button:focus-visible {
  outline: none;
  box-shadow: inset 6px 6px 12px rgba(191, 205, 222, 0.22), inset -6px -6px 12px rgba(255,255,255,0.78), 0 0 0 3px rgba(143, 166, 194, 0.22);
}

.ss-mobile-add-page .ss-breadcrumbs-bar {
  margin: -16px -16px 0 -16px;
  padding: 14px 16px 0;
  border-radius: 24px 24px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.ss-mobile-add-page .item-cat-bc {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.ss-mobile-add-page .ss-bc-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ss-mobile-add-page .item-cat-trail {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ss-mobile-add-page .item-cat-sep {
  color: rgba(116, 135, 161, 0.66);
}

.ss-mobile-add-page .ss-bc-home-btn,
.ss-mobile-add-page .ss-bc-crumb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(251,253,255,0.98) 0%, rgba(235,242,249,0.98) 100%) padding-box,
    var(--stroke-grad) border-box;
  color: var(--text);
  font-size: 12px;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.96), 9px 9px 18px rgba(171, 189, 210, 0.18), -6px -6px 12px rgba(255,255,255,0.96);
}

.ss-mobile-add-page .ss-bc-crumb-btn {
  max-width: 100%;
  cursor: pointer;
}

.ss-mobile-add-page .ss-bc-home-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--accent-strong);
}

.ss-mobile-add-page .bc-home-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.ss-mobile-add-page .ss-bc-home-btn.is-last,
.ss-mobile-add-page .ss-bc-crumb-btn.is-last {
  font-weight: 700;
  color: var(--accent-strong);
  background:
    linear-gradient(180deg, rgba(235,242,249,1) 0%, rgba(226,236,247,1) 100%) padding-box,
    var(--stroke-grad-strong) border-box;
  box-shadow: inset 5px 5px 10px rgba(193, 206, 222, 0.32), inset -5px -5px 10px rgba(255,255,255,0.86), 0 0 0 1px rgba(111, 99, 255, 0.08);
}



.ss-mobile-add-page .item-editor {
  margin-top: 0;
  min-width: 0;
  max-width: 100%;
}

.ss-mobile-add-page .item-editor {
  position: relative;
  padding: 18px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #fcfeff 0%, #eef4fa 100%) padding-box,
    var(--stroke-grad) border-box;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.96),
    0 16px 34px rgba(171, 189, 210, 0.09),
    16px 16px 32px rgba(171, 189, 210, 0.13);
}

.ss-mobile-add-page {
  overflow-x: hidden;
}


.ss-mobile-add-page .item-editor {
  overflow-x: visible;
}

.ss-mobile-add-page .item-editor .grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.ss-mobile-add-page .ss-preview-value {
  min-height: 44px;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(132, 154, 178, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-weight: 750;
  line-height: 1.35;
}

.ss-mobile-add-page .ss-preview-value--multiline {
  white-space: pre-wrap;
  font-weight: 650;
}

.ss-mobile-add-page .item-editor .row {
  min-width: 0;
  flex-wrap: wrap;
}

.ss-mobile-add-page .item-editor .row > * {
  min-width: 0 !important;
  max-width: 100%;
}

.ss-mobile-add-page .item-editor > .row + .row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch !important;
  gap: 16px;
}

.ss-mobile-add-page .item-editor > .row + .row > div {
  width: 100%;
  min-width: 0 !important;
  max-width: 100%;
}

.ss-mobile-add-page .item-editor > .row + .row > div:first-child {
  display: flex;
  justify-content: center;
}

.ss-mobile-add-page .item-fields .field-row {
  display: grid;
  gap: 0;
  min-width: 0;
}

.ss-mobile-add-page .item-fields .field-row + .field-row {
  margin-top: 8px;
}

.ss-mobile-add-page .item-fields .field-label,
.ss-mobile-add-page .item-fields .field-input,
.ss-mobile-add-page .item-edit-colors,
.ss-mobile-add-page .item-edit-colors__grid {
  flex: initial;
  min-width: 0;
  max-width: 100%;
}

.ss-mobile-add-page .item-fields .field-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ss-mobile-add-page .item-edit-colors__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ss-mobile-add-page .item-edit-colors__grid .field-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ss-mobile-add-page .item-edit-colors__grid .field-label {
  padding-top: 0;
  flex: 0 0 auto;
}

.ss-mobile-add-page .item-edit-colors__grid .field-input {
  flex: 0 0 auto;
}

.ss-mobile-add-page .ss-color-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.65);
  box-shadow: inset 6px 6px 12px rgba(0,0,0,0.05), inset -6px -6px 12px rgba(255,255,255,0.9);
  cursor: pointer;
}

.ss-mobile-add-page .ss-color-btn:hover {
  filter: brightness(0.99);
}

.ss-mobile-add-page .ss-color-btn-label {
  flex: 1;
  text-align: left;
  font-weight: 600;
}

.ss-mobile-add-page .ss-color-swatch {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin: 0 auto;
  border: 1px solid rgba(0,0,0,0.10);
}

.ss-mobile-add-page .ss-color-swatch--none {
  background: rgba(255,255,255,0.75);
  position: relative;
}

.ss-mobile-add-page .ss-color-swatch--none::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 50px;
  height: 3px;
  background: rgba(220,0,0,0.85);
  transform: translateY(-50%) rotate(-45deg);
  border-radius: 2px;
}

.ss-mobile-add-page .ss-color-swatch--transparent {
  background-image:
    linear-gradient(45deg, rgba(0,0,0,0.18) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,0.18) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0,0,0,0.18) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0,0,0,0.18) 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
}

.ss-mobile-add-page .item-editor input,
.ss-mobile-add-page .item-editor select,
.ss-mobile-add-page .item-editor button {
  min-width: 0;
  max-width: 100%;
}

.ss-mobile-add-page .ss-inline-title {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding-right: 9px;
}

.ss-mobile-add-page .ss-inline-title::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(236,243,250,0.96) 0%, rgba(229,237,246,0.96) 100%) padding-box,
    var(--stroke-grad) border-box;
  box-shadow:
    inset 6px 6px 12px rgba(191, 205, 222, 0.22),
    inset -6px -6px 12px rgba(255,255,255,0.78),
    0 0 0 3px rgba(143, 166, 194, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease;
}

.ss-mobile-add-page .ss-inline-title__text {
  position: relative;
  z-index: 1;
  grid-column: 1;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  min-height: 52px;
}

.ss-mobile-add-page .ss-inline-title__text {
  display: block;
  min-width: 0;
  padding: 13px 10px;
  word-break: break-word;
}


.ss-mobile-add-page .ss-inline-title:focus-within::before {
  opacity: 1;
}

.ss-mobile-add-page .ss-photo-editor {
  display: grid;
  gap: 12px;
}

.ss-mobile-add-page .ss-photo-main,
.ss-mobile-add-page .ss-photo-thumbs {
  width: 100%;
}

.ss-mobile-add-page .ss-photo-main {
  position: relative;
  width: min(100%, 512px);
  max-width: 512px;
  max-height: 512px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  border: 1px solid transparent;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(239,245,252,0.98) 0%, rgba(229,238,248,0.98) 100%) padding-box,
    var(--stroke-grad) border-box;
  box-shadow: inset 8px 8px 18px rgba(192, 206, 223, 0.22), inset -8px -8px 18px rgba(255,255,255,0.82);
}

.ss-mobile-add-page .ss-photo-main--empty {
  width: min(100%, 256px);
  max-width: 256px;
  max-height: 256px;
}

.ss-mobile-add-page .ss-photo-main__img,
.ss-mobile-add-page .ss-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss-mobile-add-page .ss-photo-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 128px));
  justify-content: start;
  gap: 10px;
}

.ss-mobile-add-page .ss-photo-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(247,251,255,0.98) 0%, rgba(229,237,246,0.96) 100%) padding-box,
    var(--stroke-grad) border-box;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.94), 8px 8px 16px rgba(171, 189, 210, 0.14), -6px -6px 12px rgba(255,255,255,0.9);
}

.ss-mobile-add-page .ss-photo-thumb.is-active {
  border-color: transparent;
  outline: 2px solid rgba(109, 93, 251, 0.55);
  outline-offset: 2px;
  box-shadow:
    inset 6px 6px 12px rgba(193, 206, 222, 0.34),
    inset -6px -6px 12px rgba(255,255,255,0.82),
    0 10px 18px rgba(111, 99, 255, 0.16);
}

.ss-mobile-add-page .ss-tag-chips {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(244,248,253,0.98) 0%, rgba(233,240,248,0.98) 100%) padding-box,
    var(--stroke-grad) border-box;
  box-shadow: inset 6px 6px 12px rgba(191, 205, 222, 0.24), inset -6px -6px 12px rgba(255,255,255,0.84);
}

.ss-mobile-add-page .ss-tag-chips__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ss-mobile-add-page .ss-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #fbfdff 0%, #edf4fb 100%) padding-box,
    var(--stroke-grad) border-box;
  color: var(--text);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.94), 6px 6px 12px rgba(171, 189, 210, 0.14), -4px -4px 10px rgba(255,255,255,0.9);
}

@keyframes ss-photo-pending {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

@media (max-width: 420px) {
  .ss-mobile-add-page .ss-bc-wrap {
    flex-direction: column;
    align-items: stretch;
  }
}
@keyframes ss-cloud-spin{ to{ transform:rotate(360deg); } }
