.navigation-edit-modal[hidden] {
  display: none !important;
}

.navigation-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 10160;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.navigation-edit-modal.is-open {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.navigation-edit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 14, 0.58);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.navigation-edit-modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 98vw);
  max-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(244, 208, 111, 0.45);
  background: linear-gradient(180deg, #141820 0%, #0a0c12 100%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.navigation-edit-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(244, 208, 111, 0.35);
  border-radius: 6px;
  background: rgba(12, 14, 20, 0.9);
  color: #f4d06f;
  cursor: pointer;
}

.navigation-edit-modal__head {
  padding: 1.1rem 1.2rem 0.65rem;
  padding-right: 3rem;
  border-bottom: 1px solid rgba(244, 208, 111, 0.12);
}

.navigation-edit-modal__title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #f4d06f;
}

.navigation-edit-modal__lead {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: rgba(247, 234, 208, 0.65);
  line-height: 1.45;
}

.navigation-edit-modal__body {
  overflow: auto;
  padding: 0.9rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #1a1c24 #000000;
}

.navigation-edit-modal__body::-webkit-scrollbar {
  width: 10px;
  background: #000000;
}

.navigation-edit-modal__body::-webkit-scrollbar-thumb {
  background: #1a1c24;
  border: 1px solid rgba(244, 208, 111, 0.15);
  border-radius: 6px;
}

.navigation-edit-modal__body::-webkit-scrollbar-thumb:hover {
  background: #252830;
}

.navigation-edit-modal__foot {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem 1.2rem 1rem;
  border-top: 1px solid rgba(244, 208, 111, 0.12);
}

body.navigation-edit-modal-open {
  overflow: hidden;
}

.nav-edit-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1rem;
}

@media (max-width: 767.98px) {
  .nav-edit-layout {
    grid-template-columns: 1fr;
  }
}

.nav-edit-preview-note {
  margin-bottom: 0.65rem;
}

.nav-edit-preview-section {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-bottom: 0.35rem;
  background: linear-gradient(180deg, #141820 0%, #141820 82%, rgba(20, 24, 32, 0));
}

.nav-edit-navbar-preview {
  border-radius: 10px;
  border: 1px dashed rgba(244, 208, 111, 0.38);
  overflow-x: auto;
  overflow-y: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 208, 111, 0.4) rgba(8, 10, 16, 0.85);
}

.nav-edit-navbar-preview::-webkit-scrollbar {
  height: 7px;
}

.nav-edit-navbar-preview::-webkit-scrollbar-track {
  background: rgba(8, 10, 16, 0.85);
  border-radius: 0 0 10px 10px;
}

.nav-edit-navbar-preview::-webkit-scrollbar-thumb {
  background: rgba(244, 208, 111, 0.38);
  border-radius: 999px;
}

.nav-edit-navbar-preview::-webkit-scrollbar-thumb:hover {
  background: rgba(244, 208, 111, 0.55);
}

.nav-edit-navbar-preview__row {
  display: flex;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.55rem 0.75rem;
  min-height: 3.25rem;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}

.nav-edit-navbar-preview__logo-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.nav-edit-navbar-preview__logo-wrap:has(.brand-logo--sized) {
  max-width: none;
}

.nav-edit-navbar-preview__logo {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.nav-edit-navbar-preview__logo.brand-logo--sized {
  max-width: none;
  max-height: none;
}

.nav-edit-navbar-preview__menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem 0.85rem;
  flex: 0 0 auto;
}

.nav-edit-navbar-preview__menu--align-left {
  justify-content: flex-start;
}

.nav-edit-navbar-preview__menu--align-center {
  justify-content: center;
}

.nav-edit-navbar-preview__menu--align-right {
  justify-content: flex-end;
}

.nav-edit-navbar-preview__search {
  flex: 0 0 auto;
  min-width: 72px;
  width: 120px;
}

.nav-edit-navbar-preview__search-pill {
  display: block;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(247, 234, 208, 0.55);
  background: rgba(20, 24, 32, 0.9);
  border: 1px solid rgba(244, 208, 111, 0.18);
  text-align: center;
}

.nav-edit-navbar-preview__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.35rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.nav-edit-navbar-preview__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(244, 208, 111, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--nav-preview-active, #f4d06f);
  font-size: 0.72rem;
}

.nav-edit-navbar-preview__icon svg.lucide,
.nav-edit-navbar-preview__icon i.fa-solid {
  width: 14px;
  height: 14px;
}

.nav-edit-logo-browse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.nav-edit-btn--file {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  margin: 0;
}

.nav-edit-logo-pending {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(244, 208, 111, 0.82);
  line-height: 1.4;
}

.nav-edit-subsection-title {
  margin: 0.65rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 234, 208, 0.72);
}

.nav-edit-sub-grid--quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 575.98px) {
  .nav-edit-sub-grid--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nav-edit-align-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

@media (max-width: 575.98px) {
  .nav-edit-align-options {
    grid-template-columns: 1fr;
  }
}

.nav-edit-align-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(244, 208, 111, 0.22);
  background: rgba(8, 10, 16, 0.55);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-edit-align-option:has(input:checked) {
  border-color: rgba(244, 208, 111, 0.65);
  background: rgba(244, 208, 111, 0.08);
}

.nav-edit-align-option input {
  margin: 0;
}

.nav-edit-align-option span {
  font-size: 0.86rem;
  font-weight: 600;
  color: #f7ead0;
}

.nav-edit-align-option small {
  font-size: 0.72rem;
  color: rgba(247, 234, 208, 0.55);
  line-height: 1.35;
}

.nav-edit-preview__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.88;
  white-space: nowrap;
}

.nav-edit-preview__link--active {
  font-weight: 700;
  opacity: 1;
  border-bottom: 2px solid var(--nav-preview-active, #f4d06f);
  padding-bottom: 0.1rem;
}

.nav-edit-preview__link:hover {
  color: var(--nav-item-hover-color, var(--nav-preview-hover, #f4d06f)) !important;
  background: var(--nav-item-hover-bg, var(--nav-preview-hover-bg, transparent));
  border-radius: 6px;
}

.nav-edit-preview__ico,
.nav-edit-preview__link svg.lucide,
.nav-edit-preview__link i.fa-solid {
  width: 12px;
  height: 12px;
  font-size: 0.7rem;
  color: var(--nav-preview-active, #f4d06f);
  flex-shrink: 0;
}

.nav-edit-preview__chevron {
  font-size: 0.55rem;
  opacity: 0.55;
  margin-left: 0.1rem;
}

.nav-edit-item-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 320px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #1a1c24 #000000;
}

.nav-edit-item-list::-webkit-scrollbar {
  width: 8px;
  background: #000000;
}

.nav-edit-item-list::-webkit-scrollbar-thumb {
  background: #1a1c24;
  border-radius: 5px;
}

@keyframes nav-edit-new-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(244, 208, 111, 0.55);
    border-color: rgba(244, 208, 111, 0.45);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(244, 208, 111, 0.28), 0 0 18px rgba(244, 208, 111, 0.22);
    border-color: rgba(244, 208, 111, 0.72);
  }
}

.nav-edit-item-row.is-newly-added,
.nav-edit-sub-card.is-newly-added,
.nav-edit-profile-card.is-newly-added {
  animation: nav-edit-new-glow 1.1s ease-in-out 4;
}

.nav-edit-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(244, 208, 111, 0.18);
  background: rgba(8, 10, 16, 0.55);
  cursor: pointer;
}

.nav-edit-item-row.is-selected {
  border-color: rgba(244, 208, 111, 0.55);
  background: rgba(244, 208, 111, 0.08);
}

.nav-edit-item-row__type {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(247, 234, 208, 0.5);
}

.nav-edit-item-row__label {
  font-size: 0.85rem;
  color: #f7ead0;
}

.nav-edit-item-row__actions,
.nav-edit-sub-card__actions {
  display: flex;
  gap: 0.2rem;
}

.nav-edit-icon-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(244, 208, 111, 0.25);
  border-radius: 6px;
  background: rgba(12, 14, 20, 0.85);
  color: #f4d06f;
  cursor: pointer;
  font-size: 0.7rem;
}

.nav-edit-icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.nav-edit-icon-btn--danger {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}

.nav-edit-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.nav-edit-btn {
  padding: 0.4rem 0.65rem;
  border-radius: 7px;
  border: 1px solid rgba(244, 208, 111, 0.35);
  background: rgba(244, 208, 111, 0.1);
  color: #f7ead0;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-edit-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}

.nav-edit-field > span {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(247, 234, 208, 0.68);
}

.nav-edit-input,
.nav-edit-select {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(244, 208, 111, 0.28);
  border-radius: 7px;
  background: rgba(8, 10, 16, 0.85);
  color: #f7ead0;
  font-size: 0.82rem;
}

.nav-edit-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.nav-edit-header-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .nav-edit-header-actions {
    grid-template-columns: 1fr;
  }
}

.nav-edit-header-action {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(244, 208, 111, 0.18);
  background: rgba(6, 8, 14, 0.45);
}

.nav-edit-header-action__title {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #f4d06f;
}

#navEditProfileMenuList {
  max-height: 320px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #1a1c24 #000000;
}

.nav-edit-profile-card {
  padding: 0.65rem;
  margin-bottom: 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(244, 208, 111, 0.14);
  background: rgba(8, 10, 16, 0.55);
}

.nav-edit-profile-card.is-collapsed .nav-edit-sub-card__body {
  display: none;
}

.nav-edit-profile-card.is-collapsed .nav-edit-sub-card__head {
  margin-bottom: 0;
}

.nav-edit-profile-card--separator {
  padding: 0.5rem 0.65rem;
  border-style: dashed;
  opacity: 0.9;
}

.nav-edit-profile-card--separator .nav-edit-sub-card__head {
  margin-bottom: 0;
}

#navEditSubItemList {
  max-height: 280px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #1a1c24 #000000;
}

#navEditSubItemList::-webkit-scrollbar {
  width: 8px;
  background: #000000;
}

#navEditSubItemList::-webkit-scrollbar-thumb {
  background: #1a1c24;
  border-radius: 5px;
}

.nav-edit-sub-card {
  padding: 0.65rem;
  margin-bottom: 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(244, 208, 111, 0.2);
  background: rgba(6, 8, 14, 0.55);
}

.nav-edit-sub-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  color: #f4d06f;
  font-size: 0.78rem;
}

.nav-edit-sub-card.is-collapsed .nav-edit-sub-card__body {
  display: none;
}

.nav-edit-sub-card.is-collapsed .nav-edit-sub-card__head {
  margin-bottom: 0;
}

.nav-edit-sub-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f4d06f;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.nav-edit-sub-card__toggle i {
  font-size: 0.65rem;
  opacity: 0.75;
}

.nav-edit-item-toolbar,
.nav-edit-sub-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.nav-edit-btn--primary {
  background: rgba(244, 208, 111, 0.22);
  border-color: rgba(244, 208, 111, 0.55);
  color: #f4d06f;
}

.nav-edit-icon-picker-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.nav-edit-icon-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  border: 1px solid rgba(244, 208, 111, 0.28);
  background: rgba(8, 10, 16, 0.85);
  color: #f4d06f;
  font-size: 1.1rem;
}

.nav-edit-icon-preview .nav-icon-preview__emoji {
  font-size: 1.2rem;
  line-height: 1;
}

.nav-edit-icon-preview .nav-icon-preview__empty {
  font-size: 0.85rem;
  opacity: 0.45;
}

.nav-icon-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 10200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-icon-picker-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Above admin panel modals (10100) and product info view (10200) */
body.admin-modal-open .nav-icon-picker-modal {
  z-index: 10350;
}

.nav-icon-picker-modal[hidden] {
  display: none !important;
}

.nav-icon-picker-modal.is-open[hidden] {
  display: flex !important;
}

.nav-icon-picker-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.72);
  backdrop-filter: blur(4px);
}

.nav-icon-picker-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 96vw);
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(244, 208, 111, 0.45);
  background: linear-gradient(180deg, #141820 0%, #0a0c12 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.nav-icon-picker-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(244, 208, 111, 0.35);
  border-radius: 6px;
  background: rgba(12, 14, 20, 0.9);
  color: #f4d06f;
  cursor: pointer;
}

.nav-icon-picker-modal__head {
  padding: 1rem 1.1rem 0.55rem;
  padding-right: 3rem;
  border-bottom: 1px solid rgba(244, 208, 111, 0.12);
}

.nav-icon-picker-modal__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f4d06f;
}

.nav-icon-picker-modal__lead {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(247, 234, 208, 0.62);
}

.nav-icon-picker-modal__controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem 0;
}

@media (max-width: 520px) {
  .nav-icon-picker-modal__controls {
    grid-template-columns: 1fr;
  }
}

.nav-icon-picker-modal__pack {
  margin-bottom: 0;
}

.nav-icon-picker-modal__preview-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.65rem 1.1rem 0;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px dashed rgba(244, 208, 111, 0.28);
  background: rgba(8, 10, 16, 0.55);
}

.nav-icon-picker-modal__preview-meta {
  flex: 1 1 120px;
  min-width: 0;
}

.nav-icon-picker-modal__color {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0;
  font-size: 0.72rem;
  color: rgba(247, 234, 208, 0.62);
}

.nav-icon-picker-modal__color input[type="color"] {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.15rem;
  border: 1px solid rgba(244, 208, 111, 0.28);
  border-radius: 8px;
  background: rgba(12, 14, 20, 0.85);
  cursor: pointer;
}

.nav-icon-picker-modal__preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: rgba(12, 14, 20, 0.85);
  color: #f4d06f;
  font-size: 1.25rem;
}

.nav-icon-picker-modal__preview-label {
  margin: 0;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(247, 234, 208, 0.5);
}

.nav-icon-picker-modal__preview-name {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: #f7ead0;
  word-break: break-word;
}

.nav-icon-picker-modal__status {
  margin: 0.45rem 1.1rem 0;
  font-size: 0.72rem;
  color: rgba(247, 234, 208, 0.55);
}

.nav-icon-picker-modal__loading {
  margin: 0.35rem 1.1rem 0;
  font-size: 0.78rem;
  color: #f4d06f;
}

.nav-icon-picker-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.45rem;
  margin: 0.55rem 1.1rem 0;
  padding: 0.15rem 0.1rem 0.65rem;
  max-height: min(42vh, 320px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #1a1c24 #000000;
}

.nav-icon-picker-modal__grid::-webkit-scrollbar {
  width: 8px;
  background: #000;
}

.nav-icon-picker-modal__grid::-webkit-scrollbar-thumb {
  background: #1a1c24;
  border-radius: 5px;
}

.nav-icon-picker__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 72px;
  padding: 0.4rem 0.25rem;
  border: 1px solid rgba(244, 208, 111, 0.2);
  border-radius: 8px;
  background: rgba(8, 10, 16, 0.65);
  color: #f4d06f;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nav-icon-picker__cell:hover {
  border-color: rgba(244, 208, 111, 0.45);
  background: rgba(244, 208, 111, 0.08);
}

.nav-icon-picker__cell.is-selected {
  border-color: rgba(244, 208, 111, 0.75);
  background: rgba(244, 208, 111, 0.16);
  box-shadow: 0 0 0 1px rgba(244, 208, 111, 0.25);
}

.nav-icon-picker__cell i {
  font-size: 1.15rem;
}

.nav-icon-picker__emoji {
  font-size: 1.35rem;
  line-height: 1;
}

.nav-icon-picker__name {
  font-size: 0.58rem;
  line-height: 1.2;
  text-align: center;
  color: rgba(247, 234, 208, 0.62);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-icon-picker-modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem 1rem;
  border-top: 1px solid rgba(244, 208, 111, 0.12);
}

.nav-edit-empty {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(247, 234, 208, 0.55);
}

.nav-edit-color-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.nav-edit-color-row label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: rgba(247, 234, 208, 0.68);
}

.nav-edit-color-row input[type="color"] {
  width: 100%;
  height: 2.2rem;
  border: 1px solid rgba(244, 208, 111, 0.28);
  border-radius: 7px;
  background: transparent;
}

.nav-edit-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.nav-edit-tab {
  flex: 1;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(244, 208, 111, 0.25);
  border-radius: 7px;
  background: rgba(8, 10, 16, 0.6);
  color: rgba(247, 234, 208, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-edit-tab.is-active {
  background: rgba(244, 208, 111, 0.14);
  border-color: rgba(244, 208, 111, 0.55);
  color: #f4d06f;
}

.nav-edit-grad-preview {
  height: 2.25rem;
  border-radius: 8px;
  border: 1px solid rgba(244, 208, 111, 0.22);
  margin-bottom: 0.55rem;
}

.nav-edit-presets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.45rem;
}

.nav-edit-preset {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid rgba(244, 208, 111, 0.22);
  border-radius: 8px;
  background: rgba(8, 10, 16, 0.55);
  cursor: pointer;
}

.nav-edit-preset__swatch {
  height: 1.5rem;
  border-radius: 5px;
}

.nav-edit-preset__label {
  font-size: 0.65rem;
  color: rgba(247, 234, 208, 0.72);
  text-align: left;
}

.nav-edit-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: rgba(247, 234, 208, 0.85);
}

.nav-edit-field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(247, 234, 208, 0.58);
}

.nav-edit-item-row__source {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.14);
}

.nav-edit-category-preview {
  margin-top: 0.45rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(244, 208, 111, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.nav-edit-category-preview-row {
  padding: 0.28rem 0;
  font-size: 0.8rem;
  color: rgba(247, 234, 208, 0.88);
}
