/* =====================================================================
   arushan.bio — PRO UI layer (cabinet + visual builder + Pro Studio)
   Loaded last. Glass surfaces, refined controls, smooth motion.
   ===================================================================== */
:root {
  --pu-ink: #14121f;
  --pu-ink-2: #3b3850;
  --pu-mute: #6f6b85;
  --pu-mute-2: #9a97ad;
  --pu-line: rgba(20, 16, 50, .08);
  --pu-line-2: rgba(20, 16, 50, .13);
  --pu-acc: #6847ee;
  --pu-acc-2: #8b5cf6;
  --pu-acc-soft: #f1edff;
  --pu-acc-ring: rgba(104, 71, 238, .22);
  --pu-ok: #12925f;
  --pu-ok-soft: #e7f7ef;
  --pu-bad: #d63c3c;
  --pu-card: #ffffff;
  --pu-glass: rgba(255, 255, 255, .72);
  --pu-glass-2: rgba(255, 255, 255, .56);
  --pu-r: 14px;
  --pu-r-lg: 20px;
  --pu-r-xl: 26px;
  --pu-sh-1: 0 1px 2px rgba(20, 16, 50, .05), 0 1px 1px rgba(20, 16, 50, .03);
  --pu-sh-2: 0 1px 2px rgba(20, 16, 50, .04), 0 12px 32px -16px rgba(30, 20, 80, .22);
  --pu-sh-3: 0 30px 80px -30px rgba(30, 18, 90, .45);
  --pu-ease: cubic-bezier(.2, .8, .2, 1);
  --pu-grad: linear-gradient(135deg, #6d4aff 0%, #8b5cf6 55%, #a855f7 100%);
}

.aru-ei {
  width: 1.05em;
  height: 1.05em;
  display: inline-block;
  vertical-align: -.16em;
  flex: none;
  margin-right: .32em;
  stroke-width: 2;
}

.aru-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c7c5d3;
  margin-right: .4em;
  vertical-align: .05em;
}

.aru-dot.is-on {
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .16);
}

/* ---------------------------------------------------------------------
   1. VISUAL BUILDER — glass chrome
   --------------------------------------------------------------------- */
html body #editorModal.editorbg {
  background: rgba(18, 12, 44, .38) !important;
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}

html body #editorModal .editor {
  background: rgba(250, 249, 255, .86) !important;
  border: 1px solid rgba(255, 255, 255, .85) !important;
  border-radius: 28px !important;
  box-shadow: var(--pu-sh-3), inset 0 1px 0 rgba(255, 255, 255, .9) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
}

html body #editorModal.open .editor {
  animation: puModalIn .42s var(--pu-ease) both;
}

@keyframes puModalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

html body #editorModal .editorhead {
  background: transparent !important;
  border-bottom: 1px solid var(--pu-line) !important;
}

html body #editorModal #editorTitle {
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
  color: var(--pu-ink) !important;
}

html body #editorModal #closeEditor {
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .8) !important;
  border: 1px solid var(--pu-line-2) !important;
  transition: transform .2s var(--pu-ease), background .2s !important;
}

html body #editorModal #closeEditor:hover {
  background: #fff !important;
  transform: rotate(90deg);
}

html body #editorModal .mobile-builder-toggle {
  background: rgba(20, 16, 50, .05) !important;
  border: 1px solid var(--pu-line) !important;
  border-radius: 12px !important;
  padding: 3px !important;
}

html body #editorModal .mobile-builder-toggle button {
  border-radius: 9px !important;
  transition: background .2s, color .2s, box-shadow .2s !important;
}

html body #editorModal .mobile-builder-toggle button.active {
  background: #fff !important;
  box-shadow: var(--pu-sh-1), 0 0 0 1px var(--pu-line) !important;
  color: var(--pu-ink) !important;
}

/* outline (structure) */
html body #editorModal .builder-outline {
  background: rgba(255, 255, 255, .5) !important;
  border-right: 1px solid var(--pu-line) !important;
}

html body #editorModal .builder-group-label {
  color: var(--pu-mute-2) !important;
  letter-spacing: .09em !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
}

html body #editorModal .builder-node {
  background: rgba(255, 255, 255, .82) !important;
  border: 1px solid var(--pu-line) !important;
  border-radius: 16px !important;
  box-shadow: var(--pu-sh-1) !important;
  transition: transform .22s var(--pu-ease), border-color .2s, box-shadow .22s, background .2s !important;
}

html body #editorModal .builder-node:hover {
  transform: translateX(2px);
  border-color: var(--pu-line-2) !important;
  box-shadow: var(--pu-sh-2) !important;
  background: #fff !important;
}

html body #editorModal .builder-node.active {
  background: #fff !important;
  border-color: rgba(104, 71, 238, .45) !important;
  box-shadow: 0 0 0 3px var(--pu-acc-ring), var(--pu-sh-2) !important;
}

html body #editorModal .builder-node.active .node-copy b {
  color: var(--pu-acc) !important;
}

html body #editorModal .builder-node .node-icon {
  border-radius: 11px !important;
}

html body #editorModal .builder-add {
  border-radius: 14px !important;
  border: 1.5px dashed rgba(104, 71, 238, .35) !important;
  background: rgba(241, 237, 255, .55) !important;
  color: var(--pu-acc) !important;
  font-weight: 750 !important;
  transition: background .2s, border-color .2s, transform .2s var(--pu-ease) !important;
}

html body #editorModal .builder-add:hover {
  background: var(--pu-acc-soft) !important;
  border-color: var(--pu-acc) !important;
  transform: translateY(-1px);
}

/* stage */
html body #editorModal .builder-stage {
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(167, 139, 250, .20), transparent 70%),
    radial-gradient(50% 45% at 85% 90%, rgba(244, 114, 182, .14), transparent 70%),
    radial-gradient(rgba(20, 16, 50, .06) 1px, transparent 1.2px) 0 0 / 18px 18px,
    #f6f4fc !important;
}

html body #editorModal .device-preview-toolbar {
  background: rgba(255, 255, 255, .78) !important;
  border: 1px solid rgba(255, 255, 255, .9) !important;
  border-radius: 14px !important;
  box-shadow: var(--pu-sh-2) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

html body #editorModal .preview-tool {
  border-radius: 9px !important;
  transition: background .2s, color .2s !important;
}

html body #editorModal .preview-tool.active {
  background: var(--pu-ink) !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* inspector */
html body #editorModal .builder-inspector {
  background: rgba(255, 255, 255, .62) !important;
  border-left: 1px solid var(--pu-line) !important;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

html body #editorModal .builder-inspector-title span {
  color: var(--pu-mute-2) !important;
  letter-spacing: .09em !important;
  font-weight: 800 !important;
}

html body #editorModal .builder-inspector-title strong {
  font-size: 22px !important;
  letter-spacing: -.03em !important;
  color: var(--pu-ink) !important;
}

html body #editorModal .context-chip.live {
  background: var(--pu-ok-soft) !important;
  color: var(--pu-ok) !important;
  border: 1px solid rgba(18, 146, 95, .2) !important;
}

html body #editorModal .sectionbox {
  background: #fff !important;
  border: 1px solid var(--pu-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--pu-sh-1) !important;
}

html body #editorModal .sectionbox h4 {
  color: var(--pu-mute-2) !important;
  letter-spacing: .09em !important;
}

html body #editorModal .input input:not([type="checkbox"]):not([type="color"]):not([type="range"]),
html body #editorModal .input textarea,
html body #editorModal .input select,
html body #editorModal .extrarow input,
html body #editorModal .extrarow select,
html body #editorModal #linkSubdomainSelect {
  border-radius: 12px !important;
  border: 1px solid var(--pu-line-2) !important;
  background: #fff !important;
  transition: border-color .18s, box-shadow .18s !important;
}

html body #editorModal .input input:focus,
html body #editorModal .input textarea:focus,
html body #editorModal .input select:focus,
html body #editorModal .extrarow input:focus,
html body #editorModal #linkSubdomainSelect:focus {
  border-color: var(--pu-acc) !important;
  box-shadow: 0 0 0 4px var(--pu-acc-ring) !important;
  outline: none !important;
}

/* iOS-style switch for the publish checkbox */
html body #editorModal label.check {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: #faf9ff !important;
  border: 1px solid var(--pu-line) !important;
  font-weight: 700 !important;
  cursor: pointer;
}

html body #editorModal label.check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  order: 2;
  width: 44px !important;
  height: 26px !important;
  border-radius: 99px !important;
  background: #d9d7e3 !important;
  position: relative;
  flex: none;
  margin: 0 !important;
  cursor: pointer;
  transition: background .22s var(--pu-ease) !important;
  border: 0 !important;
}

html body #editorModal label.check input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  transition: transform .26s var(--pu-ease);
}

html body #editorModal label.check input[type="checkbox"]:checked {
  background: var(--pu-acc) !important;
}

html body #editorModal label.check input[type="checkbox"]:checked::after {
  transform: translateX(18px);
}

/* footer */
html body #editorModal .editorfoot {
  background: rgba(255, 255, 255, .7) !important;
  border-top: 1px solid var(--pu-line) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

html body #editorModal .editorfoot .btn {
  border-radius: 13px !important;
  font-weight: 750 !important;
  transition: transform .2s var(--pu-ease), box-shadow .2s, background .2s !important;
}

html body #editorModal .editorfoot .btn:not(.primary) {
  background: #fff !important;
  border: 1px solid var(--pu-line-2) !important;
  color: var(--pu-ink) !important;
}

html body #editorModal .editorfoot .btn:not(.primary):hover {
  transform: translateY(-1px);
  box-shadow: var(--pu-sh-2) !important;
}

html body #editorModal #saveLinkBtn {
  background: var(--pu-grad) !important;
  border: 0 !important;
  color: #fff !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px -10px rgba(104, 71, 238, .7), inset 0 1px 0 rgba(255, 255, 255, .25) !important;
}

html body #editorModal #saveLinkBtn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: translateX(-150%) skewX(-20deg);
  transition: transform .9s var(--pu-ease);
}

html body #editorModal #saveLinkBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(104, 71, 238, .8) !important;
}

html body #editorModal #saveLinkBtn:hover::after {
  transform: translateX(420%) skewX(-20deg);
}

html body #editorModal .builder-save-note {
  color: var(--pu-mute) !important;
}

/* preview phone polish */
html body #editorModal .mini-phone {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 50px 90px -34px rgba(40, 24, 110, .55), 0 18px 40px -20px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .1) !important;
}

html body #editorModal #previewCta .pub-btn-ico {
  flex: none;
  margin-right: 5px;
  vertical-align: -2px;
  display: inline-block;
}

html body #editorModal #previewCta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px;
}

html body #editorModal #previewCta>span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------
   2. PRO STUDIO
   --------------------------------------------------------------------- */
#proStudio {
  display: none;
}

html body #editorModal[data-pro-ctx="design"] #proStudio {
  display: block;
  animation: puFade .3s var(--pu-ease) both;
}

html body #editorModal[data-pro-ctx="design"] #designStudio,
html body #editorModal[data-pro-ctx="design"] #pane-design,
html body #editorModal[data-pro-ctx="design"] .builder-inspector>div:not(.builder-inspector-head):not(#proStudio)>#pane-design {
  display: none !important;
}

@keyframes puFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

html body #editorModal #proStudio.ps {
  --ps-gap: 12px;
  color: var(--pu-ink) !important;
  font-size: 13px !important;
}

html body #editorModal #proStudio .ps-head {
  position: sticky !important;
  top: -1px !important;
  z-index: 5 !important;
  padding: 2px 0 10px !important;
  background: linear-gradient(rgba(250, 249, 255, .96) 75%, rgba(250, 249, 255, 0)) !important;
}

html body #editorModal #proStudio .ps-head-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
  min-height: 26px !important;
}

html body #editorModal #proStudio .ps-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 24px !important;
  padding: 0 10px !important;
  border-radius: 99px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  color: var(--pu-mute) !important;
  background: rgba(20, 16, 50, .05) !important;
  border: 1px solid var(--pu-line) !important;
  transition: all .25s var(--pu-ease) !important;
}

html body #editorModal #proStudio .ps-badge i {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #c4c2d0 !important;
  transition: background .25s !important;
}

html body #editorModal #proStudio .ps.is-pro .ps-badge {
  color: var(--pu-acc) !important;
  background: var(--pu-acc-soft) !important;
  border-color: rgba(104, 71, 238, .2) !important;
}

html body #editorModal #proStudio .ps.is-pro .ps-badge i {
  background: var(--pu-acc) !important;
  box-shadow: 0 0 0 3px rgba(104, 71, 238, .16) !important;
}

html body #editorModal #proStudio .ps-reset {
  display: none !important;
  align-items: center !important;
  gap: 6px !important;
  height: 26px !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: var(--pu-mute) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background .2s, color .2s !important;
}

html body #editorModal #proStudio .ps.is-pro .ps-reset {
  display: inline-flex !important;
}

html body #editorModal #proStudio .ps-reset:hover {
  background: rgba(20, 16, 50, .05) !important;
  color: var(--pu-ink) !important;
}

html body #editorModal #proStudio .ps-tabs {
  position: relative !important;
  display: flex !important;
  gap: 2px !important;
  padding: 4px !important;
  border-radius: 14px !important;
  background: rgba(20, 16, 50, .055) !important;
  border: 1px solid var(--pu-line) !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

html body #editorModal #proStudio .ps-tabs::-webkit-scrollbar {
  display: none !important;
}

html body #editorModal #proStudio .ps-tabs button {
  position: relative !important;
  z-index: 1 !important;
  flex: 1 0 auto !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  min-width: 58px !important;
  height: 50px !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--pu-mute) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  transition: color .22s !important;
  white-space: nowrap !important;
}

html body #editorModal #proStudio .ps-tabs button svg {
  width: 17px !important;
  height: 17px !important;
}

html body #editorModal #proStudio .ps-tabs button:hover {
  color: var(--pu-ink) !important;
}

html body #editorModal #proStudio .ps-tabs button.active {
  color: var(--pu-acc) !important;
}

html body #editorModal #proStudio .ps-tabs-ink {
  position: absolute !important;
  z-index: 0 !important;
  left: 0;
  top: 4px !important;
  bottom: 4px !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: var(--pu-sh-1), 0 0 0 1px var(--pu-line) !important;
  transition: transform .34s var(--pu-ease), width .34s var(--pu-ease) !important;
  pointer-events: none;
}

html body #editorModal #proStudio .ps-body {
  padding-top: 2px !important;
}

html body #editorModal #proStudio .ps-pane {
  display: none !important;
}

html body #editorModal #proStudio .ps-pane.active {
  display: block !important;
  animation: puFade .28s var(--pu-ease) both !important;
}

html body #editorModal #proStudio .ps-lead {
  margin: 2px 2px 12px !important;
  color: var(--pu-mute) !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
}

html body #editorModal #proStudio .ps-card {
  background: #fff !important;
  border: 1px solid var(--pu-line) !important;
  border-radius: 18px !important;
  padding: 14px !important;
  margin-bottom: var(--ps-gap) !important;
  box-shadow: var(--pu-sh-1) !important;
}

html body #editorModal #proStudio .ps-card-h {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

html body #editorModal #proStudio .ps-card-h b {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
}

html body #editorModal #proStudio .ps-card-h small {
  color: var(--pu-mute-2) !important;
  font-size: 11.5px !important;
}

html body #editorModal #proStudio .ps-field {
  margin-top: 12px !important;
}

html body #editorModal #proStudio .ps-field:first-child {
  margin-top: 0 !important;
}

html body #editorModal #proStudio .ps-label {
  margin-bottom: 8px !important;
  color: var(--pu-mute) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

html body #editorModal #proStudio .ps-when[hidden] {
  display: none !important;
}

/* segmented */
html body #editorModal #proStudio .ps-seg {
  display: flex !important;
  gap: 3px !important;
  padding: 3px !important;
  border-radius: 12px !important;
  background: rgba(20, 16, 50, .05) !important;
  border: 1px solid var(--pu-line) !important;
}

html body #editorModal #proStudio .ps-seg button {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 34px !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: var(--pu-ink-2) !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: background .2s, color .2s, box-shadow .2s, transform .15s !important;
}

html body #editorModal #proStudio .ps-seg button:hover {
  color: var(--pu-ink) !important;
  background: rgba(255, 255, 255, .6) !important;
}

html body #editorModal #proStudio .ps-seg button.active {
  background: #fff !important;
  color: var(--pu-acc) !important;
  box-shadow: var(--pu-sh-1), 0 0 0 1px var(--pu-line) !important;
}

html body #editorModal #proStudio .ps-seg button:active {
  transform: scale(.97) !important;
}

html body #editorModal #proStudio .ps-seg-wrap {
  flex-wrap: wrap !important;
}

html body #editorModal #proStudio .ps-seg-wrap button {
  flex: 1 1 calc(33.33% - 3px) !important;
}

/* toggles */
html body #editorModal #proStudio .ps-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 10px 2px !important;
  cursor: pointer !important;
  border-top: 1px solid var(--pu-line) !important;
}

html body #editorModal #proStudio .ps-card-h+.ps-toggle,
html body #editorModal #proStudio .ps-toggle:first-child {
  border-top: 0 !important;
  padding-top: 2px !important;
}

html body #editorModal #proStudio .ps-toggle-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}

html body #editorModal #proStudio .ps-toggle-copy b {
  font-size: 12.5px !important;
  font-weight: 750 !important;
}

html body #editorModal #proStudio .ps-toggle-copy small {
  color: var(--pu-mute-2) !important;
  font-size: 11.5px !important;
}

html body #editorModal #proStudio .ps-toggle input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

html body #editorModal #proStudio .ps-switch {
  position: relative !important;
  flex: none !important;
  width: 42px !important;
  height: 25px !important;
  border-radius: 99px !important;
  background: #dcdae6 !important;
  transition: background .22s var(--pu-ease) !important;
}

html body #editorModal #proStudio .ps-switch::after {
  content: "" !important;
  position: absolute !important;
  top: 2.5px !important;
  left: 2.5px !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2) !important;
  transition: transform .26s var(--pu-ease) !important;
}

html body #editorModal #proStudio .ps-toggle input:checked+.ps-switch {
  background: var(--pu-acc) !important;
}

html body #editorModal #proStudio .ps-toggle input:checked+.ps-switch::after {
  transform: translateX(17px) !important;
}

html body #editorModal #proStudio .ps-toggle input:focus-visible+.ps-switch {
  box-shadow: 0 0 0 4px var(--pu-acc-ring) !important;
}

/* range */
html body #editorModal #proStudio .ps-range {
  display: block !important;
  margin-top: 14px !important;
}

html body #editorModal #proStudio .ps-range-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 8px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  color: var(--pu-ink-2) !important;
}

html body #editorModal #proStudio .ps-range output {
  min-width: 40px !important;
  text-align: center !important;
  padding: 2px 8px !important;
  border-radius: 8px !important;
  background: rgba(20, 16, 50, .05) !important;
  font-size: 11.5px !important;
  font-variant-numeric: tabular-nums !important;
  color: var(--pu-ink) !important;
}

html body #editorModal #proStudio .ps-range input[type="range"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100% !important;
  height: 6px !important;
  border-radius: 99px !important;
  background: linear-gradient(90deg, var(--pu-acc) 0 var(--fill, 50%), #e4e2ec var(--fill, 50%) 100%) !important;
  outline: none !important;
  cursor: pointer !important;
  margin: 0 !important;
  min-height: 0 !important;
  max-height: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

html body #editorModal #proStudio .ps-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: 0 0 0 1px rgba(20, 16, 50, .12), 0 3px 10px rgba(30, 20, 80, .25) !important;
  transition: transform .15s !important;
}

html body #editorModal #proStudio .ps-range input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.12) !important;
}

html body #editorModal #proStudio .ps-range input[type="range"]::-moz-range-thumb {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: 0 0 0 1px rgba(20, 16, 50, .12), 0 3px 10px rgba(30, 20, 80, .25) !important;
}

/* swatches + colors */
html body #editorModal #proStudio .ps-swatches {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)) !important;
  gap: 7px !important;
}

html body #editorModal #proStudio .ps-sw {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 !important;
  border-radius: 50% !important;
  border: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  background: var(--c) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1) !important;
  transition: transform .18s var(--pu-ease), box-shadow .18s !important;
}

html body #editorModal #proStudio .ps-sw:hover {
  transform: scale(1.1) !important;
}

html body #editorModal #proStudio .ps-sw.active {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 0 0 2px #fff, 0 0 0 4px var(--pu-acc) !important;
}

html body #editorModal #proStudio .ps-sw-custom {
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  background: conic-gradient(#f43f5e, #f59e0b, #84cc16, #06b6d4, #6366f1, #d946ef, #f43f5e) !important;
}

html body #editorModal #proStudio .ps-sw-custom span {
  width: 62% !important;
  height: 62% !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--pu-ink) !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

html body #editorModal #proStudio .ps-sw-custom input {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  padding: 0 !important;
}

html body #editorModal #proStudio .ps-color-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

html body #editorModal #proStudio .ps-color {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 10px 6px !important;
  border-radius: 14px !important;
  border: 1px solid var(--pu-line) !important;
  background: #faf9ff !important;
  cursor: pointer !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  color: var(--pu-mute) !important;
  transition: border-color .2s, transform .2s var(--pu-ease) !important;
}

html body #editorModal #proStudio .ps-color:hover {
  border-color: var(--pu-line-2) !important;
  transform: translateY(-1px) !important;
}

html body #editorModal #proStudio .ps-color input {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  border: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  background: none !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 4px 10px -4px rgba(0, 0, 0, .3) !important;
}

html body #editorModal #proStudio .ps-color input::-webkit-color-swatch-wrapper {
  padding: 0 !important;
}

html body #editorModal #proStudio .ps-color input::-webkit-color-swatch {
  border: 0 !important;
  border-radius: 50% !important;
}

html body #editorModal #proStudio .ps-color input::-moz-color-swatch {
  border: 0 !important;
  border-radius: 50% !important;
}

/* templates */
html body #editorModal #proStudio .ps-tpl-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)) !important;
  gap: 10px !important;
}

html body #editorModal #proStudio .ps-tpl {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 6px !important;
  border-radius: 18px !important;
  border: 1px solid var(--pu-line) !important;
  background: #fff !important;
  cursor: pointer !important;
  text-align: left !important;
  box-shadow: var(--pu-sh-1) !important;
  transition: transform .25s var(--pu-ease), box-shadow .25s, border-color .2s !important;
  content-visibility: auto !important;
  contain-intrinsic-size: 230px !important;
}

html body #editorModal #proStudio .ps-tpl:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--pu-sh-2) !important;
  border-color: var(--pu-line-2) !important;
}

html body #editorModal #proStudio .ps-tpl.active {
  border-color: var(--pu-acc) !important;
  box-shadow: 0 0 0 3px var(--pu-acc-ring), var(--pu-sh-2) !important;
}

html body #editorModal #proStudio .ps-tpl-screen {
  position: relative !important;
  display: block !important;
  aspect-ratio: 9 / 13.5 !important;
  border-radius: 13px !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center !important;
}

html body #editorModal #proStudio .ps-tpl-shade {
  position: absolute !important;
  inset: 0 !important;
  background: #000 !important;
}

html body #editorModal #proStudio .ps-tpl-in {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 18% 12% 0 !important;
  gap: 5px !important;
}

html body #editorModal #proStudio .ps-tpl-in.is-card::before {
  content: "" !important;
  position: absolute !important;
  left: 7% !important;
  right: 7% !important;
  top: 12% !important;
  bottom: 14% !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .12) !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
}

html body #editorModal #proStudio .ps-tpl-in>* {
  position: relative !important;
}

html body #editorModal #proStudio .ps-tpl-av {
  width: 26% !important;
  aspect-ratio: 1 !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .7) !important;
}

html body #editorModal #proStudio .ps-tpl-in b {
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  margin-top: 3px !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body #editorModal #proStudio .ps-tpl-line {
  width: 50% !important;
  height: 3px !important;
  border-radius: 3px !important;
  opacity: .65 !important;
  margin-bottom: 4px !important;
}

html body #editorModal #proStudio .ps-tpl-btn {
  width: 100% !important;
  height: 13% !important;
  max-height: 22px !important;
  display: block !important;
  background: var(--pb) !important;
  border: var(--pbd, 0) !important;
  box-shadow: var(--psh, none) !important;
  -webkit-backdrop-filter: var(--pbf, none) !important;
  backdrop-filter: var(--pbf, none) !important;
}

html body #editorModal #proStudio .ps-tpl-meta {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 8px 6px 4px !important;
}

html body #editorModal #proStudio .ps-tpl-meta b {
  font-size: 12.5px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
  color: var(--pu-ink) !important;
}

html body #editorModal #proStudio .ps-tpl-meta small {
  font-size: 11px !important;
  color: var(--pu-mute-2) !important;
}

html body #editorModal #proStudio .ps-tick {
  position: absolute !important;
  right: 6px !important;
  top: 9px !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: var(--pu-acc) !important;
  color: #fff !important;
  transform: scale(0) !important;
  transition: transform .25s var(--pu-ease) !important;
}

html body #editorModal #proStudio .ps-tpl.active .ps-tick {
  transform: scale(1) !important;
}

/* themes / palettes / patterns / photos */
html body #editorModal #proStudio .ps-theme-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)) !important;
  gap: 8px !important;
}

html body #editorModal #proStudio .ps-theme {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 4px 8px !important;
  border-radius: 14px !important;
  border: 1px solid var(--pu-line) !important;
  background: #fff !important;
  cursor: pointer !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  color: var(--pu-ink-2) !important;
  transition: transform .2s var(--pu-ease), border-color .2s, box-shadow .2s !important;
}

html body #editorModal #proStudio .ps-theme i {
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  border-radius: 10px !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08) !important;
}

html body #editorModal #proStudio .ps-theme:hover {
  transform: translateY(-2px) !important;
}

html body #editorModal #proStudio .ps-theme.active {
  border-color: var(--pu-acc) !important;
  box-shadow: 0 0 0 3px var(--pu-acc-ring) !important;
  color: var(--pu-acc) !important;
}

html body #editorModal #proStudio .ps-pal-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)) !important;
  gap: 8px !important;
}

html body #editorModal #proStudio .ps-pal {
  aspect-ratio: 1 !important;
  border-radius: 12px !important;
  border: 0 !important;
  cursor: pointer !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08) !important;
  transition: transform .2s var(--pu-ease), box-shadow .2s !important;
}

html body #editorModal #proStudio .ps-pal:hover {
  transform: scale(1.06) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 6px 14px -6px rgba(0, 0, 0, .35) !important;
}

html body #editorModal #proStudio .ps-pat-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)) !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

html body #editorModal #proStudio .ps-pat {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px !important;
  border-radius: 14px !important;
  border: 1px solid var(--pu-line) !important;
  background: #fff !important;
  cursor: pointer !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  color: var(--pu-mute) !important;
  text-transform: capitalize !important;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--pu-ease) !important;
}

html body #editorModal #proStudio .ps-pat i {
  width: 100% !important;
  height: 44px !important;
  border-radius: 10px !important;
  background-color: #1f1b3a !important;
}

html body #editorModal #proStudio .ps-pat[data-pat="dots"] i {
  background: radial-gradient(rgba(255, 255, 255, .5) 1.2px, transparent 1.5px) 0 0/10px 10px, #1f1b3a !important;
}

html body #editorModal #proStudio .ps-pat[data-pat="grid"] i {
  background: linear-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px) 0 0/11px 11px, linear-gradient(90deg, rgba(255, 255, 255, .25) 1px, transparent 1px) 0 0/11px 11px, #1f1b3a !important;
}

html body #editorModal #proStudio .ps-pat[data-pat="diagonal"] i {
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .25) 0 2px, transparent 2px 9px), #1f1b3a !important;
}

html body #editorModal #proStudio .ps-pat[data-pat="waves"] i {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12'%3E%3Cpath d='M0 6 Q10 0 20 6 T40 6' fill='none' stroke='rgba(255,255,255,.4)' stroke-width='1.4'/%3E%3C/svg%3E") 0 0/40px 12px, #1f1b3a !important;
}

html body #editorModal #proStudio .ps-pat[data-pat="checks"] i {
  background: conic-gradient(rgba(255, 255, 255, .2) 25%, transparent 0 50%, rgba(255, 255, 255, .2) 0 75%, transparent 0) 0 0/16px 16px, #1f1b3a !important;
}

html body #editorModal #proStudio .ps-pat[data-pat="plus"] i {
  background: radial-gradient(rgba(255, 255, 255, .5) 1.3px, transparent 1.6px) 0 0/12px 12px, radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1.2px) 6px 6px/12px 12px, #1f1b3a !important;
}

html body #editorModal #proStudio .ps-pat.active {
  border-color: var(--pu-acc) !important;
  box-shadow: 0 0 0 3px var(--pu-acc-ring) !important;
  color: var(--pu-acc) !important;
}

html body #editorModal #proStudio .ps-photo-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)) !important;
  gap: 7px !important;
}

html body #editorModal #proStudio .ps-photo {
  aspect-ratio: 3 / 4 !important;
  border-radius: 12px !important;
  border: 0 !important;
  cursor: pointer !important;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08) !important;
  transition: transform .2s var(--pu-ease), box-shadow .2s !important;
}

html body #editorModal #proStudio .ps-photo:hover {
  transform: scale(1.04) !important;
}

html body #editorModal #proStudio .ps-photo.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pu-acc) !important;
}

html body #editorModal #proStudio .ps-upload {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

html body #editorModal #proStudio .ps-upload-thumb {
  flex: none !important;
  width: 64px !important;
  height: 80px !important;
  border-radius: 14px !important;
  display: grid !important;
  place-items: center !important;
  color: var(--pu-mute-2) !important;
  background: #f4f2fa center/cover no-repeat !important;
  border: 1.5px dashed var(--pu-line-2) !important;
}

html body #editorModal #proStudio .ps-upload-thumb.has {
  border: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08) !important;
}

html body #editorModal #proStudio .ps-upload-thumb.has svg {
  display: none !important;
}

html body #editorModal #proStudio .ps-upload-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html body #editorModal #proStudio .ps-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 11px !important;
  border: 1px solid var(--pu-line-2) !important;
  background: #fff !important;
  color: var(--pu-ink) !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  transition: transform .18s var(--pu-ease), box-shadow .18s, background .18s !important;
}

html body #editorModal #proStudio .ps-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: var(--pu-sh-2) !important;
}

html body #editorModal #proStudio .ps-btn-primary {
  background: var(--pu-ink) !important;
  color: #fff !important;
  border-color: var(--pu-ink) !important;
}

html body #editorModal #proStudio .ps-btn-ghost {
  margin-top: 10px !important;
  width: 100% !important;
  background: #faf9ff !important;
}

/* button styles */
html body #editorModal #proStudio .ps-style-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)) !important;
  gap: 8px !important;
}

html body #editorModal #proStudio .ps-style {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 6px 6px 8px !important;
  border-radius: 15px !important;
  border: 1px solid var(--pu-line) !important;
  background: #fff !important;
  cursor: pointer !important;
  transition: transform .22s var(--pu-ease), border-color .2s, box-shadow .2s !important;
}

html body #editorModal #proStudio .ps-style:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--pu-sh-2) !important;
}

html body #editorModal #proStudio .ps-style.active {
  border-color: var(--pu-acc) !important;
  box-shadow: 0 0 0 3px var(--pu-acc-ring) !important;
}

html body #editorModal #proStudio .ps-style-stage {
  display: grid !important;
  place-items: center !important;
  height: 58px !important;
  border-radius: 11px !important;
  background: radial-gradient(80% 90% at 20% 0%, #4c2a85, transparent 70%), linear-gradient(160deg, #1b1533, #0d0b18) !important;
}

html body #editorModal #proStudio .ps-style-btn {
  width: 76% !important;
  height: 26px !important;
  display: grid !important;
  place-items: center !important;
  font-style: normal !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  border-radius: 9px !important;
  background: var(--pb) !important;
  color: var(--pt) !important;
  border: var(--pbd, 0) !important;
  box-shadow: var(--psh, none) !important;
  -webkit-backdrop-filter: var(--pbf, none) !important;
  backdrop-filter: var(--pbf, none) !important;
}

html body #editorModal #proStudio .ps-style[data-v="pill3d"] .ps-style-btn {
  border-radius: 99px !important;
}

html body #editorModal #proStudio .ps-style-name {
  font-size: 11.5px !important;
  font-weight: 750 !important;
  color: var(--pu-ink-2) !important;
  text-align: center !important;
}

html body #editorModal #proStudio .ps-style.active .ps-style-name {
  color: var(--pu-acc) !important;
}

html body #editorModal #proStudio .ps-quick {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 6px !important;
}

html body #editorModal #proStudio .ps-quick button {
  height: 34px !important;
  border-radius: 10px !important;
  border: 1px solid var(--pu-line) !important;
  background: #fff !important;
  font-size: 11.5px !important;
  font-weight: 750 !important;
  color: var(--pu-ink-2) !important;
  cursor: pointer !important;
  transition: all .2s !important;
}

html body #editorModal #proStudio .ps-quick button.active {
  border-color: var(--pu-acc) !important;
  color: var(--pu-acc) !important;
  background: var(--pu-acc-soft) !important;
}

/* animation chips with live demo */
html body #editorModal #proStudio .ps-anim-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)) !important;
  gap: 7px !important;
}

html body #editorModal #proStudio .ps-anim {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 10px 4px 8px !important;
  border-radius: 13px !important;
  border: 1px solid var(--pu-line) !important;
  background: #fff !important;
  cursor: pointer !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  color: var(--pu-ink-2) !important;
  transition: border-color .2s, box-shadow .2s !important;
}

html body #editorModal #proStudio .ps-anim-demo {
  display: block !important;
  width: 70% !important;
  height: 14px !important;
  border-radius: 6px !important;
  background: linear-gradient(90deg, #a78bfa, #7c5cff) !important;
  font-style: normal !important;
  animation-play-state: paused !important;
  --pc: #a78bfa;
}

html body #editorModal #proStudio .ps-anim:hover .ps-anim-demo,
html body #editorModal #proStudio .ps-anim.active .ps-anim-demo {
  animation-play-state: running !important;
}

html body #editorModal #proStudio .ps-anim:hover .ps-anim-demo::after,
html body #editorModal #proStudio .ps-anim:hover .ps-anim-demo::before {
  animation-play-state: running !important;
}

html body #editorModal #proStudio .ps-anim-demo::after,
html body #editorModal #proStudio .ps-anim-demo::before {
  animation-play-state: paused !important;
}

html body #editorModal #proStudio .ps-anim.active {
  border-color: var(--pu-acc) !important;
  box-shadow: 0 0 0 3px var(--pu-acc-ring) !important;
  color: var(--pu-acc) !important;
}

html body #editorModal #proStudio .ps-anim.active .ps-anim-demo::after,
html body #editorModal #proStudio .ps-anim.active .ps-anim-demo::before {
  animation-play-state: running !important;
}

/* fonts */
html body #editorModal #proStudio .ps-font-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(106px, 1fr)) !important;
  gap: 8px !important;
}

html body #editorModal #proStudio .ps-font {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  height: 76px !important;
  padding: 6px !important;
  border-radius: 14px !important;
  border: 1px solid var(--pu-line) !important;
  background: #fff !important;
  cursor: pointer !important;
  transition: transform .2s var(--pu-ease), border-color .2s, box-shadow .2s !important;
}

html body #editorModal #proStudio .ps-font:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--pu-sh-2) !important;
}

html body #editorModal #proStudio .ps-font-aa {
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: var(--pu-ink) !important;
}

html body #editorModal #proStudio .ps-font small {
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: var(--pu-mute) !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body #editorModal #proStudio .ps-font.active {
  border-color: var(--pu-acc) !important;
  box-shadow: 0 0 0 3px var(--pu-acc-ring) !important;
}

html body #editorModal #proStudio .ps-font.active .ps-font-aa {
  color: var(--pu-acc) !important;
}

/* layouts */
html body #editorModal #proStudio .ps-layout-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)) !important;
  gap: 8px !important;
}

html body #editorModal #proStudio .ps-layout {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 6px 10px !important;
  border-radius: 15px !important;
  border: 1px solid var(--pu-line) !important;
  background: #fff !important;
  cursor: pointer !important;
  font-size: 11.5px !important;
  font-weight: 750 !important;
  color: var(--pu-ink-2) !important;
  transition: all .2s var(--pu-ease) !important;
}

html body #editorModal #proStudio .ps-layout.active {
  border-color: var(--pu-acc) !important;
  box-shadow: 0 0 0 3px var(--pu-acc-ring) !important;
  color: var(--pu-acc) !important;
}

html body #editorModal #proStudio .ps-layout-vis {
  width: 100% !important;
  height: 78px !important;
  border-radius: 11px !important;
  background: linear-gradient(160deg, #241c47, #0e0c1a) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 8px !important;
}

html body #editorModal #proStudio .ps-layout-vis i {
  display: block !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, .8) !important;
}

html body #editorModal #proStudio .ps-layout-vis i:nth-child(1) {
  width: 18px !important;
  height: 18px !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #a78bfa, #f472b6) !important;
}

html body #editorModal #proStudio .ps-layout-vis i:nth-child(2) {
  width: 46% !important;
  height: 5px !important;
}

html body #editorModal #proStudio .ps-layout-vis i:nth-child(3),
html body #editorModal #proStudio .ps-layout-vis i:nth-child(4) {
  width: 78% !important;
  height: 9px !important;
  border-radius: 5px !important;
  background: rgba(167, 139, 250, .9) !important;
}

html body #editorModal #proStudio .ps-lv-minimal {
  align-items: flex-start !important;
}

html body #editorModal #proStudio .ps-lv-minimal i:nth-child(3),
html body #editorModal #proStudio .ps-lv-minimal i:nth-child(4) {
  width: 100% !important;
}

html body #editorModal #proStudio .ps-lv-bold i:nth-child(2) {
  width: 70% !important;
  height: 8px !important;
}

html body #editorModal #proStudio .ps-lv-bold i:nth-child(3),
html body #editorModal #proStudio .ps-lv-bold i:nth-child(4) {
  height: 12px !important;
}

html body #editorModal #proStudio .ps-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  border: 1px solid var(--pu-line) !important;
  background: #fff !important;
  cursor: pointer !important;
  text-align: left !important;
  color: var(--pu-ink) !important;
  box-shadow: var(--pu-sh-1) !important;
  transition: transform .2s var(--pu-ease), box-shadow .2s !important;
}

html body #editorModal #proStudio .ps-link:hover {
  transform: translateY(-1px) !important;
  box-shadow: var(--pu-sh-2) !important;
}

html body #editorModal #proStudio .ps-link>span:nth-child(2) {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-width: 0 !important;
}

html body #editorModal #proStudio .ps-link b {
  font-size: 13px !important;
  font-weight: 800 !important;
}

html body #editorModal #proStudio .ps-link small {
  color: var(--pu-mute-2) !important;
  font-size: 11.5px !important;
}

html body #editorModal #proStudio .ps-link-ic {
  width: 38px !important;
  height: 38px !important;
  flex: none !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 12px !important;
  background: var(--pu-acc-soft) !important;
  color: var(--pu-acc) !important;
}

/* ---------------------------------------------------------------------
   3. MOBILE BUILDER (≤ 760px)
   --------------------------------------------------------------------- */
@media (max-width: 760px) {
  html body #editorModal#editorModal.editorbg {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(18, 12, 44, .5) !important;
  }

  html body #editorModal#editorModal .editor {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #f8f7fd !important;
    border-radius: 0 !important;
    border: 0 !important;
  }

  html body #editorModal#editorModal .editorhead {
    gap: 8px !important;
    padding: 10px 12px !important;
  }

  html body #editorModal#editorModal #editorTitle {
    display: none !important;
  }

  html body #editorModal#editorModal .mobile-builder-toggle {
    margin-left: auto !important;
    flex: 0 1 auto !important;
  }

  html body #editorModal#editorModal .editorfoot {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
  }

  html body #editorModal#editorModal .editorfoot .builder-save-note {
    display: none !important;
  }

  html body #editorModal#editorModal .editorfoot .btn {
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    width: auto !important;
  }

  html body #editorModal#editorModal #duplicateEditorBtn {
    flex: 0 0 46px !important;
    padding: 0 !important;
  }

  html body #editorModal#editorModal #duplicateEditorBtn span {
    display: none !important;
  }

  html body #editorModal#editorModal #cancelEditor {
    flex: 1 1 0 !important;
  }

  html body #editorModal#editorModal #saveLinkBtn {
    flex: 1.6 1 0 !important;
  }

  html body #editorModal#editorModal #proStudio .ps-head {
    top: -1px !important;
  }

  html body #editorModal#editorModal #proStudio .ps-tabs button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0 2px !important;
    height: 48px !important;
    font-size: 10.5px !important;
  }

  html body #editorModal#editorModal[data-pro-ctx="design"] .builder-inspector-head .context-meta {
    display: none !important;
  }

  html body #editorModal#editorModal #proStudio .ps-tpl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  html body #editorModal#editorModal #proStudio .ps-tpl-screen {
    aspect-ratio: 9 / 11.5 !important;
  }

  html body #editorModal#editorModal #proStudio .ps-card {
    padding: 12px !important;
    border-radius: 16px !important;
  }

  /* compact live preview above the settings while editing */
  html body #editorModal#editorModal[data-mobile-view="edit"]:not(.mobile-fullscreen-preview) .builder-stage {
    padding: 10px 12px 4px !important;
    min-height: 0 !important;
    height: auto !important;
  }

  html body #editorModal#editorModal[data-mobile-view="edit"]:not(.mobile-fullscreen-preview) .builder-stage .device-preview-toolbar {
    display: none !important;
  }

  html body #editorModal#editorModal[data-mobile-view="edit"]:not(.mobile-fullscreen-preview) .builder-stage .phone-scale-shell {
    height: min(44vh, 330px) !important;
    min-height: 0 !important;
    max-height: 330px !important;
    overflow: hidden !important;
    border-radius: 22px !important;
  }

  html body #editorModal#editorModal .builder-inspector-head .builder-inspector-title span {
    display: none !important;
  }

  html body #editorModal#editorModal .builder-inspector-head .builder-inspector-title strong {
    font-size: 19px !important;
  }

  html body #editorModal#editorModal .mobile-segment-tabs {
    position: sticky !important;
    top: 0 !important;
    z-index: 6 !important;
    background: rgba(248, 247, 253, .94) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

@media (prefers-reduced-motion: reduce) {

  html body #editorModal#editorModal #proStudio.ps *,
  html body #editorModal * {
    transition: none !important;
  }
}

/* ---------------------------------------------------------------------
   4. CABINET (dashboard, analytics, settings)
   --------------------------------------------------------------------- */
html body.pro-ui.nl-app {
  background: #f6f5fb !important;
}

html body.pro-ui.nl-app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 40% at 8% 0%, rgba(167, 139, 250, .22), transparent 70%),
    radial-gradient(35% 35% at 100% 10%, rgba(244, 114, 182, .12), transparent 70%),
    radial-gradient(45% 40% at 60% 110%, rgba(56, 189, 248, .10), transparent 70%);
}

html body.pro-ui #root .app aside.side {
  background: rgba(255, 255, 255, .74) !important;
  border: 1px solid rgba(255, 255, 255, .95) !important;
  border-radius: 24px !important;
  box-shadow: 0 1px 2px rgba(20, 16, 50, .04), 0 24px 60px -32px rgba(30, 20, 80, .3) !important;
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
}

html body.pro-ui #root .app .snav button {
  border-radius: 12px !important;
  height: 42px !important;
  color: var(--pu-ink-2) !important;
  font-weight: 650 !important;
  border: 1px solid transparent !important;
  transition: background .2s, color .2s, transform .2s var(--pu-ease) !important;
}

html body.pro-ui #root .app .snav button:hover {
  background: rgba(20, 16, 50, .045) !important;
  color: var(--pu-ink) !important;
}

html body.pro-ui #root .app .snav button.active {
  background: linear-gradient(90deg, #efeaff, rgba(239, 234, 255, .45)) !important;
  color: var(--pu-acc) !important;
  border-color: rgba(104, 71, 238, .16) !important;
  box-shadow: inset 3px 0 0 var(--pu-acc) !important;
  font-weight: 750 !important;
}

html body.pro-ui #root .app .snav a.telegram-side {
  border-radius: 12px !important;
}

html body.pro-ui #root .app .sideuser {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid var(--pu-line) !important;
  box-shadow: var(--pu-sh-1) !important;
}

html body.pro-ui #root .app .sideuser span.pro-ava {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid !important;
  place-items: center;
  color: #fff !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-weight: 800;
  font-size: 15px;
  background: var(--pu-grad);
  box-shadow: 0 6px 14px -6px rgba(104, 71, 238, .6);
}

html body.pro-ui #root .app .sideuser>b,
html body.pro-ui #root .app .sideuser>span:not(.pro-ava) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.pro-ui #root .app .sideuser>button {
  grid-column: 1 / -1;
  margin-top: 10px !important;
  border-radius: 11px !important;
}

html body.pro-ui #root .app .main .top h2 {
  font-weight: 800 !important;
  letter-spacing: -.035em !important;
  color: var(--pu-ink) !important;
}

html body.pro-ui #root .app .main .top p {
  color: var(--pu-mute) !important;
}

html body.pro-ui #root .app .lang {
  background: rgba(20, 16, 50, .05) !important;
  border: 1px solid var(--pu-line) !important;
  border-radius: 12px !important;
}

html body.pro-ui #root .app .lang button {
  border-radius: 9px !important;
  transition: background .2s, color .2s !important;
}

html body.pro-ui #root .app .lang button.active {
  background: #fff !important;
  color: var(--pu-ink) !important;
  box-shadow: var(--pu-sh-1), 0 0 0 1px var(--pu-line) !important;
}

html body.pro-ui #root .app #newLink {
  background: var(--pu-grad) !important;
  border: 0 !important;
  border-radius: 13px !important;
  color: #fff !important;
  font-weight: 750 !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px -10px rgba(104, 71, 238, .7), inset 0 1px 0 rgba(255, 255, 255, .25) !important;
  transition: transform .2s var(--pu-ease), box-shadow .2s !important;
}

html body.pro-ui #root .app #newLink::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: translateX(-150%) skewX(-20deg);
  transition: transform .9s var(--pu-ease);
}

html body.pro-ui #root .app #newLink:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(104, 71, 238, .8) !important;
}

html body.pro-ui #root .app #newLink:hover::after {
  transform: translateX(420%) skewX(-20deg);
}

/* stat cards */
html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat {
  position: relative !important;
  padding: 18px 18px 18px 74px !important;
  min-height: 94px !important;
  border-radius: 20px !important;
  background: #fff !important;
  border: 1px solid var(--pu-line) !important;
  box-shadow: var(--pu-sh-1) !important;
  overflow: hidden !important;
  transition: transform .25s var(--pu-ease), box-shadow .25s !important;
}

html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--pu-sh-2) !important;
}

html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat::before,
html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat::after {
  display: none !important;
  content: none !important;
}

html body.pro-ui.nl-app #root .app .main .cards>.stat .pro-stat-ic {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
}

html body.pro-ui.nl-app #root .app .main .cards>.stat .pro-stat-ic svg {
  width: 19px;
  height: 19px;
  margin: 0;
}

html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat-0 .pro-stat-ic {
  background: linear-gradient(135deg, #7c5cff, #a855f7);
  box-shadow: 0 8px 18px -8px rgba(124, 92, 255, .8);
}

html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat-1 .pro-stat-ic {
  background: linear-gradient(135deg, #10b981, #14b8a6);
  box-shadow: 0 8px 18px -8px rgba(16, 185, 129, .8);
}

html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat-2 .pro-stat-ic {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 8px 18px -8px rgba(245, 158, 11, .8);
}

html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat-3 .pro-stat-ic {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  box-shadow: 0 8px 18px -8px rgba(14, 165, 233, .8);
}

html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat small {
  color: var(--pu-mute) !important;
  font-weight: 650 !important;
}

html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat strong {
  color: var(--pu-ink) !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
  font-variant-numeric: tabular-nums;
}

/* links table */
html body.pro-ui #root .app .main section.table {
  border-radius: 22px !important;
  background: #fff !important;
  border: 1px solid var(--pu-line) !important;
  box-shadow: var(--pu-sh-2) !important;
  overflow: hidden !important;
}

html body.pro-ui #root .app .main .thead {
  background: #fbfaff !important;
  border-bottom: 1px solid var(--pu-line) !important;
}

html body.pro-ui #root .app .main .thead span {
  color: var(--pu-mute-2) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase;
}

html body.pro-ui #root .app .main .row.pro-row {
  transition: background .18s !important;
  border-color: var(--pu-line) !important;
}

html body.pro-ui #root .app .main .row.pro-row:hover {
  background: #faf9ff !important;
}

html body.pro-ui #root .app .main .row-name.pro-row-name {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0;
}

html body.pro-ui #root .app .main .pro-row-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

html body.pro-ui #root .app .main .pro-row-copy br {
  display: none;
}

html body.pro-ui #root .app .main .pro-row-copy b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--pu-ink) !important;
  font-weight: 750 !important;
}

html body.pro-ui #root .app .main .pro-row-copy .small {
  color: var(--pu-mute-2) !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.pro-ui #root .app .main .pro-thumb {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-size: cover !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 6px 14px -8px rgba(20, 16, 50, .45);
}

html body.pro-ui #root .app .main .pro-thumb .pro-thumb-l {
  color: #fff !important;
  font-style: normal;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

html body.pro-ui #root .app .main .pro-thumb.is-light .pro-thumb-l {
  color: #111827 !important;
  text-shadow: none;
}

html body.pro-ui #root .app .main .pro-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html body.pro-ui #root .app .main a.slug {
  border-radius: 9px !important;
  background: var(--pu-acc-soft) !important;
  color: var(--pu-acc) !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 650 !important;
  font-size: 12px !important;
  border: 1px solid rgba(104, 71, 238, .12) !important;
  transition: background .18s !important;
}

html body.pro-ui #root .app .main a.slug:hover {
  background: #e6dfff !important;
}

html body.pro-ui #root .app .main .num {
  font-variant-numeric: tabular-nums;
  font-weight: 700 !important;
  color: var(--pu-ink-2) !important;
}

html body.pro-ui #root .app .main .rowact .iconbtn {
  border-radius: 10px !important;
  width: 32px !important;
  height: 32px !important;
  color: var(--pu-mute) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  transition: background .18s, color .18s, border-color .18s, transform .18s var(--pu-ease) !important;
}

html body.pro-ui #root .app .main .rowact .iconbtn:hover {
  background: #fff !important;
  color: var(--pu-acc) !important;
  border-color: var(--pu-line-2) !important;
  transform: translateY(-1px);
  box-shadow: var(--pu-sh-1) !important;
}

html body.pro-ui #root .app .main .rowact .iconbtn-del:hover {
  color: var(--pu-bad) !important;
}

/* generic cards in analytics/settings */
html body.pro-ui #root .app .main :is(.settings-card, .scard, .set-card, .card, .panel, .an-card, .rs-card) {
  border-radius: 20px !important;
  border-color: var(--pu-line) !important;
  box-shadow: var(--pu-sh-1) !important;
}

/* floating analytics button */
html body.pro-ui #splOpenAnalytics {
  border-radius: 14px !important;
  background: var(--pu-ink) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  box-shadow: 0 16px 34px -14px rgba(20, 16, 50, .7) !important;
  transition: transform .22s var(--pu-ease), box-shadow .22s !important;
}

html body.pro-ui #splOpenAnalytics:hover {
  transform: translateY(-2px);
}

/* mobile bottom nav */
html body.pro-ui .uip-bnav {
  background: rgba(255, 255, 255, .82) !important;
  border: 1px solid rgba(255, 255, 255, .95) !important;
  box-shadow: 0 18px 40px -16px rgba(30, 20, 80, .35), 0 1px 2px rgba(20, 16, 50, .05) !important;
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
}

@media (max-width: 760px) {
  html body.pro-ui.nl-app #root .app .main .cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  html body.pro-ui.nl-app #root .app .main .cards:has(> .stat:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat {
    padding: 12px 12px 12px !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    border-radius: 18px !important;
  }

  html body.pro-ui.nl-app #root .app .main .cards>.stat .pro-stat-ic {
    position: static;
    transform: none;
    width: 32px;
    height: 32px;
    border-radius: 11px;
    margin-bottom: 8px;
  }

  html body.pro-ui.nl-app #root .app .main .cards>.stat .pro-stat-ic svg {
    width: 16px;
    height: 16px;
  }

  html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat small {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat strong {
    font-size: 22px !important;
    line-height: 1.15 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body.pro-ui.nl-app #root .app .main .cards>.stat.pro-stat> :not(.pro-stat-ic):not(small):not(strong) {
    font-size: 10.5px !important;
    position: static !important;
    margin: 2px 0 0 !important;
  }

  html body.pro-ui #root .app .main section.table {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  html body.pro-ui #root .app .main .row.pro-row {
    background: #fff !important;
    border: 1px solid var(--pu-line) !important;
    border-radius: 20px !important;
    box-shadow: var(--pu-sh-1) !important;
    margin-bottom: 10px !important;
  }

  html body.pro-ui #root .app .main .pro-thumb {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  html body.pro-ui #splOpenAnalytics {
    background: rgba(255, 255, 255, .86) !important;
    color: var(--pu-acc) !important;
    border: 1px solid rgba(104, 71, 238, .18) !important;
    box-shadow: 0 10px 26px -12px rgba(30, 20, 80, .45) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    right: 14px !important;
    left: auto !important;
    bottom: calc(96px + env(safe-area-inset-bottom)) !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 16px !important;
    font-size: 0 !important;
    gap: 0 !important;
    display: grid !important;
    place-items: center !important;
    transform: none;
  }

  html body.pro-ui #splOpenAnalytics svg {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
  }

  html body.pro-ui #splOpenAnalytics * {
    font-size: 0 !important;
  }
}

/* ---------------------------------------------------------------------
   5. FIXES v3 — photos/palettes visible, chip grids, desktop toggle, split tester
   --------------------------------------------------------------------- */
/* images & palettes: drawn from a CSS variable so generic button resets can't wipe them */
html body #editorModal #proStudio .ps-photo,
html body #editorModal #proStudio .ps-pal {
  background: var(--bgi) center / cover no-repeat !important;
  border: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

html body #editorModal #proStudio .ps-photo {
  aspect-ratio: 3 / 4 !important;
}

html body #editorModal #proStudio .ps-pal {
  aspect-ratio: 1 !important;
}

html body #editorModal #proStudio .ps-upload-thumb {
  background: var(--bgi, none) center / cover no-repeat, #f4f2fa !important;
}

/* multi-row option groups → separate chips with clear gaps */
html body #editorModal #proStudio .ps-seg.ps-seg-wrap {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)) !important;
  gap: 6px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

html body #editorModal #proStudio .ps-seg.ps-seg-wrap button {
  height: 38px !important;
  background: #fff !important;
  border: 1px solid var(--pu-line-2) !important;
  border-radius: 11px !important;
  box-shadow: var(--pu-sh-1) !important;
  color: var(--pu-ink-2) !important;
}

html body #editorModal #proStudio .ps-seg.ps-seg-wrap button:hover {
  border-color: rgba(104, 71, 238, .35) !important;
  color: var(--pu-ink) !important;
  background: #fff !important;
}

html body #editorModal #proStudio .ps-seg.ps-seg-wrap button.active {
  background: var(--pu-acc-soft) !important;
  border-color: var(--pu-acc) !important;
  color: var(--pu-acc) !important;
  box-shadow: 0 0 0 3px var(--pu-acc-ring) !important;
}

/* single-row segmented: thin dividers between options */
html body #editorModal #proStudio .ps-seg:not(.ps-seg-wrap) button+button {
  box-shadow: inset 1px 0 0 var(--pu-line-2) !important;
}

html body #editorModal #proStudio .ps-seg:not(.ps-seg-wrap) button.active,
html body #editorModal #proStudio .ps-seg:not(.ps-seg-wrap) button.active+button {
  box-shadow: var(--pu-sh-1), 0 0 0 1px var(--pu-line) !important;
}

html body #editorModal #proStudio .ps-seg:not(.ps-seg-wrap) button.active+button {
  box-shadow: none !important;
}

html body #editorModal #proStudio .ps-btn-ghost {
  height: 38px !important;
  margin-top: 10px !important;
}

/* sticky studio header: solid, covers content scrolling underneath */
html body #editorModal #proStudio .ps-head {
  background: #fbfaff !important;
  box-shadow: 0 -30px 0 0 #fbfaff, 0 8px 12px -12px rgba(20, 16, 50, .18) !important;
  padding-bottom: 12px !important;
  margin-bottom: 4px !important;
}

html body #editorModal[data-pro-ctx="design"] .builder-inspector-head .context-meta {
  display: none !important;
}

/* "Editor / Preview" switch only makes sense on phones */
@media (min-width: 769px) {
  html body #editorModal#editorModal .editorhead .mobile-builder-toggle {
    display: none !important;
  }
}

/* ---------------------------------------------------------------------
   6. FIXES v4 — #pane-split & #splPreview, Live Preview Toolbar, Featured Telegram Card
   --------------------------------------------------------------------- */

/* 6A. Strip rogue outer borders/backgrounds on inspector wrapper panes */
html body.nl-app #editorModal#editorModal .builder-inspector>div:not(.builder-inspector-head):not(#proStudio) {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

html body.nl-app #editorModal#editorModal #pane-split.hidden {
  display: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split:not(.hidden) {
  padding: 2px 0 18px !important;
}

/* 6B. #pane-split — Traffic Distribution Header, Toggle, Guide, Presets, Add Rule */
html body.nl-app #editorModal#editorModal #pane-split .spl-head {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 16px !important;
  margin: 0 0 12px !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid var(--pu-line) !important;
  box-shadow: var(--pu-sh-1) !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-head-main {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-head-main h4.spl-title {
  margin: 0 0 4px !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
  color: var(--pu-ink) !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-head-main p.spl-sub {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: var(--pu-mute) !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-toggle-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 11px 13px !important;
  margin: 0 !important;
  border-radius: 13px !important;
  background: #faf9ff !important;
  border: 1px solid var(--pu-line-2) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background .18s, border-color .18s !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-toggle-card.is-active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(104, 71, 238, 0.06) 100%) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-tc-info {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-tc-title {
  font-size: 10.5px !important;
  font-weight: 750 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--pu-mute) !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-tc-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: var(--pu-ink-2) !important;
  margin: 0 !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-tc-status::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  border-radius: 50% !important;
  background: #9ca3af !important;
  flex-shrink: 0 !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-tc-status.on {
  color: #059669 !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-tc-status.on::before {
  background: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-btn-analytics {
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border-radius: 11px !important;
  background: var(--pu-acc-soft) !important;
  color: var(--pu-acc) !important;
  border: 1px solid rgba(104, 71, 238, 0.16) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  box-shadow: none !important;
  transition: background .18s, border-color .18s !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-btn-analytics:hover {
  background: #e7e0ff !important;
  border-color: rgba(104, 71, 238, 0.3) !important;
}

/* Guide banner & section titles */
html body.nl-app #editorModal#editorModal #pane-split .spl-guide-card {
  padding: 13px 14px !important;
  margin: 0 0 14px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #f6f3ff 0%, #fbfaff 100%) !important;
  border: 1px solid rgba(104, 71, 238, 0.14) !important;
  box-shadow: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-guide-header {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  color: var(--pu-acc) !important;
  margin: 0 0 5px !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-guide-desc {
  font-size: 12px !important;
  line-height: 1.48 !important;
  color: var(--pu-ink-2) !important;
  margin: 0 !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-block-head {
  margin: 14px 0 8px !important;
  padding: 0 2px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-block-head-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-block-head b {
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  color: var(--pu-ink) !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-block-head .spl-hint {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--pu-mute-2) !important;
  margin: 0 !important;
}

/* Preset cards & uniform squircle code badges */
html body.nl-app #editorModal#editorModal #pane-split .spl-presets-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  margin: 0 0 14px !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-preset-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid var(--pu-line) !important;
  box-shadow: var(--pu-sh-1) !important;
  transition: border-color .18s, transform .18s var(--pu-ease), box-shadow .18s !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-preset-card:hover {
  border-color: rgba(104, 71, 238, 0.35) !important;
  background: #fcfbff !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--pu-sh-2) !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-preset-main {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-preset-icon {
  width: 36px !important;
  height: 30px !important;
  min-width: 36px !important;
  border-radius: 9px !important;
  background: var(--pu-acc-soft) !important;
  border: 1px solid rgba(104, 71, 238, 0.14) !important;
  color: var(--pu-acc) !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  display: inline-grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-preset-name {
  font-size: 12.5px !important;
  font-weight: 750 !important;
  color: var(--pu-ink) !important;
  line-height: 1.25 !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-preset-sub {
  font-size: 11px !important;
  color: var(--pu-mute) !important;
  line-height: 1.3 !important;
  margin-top: 2px !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-preset-add-badge {
  height: 26px !important;
  padding: 0 9px !important;
  border-radius: 8px !important;
  background: var(--pu-acc-soft) !important;
  color: var(--pu-acc) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-preset-card:hover .spl-preset-add-badge {
  background: var(--pu-acc) !important;
  color: #ffffff !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-empty {
  padding: 16px 14px !important;
  border-radius: 14px !important;
  border: 1.5px dashed var(--pu-line-2) !important;
  background: #fcfbff !important;
  color: var(--pu-mute) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  box-shadow: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-add-rule-btn {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 12px 0 14px !important;
  padding: 0 14px !important;
  border-radius: 13px !important;
  border: 1.5px dashed rgba(104, 71, 238, 0.42) !important;
  background: #f6f3ff !important;
  color: var(--pu-acc) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: none !important;
  transition: background .18s, border-color .18s, transform .18s var(--pu-ease) !important;
}

html body.nl-app #editorModal#editorModal #pane-split .spl-add-rule-btn:hover:not(:disabled) {
  background: #ede7ff !important;
  border-color: var(--pu-acc) !important;
  transform: translateY(-1px) !important;
}

/* 6C. #splPreview — Rules Tester Card (4-ID specificity beats nl-topbar-gradient.css) */
html body.nl-app #editorModal#editorModal #pane-split #splPreview.spl-preview {
  padding: 16px !important;
  margin: 0 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid var(--pu-line) !important;
  box-shadow: var(--pu-sh-1) !important;
  overflow: hidden !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-preview-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-preview-head b {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
  color: var(--pu-ink) !important;
  min-width: 0 !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-preview-head b .aru-ei {
  flex-shrink: 0 !important;
  margin: 0 !important;
  color: var(--pu-acc) !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-preview-head .spl-hint {
  flex: none !important;
  white-space: nowrap !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  padding: 5px 9px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: var(--pu-acc-soft) !important;
  color: var(--pu-acc) !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-pv-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-pv-grid label {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: 0.055em !important;
  text-transform: uppercase !important;
  color: var(--pu-mute) !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-pv-grid select {
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 !important;
  padding: 0 28px 0 11px !important;
  border-radius: 10px !important;
  border: 1px solid var(--pu-line-2) !important;
  background-color: #faf9fd !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 550 !important;
  color: var(--pu-ink) !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-pv-grid select:hover {
  background-color: #ffffff !important;
  border-color: rgba(104, 71, 238, 0.3) !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-pv-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPvGo.spl-pv-btn-run {
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border-radius: 11px !important;
  background: var(--pu-grad) !important;
  color: #ffffff !important;
  border: 0 !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  box-shadow: 0 8px 18px -8px rgba(104, 71, 238, 0.65) !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPvGo.spl-pv-btn-run:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 22px -8px rgba(104, 71, 238, 0.78) !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPvMatrix.spl-pv-btn-matrix {
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  color: var(--pu-ink-2) !important;
  border: 1px solid var(--pu-line-2) !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  box-shadow: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPvMatrix.spl-pv-btn-matrix:hover {
  background: #faf9ff !important;
  border-color: rgba(104, 71, 238, 0.35) !important;
  color: var(--pu-acc) !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .aru-ei {
  margin: 0 !important;
  flex-shrink: 0 !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-pv-res-box {
  margin: 0 !important;
  padding: 12px 13px !important;
  border-radius: 13px !important;
  background: #faf9ff !important;
  border: 1px solid var(--pu-line) !important;
  box-shadow: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-pv-res-header {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-pv-res-dot {
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  border: 0 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14) !important;
  flex: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-pv-res-label {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: 0.055em !important;
  text-transform: uppercase !important;
  color: var(--pu-mute) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview #splPvUrl {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: var(--pu-acc) !important;
  word-break: break-word !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-pv-match:empty {
  display: none !important;
}

html body.nl-app #editorModal#editorModal #pane-split #splPreview .spl-pv-match:not(:empty) {
  display: inline-block !important;
  margin: 6px 0 0 !important;
  padding: 3px 8px !important;
  border-radius: 7px !important;
  border: 0 !important;
  background: rgba(16, 185, 129, 0.11) !important;
  color: #059669 !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

/* Mobile isolation for data-mobile-tab="split" & 5-tab bar in a single crisp row */
@media (max-width: 768px) {
  html body.nl-app #editorModal#editorModal .mobile-segment-tabs {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 3px !important;
    padding: 4px !important;
  }

  html body.nl-app #editorModal#editorModal .mobile-segment-tabs .mobile-segment-tab {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 0 2px !important;
    height: 36px !important;
    min-width: 0 !important;
    letter-spacing: -0.01em !important;
  }

  html body.nl-app #editorModal#editorModal:not([data-mobile-tab="split"]) #pane-split {
    display: none !important;
  }

  html body.nl-app #editorModal#editorModal[data-mobile-tab="split"] #pane-content,
  html body.nl-app #editorModal#editorModal[data-mobile-tab="split"] #pane-design,
  html body.nl-app #editorModal#editorModal[data-mobile-tab="split"] #pane-publish,
  html body.nl-app #editorModal#editorModal[data-mobile-tab="split"] #proStudio,
  html body.nl-app #editorModal#editorModal[data-mobile-tab="split"] #designStudio,
  html body.nl-app #editorModal#editorModal[data-mobile-tab="split"] .design-studio {
    display: none !important;
  }

  html body.nl-app #editorModal#editorModal[data-mobile-tab="split"] #pane-split {
    display: block !important;
    padding: 4px 0 24px !important;
  }
}

/* 6D. Live Preview Toolbar (.device-preview-toolbar — Screenshot 3) */
html body.nl-app #editorModal#editorModal .builder-stage .device-preview-toolbar {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  height: 40px !important;
  min-height: 40px !important;
  min-width: 0 !important;
  width: fit-content !important;
  padding: 4px 5px 4px 14px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(20, 16, 50, 0.08) !important;
  box-shadow: 0 6px 20px -8px rgba(20, 16, 50, 0.12), 0 1px 2px rgba(20, 16, 50, 0.04) !important;
  max-width: calc(100% - 16px) !important;
}

html body.nl-app #editorModal#editorModal .builder-stage .device-preview-toolbar .device-label {
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
  color: #1f1b38 !important;
  white-space: nowrap !important;
}

html body.nl-app #editorModal#editorModal .builder-stage .device-preview-toolbar .device-label::before {
  content: "" !important;
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18) !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

html body.nl-app #editorModal#editorModal .builder-stage .device-preview-toolbar .device-label small {
  display: none !important;
}

html body.nl-app #editorModal#editorModal .builder-shell.design-workspace .builder-stage .device-preview-toolbar {
  padding: 4px !important;
  gap: 0 !important;
  min-width: 0 !important;
  width: fit-content !important;
}

html body.nl-app #editorModal#editorModal .builder-shell.design-workspace .builder-stage .device-preview-toolbar .device-label {
  display: none !important;
}

html body.nl-app #editorModal#editorModal .builder-stage .device-preview-toolbar .preview-tools {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  padding: 3px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: #f3f1fa !important;
  border: 1px solid rgba(20, 16, 50, 0.04) !important;
}

html body.nl-app #editorModal#editorModal .builder-stage .device-preview-toolbar .preview-tool {
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 11px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: transparent !important;
  color: #5b5675 !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
  font-variant-numeric: tabular-nums !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  transition: background .18s, color .18s, box-shadow .18s !important;
}

html body.nl-app #editorModal#editorModal .builder-stage .device-preview-toolbar .preview-tool:hover:not(.active) {
  background: rgba(255, 255, 255, 0.78) !important;
  color: #181528 !important;
}

html body.nl-app #editorModal#editorModal .builder-stage .device-preview-toolbar .preview-tool.active {
  background: linear-gradient(135deg, #6847ee 0%, #7c5cff 100%) !important;
  color: #ffffff !important;
  font-weight: 650 !important;
  box-shadow: 0 3px 10px -2px rgba(104, 71, 238, 0.45) !important;
}

/* 6E. Featured Sidebar Telegram Channel Card (a.telegram-side.pro-tg-card — Screenshot 5) */
html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 9px !important;
  margin-top: 14px !important;
  padding: 12px 13px !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(140deg, rgba(104, 71, 238, 0.09) 0%, rgba(56, 189, 248, 0.14) 100%) !important;
  border: 1px solid rgba(104, 71, 238, 0.24) !important;
  box-shadow: 0 10px 24px -14px rgba(104, 71, 238, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
  overflow: hidden !important;
  transition: transform .22s var(--pu-ease), border-color .22s, box-shadow .22s, background .22s !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 36% !important;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent) !important;
  transform: translateX(-160%) skewX(-20deg) !important;
  transition: transform .85s var(--pu-ease) !important;
  pointer-events: none !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card:hover {
  transform: translateY(-1.5px) !important;
  background: linear-gradient(140deg, rgba(104, 71, 238, 0.14) 0%, rgba(56, 189, 248, 0.20) 100%) !important;
  border-color: rgba(104, 71, 238, 0.42) !important;
  box-shadow: 0 14px 28px -12px rgba(104, 71, 238, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card:hover::after {
  transform: translateX(420%) skewX(-20deg) !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-ic {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #38bdf8 0%, #6847ee 100%) !important;
  color: #ffffff !important;
  display: inline-grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 6px 14px -5px rgba(56, 189, 248, 0.5), 0 4px 10px -5px rgba(104, 71, 238, 0.5) !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-ic svg {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  color: #ffffff !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-arr {
  height: 23px !important;
  padding: 0 8px 0 9px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(104, 71, 238, 0.18) !important;
  color: #6847ee !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  flex-shrink: 0 !important;
  transition: transform .2s var(--pu-ease), background .2s, color .2s, border-color .2s !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-arr em {
  font-style: normal !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-arr svg {
  width: 11px !important;
  height: 11px !important;
  margin: 0 !important;
  transition: transform .2s var(--pu-ease) !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card:hover .pro-tg-arr {
  background: #6847ee !important;
  border-color: #6847ee !important;
  color: #ffffff !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card:hover .pro-tg-arr svg {
  transform: translate(1.5px, -1.5px) !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  width: 100% !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-copy b {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
  color: #181528 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-copy small {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #5b43d6 !important;
  white-space: normal !important;
}

html body #splPreview .spl-preview-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
}

html body #splPreview .spl-preview-head b {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  color: var(--pu-ink) !important;
  min-width: 0;
}

html body #splPreview .spl-preview-head .spl-hint {
  flex: none !important;
  white-space: nowrap !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 9px !important;
  border-radius: 99px !important;
  background: var(--pu-acc-soft) !important;
  color: var(--pu-acc) !important;
}

html body #splPreview .spl-pv-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

html body #splPreview .spl-pv-grid label {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}

html body #splPreview .spl-pv-grid label>span {
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: var(--pu-mute) !important;
  margin: 0 !important;
}

html body #splPreview .spl-pv-grid select {
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  margin: 0 !important;
  border-radius: 11px !important;
  border: 1px solid var(--pu-line-2) !important;
  background-color: #fff !important;
  padding: 0 28px 0 12px !important;
  font-size: 13px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

html body #splPreview .spl-pv-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

html body #splPreview .spl-pv-actions button {
  width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border-radius: 12px !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

html body #splPreview .spl-pv-btn-run {
  background: var(--pu-grad) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 8px 20px -10px rgba(104, 71, 238, .7) !important;
}

html body #splPreview .spl-pv-btn-matrix {
  background: #fff !important;
  color: var(--pu-ink) !important;
  border: 1px solid var(--pu-line-2) !important;
  box-shadow: none !important;
}

html body #splPreview .spl-pv-res-box {
  margin: 0 !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: #faf9ff !important;
  border: 1px solid var(--pu-line) !important;
  box-shadow: none !important;
}

html body #splPreview .spl-pv-res-header {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

html body #splPreview .spl-pv-res-dot {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  border-radius: 50% !important;
  background: #c7c5d3 !important;
  border: 0 !important;
  box-shadow: none !important;
  flex: none !important;
}

html body #splPreview .spl-pv-res-label {
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: var(--pu-mute) !important;
  border: 0 !important;
  background: none !important;
  padding: 0 !important;
}

html body #splPreview #splPvUrl {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  color: var(--pu-acc) !important;
  word-break: break-all !important;
}

html body #splPreview .spl-pv-match:empty {
  display: none !important;
}

html body #splPreview .aru-ei {
  margin-right: 0 !important;
}


/* ---------------------------------------------------------------------
   7. FIXES v5 — Account Badge, #newLink Alignment, Recessed Scrollbars,
      Docked Mobile Nav, Strict Executive KPI Cards & Smart Command Bar
   --------------------------------------------------------------------- */

/* 7A. Screenshot 1 — Strict architectural account badge in .sideuser */
html body.pro-ui.nl-app #root#root .app .side .sideuser {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  column-gap: 10px !important;
  row-gap: 1px !important;
  align-items: center !important;
  padding: 12px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

html body.pro-ui.nl-app #root#root .app .side .sideuser span.pro-ava {
  position: relative !important;
  grid-row: 1 / span 2 !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 10px !important;
  background: #f5f3ff !important;
  border: 1px solid rgba(104, 71, 238, 0.16) !important;
  color: #5b3fe0 !important;
  box-shadow: inset 0 1px 0 #ffffff !important;
  display: inline-grid !important;
  place-items: center !important;
  margin: 0 !important;
}

html body.pro-ui.nl-app #root#root .app .side .sideuser span.pro-ava svg {
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
  color: #5b3fe0 !important;
}

html body.pro-ui.nl-app #root#root .app .side .sideuser span.pro-ava .pro-ava-dot {
  position: absolute !important;
  right: -2px !important;
  bottom: -2px !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  border: 2px solid #ffffff !important;
  box-sizing: border-box !important;
}

html body.pro-ui.nl-app #root#root .app .side .sideuser>b {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  color: #0f172a !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.pro-ui.nl-app #root#root .app .side .sideuser>span:not(.pro-ava) {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  color: #64748b !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.pro-ui.nl-app #root#root .app .side .sideuser>button#logout {
  grid-column: 1 / -1 !important;
  margin: 10px 0 0 !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 9px !important;
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  color: #475569 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transition: background .16s, color .16s, border-color .16s !important;
}

html body.pro-ui.nl-app #root#root .app .side .sideuser>button#logout:hover {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
}

/* 7B. Screenshot 2 — Crisp aligned "+ Новая ссылка" (#newLink & #emptyNew) */
html body.pro-ui.nl-app #root#root .app .main .topact .lang {
  height: 40px !important;
  min-height: 40px !important;
  padding: 3px !important;
  border-radius: 10px !important;
}

html body.pro-ui.nl-app #root#root .app .main .topact .lang button {
  height: 32px !important;
  min-height: 32px !important;
  border-radius: 7px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

html body.pro-ui.nl-app #root#root .app .main .topact #newLink,
html body.pro-ui.nl-app #root#root .app .main #emptyNew {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 17px !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #6e4ef2 0%, #5e3ce6 100%) !important;
  color: #ffffff !important;
  border: 1px solid #5735df !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 4px 12px -3px rgba(94, 60, 230, 0.36) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  text-indent: 0 !important;
  transition: transform .16s var(--pu-ease), box-shadow .16s, background .16s !important;
}

html body.pro-ui.nl-app #root#root .app .main .topact #newLink:hover,
html body.pro-ui.nl-app #root#root .app .main #emptyNew:hover {
  background: linear-gradient(180deg, #6342eb 0%, #5230db 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 18px -4px rgba(94, 60, 230, 0.46) !important;
}

html body.pro-ui.nl-app #root#root .app .main .topact #newLink .aru-plus-ic,
html body.pro-ui.nl-app #root#root .app .main #emptyNew .aru-plus-ic {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  flex-shrink: 0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .topact #newLink span,
html body.pro-ui.nl-app #root#root .app .main #emptyNew span {
  display: inline-block !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 7C. Screenshot 3 — Eliminate protruding scrollbar ▲/▼ arrows & inset scroll tracks in all windows */
html body #editorModal#editorModal .builder-tree,
html body #editorModal#editorModal .builder-inspector,
html body #editorModal#editorModal .builder-outline,
html body #editorModal#editorModal .pane,
html body .modal,
html body .spl-dialog-body,
html body .spl-countries,
html body .spl-countries-scroll,
html body .spl-overlay,
html body .spl-sheet,
html body #shareModal,
html body aside.side {
  scrollbar-width: auto !important;
  scrollbar-color: auto !important;
}

html body #editorModal#editorModal>form#linkForm,
html body .spl-dialog {
  overflow: hidden !important;
}

html body *::-webkit-scrollbar,
html body #editorModal *::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}

html body *::-webkit-scrollbar-button,
html body *::-webkit-scrollbar-button:single-button,
html body *::-webkit-scrollbar-button:vertical:decrement,
html body *::-webkit-scrollbar-button:vertical:increment,
html body *::-webkit-scrollbar-button:horizontal:decrement,
html body *::-webkit-scrollbar-button:horizontal:increment,
html body #editorModal *::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

html body *::-webkit-scrollbar-track,
html body #editorModal *::-webkit-scrollbar-track {
  background: transparent !important;
  margin-block: 10px !important;
  margin-inline: 10px !important;
}

html body .modal::-webkit-scrollbar-track,
html body .spl-dialog-body::-webkit-scrollbar-track {
  margin-block: 16px !important;
}

html body *::-webkit-scrollbar-thumb,
html body #editorModal *::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.16) !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  background-clip: padding-box !important;
}

html body *::-webkit-scrollbar-thumb:hover,
html body #editorModal *::-webkit-scrollbar-thumb:hover {
  background: rgba(104, 71, 238, 0.42) !important;
  border: 1px solid transparent !important;
  background-clip: padding-box !important;
}

html body *::-webkit-scrollbar-corner,
html body #editorModal *::-webkit-scrollbar-corner {
  background: transparent !important;
}

/* 7D. Screenshot 4 — Mobile bottom navigation (.uip-bnav) docked 100% flush to viewport bottom */
@media (max-width: 768px) {
  html body.pro-ui.uip-has-bnav:not(.uip-editor-open):not(.uip-overlay-open):not(.uip-drawer-open) .uip-bnav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 6px 10px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 6px !important;
    border-radius: 18px 18px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    background: rgba(255, 255, 255, 0.97) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 -8px 26px -12px rgba(15, 23, 42, 0.14) !important;
    z-index: 95 !important;
  }

  html body.pro-ui.uip-has-bnav .uip-bnav button {
    height: 50px !important;
    min-height: 50px !important;
    padding: 4px 2px !important;
    gap: 3px !important;
    border-radius: 12px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    color: #64748b !important;
  }

  html body.pro-ui.uip-has-bnav .uip-bnav button svg {
    width: 19px !important;
    height: 19px !important;
    stroke-width: 1.85 !important;
  }

  html body.pro-ui.uip-has-bnav .uip-bnav button.is-active {
    background: #f3f0ff !important;
    color: #5b3fe0 !important;
  }

  html body.pro-ui.uip-has-bnav .uip-bnav button.uip-bnav-new {
    background: linear-gradient(180deg, #6e4ef2 0%, #5e3ce6 100%) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 12px -4px rgba(94, 60, 230, 0.45) !important;
  }

  html body.pro-ui #splOpenAnalytics {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* 7E. Screenshots 5 & 6 — Strict, Cohesive Executive KPI Cards across Links & Analytics */
html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat {
  position: relative !important;
  padding: 16px 18px 16px 68px !important;
  min-height: 84px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
  overflow: hidden !important;
  transition: border-color .18s, box-shadow .18s, transform .18s var(--pu-ease) !important;
}

html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(104, 71, 238, 0.22) !important;
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.10) !important;
}

html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat .pro-stat-ic,
html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat-0 .pro-stat-ic,
html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat-1 .pro-stat-ic,
html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat-2 .pro-stat-ic,
html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat-3 .pro-stat-ic {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: #f5f3ff !important;
  border: 1px solid rgba(104, 71, 238, 0.16) !important;
  color: #5b3fe0 !important;
  box-shadow: inset 0 1px 0 #ffffff !important;
  display: grid !important;
  place-items: center !important;
}

html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat .pro-stat-ic svg {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  color: #5b3fe0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat small {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.005em !important;
  color: #64748b !important;
  margin: 0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat strong {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 23px !important;
  font-weight: 650 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  font-variant-numeric: tabular-nums lining-nums !important;
  font-feature-settings: "tnum" 1 !important;
  color: #0f172a !important;
  margin: 1px 0 0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat .stat-sub {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11px !important;
  font-weight: 450 !important;
  line-height: 1.25 !important;
  color: #94a3b8 !important;
  margin: 2px 0 0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat .trend {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  line-height: 1 !important;
  height: 19px !important;
  padding: 0 6px !important;
  border-radius: 5px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  font-variant-numeric: tabular-nums !important;
}

html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat .trend.success {
  background: #f5f3ff !important;
  border-color: #e4dfff !important;
  color: #5b3fe0 !important;
}

html body.nl-app .rs-kpis b {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 650 !important;
  font-variant-numeric: tabular-nums lining-nums !important;
  letter-spacing: -0.025em !important;
}

@media (max-width: 768px) {
  html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat {
    padding: 12px !important;
    min-height: 0 !important;
    border-radius: 13px !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat .pro-stat-ic,
  html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat-0 .pro-stat-ic,
  html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat-1 .pro-stat-ic,
  html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat-2 .pro-stat-ic,
  html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat-3 .pro-stat-ic {
    position: static !important;
    transform: none !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    margin-bottom: 6px !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat .pro-stat-ic svg {
    width: 15px !important;
    height: 15px !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat small {
    font-size: 11px !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .cards>.stat.pro-stat strong {
    font-size: 19px !important;
    font-weight: 650 !important;
  }
}

/* 7F. Smart Workspace Command Bar (.pro-cmdbar), 1-Click Status Toggle & CTR Micro-Badge */
html body.pro-ui.nl-app #root#root .app .main .pro-cmdbar {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
  padding: 7px 8px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  flex-wrap: wrap !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-search {
  position: relative !important;
  flex: 1 1 210px !important;
  min-width: 170px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 10px !important;
  border-radius: 9px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  transition: border-color .16s, background .16s, box-shadow .16s !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-search:focus-within {
  background: #ffffff !important;
  border-color: #6847ee !important;
  box-shadow: 0 0 0 3px rgba(104, 71, 238, 0.12) !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-sic {
  width: 15px !important;
  height: 15px !important;
  color: #94a3b8 !important;
  flex-shrink: 0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 100% !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-input::-webkit-search-cancel-button {
  display: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-input::placeholder {
  color: #94a3b8 !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-kbd {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 20px !important;
  min-width: 20px !important;
  padding: 0 5px !important;
  border-radius: 5px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #94a3b8 !important;
  font-family: 'Inter', ui-monospace, monospace !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-search:focus-within .pro-cmd-kbd,
html body.pro-ui.nl-app #root#root .app .main .pro-cmd-search:has(.pro-cmd-clear.is-vis) .pro-cmd-kbd {
  display: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-clear {
  display: none !important;
  width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-clear.is-vis {
  display: inline-flex !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-pills {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  padding: 3px !important;
  border-radius: 9px !important;
  background: #f1f5f9 !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-pills::-webkit-scrollbar {
  display: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-pill {
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  border-radius: 7px !important;
  border: 0 !important;
  background: transparent !important;
  color: #64748b !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background .15s, color .15s, box-shadow .15s !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-pill[hidden] {
  display: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-pill:hover:not(.active) {
  color: #0f172a !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-pill.active {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-pill em {
  font-style: normal !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  font-variant-numeric: tabular-nums !important;
  padding: 2px 5px !important;
  border-radius: 999px !important;
  background: rgba(15, 23, 42, 0.06) !important;
  color: #64748b !important;
  line-height: 1 !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-pill.active em {
  background: #efeaff !important;
  color: #5b3fe0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-right {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-left: auto !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-sort {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 28px 0 11px !important;
  border-radius: 9px !important;
  border: 1px solid #e2e8f0 !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 9px center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 12px !important;
  font-weight: 550 !important;
  color: #334155 !important;
  cursor: pointer !important;
  outline: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-sort:hover {
  border-color: #cbd5e1 !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-csv {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 11px !important;
  border-radius: 9px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: border-color .15s, background .15s, color .15s !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-csv:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-empty {
  display: none;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 28px 18px !important;
  text-align: center !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-empty p {
  margin: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  color: #64748b !important;
}

html body.pro-ui.nl-app #root#root .app .main .pro-cmd-reset {
  height: 34px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #5b3fe0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

/* Interactive 1-Click Status Toggle & Inline CTR Micro-Badge */
html body.pro-ui.nl-app #root#root .app .main .row .status[data-pro-toggle-wired="1"] {
  cursor: pointer !important;
  user-select: none !important;
  transition: transform .15s var(--pu-ease), filter .15s, box-shadow .15s !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .status[data-pro-toggle-wired="1"]:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .status.is-busy {
  opacity: 0.55 !important;
  pointer-events: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .num {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums lining-nums !important;
  color: #1e293b !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .pro-ctr-pill {
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 6px !important;
  padding: 1px 5px !important;
  border-radius: 5px !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  font-style: normal !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  font-variant-numeric: tabular-nums !important;
  vertical-align: middle !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .pro-ctr-pill.is-high {
  background: #ecfdf5 !important;
  color: #059669 !important;
}

@media (max-width: 768px) {
  html body.pro-ui.nl-app #root#root .app .main .pro-cmdbar {
    padding: 8px !important;
    gap: 7px !important;
    border-radius: 14px !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .pro-cmd-search {
    flex: 1 1 100% !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .pro-cmd-kbd {
    display: none !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .pro-cmd-pills {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .pro-cmd-pill {
    flex: 1 1 auto !important;
    justify-content: center !important;
    padding: 0 7px !important;
    font-size: 11px !important;
    gap: 4px !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .pro-cmd-right {
    width: 100% !important;
    margin-left: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 6px !important;
  }
}

/* ---------------------------------------------------------------------
   8. FIXES v6 — Full-Height Desktop Sidebar, Square-Edge Frosted Mobile Drawer,
      Explicit Pause/Resume Action Button & Compact Animated Telegram Card
   --------------------------------------------------------------------- */

/* 8A. Desktop Left Sidebar: Full-height top-to-bottom, flush left, crisp square edges */
@media (min-width: 901px) {
  html body.pro-ui.nl-app #root#root .app {
    display: grid !important;
    grid-template-columns: 248px minmax(0, 1fr) !important;
    min-height: 100vh !important;
  }

  html body.pro-ui.nl-app #root#root .app aside.side {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: 248px !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    padding: 20px 14px 16px !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.90) !important;
    -webkit-backdrop-filter: blur(20px) saturate(165%) !important;
    backdrop-filter: blur(20px) saturate(165%) !important;
    border: 0 !important;
    border-right: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: none !important;
    animation: none !important;
  }

  html body.pro-ui.nl-app #root#root .app .main {
    grid-column: 2 !important;
    min-width: 0 !important;
  }
}

/* 8B. Mobile Slide-Out Drawer: Flush top/bottom/left, zero rounded corners, luminous frosted glass */
@media (max-width: 900px) {
  html body.pro-ui.nl-app #root#root .app {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
  }

  html body.pro-ui.nl-app #root#root .app #sideOverlay {
    background: rgba(15, 23, 42, 0.24) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    backdrop-filter: blur(5px) !important;
  }

  html body.pro-ui.nl-app #root#root .app aside.side {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: 278px !important;
    max-width: 84vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 14px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.87) !important;
    -webkit-backdrop-filter: blur(26px) saturate(190%) !important;
    backdrop-filter: blur(26px) saturate(190%) !important;
    border: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 22px 0 52px -12px rgba(15, 23, 42, 0.22), 1px 0 0 rgba(15, 23, 42, 0.07) !important;
    animation: none !important;
  }

  html body.pro-ui.nl-app #root#root .app aside.side:not(.open) {
    transform: translateX(-104%) !important;
    box-shadow: none !important;
  }

  html body.pro-ui.nl-app #root#root .app aside.side.open {
    transform: translateX(0) !important;
  }

  html body.pro-ui.nl-app #root#root .app aside.side .side-header-row {
    padding: 0 2px 16px !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    margin-bottom: 10px !important;
  }

  html body.pro-ui.nl-app #root#root .app aside.side .snav {
    margin-top: 4px !important;
  }

  html body.pro-ui.nl-app #root#root .app aside.side #sideCloseBtn {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    border-radius: 9px !important;
    background-color: rgba(255, 255, 255, 0.92) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 15px 15px !important;
    border: 1px solid rgba(15, 23, 42, 0.09) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  }
}

/* 8C. Explicit Pause / Resume Button (.iconbtn-pause) & Clear Amber Paused State */
@media (min-width: 1281px) {
  html body.pro-ui.nl-app #root#root .app .main .table :is(.thead, .row) {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 64px 78px 112px 306px !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .table .row>.rowact {
    gap: 4px !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
  }
}

@media (max-width: 768px) {
  html body.pro-ui.nl-app #root#root .app .main .table .row>.rowact {
    gap: 4px !important;
  }
}

html body.pro-ui.nl-app #root#root .app .main .rowact .iconbtn.iconbtn-pause:hover:not(.is-paused) {
  background: #fffbeb !important;
  border-color: #fde68a !important;
  color: #d97706 !important;
}

html body.pro-ui.nl-app #root#root .app .main .rowact .iconbtn.iconbtn-pause.is-paused {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #059669 !important;
}

html body.pro-ui.nl-app #root#root .app .main .rowact .iconbtn.iconbtn-pause.is-paused:hover {
  background: #d1fae5 !important;
  border-color: #6ee7b7 !important;
  color: #047857 !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .status.is-off {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #b45309 !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .status.is-off::before {
  background: #f59e0b !important;
  box-shadow: none !important;
}

/* 8D. Compact, Stylish, Animated Single-Row Telegram Card (Screenshot 3) */
@keyframes proTgSheen {

  0%,
  72% {
    transform: translateX(-180%) skewX(-22deg);
    opacity: 0;
  }

  78% {
    opacity: 1;
  }

  100% {
    transform: translateX(430%) skewX(-22deg);
    opacity: 0;
  }
}

@keyframes proTgPulse {

  0%,
  100% {
    box-shadow: 0 4px 12px -4px rgba(56, 189, 248, 0.45), 0 0 0 0 rgba(104, 71, 238, 0.24);
  }

  50% {
    box-shadow: 0 4px 14px -3px rgba(56, 189, 248, 0.55), 0 0 0 4px rgba(104, 71, 238, 0.0);
  }
}

@keyframes proTgDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.82);
  }
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  margin-top: 10px !important;
  padding: 8px 10px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  border-radius: 12px !important;
  background: linear-gradient(115deg, rgba(104, 71, 238, 0.08) 0%, rgba(56, 189, 248, 0.12) 55%, rgba(104, 71, 238, 0.09) 100%) !important;
  border: 1px solid rgba(104, 71, 238, 0.20) !important;
  box-shadow: 0 4px 14px -8px rgba(104, 71, 238, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
  overflow: hidden !important;
  transition: transform .22s var(--pu-ease), border-color .22s, box-shadow .22s, background .22s !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 34% !important;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent) !important;
  transform: translateX(-180%) skewX(-22deg);
  animation: proTgSheen 5.4s cubic-bezier(.4, 0, .2, 1) infinite !important;
  pointer-events: none !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card:hover {
  transform: translateY(-1px) !important;
  background: linear-gradient(115deg, rgba(104, 71, 238, 0.13) 0%, rgba(56, 189, 248, 0.18) 55%, rgba(104, 71, 238, 0.14) 100%) !important;
  border-color: rgba(104, 71, 238, 0.38) !important;
  box-shadow: 0 10px 22px -10px rgba(104, 71, 238, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-ic {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #38bdf8 0%, #6847ee 100%) !important;
  color: #ffffff !important;
  display: inline-grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
  animation: proTgPulse 3.2s ease-in-out infinite !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-ic svg {
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
  color: #ffffff !important;
  transition: transform .25s var(--pu-ease) !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card:hover .pro-tg-ic svg {
  transform: translate(1.5px, -1.5px) rotate(-5deg) !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  width: auto !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-copy b {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 650 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.015em !important;
  color: #0f172a !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-copy small {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 550 !important;
  line-height: 1.15 !important;
  color: #5b3fe0 !important;
  white-space: nowrap !important;
  min-width: 0 !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-copy small em {
  font-style: normal !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-live {
  width: 5px !important;
  height: 5px !important;
  min-width: 5px !important;
  border-radius: 50% !important;
  background: #0ea5e9 !important;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2) !important;
  flex-shrink: 0 !important;
  animation: proTgDot 2.2s ease-in-out infinite !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-arr {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  padding: 0 !important;
  margin-left: auto !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(104, 71, 238, 0.16) !important;
  color: #6847ee !important;
  display: inline-grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
  transition: transform .2s var(--pu-ease), background .2s, color .2s, border-color .2s !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-arr svg {
  width: 11px !important;
  height: 11px !important;
  margin: 0 !important;
}

html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card:hover .pro-tg-arr {
  background: #6847ee !important;
  border-color: #6847ee !important;
  color: #ffffff !important;
  transform: translate(1.5px, -1.5px) !important;
}

@media (prefers-reduced-motion: reduce) {

  html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card::after,
  html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-ic,
  html body.pro-ui.nl-app #root#root .app .side .snav a.telegram-side.pro-tg-card .pro-tg-live {
    animation: none !important;
  }
}

/* =====================================================================
   9. STRICT TRACKER MODE BADGES ON LINK CARDS & EXECUTIVE ADMIN PANEL
   Zero neon — clean SaaS hairline borders, tabular typography, mobile-first
   ===================================================================== */

/* 9A. Link Card Mode Badge (Intent · Standard / Intent -> Tracker · N) */
html body.pro-ui.nl-app #root#root .app .main .row .pro-slug-cell {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 5px !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .pro-mode-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  height: 21px !important;
  min-height: 21px !important;
  padding: 0 7px !important;
  border-radius: 6px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -0.005em !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background .15s, border-color .15s, color .15s !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .pro-mode-badge.is-std {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .pro-mode-badge.is-std:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .pro-mode-badge.is-trk {
  background: #f5f3ff !important;
  border: 1px solid #ddd6fe !important;
  color: #5b3fe0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .pro-mode-badge.is-trk:hover {
  background: #ede9fe !important;
  border-color: #c4b5fd !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .pro-mode-badge.is-warn {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #b45309 !important;
}

html body.pro-ui.nl-app #root#root .app .main .row .pro-mode-badge.is-warn:hover {
  background: #fef3c7 !important;
}

/* Split lightning action button: calm slate when OFF, subtle violet when ON */
html body.pro-ui.nl-app #root#root .app .main .rowact .iconbtn.iconbtn-split:not(.is-split-on) {
  color: #64748b !important;
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

html body.pro-ui.nl-app #root#root .app .main .rowact .iconbtn.iconbtn-split.is-split-on {
  background: #f5f3ff !important;
  border-color: #ddd6fe !important;
  color: #5b3fe0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .rowact .iconbtn.iconbtn-split:hover {
  background: #f5f3ff !important;
  border-color: #c4b5fd !important;
  color: #5b3fe0 !important;
}

@media (max-width: 768px) {
  html body.pro-ui.nl-app #root#root .app .main .row .pro-slug-cell {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
  }
}

/* 9B. Professional Executive Admin Panel (.admin-view-root & #admUserModal) */
html body.pro-ui.nl-app #root#root .app .main .admin-view-root {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: #0f172a !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-top-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 14px !important;
  flex-wrap: wrap !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-title-row h2 {
  margin: 0 !important;
  font-size: 24px !important;
  font-weight: 750 !important;
  letter-spacing: -0.025em !important;
  color: #0f172a !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-badge-owner {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 24px !important;
  padding: 0 9px !important;
  border-radius: 6px !important;
  background: #f5f3ff !important;
  border: 1px solid #ddd6fe !important;
  color: #5b3fe0 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-badge-owner .owner-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: none !important;
  animation: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-subtitle {
  margin: 4px 0 0 !important;
  font-size: 13px !important;
  color: #64748b !important;
  line-height: 1.4 !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

html body.pro-ui.nl-app #root#root .app .main :is(.admin-btn-secondary, .admin-btn-primary, .admin-btn-danger) {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 13px !important;
  border-radius: 9px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background .15s, border-color .15s, color .15s !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-btn-secondary {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-btn-secondary:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-btn-primary {
  background: #0f172a !important;
  border: 1px solid #0f172a !important;
  color: #ffffff !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-btn-primary:hover {
  background: #1e293b !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-btn-danger {
  background: #ffffff !important;
  border: 1px solid #fecaca !important;
  color: #dc2626 !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-btn-danger:hover {
  background: #fef2f2 !important;
  border-color: #fca5a5 !important;
}

/* Sync strip */
html body.pro-ui.nl-app #root#root .app .main .adm-sync-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  padding: 9px 14px !important;
  margin-bottom: 14px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 12.5px !important;
  color: #334155 !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-sync-left {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-sync-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #94a3b8 !important;
  flex-shrink: 0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-sync-strip.is-ok .adm-sync-dot {
  background: #10b981 !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-sync-strip.is-warn {
  background: #fffbeb !important;
  border-color: #fde68a !important;
  color: #92400e !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-sync-strip.is-warn .adm-sync-dot {
  background: #f59e0b !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-sync-right {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  font-size: 11.5px !important;
  color: #64748b !important;
  font-variant-numeric: tabular-nums !important;
}

/* 6 KPI Cards */
html body.pro-ui.nl-app #root#root .app .main .admin-kpis-grid.adm-kpis-6 {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

@media (max-width: 1420px) {
  html body.pro-ui.nl-app #root#root .app .main .admin-kpis-grid.adm-kpis-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  html body.pro-ui.nl-app #root#root .app .main .admin-kpis-grid.adm-kpis-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

html body.pro-ui.nl-app #root#root .app .main .admin-kpi-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 13px 14px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
  min-width: 0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-kpi-card .kpi-label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  margin-bottom: 6px !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-kpi-card .kpi-tag {
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 2px 6px !important;
  border-radius: 5px !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  white-space: nowrap !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-kpi-card .kpi-val {
  font-size: 22px !important;
  font-weight: 750 !important;
  letter-spacing: -0.02em !important;
  color: #0f172a !important;
  font-variant-numeric: tabular-nums lining-nums !important;
  line-height: 1.15 !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-kpi-card .kpi-sub {
  margin-top: 6px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #64748b !important;
  background: transparent !important;
  padding: 0 !important;
  font-variant-numeric: tabular-nums !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-kpi-card .kpi-sub.success {
  color: #059669 !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-kpi-card .kpi-sub.warn {
  color: #b45309 !important;
}

/* 14-Day Mini Charts Row */
html body.pro-ui.nl-app #root#root .app .main .adm-mcharts-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
}

@media (max-width: 760px) {
  html body.pro-ui.nl-app #root#root .app .main .adm-mcharts-row {
    grid-template-columns: 1fr !important;
  }
}

html body.pro-ui.nl-app #root#root .app .main .adm-mchart-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-mchart-head {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
  font-size: 12px !important;
  color: #64748b !important;
  font-weight: 600 !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-mchart-head b {
  font-size: 15px !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  font-variant-numeric: tabular-nums !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-mbar-track {
  display: grid !important;
  grid-template-columns: repeat(14, 1fr) !important;
  gap: 4px !important;
  height: 40px !important;
  align-items: flex-end !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-mbar-col {
  height: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  background: #f8fafc !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-mbar-fill {
  width: 100% !important;
  border-radius: 3px !important;
  min-height: 2px !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-mbar-fill.is-zero {
  background: #e2e8f0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-mchart-foot {
  display: flex !important;
  justify-content: space-between !important;
  margin-top: 6px !important;
  font-size: 10.5px !important;
  color: #94a3b8 !important;
  font-variant-numeric: tabular-nums !important;
}

/* Admin Tabs Navigation */
html body.pro-ui.nl-app #root#root .app .main .admin-tabs-nav {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  margin-bottom: 14px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  white-space: nowrap !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-tabs-nav::-webkit-scrollbar {
  display: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-tab-btn {
  position: relative !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  background: transparent !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-tab-btn:hover {
  color: #0f172a !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-tab-btn.active {
  color: #0f172a !important;
  border-bottom-color: #6847ee !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-tab-count {
  padding: 1px 6px !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  font-variant-numeric: tabular-nums !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-tab-btn.active .admin-tab-count {
  background: #efeaff !important;
  color: #5b3fe0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-tab-count.is-err {
  background: #fef2f2 !important;
  color: #dc2626 !important;
}

/* Admin Toolbar: Fixed Search Input (ZERO icon overlap!) + Filter Pills + Sort */
html body.pro-ui.nl-app #root#root .app .main .adm-toolbar {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  padding: 8px !important;
  margin-bottom: 12px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-search-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 1 1 250px !important;
  min-width: 190px !important;
  height: 36px !important;
  padding: 0 11px !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-search-wrap:focus-within {
  background: #ffffff !important;
  border-color: #6847ee !important;
  box-shadow: 0 0 0 3px rgba(104, 71, 238, 0.10) !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-search-ic {
  position: static !important;
  flex-shrink: 0 !important;
  color: #94a3b8 !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-search-inp {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 12.5px !important;
  color: #0f172a !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-filter-pills {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  padding: 3px !important;
  border-radius: 8px !important;
  background: #f1f5f9 !important;
  overflow-x: auto !important;
  max-width: 100% !important;
  scrollbar-width: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-filter-pills::-webkit-scrollbar {
  display: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-fpill {
  height: 29px !important;
  min-height: 29px !important;
  padding: 0 9px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #64748b !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-fpill.active {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-fpill em {
  font-style: normal !important;
  font-size: 10px !important;
  font-weight: 650 !important;
  padding: 1px 5px !important;
  border-radius: 999px !important;
  background: rgba(15, 23, 42, 0.06) !important;
  color: #64748b !important;
  font-variant-numeric: tabular-nums !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-fpill.active em {
  background: #efeaff !important;
  color: #5b3fe0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-toolbar-right {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: auto !important;
  flex-wrap: wrap !important;
}

html body.pro-ui.nl-app #root#root .app .main .adm-sort-sel {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 28px 0 10px !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 9px center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  font-size: 12px !important;
  font-weight: 550 !important;
  color: #334155 !important;
  cursor: pointer !important;
}

/* Admin Tables & Cells */
html body.pro-ui.nl-app #root#root .app .main .admin-table-wrap,
#admUserModal .admin-table-wrap {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow-x: auto !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-table,
#admUserModal .admin-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 12.5px !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-table th,
#admUserModal .admin-table th {
  text-align: left !important;
  padding: 10px 12px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  white-space: nowrap !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-table th.num,
html body.pro-ui.nl-app #root#root .app .main .admin-table td.num,
#admUserModal .admin-table th.num,
#admUserModal .admin-table td.num {
  text-align: right !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-table td,
#admUserModal .admin-table td {
  padding: 11px 12px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: middle !important;
  color: #0f172a !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-table tr:last-child td,
#admUserModal .admin-table tr:last-child td {
  border-bottom: 0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-table tbody tr:hover td {
  background: #fcfcfd !important;
}

.adm-user-subline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.adm-email-txt {
  font-size: 11px;
  color: #64748b;
}

.adm-tgid-chip {
  font-size: 10.5px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: #64748b;
  background: #f1f5f9;
  padding: 1px 5px;
  border-radius: 4px;
}

.adm-date-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}

.adm-date-cell b {
  font-size: 12.5px;
  font-weight: 650;
  color: #0f172a;
}

.adm-time-sub {
  font-size: 11px;
  color: #64748b;
}

.adm-time-sub em {
  font-style: normal;
  color: #64748b;
}

.adm-time-sub em.is-fresh {
  color: #059669;
  font-weight: 600;
}

.adm-links-cell {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.adm-cnt-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 5px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.adm-more-pill {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.adm-mode-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  white-space: nowrap;
}

.adm-mode-pill.is-trk {
  background: #f5f3ff;
  border-color: #ddd6fe;
  color: #5b3fe0;
}

.adm-mode-pill.is-warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.adm-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 5px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.adm-chip.is-sub {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

.adm-traffic-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

html body.pro-ui.nl-app #root#root .app .main .admin-btn-action,
#admUserModal .admin-btn-action {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  height: 30px !important;
  padding: 0 11px !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background .15s, border-color .15s, color .15s !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-btn-action:hover,
#admUserModal .admin-btn-action:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #5b3fe0 !important;
}

html body.pro-ui.nl-app #root#root .app .main .admin-user-name {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

.adm-ctr-sub {
  font-size: 10.5px;
  color: #64748b;
}

.adm-dest-link {
  display: inline-block;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #475569;
  text-decoration: none;
  font-size: 12px;
}

.adm-dest-link:hover {
  color: #5b3fe0;
  text-decoration: underline;
}

.adm-author-link {
  border: 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.adm-author-link:hover {
  border-color: #cbd5e1;
  color: #5b3fe0;
}

.adm-status-toggle {
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

.adm-status-toggle.is-on {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.adm-status-toggle.is-off {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
}

.adm-empty-box {
  padding: 26px 16px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

.adm-empty-box.is-clean {
  color: #047857;
  background: #f8fafc;
}

/* System Diagnostics & Logs Tab */
.adm-sys-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 900px) {
  .adm-sys-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.adm-sys-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.adm-sys-card span {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

.adm-sys-card b {
  font-size: 18px;
  font-weight: 750;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.adm-sys-card b.is-ok {
  color: #059669;
}

.adm-sys-card b.is-err {
  color: #dc2626;
}

.adm-sys-card b.is-warn {
  color: #b45309;
}

.adm-sys-card small {
  font-size: 11px;
  color: #94a3b8;
}

.adm-lvl-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.adm-lvl-pill.is-err {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.adm-lvl-pill.is-auth {
  background: #f5f3ff;
  color: #5b3fe0;
  border: 1px solid #ddd6fe;
}

.adm-lvl-pill.is-warn {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.adm-src-code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #334155;
}

.adm-log-meta {
  margin-top: 3px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
  color: #64748b;
  word-break: break-all;
}

/* Alerts Config Card */
.adm-alerts-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
}

.adm-alerts-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.adm-alerts-head h3 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.adm-alerts-head p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.adm-alerts-grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 16px;
  align-items: start;
}

@media (max-width: 760px) {
  .adm-alerts-grid {
    grid-template-columns: 1fr;
  }
}

.adm-alerts-grid label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.adm-alerts-grid input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  height: 38px;
  padding: 0 11px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12.5px;
  background: #f8fafc;
}

.adm-alerts-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-alerts-checks label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-weight: 500 !important;
  cursor: pointer;
}

.adm-alerts-checks input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #6847ee;
}

/* User Dossier Modal (#admUserModal) */
.adm-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.adm-modal-dialog {
  width: 780px;
  max-width: 100%;
  max-height: 88vh;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.adm-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
}

.adm-modal-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.admin-avatar-box.is-lg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 14px;
}

.adm-modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.adm-modal-title b {
  font-size: 15px;
  color: #0f172a;
}

.adm-modal-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.adm-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.adm-modal-close:hover {
  background: #f8fafc;
  color: #0f172a;
}

.adm-modal-body {
  padding: 16px 18px;
  overflow-y: auto;
}

.adm-dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.adm-dossier-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.adm-dossier-item span {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.adm-dossier-item b {
  font-size: 13.5px;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.adm-dossier-item small {
  font-size: 11px;
  color: #64748b;
}

.adm-sec-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 8px;
}

/* Mobile Responsive Admin Tables -> Clean Stacked Cards */
@media (max-width: 920px) {
  html body.pro-ui.nl-app #root#root .app .main .admin-top-header {
    gap: 10px !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .admin-title-row h2 {
    font-size: 20px !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .admin-header-actions {
    width: 100% !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .adm-toolbar-right {
    width: 100% !important;
    margin-left: 0 !important;
    justify-content: space-between !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .admin-table thead,
  #admUserModal .admin-table thead {
    display: none !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .admin-table,
  html body.pro-ui.nl-app #root#root .app .main .admin-table tbody,
  #admUserModal .admin-table,
  #admUserModal .admin-table tbody {
    display: block !important;
    width: 100% !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .admin-table tbody tr,
  #admUserModal .admin-table tbody tr {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 12px !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .admin-table tbody td,
  #admUserModal .admin-table tbody td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 2px 0 !important;
    border: 0 !important;
    text-align: right !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .admin-table tbody td:first-child,
  #admUserModal .admin-table tbody td:first-child {
    justify-content: flex-start !important;
    text-align: left !important;
    padding-bottom: 6px !important;
    margin-bottom: 2px !important;
    border-bottom: 1px dashed #f1f5f9 !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .admin-table tbody td:not(:first-child)::before,
  #admUserModal .admin-table tbody td:not(:first-child)::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-align: left;
    flex-shrink: 0;
  }

  html body.pro-ui.nl-app #root#root .app .main .adm-date-cell {
    align-items: flex-end !important;
  }

  html body.pro-ui.nl-app #root#root .app .main .adm-links-cell {
    justify-content: flex-end !important;
  }

  .adm-modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .adm-modal-dialog {
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }

  .adm-dossier-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================================
   10. EXECUTIVE HELP & FAQ CENTER (Stage 20) — Strict Light SaaS Style
       2-Column Floating Command Modal (Desktop) + Bottom Sheet (Mobile)
       Zero neon, zero double borders, silky spring & stagger animations
   ===================================================================== */

/* Quick "?" button in cabinet topbar (next to RU/UK/EN) */
html body.pro-ui.nl-app #root#root .app .main .topact .pro-faq-topbtn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  color: #475569 !important;
  display: inline-grid !important;
  place-items: center !important;
  cursor: pointer !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  outline: none !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .18s cubic-bezier(.16, 1, .3, 1) !important;
}

html body.pro-ui.nl-app #root#root .app .main .topact .pro-faq-topbtn:hover {
  background: #f5f3ff !important;
  border-color: rgba(104, 71, 238, 0.28) !important;
  color: #5b3fe0 !important;
  transform: translateY(-1px) !important;
}

html body.pro-ui.nl-app #root#root .app .main .topact .pro-faq-topbtn:active {
  transform: scale(0.95) !important;
}

html body.pro-ui.nl-app #root#root .app .main .topact .pro-faq-topbtn svg {
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
}

/* Modal root & blurred backdrop */
html body #proFaqDrawer.pro-faq-root {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10050 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: visibility 0s linear .28s !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  box-sizing: border-box !important;
}

html body #proFaqDrawer.pro-faq-root.is-open {
  pointer-events: auto !important;
  visibility: visible !important;
  transition: visibility 0s linear 0s !important;
}

html body #proFaqDrawer .pro-faq-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.36) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  backdrop-filter: blur(6px) !important;
  opacity: 0 !important;
  transition: opacity .26s cubic-bezier(.16, 1, .3, 1) !important;
}

html body #proFaqDrawer.is-open .pro-faq-backdrop {
  opacity: 1 !important;
}

/* Centered 2-Column Floating Command Dialog (Desktop) */
html body #proFaqDrawer .pro-faq-dialog {
  position: relative !important;
  z-index: 1 !important;
  width: 820px !important;
  max-width: 100% !important;
  height: min(680px, 86vh) !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  border-radius: 22px !important;
  box-shadow: 0 32px 72px -18px rgba(15, 23, 42, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
  display: grid !important;
  grid-template-columns: 236px minmax(0, 1fr) !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transform: translate3d(0, 16px, 0) scale(0.965) !important;
  transition: transform .32s cubic-bezier(.16, 1, .3, 1), opacity .24s ease !important;
  will-change: transform, opacity !important;
}

html body #proFaqDrawer.is-open .pro-faq-dialog {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

html body #proFaqDrawer .pro-faq-grab,
html body #proFaqDrawer .pro-faq-mob-head,
html body #proFaqDrawer .pro-faq-mob-cats,
html body #proFaqDrawer .pro-faq-mob-foot {
  display: none !important;
}

/* Left Rail */
html body #proFaqDrawer .pro-faq-rail {
  background: #f8fafc !important;
  border-right: 1px solid #edf0f5 !important;
  padding: 22px 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  overflow-y: auto !important;
}

html body #proFaqDrawer .pro-faq-brand {
  padding: 0 8px 16px !important;
  margin-bottom: 10px !important;
  border-bottom: 1px solid #edf0f5 !important;
}

html body #proFaqDrawer .pro-faq-kicker {
  display: inline-block !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #6847ee !important;
  background: #f2eeff !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  margin-bottom: 8px !important;
}

html body #proFaqDrawer .pro-faq-brand h3 {
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 750 !important;
  letter-spacing: -0.02em !important;
  color: #0f172a !important;
  line-height: 1.25 !important;
}

html body #proFaqDrawer .pro-faq-brand p {
  margin: 4px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #64748b !important;
}

/* Vertical Category Navigation */
html body #proFaqDrawer .pro-faq-cats {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  flex: 1 1 auto !important;
}

html body #proFaqDrawer .pro-faq-cat {
  width: 100% !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #475569 !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  text-align: left !important;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease !important;
}

html body #proFaqDrawer .pro-faq-cat:focus-visible {
  box-shadow: 0 0 0 2px rgba(104, 71, 238, 0.35) !important;
}

html body #proFaqDrawer .pro-faq-cat:hover:not(.active) {
  background: rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
}

html body #proFaqDrawer .pro-faq-cat.active {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px -4px rgba(15, 23, 42, 0.12) !important;
}

html body #proFaqDrawer .pro-faq-cat-ic {
  width: 16px !important;
  height: 16px !important;
  display: inline-grid !important;
  place-items: center !important;
  color: #94a3b8 !important;
  flex-shrink: 0 !important;
  transition: color .16s ease !important;
}

html body #proFaqDrawer .pro-faq-cat.active .pro-faq-cat-ic {
  color: #6847ee !important;
}

html body #proFaqDrawer .pro-faq-cat-lbl {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body #proFaqDrawer .pro-faq-cat em {
  font-style: normal !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  background: rgba(15, 23, 42, 0.05) !important;
  color: #64748b !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1.1 !important;
  flex-shrink: 0 !important;
}

html body #proFaqDrawer .pro-faq-cat.active em {
  background: #f2eeff !important;
  color: #5b3fe0 !important;
}

/* Rail Support Card */
html body #proFaqDrawer .pro-faq-rail-foot {
  margin-top: 14px !important;
  padding: 12px !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  border: 1px solid #e6e9f0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
}

html body #proFaqDrawer .pro-faq-rf-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

html body #proFaqDrawer .pro-faq-rf-copy b {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

html body #proFaqDrawer .pro-faq-rf-copy span {
  font-size: 11px !important;
  color: #64748b !important;
}

html body #proFaqDrawer .pro-faq-support {
  height: 35px !important;
  padding: 0 11px !important;
  border-radius: 9px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  outline: none !important;
  transition: background .16s ease, transform .18s cubic-bezier(.16, 1, .3, 1) !important;
}

html body #proFaqDrawer .pro-faq-support:hover {
  background: #1e293b !important;
  transform: translateY(-1px) !important;
}

/* Right Main Canvas */
html body #proFaqDrawer .pro-faq-main {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 0 !important;
  background: #ffffff !important;
}

html body #proFaqDrawer .pro-faq-topbar {
  padding: 18px 20px 12px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
}

html body #proFaqDrawer .pro-faq-search-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Single-Border Crisp Search Box (immune to global input rules!) */
html body #proFaqDrawer .pro-faq-search {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 40px !important;
  padding: 0 12px !important;
  border-radius: 11px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  box-shadow: none !important;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}

html body #proFaqDrawer .pro-faq-search:focus-within {
  background: #ffffff !important;
  border-color: #6847ee !important;
  box-shadow: 0 0 0 3px rgba(104, 71, 238, 0.12) !important;
}

html body #proFaqDrawer .pro-faq-search svg {
  color: #94a3b8 !important;
  flex-shrink: 0 !important;
}

html body.nl-app #proFaqDrawer#proFaqDrawer .pro-faq-search input#proFaqSearch,
html body #proFaqDrawer#proFaqDrawer .pro-faq-search input#proFaqSearch {
  all: unset !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 450 !important;
  color: #0f172a !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

html body #proFaqDrawer#proFaqDrawer .pro-faq-search input#proFaqSearch::-webkit-search-cancel-button {
  display: none !important;
}

html body #proFaqDrawer#proFaqDrawer .pro-faq-search input#proFaqSearch::placeholder {
  color: #94a3b8 !important;
}

html body #proFaqDrawer .pro-faq-esc {
  height: 22px !important;
  padding: 0 6px !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #94a3b8 !important;
  font-family: ui-monospace, SFMono-Regular, monospace !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  pointer-events: none !important;
}

html body #proFaqDrawer .pro-faq-search:has(.pro-faq-clear.is-vis) .pro-faq-esc {
  display: none !important;
}

html body #proFaqDrawer .pro-faq-clear {
  display: none !important;
  width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  outline: none !important;
}

html body #proFaqDrawer .pro-faq-clear.is-vis {
  display: inline-flex !important;
}

html body #proFaqDrawer .pro-faq-close {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #64748b !important;
  font-size: 14px !important;
  display: inline-grid !important;
  place-items: center !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
  transition: background .16s, color .16s, border-color .16s, transform .22s cubic-bezier(.16, 1, .3, 1) !important;
}

html body #proFaqDrawer .pro-faq-close:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  transform: rotate(90deg) !important;
}

/* Section status bar */
html body #proFaqDrawer .pro-faq-section-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

html body #proFaqDrawer .pro-faq-section-bar span {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  letter-spacing: -0.01em !important;
}

html body #proFaqDrawer .pro-faq-section-bar em {
  font-style: normal !important;
  font-size: 11.5px !important;
  font-weight: 550 !important;
  color: #94a3b8 !important;
  font-variant-numeric: tabular-nums !important;
}

/* FAQ Cards + Staggered Entrance Animation */
@keyframes faqCardIn {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

html body #proFaqDrawer .pro-faq-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  padding: 14px 20px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  overscroll-behavior: contain !important;
}

html body #proFaqDrawer .pro-faq-item {
  position: relative !important;
  flex-shrink: 0 !important;
  border-radius: 13px !important;
  border: 1px solid #eaeef4 !important;
  background: #ffffff !important;
  overflow: hidden !important;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease !important;
}

html body #proFaqDrawer .pro-faq-item.is-enter {
  animation: faqCardIn .28s cubic-bezier(.16, 1, .3, 1) var(--fi-d, 0ms) both !important;
}

html body #proFaqDrawer .pro-faq-item::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 10px !important;
  bottom: 10px !important;
  width: 3px !important;
  border-radius: 0 3px 3px 0 !important;
  background: #6847ee !important;
  opacity: 0 !important;
  transform: scaleY(0.4) !important;
  transition: opacity .22s ease, transform .26s cubic-bezier(.16, 1, .3, 1) !important;
}

html body #proFaqDrawer .pro-faq-item:hover {
  border-color: #d6dce6 !important;
  background: #fcfdff !important;
}

html body #proFaqDrawer .pro-faq-item.is-open {
  border-color: #d8ccfe !important;
  background: #faf9ff !important;
  box-shadow: 0 6px 20px -14px rgba(104, 71, 238, 0.25) !important;
}

html body #proFaqDrawer .pro-faq-item.is-open::before {
  opacity: 1 !important;
  transform: scaleY(1) !important;
}

html body #proFaqDrawer .pro-faq-q {
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
  padding: 13px 14px 13px 16px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  text-align: left !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: inherit !important;
}

html body #proFaqDrawer .pro-faq-q-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  min-width: 0 !important;
}

html body #proFaqDrawer .pro-faq-tag {
  font-style: normal !important;
  font-size: 10px !important;
  font-weight: 650 !important;
  letter-spacing: 0.01em !important;
  padding: 2px 7px !important;
  border-radius: 5px !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  line-height: 1.2 !important;
}

html body #proFaqDrawer .pro-faq-item.is-open .pro-faq-tag {
  background: #ede9fe !important;
  color: #5b3fe0 !important;
}

html body #proFaqDrawer .pro-faq-q-copy b {
  font-size: 13.5px !important;
  font-weight: 650 !important;
  line-height: 1.38 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
}

/* Crisp circular + / × toggle indicator */
html body #proFaqDrawer .pro-faq-plus {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  border-radius: 8px !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  display: inline-grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
  transition: background .2s ease, color .2s ease, transform .26s cubic-bezier(.16, 1, .3, 1) !important;
}

html body #proFaqDrawer .pro-faq-item:hover .pro-faq-plus {
  background: #e9edf4 !important;
  color: #0f172a !important;
}

html body #proFaqDrawer .pro-faq-item.is-open .pro-faq-plus {
  background: #ede9fe !important;
  color: #5b3fe0 !important;
  transform: rotate(45deg) !important;
}

/* Smooth CSS Grid accordion */
html body #proFaqDrawer .pro-faq-a-wrap {
  display: grid !important;
  grid-template-rows: 0fr !important;
  opacity: 0 !important;
  transition: grid-template-rows .26s cubic-bezier(.16, 1, .3, 1), opacity .22s ease !important;
}

html body #proFaqDrawer .pro-faq-item.is-open .pro-faq-a-wrap {
  grid-template-rows: 1fr !important;
  opacity: 1 !important;
}

html body #proFaqDrawer .pro-faq-a-inner {
  overflow: hidden !important;
}

html body #proFaqDrawer .pro-faq-a-inner p {
  margin: 0 !important;
  padding: 0 16px 14px 16px !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #475569 !important;
}

/* Empty search state */
html body #proFaqDrawer .pro-faq-empty {
  padding: 44px 16px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
}

html body #proFaqDrawer .pro-faq-empty-ic {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  display: inline-grid !important;
  place-items: center !important;
  margin-bottom: 4px !important;
}

html body #proFaqDrawer .pro-faq-empty b {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

html body #proFaqDrawer .pro-faq-empty span {
  font-size: 12.5px !important;
  color: #64748b !important;
}

html body #proFaqDrawer .pro-faq-reset {
  margin-top: 6px !important;
  height: 34px !important;
  padding: 0 14px !important;
  border-radius: 9px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #5b3fe0 !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  outline: none !important;
}

html body #proFaqDrawer .pro-faq-reset:hover {
  background: #f5f3ff !important;
  border-color: #c4b5fd !important;
}

/* =====================================================================
   MOBILE BOTTOM SHEET (<= 768px) — Smooth Slide-Up, Zero Overflow
   ===================================================================== */
@media (max-width: 768px) {
  html body.pro-ui.nl-app #root#root .app .main .topact .pro-faq-topbtn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 9px !important;
  }

  html body #proFaqDrawer.pro-faq-root {
    padding: 0 !important;
    align-items: flex-end !important;
  }

  html body #proFaqDrawer .pro-faq-dialog {
    width: 100% !important;
    max-width: 100% !important;
    height: 92dvh !important;
    max-height: 92dvh !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    border-radius: 22px 22px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -18px 50px -12px rgba(15, 23, 42, 0.28) !important;
    opacity: 1 !important;
    transform: translate3d(0, 100%, 0) !important;
    transition: transform .34s cubic-bezier(.16, 1, .3, 1) !important;
  }

  html body #proFaqDrawer.is-open .pro-faq-dialog {
    transform: translate3d(0, 0, 0) !important;
  }

  html body #proFaqDrawer .pro-faq-rail,
  html body #proFaqDrawer .pro-faq-desk-close,
  html body #proFaqDrawer .pro-faq-esc {
    display: none !important;
  }

  html body #proFaqDrawer .pro-faq-grab {
    display: flex !important;
    justify-content: center !important;
    padding: 9px 0 2px !important;
    background: #ffffff !important;
  }

  html body #proFaqDrawer .pro-faq-grab span {
    width: 38px !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: #cbd5e1 !important;
  }

  html body #proFaqDrawer .pro-faq-topbar {
    padding: 8px 16px 10px !important;
    gap: 10px !important;
  }

  html body #proFaqDrawer .pro-faq-mob-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  html body #proFaqDrawer .pro-faq-mob-head h3 {
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 750 !important;
    letter-spacing: -0.02em !important;
    color: #0f172a !important;
  }

  html body #proFaqDrawer .pro-faq-mob-head .pro-faq-close {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  html body #proFaqDrawer .pro-faq-mob-cats {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    padding: 1px 0 2px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  html body #proFaqDrawer .pro-faq-mob-cats::-webkit-scrollbar {
    display: none !important;
  }

  html body #proFaqDrawer .pro-faq-mob-cats .pro-faq-cat {
    width: auto !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    border-radius: 9px !important;
    font-size: 12px !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  html body #proFaqDrawer .pro-faq-mob-cats .pro-faq-cat.active {
    background: #f5f3ff !important;
    border-color: #c4b5fd !important;
    color: #5b3fe0 !important;
    box-shadow: none !important;
  }

  html body #proFaqDrawer .pro-faq-body {
    padding: 12px 16px 16px !important;
  }

  html body #proFaqDrawer .pro-faq-mob-foot {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 11px 16px calc(11px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    flex-shrink: 0 !important;
  }

  html body #proFaqDrawer .pro-faq-mob-foot>span {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  html body #proFaqDrawer .pro-faq-backdrop,
  html body #proFaqDrawer .pro-faq-dialog,
  html body #proFaqDrawer .pro-faq-a-wrap,
  html body #proFaqDrawer .pro-faq-plus,
  html body #proFaqDrawer .pro-faq-item {
    transition: none !important;
    animation: none !important;
  }
}


/* =====================================================================
   12. CAMPAIGN TAGS / FOLDERS & FILTER BAR (Point 2 — Dub.co / Linear Style)
       Strict light SaaS palette, zero neon, crisp on Desktop & Mobile
   ===================================================================== */

/* Tag filter bar right under .pro-cmdbar (only shown when >= 1 tag exists) */
html body.pro-ui.nl-app #root#root .app .main .pro-tagbar {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: -4px 0 12px !important;
  padding: 2px 2px 4px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}
html body.pro-ui.nl-app #root#root .app .main .pro-tagbar::-webkit-scrollbar {
  display: none !important;
}

/* Base Tag Pill (6 calm executive tones, zero neon) */
.pro-tag-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  height: 26px !important;
  min-height: 26px !important;
  padding: 0 9px !important;
  border-radius: 7px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #475569 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
  transition: background .15s ease, border-color .15s ease, color .15s ease !important;
}
.pro-tag-pill i {
  width: 6px !important;
  height: 6px !important;
  min-width: 6px !important;
  border-radius: 50% !important;
  background: #94a3b8 !important;
  flex-shrink: 0 !important;
}
.pro-tag-pill em {
  font-style: normal !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  font-variant-numeric: tabular-nums !important;
}
.pro-tag-pill.is-xs {
  height: 20px !important;
  min-height: 20px !important;
  padding: 0 7px !important;
  border-radius: 5px !important;
  font-size: 10.5px !important;
  gap: 4px !important;
}
.pro-tag-pill.is-xs i {
  width: 5px !important;
  height: 5px !important;
  min-width: 5px !important;
}
.pro-tag-pill.is-all.is-active {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
}
.pro-tag-pill.is-violet { background: #f8f6ff !important; border-color: #e4dcfe !important; color: #5b3fe0 !important; }
.pro-tag-pill.is-violet i { background: #6847ee !important; }
.pro-tag-pill.is-violet.is-active, .pro-tag-pill.is-violet:hover { background: #ede9fe !important; border-color: #c4b5fd !important; }

.pro-tag-pill.is-emerald { background: #f2fbf7 !important; border-color: #c6f0dc !important; color: #047857 !important; }
.pro-tag-pill.is-emerald i { background: #10b981 !important; }
.pro-tag-pill.is-emerald.is-active, .pro-tag-pill.is-emerald:hover { background: #dcfce7 !important; border-color: #86efac !important; }

.pro-tag-pill.is-sky { background: #f2f9ff !important; border-color: #cde7fd !important; color: #0369a1 !important; }
.pro-tag-pill.is-sky i { background: #0ea5e9 !important; }
.pro-tag-pill.is-sky.is-active, .pro-tag-pill.is-sky:hover { background: #e0f2fe !important; border-color: #7dd3fc !important; }

.pro-tag-pill.is-amber { background: #fffbf0 !important; border-color: #fde68a !important; color: #b45309 !important; }
.pro-tag-pill.is-amber i { background: #f59e0b !important; }
.pro-tag-pill.is-amber.is-active, .pro-tag-pill.is-amber:hover { background: #fef3c7 !important; border-color: #fcd34d !important; }

.pro-tag-pill.is-rose { background: #fff5f6 !important; border-color: #fecdd3 !important; color: #be123c !important; }
.pro-tag-pill.is-rose i { background: #f43f5e !important; }
.pro-tag-pill.is-rose.is-active, .pro-tag-pill.is-rose:hover { background: #ffe4e6 !important; border-color: #fda4af !important; }

.pro-tag-pill.is-slate { background: #f8fafc !important; border-color: #e2e8f0 !important; color: #475569 !important; }
.pro-tag-pill.is-slate i { background: #64748b !important; }
.pro-tag-pill.is-slate.is-active, .pro-tag-pill.is-slate:hover { background: #f1f5f9 !important; border-color: #cbd5e1 !important; }

/* Inline row tags inside .pro-row-copy */
html body.pro-ui.nl-app #root#root .app .main .row .pro-row-tags {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin-top: 4px !important;
}
html body.pro-ui.nl-app #root#root .app .main .row .pro-tag-add {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 20px !important;
  min-height: 20px !important;
  padding: 0 7px !important;
  border-radius: 5px !important;
  border: 1px dashed #cbd5e1 !important;
  background: transparent !important;
  color: #94a3b8 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  transition: color .15s ease, border-color .15s ease, background .15s ease !important;
}
html body.pro-ui.nl-app #root#root .app .main .row .pro-tag-add.is-compact {
  width: 20px !important;
  padding: 0 !important;
}
html body.pro-ui.nl-app #root#root .app .main .row .pro-tag-add:hover {
  color: #5b3fe0 !important;
  border-color: #c4b5fd !important;
  background: #f5f3ff !important;
}

/* Tag Picker Popover (Desktop Floating / Mobile Bottom Sheet) */
html body #proTagPopover.pro-tag-pop-root {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10060 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
html body #proTagPopover .pro-tag-pop-bg {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.14) !important;
  opacity: 0 !important;
  transition: opacity .18s ease !important;
}
html body #proTagPopover.is-open .pro-tag-pop-bg {
  opacity: 1 !important;
}
html body #proTagPopover .pro-tag-pop {
  position: fixed !important;
  width: 296px !important;
  max-width: calc(100vw - 24px) !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 15px !important;
  box-shadow: 0 20px 44px -14px rgba(15, 23, 42, 0.22) !important;
  padding: 13px 14px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  opacity: 0 !important;
  transform: translate3d(0, 6px, 0) scale(0.97) !important;
  transition: opacity .2s ease, transform .22s cubic-bezier(.16, 1, .3, 1) !important;
}
html body #proTagPopover.is-open .pro-tag-pop {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}
html body #proTagPopover .pro-tp-head {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
html body #proTagPopover .pro-tp-head b {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}
html body #proTagPopover .pro-tp-head span {
  font-size: 11px !important;
  color: #94a3b8 !important;
}
html body #proTagPopover .pro-tp-close {
  margin-left: auto !important;
  width: 26px !important;
  height: 26px !important;
  min-height: 26px !important;
  padding: 0 !important;
  border-radius: 7px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #64748b !important;
  font-size: 11px !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
}
html body #proTagPopover .pro-tp-close:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}
html body #proTagPopover .pro-tp-cur {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
}
html body #proTagPopover .pro-tag-rm {
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  opacity: 0.65 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  padding: 0 0 0 2px !important;
  min-height: 0 !important;
  height: auto !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
html body #proTagPopover .pro-tag-rm:hover {
  opacity: 1 !important;
}
html body #proTagPopover .pro-tp-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
html body #proTagPopover .pro-tp-inpwrap {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 36px !important;
  padding: 0 4px 0 10px !important;
  border-radius: 9px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
html body #proTagPopover .pro-tp-inpwrap:focus-within {
  background: #ffffff !important;
  border-color: #6847ee !important;
  box-shadow: 0 0 0 3px rgba(104, 71, 238, 0.12) !important;
}
html body.nl-app #proTagPopover#proTagPopover input#proTpInput,
html body #proTagPopover#proTagPopover input#proTpInput {
  all: unset !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12.5px !important;
  color: #0f172a !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body #proTagPopover .pro-tp-submit {
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 10px !important;
  border-radius: 7px !important;
  border: 0 !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
}
html body #proTagPopover .pro-tp-submit:hover {
  background: #1e293b !important;
}
html body #proTagPopover .pro-tp-colors {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 0 2px !important;
}
html body #proTagPopover .pro-tp-dot {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 2px solid transparent !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}
html body #proTagPopover .pro-tp-dot.is-violet { background: #6847ee !important; }
html body #proTagPopover .pro-tp-dot.is-emerald { background: #10b981 !important; }
html body #proTagPopover .pro-tp-dot.is-sky { background: #0ea5e9 !important; }
html body #proTagPopover .pro-tp-dot.is-amber { background: #f59e0b !important; }
html body #proTagPopover .pro-tp-dot.is-rose { background: #f43f5e !important; }
html body #proTagPopover .pro-tp-dot.is-slate { background: #64748b !important; }
html body #proTagPopover .pro-tp-dot.active {
  transform: scale(1.12) !important;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px #0f172a !important;
}
html body #proTagPopover .pro-tp-sug-lbl {
  font-size: 10.5px !important;
  font-weight: 650 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #94a3b8 !important;
}
html body #proTagPopover .pro-tp-sug {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
}
html body #proTagPopover .pro-tag-pill.is-picked {
  box-shadow: 0 0 0 1.5px currentColor !important;
}

@media (max-width: 640px) {
  html body #proTagPopover .pro-tag-pop-bg {
    background: rgba(15, 23, 42, 0.34) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    backdrop-filter: blur(4px) !important;
  }
  html body #proTagPopover .pro-tag-pop {
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    padding: 16px 16px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    transform: translate3d(0, 100%, 0) !important;
  }
  html body #proTagPopover.is-open .pro-tag-pop {
    transform: translate3d(0, 0, 0) !important;
  }
}


/* =====================================================================
   13. STARTER TEMPLATES GALLERY (Point 3 — Stage 21)
       Strict light executive style, zero neon, Desktop Modal + Mobile Sheet
   ===================================================================== */
html body #proTplPicker.pro-tpl-root {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10055 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: visibility 0s linear .28s !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  box-sizing: border-box !important;
}
html body #proTplPicker.pro-tpl-root.is-open {
  pointer-events: auto !important;
  visibility: visible !important;
  transition: visibility 0s linear 0s !important;
}
html body #proTplPicker .pro-tpl-bg {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.36) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  backdrop-filter: blur(6px) !important;
  opacity: 0 !important;
  transition: opacity .24s cubic-bezier(.16, 1, .3, 1) !important;
}
html body #proTplPicker.is-open .pro-tpl-bg {
  opacity: 1 !important;
}
html body #proTplPicker .pro-tpl-dialog {
  position: relative !important;
  z-index: 1 !important;
  width: 820px !important;
  max-width: 100% !important;
  max-height: 88vh !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  border-radius: 22px !important;
  box-shadow: 0 32px 72px -18px rgba(15, 23, 42, 0.25) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transform: translate3d(0, 14px, 0) scale(0.965) !important;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .22s ease !important;
}
html body #proTplPicker.is-open .pro-tpl-dialog {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}
html body #proTplPicker .pro-tpl-grab {
  display: none !important;
}
html body #proTplPicker .pro-tpl-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 20px 22px 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  flex-shrink: 0 !important;
}
html body #proTplPicker .pro-tpl-kicker {
  display: inline-block !important;
  font-size: 10px !important;
  font-weight: 650 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #5b3fe0 !important;
  background: #f1edff !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  margin-bottom: 7px !important;
}
html body #proTplPicker .pro-tpl-head-copy h3 {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #0f172a !important;
  line-height: 1.25 !important;
}
html body #proTplPicker .pro-tpl-head-copy p {
  margin: 4px 0 0 !important;
  font-size: 12.5px !important;
  color: #64748b !important;
  line-height: 1.45 !important;
}
html body #proTplPicker .pro-tpl-head-act {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}
html body #proTplPicker .pro-tpl-blank {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 13px !important;
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  transition: background .15s, border-color .15s, color .15s !important;
}
html body #proTplPicker .pro-tpl-blank:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
html body #proTplPicker .pro-tpl-close {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #64748b !important;
  font-size: 14px !important;
  display: inline-grid !important;
  place-items: center !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  transition: background .15s, color .15s, transform .2s cubic-bezier(.16, 1, .3, 1) !important;
}
html body #proTplPicker .pro-tpl-close:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
  transform: rotate(90deg) !important;
}

/* 2x2 Template Grid */
html body #proTplPicker .pro-tpl-grid {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: max-content !important;
  align-content: start !important;
  gap: 14px !important;
  padding: 18px 22px 22px !important;
  overflow-y: auto !important;
  background: #f8fafc !important;
  -webkit-overflow-scrolling: touch !important;
}
html body #proTplPicker .pro-tpl-card {
  display: flex !important;
  flex-direction: column !important;
  flex-shrink: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 16px !important;
  border: 1px solid #e5e9f2 !important;
  background: #ffffff !important;
  overflow: hidden !important;
  text-align: left !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: 0 2px 8px -4px rgba(15, 23, 42, 0.06) !important;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), border-color .2s ease, box-shadow .2s ease !important;
}
html body #proTplPicker .pro-tpl-card:hover {
  transform: translateY(-2px) !important;
  border-color: #c4b5fd !important;
  box-shadow: 0 14px 28px -14px rgba(104, 71, 238, 0.25) !important;
}
html body #proTplPicker .pro-tpl-mock {
  position: relative !important;
  padding: 28px 16px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 158px !important;
  border-bottom: 1px solid #eef1f6 !important;
}
html body #proTplPicker .pro-tpl-mock.is-preland {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 16px 16px,
    #0f172a !important;
}
html body #proTplPicker .pro-tpl-mock.is-tracker {
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%) !important;
}
html body #proTplPicker .pro-tpl-mock.is-telegram {
  background: linear-gradient(155deg, #f0f9ff 0%, #e0f2fe 100%) !important;
}
html body #proTplPicker .pro-tpl-mock.is-editorial {
  background: #f5f2eb !important;
}
html body #proTplPicker .pro-tpl-mbadge {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}
html body #proTplPicker .pro-tpl-mbadge.is-light {
  background: rgba(15, 23, 42, 0.06) !important;
  color: #334155 !important;
}

/* Mockup 1: 18+ Dark Architectural Glass Card */
html body #proTplPicker .ptm-glass-card {
  width: 210px !important;
  max-width: 100% !important;
  padding: 12px 14px !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
}
html body #proTplPicker .ptm-age-ring {
  width: 30px !important;
  height: 30px !important;
  border-radius: 999px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html body #proTplPicker .ptm-dark-title {
  font-size: 12px !important;
  font-weight: 650 !important;
  color: #ffffff !important;
  text-align: center !important;
}
html body #proTplPicker .ptm-white-cta {
  width: 100% !important;
  height: 26px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html body #proTplPicker .ptm-dark-note {
  font-size: 9.5px !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

/* Mockup 2: Smart Tracker Visual Routing Tree */
html body #proTplPicker .ptm-flow {
  width: 100% !important;
  max-width: 288px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
html body #proTplPicker .ptm-flow-top {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex-wrap: nowrap !important;
}
html body #proTplPicker .ptm-flow-node {
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  white-space: nowrap !important;
}
html body #proTplPicker .ptm-flow-node.is-acc {
  background: #f5f3ff !important;
  border-color: #d8ccfe !important;
  color: #5b3fe0 !important;
}
html body #proTplPicker .ptm-flow-arr {
  font-size: 11px !important;
  color: #94a3b8 !important;
}
html body #proTplPicker .ptm-flow-stem {
  width: 1.5px !important;
  height: 12px !important;
  background: #cbd5e1 !important;
}
html body #proTplPicker .ptm-flow-branches {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  padding-top: 8px !important;
  border-top: 1.5px solid #cbd5e1 !important;
}
html body #proTplPicker .ptm-branch {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 6px 5px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
html body #proTplPicker .ptm-branch.is-hi {
  border-color: #d8ccfe !important;
  background: #faf9ff !important;
}
html body #proTplPicker .ptm-branch b {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}
html body #proTplPicker .ptm-branch span {
  font-size: 9.5px !important;
  color: #64748b !important;
}

/* Mockup 3: Authentic Telegram Channel Card */
html body #proTplPicker .ptm-tg-card {
  width: 230px !important;
  max-width: 100% !important;
  padding: 11px 12px !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  border: 1px solid #bae6fd !important;
  box-shadow: 0 6px 18px -12px rgba(2, 132, 199, 0.28) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
html body #proTplPicker .ptm-tg-head {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 2px !important;
}
html body #proTplPicker .ptm-tg-ava {
  width: 30px !important;
  height: 30px !important;
  border-radius: 999px !important;
  background: #0284c7 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
html body #proTplPicker .ptm-tg-copy {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}
html body #proTplPicker .ptm-tg-copy b {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
html body #proTplPicker .ptm-ver {
  font-style: normal !important;
  width: 13px !important;
  height: 13px !important;
  border-radius: 999px !important;
  background: #0ea5e9 !important;
  color: #ffffff !important;
  font-size: 8.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html body #proTplPicker .ptm-tg-copy span {
  font-size: 9.5px !important;
  color: #64748b !important;
}
html body #proTplPicker .ptm-tg-btn1 {
  height: 24px !important;
  border-radius: 7px !important;
  background: #0284c7 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 650 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html body #proTplPicker .ptm-tg-btn2 {
  height: 22px !important;
  border-radius: 7px !important;
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  color: #0369a1 !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Mockup 4: Warm Paper Editorial Bio */
html body #proTplPicker .ptm-ed-wrap {
  width: 236px !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}
html body #proTplPicker .ptm-ed-head {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid #e4dfd3 !important;
}
html body #proTplPicker .ptm-ed-ava {
  width: 30px !important;
  height: 30px !important;
  border-radius: 9px !important;
  background: #111827 !important;
  color: #f6f4ef !important;
  font-family: Georgia, serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
html body #proTplPicker .ptm-ed-title {
  display: block !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  line-height: 1.2 !important;
}
html body #proTplPicker .ptm-ed-sub {
  display: block !important;
  font-size: 9.5px !important;
  color: #6b6558 !important;
}
html body #proTplPicker .ptm-ed-btn1 {
  height: 25px !important;
  border-radius: 7px !important;
  background: #111827 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html body #proTplPicker .ptm-ed-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
}
html body #proTplPicker .ptm-ed-btn2 {
  height: 22px !important;
  border-radius: 7px !important;
  background: transparent !important;
  border: 1px solid #111827 !important;
  color: #111827 !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Feature chips under template description */
html body #proTplPicker .pro-tpl-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  margin-top: 6px !important;
}
html body #proTplPicker .pro-tpl-chips span {
  font-size: 10.5px !important;
  font-weight: 600 !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
}
html body #proTplPicker .pro-tpl-meta {
  padding: 13px 15px 15px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
html body #proTplPicker .pro-tpl-mhead {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
html body #proTplPicker .pro-tpl-mhead b {
  font-size: 13.5px !important;
  font-weight: 650 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
}
html body #proTplPicker .pro-tpl-use {
  font-size: 11.5px !important;
  font-weight: 650 !important;
  color: #5b3fe0 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
html body #proTplPicker .pro-tpl-meta p {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.48 !important;
  color: #64748b !important;
}

@media (max-width: 768px) {
  html body #proTplPicker.pro-tpl-root {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  html body #proTplPicker .pro-tpl-dialog {
    width: 100% !important;
    max-width: 100% !important;
    height: 90dvh !important;
    max-height: 90dvh !important;
    border-radius: 22px 22px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    opacity: 1 !important;
    transform: translate3d(0, 100%, 0) !important;
  }
  html body #proTplPicker.is-open .pro-tpl-dialog {
    transform: translate3d(0, 0, 0) !important;
  }
  html body #proTplPicker .pro-tpl-grab {
    display: flex !important;
    justify-content: center !important;
    padding: 9px 0 2px !important;
    flex-shrink: 0 !important;
  }
  html body #proTplPicker .pro-tpl-grab span {
    width: 38px !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: #cbd5e1 !important;
  }
  html body #proTplPicker .pro-tpl-head {
    padding: 10px 16px 12px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  html body #proTplPicker .pro-tpl-head-act {
    width: 100% !important;
    justify-content: space-between !important;
  }
  html body #proTplPicker .pro-tpl-blank {
    flex: 1 1 auto !important;
  }
  html body #proTplPicker .pro-tpl-grid {
    grid-template-columns: 1fr !important;
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 12px !important;
  }
}

/* Smooth GPU-composited handoff from Template Picker -> #editorModal (zero flash, zero jump) */
html body #editorModal.pro-ed-preparing {
  opacity: 0 !important;
  transition: none !important;
  pointer-events: none !important;
}
html body #editorModal.pro-ed-preparing .editor {
  opacity: 0 !important;
  transform: translate3d(0, 14px, 0) scale(0.985) !important;
  transition: none !important;
  will-change: opacity, transform !important;
}
html body #editorModal.pro-ed-entering {
  opacity: 1 !important;
  transition: opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
html body #editorModal.pro-ed-entering .editor {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  transition: opacity 0.26s cubic-bezier(0.22, 1, 0.36, 1), transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: opacity, transform !important;
}

/* Pro Studio custom status text input (Point 4) */
html body.nl-app #proStudio#proStudio input.ps-text-inp {
  width: 100% !important;
  height: 36px !important;
  padding: 0 11px !important;
  border-radius: 9px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease !important;
}
html body.nl-app #proStudio#proStudio input.ps-text-inp:focus {
  border-color: #6847ee !important;
  box-shadow: 0 0 0 3px rgba(104, 71, 238, 0.12) !important;
}

/* Point 4 Polish — Crisp wrapping chips, balanced Pro Studio template cards & scrollable 100% phone preview */
html body #editorModal#editorModal #proStudio .ps-seg.ps-seg-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
html body #editorModal#editorModal #proStudio .ps-seg.ps-seg-wrap button {
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 74px !important;
  height: 36px !important;
  padding: 0 14px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -0.005em !important;
  white-space: nowrap !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
}
html body #editorModal#editorModal #proStudio .ps-seg.ps-seg-wrap button:hover {
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
html body #editorModal#editorModal #proStudio .ps-seg.ps-seg-wrap button.active {
  background: #f5f3ff !important;
  border-color: #6847ee !important;
  color: #5b3fe0 !important;
  box-shadow: 0 0 0 2px rgba(104, 71, 238, 0.12) !important;
}

/* Balanced Pro Studio template cards (never horizontally squished) */
html body #editorModal#editorModal #proStudio .ps-tpl-grid {
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)) !important;
  gap: 12px !important;
}
html body #editorModal#editorModal #proStudio .ps-tpl-screen {
  aspect-ratio: 9 / 12.2 !important;
}
@media (max-width: 768px) {
  html body #editorModal#editorModal #proStudio .ps-tpl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  html body #editorModal#editorModal #proStudio .ps-tpl {
    padding: 7px !important;
    border-radius: 16px !important;
  }
  html body #editorModal#editorModal #proStudio .ps-tpl-screen {
    aspect-ratio: 9 / 11.8 !important;
    border-radius: 11px !important;
  }
  html body #editorModal#editorModal #proStudio .ps-seg.ps-seg-wrap button {
    height: 34px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }
}

/* Scrollable Desktop Phone Preview Stage (fixes 100% zoom cutting off bottom buttons) */
@media (min-width: 769px) {
  html body #editorModal#editorModal .builder-stage {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    justify-content: flex-start !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(100, 116, 139, 0.28) transparent !important;
  }
  html body #editorModal#editorModal .builder-stage .device-preview-toolbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 12 !important;
    flex-shrink: 0 !important;
  }
  html body #editorModal#editorModal .builder-stage .phone-scale-shell {
    flex: 0 0 auto !important;
    margin: auto 0 !important;
    padding: 6px 0 22px !important;
    overflow: visible !important;
  }
  html body #editorModal#editorModal .builder-stage[data-preview-zoom="100"] .phone-scale-shell {
    margin: 4px 0 auto !important;
  }
}
html body #editorModal#editorModal #editorScreen {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* ---------------------------------------------------------------------
   14. EDITOR 60FPS PERFORMANCE OPTIMIZATION (Desktop & Mobile)
   Removes stacked full-viewport Gaussian backdrop-filter blurs that tank
   FPS on Windows/integrated GPUs, adds layout/paint containment on editor
   columns, and pauses off-hover animation previews.
   --------------------------------------------------------------------- */
html body #editorModal#editorModal.editorbg {
  background: rgba(15, 23, 42, 0.54) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html body #editorModal#editorModal .editor {
  background: #faf9ff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: 0 24px 64px -16px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.06) !important;
  contain: layout style !important;
}
html body #editorModal#editorModal .editorhead,
html body #editorModal#editorModal .editorfoot,
html body #editorModal#editorModal .device-preview-toolbar,
html body #editorModal#editorModal .builder-outline,
html body #editorModal#editorModal .builder-inspector {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html body #editorModal#editorModal .device-preview-toolbar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}
html body #editorModal#editorModal .builder-outline,
html body #editorModal#editorModal .builder-inspector,
html body #editorModal#editorModal .builder-stage {
  contain: layout style paint !important;
}
html body #editorModal#editorModal .builder-stage {
  background: #f4f3fa !important;
}
html body #editorModal#editorModal #editorScreen .aru-pro-cardbg {
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
}
/* Pause the 14 simultaneous button-animation preview chips unless hovered or active */
html body #editorModal#editorModal #proStudio .ps-anim:not(:hover):not(.active) .ps-anim-demo,
html body #editorModal#editorModal #proStudio .ps-anim:not(:hover):not(.active) .ps-anim-demo::before,
html body #editorModal#editorModal #proStudio .ps-anim:not(:hover):not(.active) .ps-anim-demo::after {
  animation-play-state: paused !important;
}
/* Never burn GPU cycles when editor modal is closed */
html body #editorModal#editorModal:not(.open) *,
html body #editorModal#editorModal:not(.open) *::before,
html body #editorModal#editorModal:not(.open) *::after {
  animation-play-state: paused !important;
}
/* Lighter Template Picker backdrop for instant 60fps handoff */
html body #proTplPicker .pro-tpl-bg {
  background: rgba(15, 23, 42, 0.46) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* ---------------------------------------------------------------------
   15. EXECUTIVE QUICK START ONBOARDING CARD (Point 5 — zero neon)
   --------------------------------------------------------------------- */
html body.nl-app #root .main #proQuickStart.pro-qs-card {
  margin: 0 0 18px !important;
  padding: 18px 20px 20px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
  box-sizing: border-box !important;
}
html body.nl-app #root .main #proQuickStart.pro-qs-card.is-hiding {
  opacity: 0 !important;
  transform: translateY(-6px) !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-hleft {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 0 !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-krow {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-kicker {
  display: inline-flex !important;
  align-items: center !important;
  height: 22px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: #f5f3ff !important;
  color: #5b3fe0 !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-prog {
  display: inline-flex !important;
  align-items: center !important;
  height: 22px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-prog.is-done {
  background: #ecfdf5 !important;
  color: #047857 !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-head h3 {
  margin: 2px 0 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
  color: #0f172a !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-head p {
  margin: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  color: #64748b !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-dismiss {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  height: 30px !important;
  padding: 0 10px !important;
  border-radius: 9px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-dismiss:hover {
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  background: #f8fafc !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-bar {
  width: 100% !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  overflow: hidden !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-bar > i {
  display: block !important;
  height: 100% !important;
  border-radius: 999px !important;
  background: #6847ee !important;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-step {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 14px 15px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
  transition: border-color 0.18s ease, background 0.18s ease !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-step:not(.is-done):hover {
  border-color: #cbd5e1 !important;
  background: #ffffff !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-step.is-done {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-shead {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-num {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-step.is-done .pro-qs-num {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-shead b {
  font-size: 13.5px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  color: #0f172a !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-step.is-done .pro-qs-shead b {
  color: #475569 !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-step p {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.48 !important;
  color: #64748b !important;
  flex: 1 1 auto !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-act {
  margin-top: 4px !important;
  align-self: flex-start !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 32px !important;
  padding: 0 12px !important;
  border-radius: 9px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #5b3fe0 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  cursor: pointer !important;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-act:hover {
  border-color: #6847ee !important;
  background: #f5f3ff !important;
}
html body.nl-app #root .main #proQuickStart .pro-qs-act.is-done {
  border-color: #d1fae5 !important;
  background: #ecfdf5 !important;
  color: #047857 !important;
}
@media (max-width: 900px) {
  html body.nl-app #root .main #proQuickStart .pro-qs-steps {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}
@media (max-width: 768px) {
  html body.nl-app #root .main #proQuickStart.pro-qs-card {
    padding: 15px 15px 16px !important;
    border-radius: 14px !important;
    gap: 12px !important;
  }
  html body.nl-app #root .main #proQuickStart .pro-qs-head h3 {
    font-size: 15px !important;
  }
  html body.nl-app #root .main #proQuickStart .pro-qs-dismiss span {
    display: none !important;
  }
  html body.nl-app #root .main #proQuickStart .pro-qs-dismiss {
    width: 30px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  html body.nl-app #root .main #proQuickStart .pro-qs-step {
    padding: 12px 13px !important;
  }
  html body.nl-app #root .main #proQuickStart .pro-qs-act {
    width: 100% !important;
    justify-content: center !important;
    height: 36px !important;
  }
}
