/* Lite live preview parity stylesheet. Mirrored from the pro preview shell and scoped to the General tab. */

body.settings_page_vareoncalc #tab-general .vareoncalc-settings-col {
  max-width: none;
  width: 100%;
}

body.settings_page_vareoncalc #tab-general .vc-control-center--design {
  display: flex;
  flex-direction: column;
  overflow: visible;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split {
  --vareoncalc-preview-shell-top: 32px;
  --vareoncalc-preview-shell-height: clamp(620px, calc(100vh - 160px), 860px);
  --vareoncalc-preview-min: 520px;
  display: grid;
  grid-template-columns: minmax(300px, 56fr) minmax(var(--vareoncalc-preview-min), 44fr);
  gap: 12px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  width: 100%;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main>.vc-design-subnav {
  margin-bottom: 0;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main>.vareoncalc-settings-col,
body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vareoncalc-design-panels-wrapper,
body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vareoncalc-design-panels,
body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vareoncalc-design-panel,
body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vareoncalc-design-panel>.vc-cc-bento__main,
body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vareoncalc-design-panel>.vc-cc-bento__main--single,
body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vc-theme-hero,
body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vc-cc-card,
body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vc-theme-presets-card,
body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vc-custom-themes-section {
  min-width: 0;
  width: 100%;
  max-width: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vareoncalc-design-panels-wrapper,
body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vareoncalc-design-panels {
  display: block;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vareoncalc-design-panels-wrapper {
  grid-template-columns: none !important;
  gap: 0 !important;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vareoncalc-design-panel[hidden] {
  display: none !important;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vareoncalc-design-panel:not([hidden]) {
  display: block;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vc-cc-bento__main {
  align-content: start;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vc-theme-presets-card .vc-cc-card__body,
body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main .vc-custom-themes-section__body {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__preview {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: var(--vareoncalc-preview-shell-top);
  align-self: start;
  min-width: 0;
  width: 100%;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split.is-preview-unavailable .vareoncalc-settings-split__preview {
  opacity: 0.72;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2 {
  display: flex;
  flex-direction: column;
  position: relative;
  top: 0;
  height: var(--vareoncalc-preview-shell-height);
  min-height: var(--vareoncalc-preview-shell-height);
  width: 100%;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f8fb 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__canvas {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  flex: 1 1 auto;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  cursor: default;
  touch-action: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__toolbar-top {
  position: sticky;
  top: 0;
  z-index: 8;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 18px rgba(248, 250, 252, 0.92);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar {
  display: grid;
  grid-template-columns: minmax(210px, 244px) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-group {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-group--calc {
  width: 100%;
  max-width: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-group--width {
  width: 100%;
  justify-content: flex-end;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-calc,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-width {
  position: relative;
  width: 100%;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-width {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 11;
  display: inline-flex;
  align-items: center;
  margin: 0;
  pointer-events: auto;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #475569;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-toggle:hover,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-toggle:focus-visible,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-toggle[aria-expanded="true"] {
  color: #0f172a;
  border-color: rgba(59, 130, 246, 0.28);
  background: #fff;
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.08),
    inset 0 0 0 1px rgba(59, 130, 246, 0.12);
  outline: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-toggle-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 12;
  display: none;
  width: min(290px, calc(100vw - 56px));
  padding: 12px 13px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
  color: #334155;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-popover:not([hidden]) {
  display: block;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-title {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-list {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  font-size: 11px;
  line-height: 1.55;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-list li + li {
  margin-top: 6px;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-list strong {
  color: #0f172a;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-list kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 0 6px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 6px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-select {
  width: 100%;
  min-height: 36px;
  padding: 0 34px 0 11px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__width-pills,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__zoom-controls,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__action-buttons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 3px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.92) 100%);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-status-value {
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-status-separator {
  color: rgba(100, 116, 139, 0.7);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__width-pills {
  width: auto;
  max-width: 100%;
  margin-left: auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__width-pill,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__width-pill:hover,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__dock-btn:hover,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__width-pill:focus-visible,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__dock-btn:focus-visible {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
  box-shadow: none;
  outline: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__width-pill.is-active,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__dock-btn.is-active {
  color: #0f172a;
  background: #fff;
  box-shadow:
    0 4px 10px rgba(15, 23, 42, 0.08),
    inset 0 0 0 1px rgba(59, 130, 246, 0.18);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__width-pill--icon {
  min-width: 76px;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__width-pill-label,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__dock-label {
  white-space: nowrap;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__dock-btn--sq {
  min-width: 28px;
  width: 28px;
  padding: 0;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__dock-btn .dashicons {
  width: 13px;
  height: 13px;
  font-size: 13px;
  line-height: 1;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__dock-zoom-readout {
  min-width: 52px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 9px;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-width: 208px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover.vareoncalc-is-hidden,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__loading.vareoncalc-is-hidden,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover[hidden],
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__loading[hidden] {
  display: none !important;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover-field {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover-label {
  color: #334155;
  font-size: 11px;
  font-weight: 700;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0 8px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 9px;
  background: #fff;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover-input {
  width: 100%;
  min-width: 0;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 11px;
  font-weight: 600;
  box-shadow: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover-input:focus {
  outline: none;
  box-shadow: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover-unit {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover-apply {
  min-height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: #0f172a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover-apply:hover,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover-apply:focus-visible {
  background: #1e293b;
  outline: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage {
  position: relative;
  min-height: 0;
  cursor: grab;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 44%),
    linear-gradient(180deg, #eef4f8 0%, #e7edf4 100%);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  min-height: 0;
  pointer-events: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-status-wrap {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 110px);
  pointer-events: auto;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-status {
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, -12px, 0) scale(0.98);
  transition:
    opacity 0.22s ease,
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-status-wrap:hover .vareoncalc-preview-v2__stage-status,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-status-wrap:focus-within .vareoncalc-preview-v2__stage-status,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__canvas.is-panning .vareoncalc-preview-v2__stage-status {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 9;
  width: 0;
  height: 0;
  overflow: visible;
  pointer-events: auto;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-hotzone {
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 132px;
  height: 132px;
  z-index: 0;
  pointer-events: auto;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle {
  position: absolute;
  right: -20px;
  bottom: -20px;
  z-index: 1;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 72px;
  min-width: 72px;
  height: 72px;
  padding: 14px 0 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 28px 0 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(235, 243, 250, 0.84) 100%);
  box-shadow:
    0 12px 22px rgba(15, 23, 42, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.07);
  color: #0f172a;
  cursor: pointer;
  opacity: 0.84;
  will-change: transform, box-shadow;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.22s ease,
    border-color 0.22s ease,
    opacity 0.32s ease;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.12) 0%, rgba(96, 165, 250, 0) 74%);
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle:hover,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle:focus-visible {
  border-color: rgba(59, 130, 246, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 247, 255, 0.92) 100%);
  box-shadow:
    0 14px 24px rgba(15, 23, 42, 0.14),
    0 6px 14px rgba(37, 99, 235, 0.1);
  opacity: 0.94;
  transform: translate3d(-6px, -6px, 0);
  outline: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle:focus-visible {
  box-shadow:
    0 14px 24px rgba(15, 23, 42, 0.14),
    0 6px 14px rgba(37, 99, 235, 0.1),
    0 0 0 4px rgba(59, 130, 246, 0.16);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock.is-open .vareoncalc-preview-v2__stage-dock-toggle,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock:focus-within .vareoncalc-preview-v2__stage-dock-toggle {
  border-color: rgba(148, 163, 184, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64) 0%, rgba(226, 232, 240, 0.42) 100%);
  box-shadow:
    0 4px 10px rgba(15, 23, 42, 0.06);
  opacity: 0.18;
  transform: translate3d(-18px, -18px, 0) scale(0.72);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock.is-open .vareoncalc-preview-v2__stage-dock-toggle::after,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock:focus-within .vareoncalc-preview-v2__stage-dock-toggle::after {
  opacity: 0.04;
  transform: translate3d(-4px, -4px, 0) scale(0.62);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(226, 232, 240, 0.86) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 6px 12px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  flex: 0 0 auto;
  transition:
    opacity 0.32s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    background 0.22s ease;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translate3d(0, 0, 0);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock.is-open .vareoncalc-preview-v2__stage-dock-toggle-icon svg,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle:hover .vareoncalc-preview-v2__stage-dock-toggle-icon svg,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle:focus-visible .vareoncalc-preview-v2__stage-dock-toggle-icon svg {
  transform: translate3d(-1px, -1px, 0) scale(1.06);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock.is-open .vareoncalc-preview-v2__stage-dock-toggle-icon,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock:focus-within .vareoncalc-preview-v2__stage-dock-toggle-icon {
  opacity: 0.42;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(226, 232, 240, 0.4) 100%);
  transform: scale(0.92);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: inline-flex;
  align-items: stretch;
  gap: 10px;
  min-height: 68px;
  padding: 8px 12px 10px 12px;
  max-width: min(calc(100vw - 92px), 640px);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-left: 1px solid rgba(148, 163, 184, 0.18);
  border-right: 0;
  border-bottom: 0;
  border-radius: 20px 0 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.92) 100%);
  backdrop-filter: blur(20px);
  box-shadow:
    -16px -14px 30px rgba(15, 23, 42, 0.14),
    -4px -4px 12px rgba(15, 23, 42, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-origin: bottom right;
  transform: translate3d(10px, 8px, 0) scale(0.94);
  will-change: transform, opacity;
  transition:
    opacity 0.22s ease,
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    visibility 0.22s ease;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-panel::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 88px;
  height: 88px;
  border-radius: 24px 0 0 0;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.08) 0%, rgba(96, 165, 250, 0) 68%);
  opacity: 0.7;
  pointer-events: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock.is-open .vareoncalc-preview-v2__stage-dock-panel,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock:focus-within .vareoncalc-preview-v2__stage-dock-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__canvas.is-panning .vareoncalc-preview-v2__stage {
  cursor: grabbing;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__canvas.is-panning .vareoncalc-preview-v2__frame-host iframe {
  pointer-events: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 22%);
  pointer-events: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-section + .vareoncalc-preview-v2__stage-dock-section {
  position: relative;
  padding-left: 10px;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-section + .vareoncalc-preview-v2__stage-dock-section::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0) 0%, rgba(148, 163, 184, 0.35) 18%, rgba(148, 163, 184, 0.35) 82%, rgba(148, 163, 184, 0) 100%);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-section-label {
  padding-left: 1px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock .vareoncalc-preview-v2__zoom-controls,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock .vareoncalc-preview-v2__action-buttons {
  min-height: 36px;
  padding: 3px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock .vareoncalc-preview-v2__dock-btn {
  min-height: 28px;
  padding: 0 8px;
  border-radius: 9px;
  color: #334155;
  font-size: 11px;
  background: transparent;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock .vareoncalc-preview-v2__dock-btn--sq {
  min-width: 28px;
  width: 28px;
  padding: 0;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock .vareoncalc-preview-v2__dock-btn:hover,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock .vareoncalc-preview-v2__dock-btn:focus-visible {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 6px 14px rgba(15, 23, 42, 0.08),
    inset 0 0 0 1px rgba(59, 130, 246, 0.12);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock .vareoncalc-preview-v2__dock-btn:active {
  transform: translateY(1px);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock .vareoncalc-preview-v2__dock-btn .dashicons {
  width: 14px;
  height: 14px;
  font-size: 14px;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock .vareoncalc-preview-v2__dock-zoom-readout {
  min-width: 52px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__frame-guide {
  position: absolute;
  inset: clamp(10px, 1.4vw, 18px);
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__frame-shell {
  position: absolute;
  display: flex;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__frame-shell[data-device="phone"] {
  padding: 0;
  border-radius: 0;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__frame-shell[data-device="tablet"] {
  border-radius: 0;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__frame-host,
body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__frame-host iframe {
  display: block;
  height: 100%;
  border: 0;
  background: transparent;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__frame-host {
  position: relative;
  overflow: hidden;
  width: 100%;
  flex: 1 1 auto;
  border-radius: 0;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__frame-host iframe {
  border-radius: 0;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__loading {
  position: absolute;
  inset: clamp(12px, 2vw, 22px);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__loading-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(148, 163, 184, 0.26);
  border-top-color: #2563eb;
  border-radius: 999px;
  animation: vareoncalc-preview-v2-spin 0.9s linear infinite;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__loading-skeleton {
  display: grid;
  gap: 8px;
  width: min(240px, 80%);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__loading-line {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(203, 213, 225, 0.48) 0%, rgba(226, 232, 240, 0.92) 50%, rgba(203, 213, 225, 0.48) 100%);
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__loading-line--lg {
  width: 100%;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__loading-line--md {
  width: 74%;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__loading-line--sm {
  width: 46%;
}

body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__loading-text {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

@keyframes vareoncalc-preview-v2-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__preview {
    grid-column: 1;
    grid-row: 1;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-settings-split__main {
    grid-column: 1;
    grid-row: 2;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2 {
    position: static;
    height: min(760px, 80vh);
    min-height: 560px;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar {
    grid-template-columns: 1fr;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-group--calc {
    max-width: none;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-group--width {
    justify-content: flex-start;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar-width {
    justify-content: flex-start;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__width-pills {
    margin-left: 0;
    justify-content: flex-start;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-popover {
    right: auto;
    left: 0;
  }
}

@media (max-width: 740px) {
  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2 {
    min-height: 520px;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__toolbar-top {
    padding: 14px;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__topbar {
    gap: 10px;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__width-pills {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-status-wrap {
    top: 10px;
    max-width: calc(100% - 84px);
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help-popover {
    width: min(260px, calc(100vw - 56px));
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__help {
    top: 10px;
    right: 10px;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock {
    right: 0;
    bottom: 0;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-panel {
    right: 0;
    bottom: 0;
    max-width: calc(100vw - 44px);
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-hotzone {
    right: -18px;
    bottom: -18px;
    width: 108px;
    height: 108px;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle {
    right: -14px;
    bottom: -14px;
    width: 60px;
    min-width: 60px;
    height: 60px;
    padding: 11px 0 0 11px;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle:hover,
  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle:focus-visible {
    transform: translate3d(-8px, -8px, 0);
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock.is-open .vareoncalc-preview-v2__stage-dock-toggle,
  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock:focus-within .vareoncalc-preview-v2__stage-dock-toggle {
    transform: translate3d(-14px, -14px, 0) scale(0.72);
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__custom-popover-apply {
    width: 100%;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__frame-guide {
    inset: 10px;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__frame-shell {
    padding: 0;
    border-radius: 0;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__dock-label {
    display: none;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-status {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-section + .vareoncalc-preview-v2__stage-dock-section {
    padding-left: 0;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-section + .vareoncalc-preview-v2__stage-dock-section::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle,
  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle::after,
  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle-icon,
  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-toggle-icon svg,
  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-panel {
    transition:
      opacity 0.12s ease,
      visibility 0.12s ease,
      background 0.12s ease,
      border-color 0.12s ease,
      box-shadow 0.12s ease,
      transform 0.12s ease;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock-panel {
    transform: none;
  }

  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock.is-open .vareoncalc-preview-v2__stage-dock-panel,
  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-dock:focus-within .vareoncalc-preview-v2__stage-dock-panel {
    transform: none;
  }
}

@media (hover: none) {
  body.settings_page_vareoncalc #tab-general .vareoncalc-preview-v2__stage-status {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
