﻿:root {
  --app-bg: #f3f4f6;
  --app-panel: #ffffff;
  --app-border: #e5e7eb;
  --app-text: #111827;
  --app-muted: #6b7280;
  --accent: #4f46e5;
  --accent-soft: #eef2ff;
  --danger: #dc2626;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--app-bg);
  color: var(--app-text);
  font-size: 14px;
  line-height: 1.5;
}

#app { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border: 1px solid var(--app-border); border-radius: 8px;
  background: var(--app-panel); color: var(--app-text); font-size: 13px; cursor: pointer;
  transition: background .15s, border-color .15s, box-shadow .15s;
  font-weight: 500;
}
.btn:hover { background: #f9fafb; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #4338ca; }
.btn-lg { padding: 11px 20px; font-size: 15px; }
.btn-sm { padding: 4px 9px; font-size: 12px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--app-muted); }
.btn-ghost:hover { background: rgba(0,0,0,.04); color: var(--app-text); }
.btn-danger-ghost { background: transparent; border-color: transparent; color: var(--danger); }
.btn-danger-ghost:hover { background: #fef2f2; }

/* ---------- header ---------- */
.app-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; background: var(--app-panel); border-bottom: 1px solid var(--app-border);
  position: sticky; top: 0; z-index: 50;
}
.brand { font-size: 18px; letter-spacing: .5px; }
.brand b { color: var(--accent); }

/* ---------- home ---------- */
.home-wrap { max-width: 1080px; margin: 0 auto; padding: 24px 20px 80px; width: 100%; }
.empty { text-align: center; color: var(--app-muted); padding: 40px; border: 2px dashed var(--app-border); border-radius: var(--radius); margin-top: 20px; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 24px; }
.calc-card {
  background: var(--app-panel); border: 1px solid var(--app-border); border-radius: var(--radius);
  padding: 16px; cursor: pointer; transition: box-shadow .15s, transform .1s;
}
.calc-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.status { font-size: 11px; padding: 2px 8px; border-radius: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.st-draft { background: #f3f4f6; color: var(--app-muted); }
.st-published { background: #d1fae5; color: #065f46; }
.st-archived { background: #fef3c7; color: #92400e; }
.card-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.card-meta { color: var(--app-muted); font-size: 12px; margin-bottom: 12px; }
.card-actions { display: flex; gap: 6px; }
.card-date { color: var(--app-muted); font-size: 11px; }

/* ---------- builder bar ---------- */
.builder-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: var(--app-panel); border-bottom: 1px solid var(--app-border);
}
.calc-name-input {
  font-size: 16px; font-weight: 600; border: 1px solid transparent; border-radius: 6px;
  padding: 5px 8px; width: 260px; outline: none; background: transparent;
}
.calc-name-input:hover, .calc-name-input:focus { border-color: var(--app-border); background: #f9fafb; }
.slug-hint { color: var(--app-muted); font-size: 12px; font-family: monospace; }
.spacer { flex: 1; }

/* tabs */
.builder-tabs {
  display: flex; align-items: center; gap: 4px; padding: 0 16px;
  background: var(--app-panel); border-bottom: 1px solid var(--app-border);
}
.tab {
  padding: 11px 16px; border: none; background: transparent; cursor: pointer;
  font-size: 14px; color: var(--app-muted); border-bottom: 2px solid transparent; font-weight: 500;
}
.tab:hover { color: var(--app-text); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.device-switch { display: flex; gap: 2px; margin-left: auto; }
.dbtn {
  border: 1px solid var(--app-border); background: var(--app-panel); padding: 5px 8px; cursor: pointer; border-radius: 6px;
}
.dbtn.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* ---------- builder layout ---------- */
.builder-wrap { flex: 1; display: flex; flex-direction: column; }
.cols { display: flex; flex: 1; min-height: 0; }
.palette-col { width: 260px; min-width: 260px; border-right: 1px solid var(--app-border); background: var(--app-panel); padding: 12px; overflow-y: auto; }
.canvas-col { flex: 1; min-width: 0; padding: 16px; overflow-y: auto; }
.preview-panel { border-top: 1px solid var(--app-border); background: #eef0f3; padding: 14px 16px; }
.preview-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.preview-caption { font-size: 11px; color: var(--app-muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.pane-title { font-weight: 600; font-size: 13px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.pane-title .btn { font-size: 11px; }

.preview-frame {
  background: var(--vc-bg, #fff); width: 100%; max-width: var(--vc-width, 420px); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08); overflow: hidden;
}
.preview-frame.mobile { max-width: var(--vc-width, 360px); }
.preview-frame.desktop { max-width: var(--vc-width, 420px); }

/* palette */
.palette { display: flex; flex-direction: column; gap: 6px; }
.palette-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border: 1px solid var(--app-border); border-radius: 8px; background: #fff; cursor: grab;
  transition: border-color .15s, box-shadow .15s;
}
.palette-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.palette-item.dragging { opacity: .4; }
.pi-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 13px; }

/* canvas */
.canvas {
  min-height: 220px; border: 2px dashed var(--app-border); border-radius: 10px; padding: 10px;
  display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; background: #fafbfc; transition: border-color .2s;
}
.canvas-empty { color: var(--app-muted); text-align: center; width: 100%; padding: 30px; }
.canvas-field {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: #fff; border: 1px solid var(--app-border); border-radius: 8px; cursor: grab;
}
.canvas-field.cf-wwidth { flex: 1 1 100%; }
.canvas-field.cf-half { flex: 1 1 calc(50% - 4px); }
.canvas-field.cf-third { flex: 1 1 calc(33.333% - 5.34px); }
.canvas-field.cf-twothird { flex: 1 1 calc(66.667% - 2.67px); }
.canvas-field.cf-quarter { flex: 1 1 calc(25% - 6px); }
.canvas-field.dragging { opacity: .4; }
.canvas-field.sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.cf-icon { font-size: 15px; }
.cf-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cf-label { font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-slug { color: var(--app-muted); font-size: 11px; font-family: monospace; }
.cf-opts { display: flex; gap: 4px; color: var(--app-muted); font-size: 12px; }
.reqmark { color: var(--danger); font-weight: 700; }
.cf-buttons { display: none; gap: 2px; }
.canvas-field:hover .cf-buttons { display: flex; }
.mini {
  border: none; background: #f3f4f6; width: 22px; height: 22px; border-radius: 5px; cursor: pointer;
  font-size: 12px; color: var(--app-muted); display: flex; align-items: center; justify-content: center;
}
.mini:hover { background: #e5e7eb; color: var(--app-text); }
.mini.danger:hover { background: #fef2f2; color: var(--danger); }

/* field settings panel */
.field-settings {
  margin-top: 16px; border: 1px solid var(--app-border); border-radius: 10px;
  background: var(--app-panel); padding: 14px; animation: fadein .18s;
}
@keyframes fadein { from { opacity: 0; transform: translateY(-4px);} to { opacity: 1; transform: none;} }
.fs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 14px; }
.fs-row { margin-bottom: 10px; }
.fs-row label { display: block; font-size: 11px; color: var(--app-muted); margin-bottom: 3px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.fs-row input:not([type=checkbox]):not([type=color]), .fs-row select, .fs-row textarea {
  width: 100%; padding: 7px 9px; border: 1px solid var(--app-border); border-radius: 6px; font-size: 13px; outline: none; background: #fff;
}
.fs-row input:focus, .fs-row select:focus, .fs-row textarea:focus { border-color: var(--accent); }
.fs-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fs-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.row-inline { display: flex; align-items: center; gap: 8px; }
.chk { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.fs-close { position: absolute; top: 8px; right: 8px; }
.field-settings { position: relative; }
.hidden { display: none !important; }

/* options list */
.opt-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 8px; }
.opt { display: flex; align-items: center; gap: 6px; }
.opt .grip { cursor: grab; color: var(--app-muted); font-size: 13px; }
.opt-label { flex: 1; }
.opt-price { width: 90px; }
.curve { color: var(--app-muted); font-size: 12px; }

/* condition */
.cond-box { background: #f9fafb; border: 1px solid var(--app-border); border-radius: 8px; padding: 10px; }
.cond-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; margin-top: 8px; }
.fs-actions { margin-top: 12px; display: flex; justify-content: flex-end; }

/* ---------- formula editor ---------- */
.formula-cols { display: flex; }
.formula-canvas {
  background: var(--app-panel); border: 1px solid var(--app-border); border-radius: 10px;
  padding: 20px; min-height: 120px;
}
.f-root { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.f-rootlabel { font-size: 18px; font-weight: 700; color: var(--accent); }
.chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 7px;
  cursor: pointer; transition: box-shadow .12s, outline-color .12s; user-select: none;
  outline: 2px solid transparent;
}
.chip:hover { box-shadow: 0 2px 8px rgba(16,24,40,.12); }
.chip.sel { outline-color: var(--accent); }
.f-num { background: #fef3c7; color: #92400e; }
.f-field { background: #dbeafe; color: #1e40af; }
.f-field small { opacity: .6; font-family: monospace; font-size: 10px; }
.f-op { background: #f3f4f6; color: #374151; }
.f-op.cmp { background: #fce7f3; }
.f-fn { background: #ede9fe; color: #4c1d95; }
.f-opsym { font-weight: 700; background: #e5e7eb; padding: 0 5px; border-radius: 4px; cursor: pointer; }
.f-plus {
  border: 1px dashed var(--app-border); background: transparent; color: var(--app-muted);
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: 15px;
}
.f-plus:hover { border-color: var(--accent); color: var(--accent); }
.f-num-edit { border: 2px solid var(--accent); border-radius: 6px; font-size: 13px; padding: 2px 4px; }

.f-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.formula-extra { margin-top: 24px; background: var(--app-panel); border: 1px solid var(--app-border); border-radius: 10px; padding: 16px; }
.inset-title { font-weight: 600; font-size: 12px; color: var(--app-muted); text-transform: uppercase; letter-spacing: .5px; margin: 16px 0 8px; }
.inset-title:first-child { margin-top: 0; }
.hint-inline { color: var(--app-muted); font-weight: 400; font-size: 12px; text-transform: none; letter-spacing: 0; }

/* ---------- design ---------- */
.design-cols { display: flex; width: 100%; }
.design-panel { max-width: 560px; padding: 20px; }
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.theme-card {
  border: 2px solid var(--app-border); border-radius: 10px; padding: 8px; text-align: center; cursor: pointer; font-size: 12px;
}
.theme-card.sel { border-color: var(--accent); background: var(--accent-soft); }
.theme-swatch { height: 44px; border-radius: 6px; margin-bottom: 6px; border: 1px solid rgba(0,0,0,.08); }
.sw-standard { background: #fff; }
.sw-cards { background: linear-gradient(135deg,#fff 49%,#eef2ff 50%); }
.sw-stepper { background: linear-gradient(90deg,#4f46e5 0 33%,#e5e7eb 33% 66%,#e5e7eb 66%); }
.sw-dark { background: #1f2937; }
.sw-light { background: #f9fafb; }

.color-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.coloritem { display: flex; flex-direction: column; gap: 4px; font-size: 10px; color: var(--app-muted); align-items: center; }
.coloritem input[type=color] { width: 100%; height: 34px; border: 1px solid var(--app-border); border-radius: 6px; padding: 2px; cursor: pointer; background: #fff; }

/* ---------- preview / calculator widget vars ---------- */
#preview-frame, #public-card {
  --vc-accent: #4f46e5; --vc-bg: #fff; --vc-text: #111827; --vc-muted: #6b7280;
  --vc-border: #d1d5db; --vc-radius: 12px; --vc-font: -apple-system, sans-serif; --vc-fs: 16px; --vc-width: 480px;
  font-family: var(--vc-font); font-size: var(--vc-fs); color: var(--vc-text);
  width: 100%;
}
#preview-frame.vc-limit-height, #public-card.vc-limit-height {
  height: var(--vc-height, 640px);
  overflow: auto;
}
#preview-frame *, #public-card * { box-sizing: border-box; }

.vc-header { padding: 20px; border-bottom: 1px solid var(--vc-border); }
.vc-title { font-size: 1.35em; font-weight: 700; }
.vc-body { padding: 18px 20px; }
.vc-body-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.vc-body-grid .vc-field { margin-bottom: 0; }
.vc-field { margin-bottom: 16px; }

/* field width in a row */
.vc-body-grid .vc-w-full { flex: 1 1 100%; }
.vc-body-grid .vc-w-half { flex: 1 1 calc(50% - 7px); }
.vc-body-grid .vc-w-third { flex: 1 1 calc(33.333% - 9.34px); }
.vc-body-grid .vc-w-twothird { flex: 1 1 calc(66.666% - 4.67px); }
.vc-body-grid .vc-w-quarter { flex: 1 1 calc(25% - 10.5px); }
@media (max-width: 520px) {
  .vc-body-grid .vc-w-half, .vc-body-grid .vc-w-third,
  .vc-body-grid .vc-w-twothird, .vc-body-grid .vc-w-quarter { flex-basis: 100%; }
}
.vc-label { display: block; font-size: .9em; font-weight: 600; margin-bottom: 6px; }
.vc-req { color: var(--vc-accent); }
.vc-field input[type=text], .vc-field input[type=number], .vc-field textarea, .vc-field select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--vc-border); border-radius: var(--vc-radius);
  font-size: 1em; background: #fff; color: var(--vc-text); outline: none; transition: border-color .15s, box-shadow .15s;
}
.vc-field input:focus, .vc-field textarea:focus, .vc-field select:focus { border-color: var(--vc-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vc-accent) 15%, transparent); }

.vc-range-row { display: flex; align-items: center; gap: 10px; }
.vc-range-row input[type=range] { flex: 1; accent-color: var(--vc-accent); }
.vc-rangeout { font-weight: 600; min-width: 40px; text-align: right; }

.vc-radio-grp, .vc-check-grp { display: flex; flex-direction: column; gap: 6px; }
.vc-radio, .vc-check {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius); cursor: pointer; transition: border-color .12s, background .12s;
}
.vc-radio:hover, .vc-check:hover { border-color: var(--vc-accent); }
.vc-radio input, .vc-check input { accent-color: var(--vc-accent); }

.vc-divider { font-size: 1.1em; font-weight: 700; margin: 18px 0 14px; padding-top: 6px; }
.vc-divider-line {
  display: block; width: 100%; margin: 18px 0; border: 0; border-top: 1px solid var(--vc-border);
}
.vc-divider-line .vd-l1, .vc-divider-line .vd-l2 { display: block; border-top: 1px solid var(--vc-border); }
.vc-divider-line .vd-l2 { margin-top: 4px; }
.vc-htmlblock { color: var(--vc-muted); }
.vc-divider + .vc-htmlblock { }

.vc-file input[type=file] { font-size: .85em; }

.vc-result-wrap { padding: 0 20px 20px; }
.vc-button {
  width: 100%; padding: 13px; border: none; border-radius: var(--vc-radius); cursor: pointer;
  background: var(--vc-accent); color: #fff; font-size: 1.05em; font-weight: 600;
  transition: filter .15s, transform .1s;
}
.vc-button:hover { filter: brightness(1.06); }
.vc-button:active { transform: translateY(1px); }
.vc-result { margin-top: 14px; }
.vc-result-inner { border: 1px solid var(--vc-border); border-radius: var(--vc-radius); padding: 14px; background: color-mix(in srgb, var(--vc-bg) 96%, var(--vc-accent) 4%); }
.vc-sum-row { display: flex; justify-content: space-between; color: var(--vc-muted); font-size: .85em; padding: 3px 0; }
.vc-total {
  display: flex; justify-content: space-between; margin-top: 8px; padding-top: 10px;
  border-top: 2px solid var(--vc-accent); font-size: 1.25em; font-weight: 700; color: var(--vc-accent);
}
.vc-shadow { box-shadow: 0 8px 30px rgba(0,0,0,.08); }

/* result widget: РµРґРёРЅС‹Р№ Р±Р»РѕРє Р±РµР· РІРµСЂС…РЅРµР№ Р»РёРЅРёРё */
.vc-widget-result .vc-result-inner {
  border: 1px solid var(--vc-border);
  border-radius: var(--vc-radius);
  background: color-mix(in srgb, var(--vc-bg) 96%, var(--vc-accent) 4%);
}
.vc-widget-result .vc-total {
  border-top: none; margin-top: 0; padding-top: 0; color: var(--vc-text);
}
.vc-widget-result .vc-total span:last-child { color: var(--vc-accent); font-weight: 800; }

/* dark theme adjustments applied by .vc-dark */
.vc-dark.vc-shadow { box-shadow: 0 8px 30px rgba(0,0,0,.5); }

/* ---------- public page ---------- */
.public-page { max-width: 820px; margin: 0 auto; padding: 24px 16px 60px; width: 100%; }
.public-toolbar { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 16px; }
.public-card { background: var(--vc-bg, #fff); max-width: var(--vc-width, 480px); margin: 0 auto; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.08); overflow: hidden; }
.pub-notfound { text-align: center; padding: 60px 20px; color: var(--app-muted); }

/* modal / share */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 100;
  display: flex; align-items: center; justify-content: center; animation: fadein .15s;
}
.modal { background: #fff; border-radius: 14px; width: 520px; max-width: 92vw; box-shadow: 0 20px 60px rgba(0,0,0,.2); overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--app-border); }
.modal-body { padding: 16px; }
.share-row { display: flex; gap: 6px; }
.share-row input { flex: 1; padding: 8px 10px; border: 1px solid var(--app-border); border-radius: 8px; font-size: 13px; }
.modal-body textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--app-border); border-radius: 8px; font-family: monospace; font-size: 12px; resize: vertical; margin-bottom: 8px; }

/* dark body overrides */
body.vc-dark-body { background: #0f172a; color: #e2e8f0; }

/* scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }
::-webkit-scrollbar-track { background: transparent; }

@media (max-width: 980px) {
  .cols { flex-direction: column; }
  .palette-col { width: 100%; min-width: 0; border-right: none; border-bottom: 1px solid var(--app-border); }
  .preview-panel { border-top: 1px solid var(--app-border); }
}
/* ---------- auth ---------- */
.auth-wrap { display: flex; align-items: center; justify-content: center; min-height: 70vh; padding: 20px; }
.auth-card { background: var(--app-panel); border: 1px solid var(--app-border); border-radius: 16px; padding: 28px; width: 380px; max-width: 95vw; box-shadow: var(--shadow); }
.auth-brand { font-size: 20px; margin-bottom: 16px; }
.auth-card h2 { margin: 0 0 18px; font-size: 22px; }
.auth-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 8px; padding: 8px 10px; margin-bottom: 12px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; padding: 11px; }
.auth-switch { text-align: center; margin-top: 14px; color: var(--app-muted); font-size: 13px; }
.auth-switch a { color: var(--accent); text-decoration: none; font-weight: 500; }

/* ---------- dashboard ---------- */
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-top h1 { margin: 0; font-size: 26px; }
.whoami { color: var(--app-muted); font-size: 13px; }

/* =========================================================
   PREMIUM DARK THEME (graphite / cyan / lime)
   пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ
   ========================================================= */
:root {
  --app-bg: #080d14;
  --app-panel: #101923;
  --app-border: rgba(255,255,255,.09);
  --app-text: #f4f8fb;
  --app-muted: #667583;
  --accent: #46ead7;
  --accent-soft: rgba(70,234,215,.1);
  --danger: #ff6b6b;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0,0,0,.25);

  --bg: #080d14;
  --bg-2: #0c131d;
  --surface: #101923;
  --surface-2: #131e2a;
  --surface-3: #17232f;
  --border: rgba(255,255,255,.09);
  --border-light: rgba(255,255,255,.13);
  --border-bright: rgba(69,235,215,.28);
  --text: #f4f8fb;
  --text-soft: #9caebb;
  --text-muted: #667583;
  --cyan: #46ead7;
  --cyan-light: #75f2e3;
  --cyan-dark: #19bbaa;
  --violet: #9670ff;
  --lime: #c6f35b;
  --success: #4de0a9;
}

html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 15% 5%, rgba(70,234,215,.10), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(150,112,255,.12), transparent 30%),
    radial-gradient(circle at 60% 85%, rgba(198,243,91,.035), transparent 24%),
    var(--bg);
  color: var(--text);
}
body::before {
  content:""; position: fixed; inset: 0; pointer-events: none; opacity:.42; z-index:0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
body::after { content:""; position: fixed; width:600px; height:600px; top:18%; right:-350px; border-radius:50%; background: radial-gradient(circle, rgba(70,234,215,.10), transparent 68%); filter:blur(25px); pointer-events:none; z-index:0; }
#app { position: relative; z-index: 1; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
a { color: inherit; text-decoration: none; }
section { position: relative; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(8,13,20,.78);
  border-bottom: 1px solid rgba(255,255,255,.055);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
.brand-icon { width: 31px; height: 31px; display: flex; align-items: center; justify-content: center; border-radius: 9px; color: var(--cyan); background: rgba(70,234,215,.07); border: 1px solid rgba(70,234,215,.18); box-shadow: 0 0 22px rgba(70,234,215,.08); }
.brand-icon svg { width: 17px; height: 17px; }
.brand span { color: var(--text); }
.brand strong { color: var(--cyan); font-weight: 750; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--text-soft); font-size: 13px; font-weight: 550; transition: .2s ease; }
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.login-link { color: var(--text-soft); font-size: 13px; font-weight: 600; transition: .2s ease; cursor: pointer; background: none; border: none; font-family: inherit; }
.login-link:hover { color: var(--text); }
.btn-neon {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 19px; border: 0; border-radius: 10px; color: #06120f !important; cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  font-size: 13px; font-weight: 750; font-family: inherit;
  box-shadow: 0 0 24px rgba(70,234,215,.16); transition: .2s ease;
}
.btn-neon:hover { transform: translateY(-1px); box-shadow: 0 0 32px rgba(70,234,215,.27); }
.btn-neon svg { width: 15px; height: 15px; }
.btn-outline-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 43px; padding: 10px 18px; border: 1px solid var(--border-light); border-radius: 10px;
  color: var(--text-soft); background: rgba(255,255,255,.025); font-size: 13px; font-weight: 650;
  cursor: pointer; font-family: inherit; transition: .2s ease;
}
.btn-outline-dark:hover { color: var(--text); border-color: rgba(70,234,215,.25); background: rgba(70,234,215,.045); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 105px 0 95px; overflow: hidden; text-align: left; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(400px,520px); align-items: center; gap: 70px; }
.hero-content { max-width: 700px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--text-soft); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .09em; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px rgba(198,243,91,.65); }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(42px, 5.1vw, 70px); line-height: 1.02; letter-spacing: -.055em; font-weight: 780; }
.hero h1 span { color: var(--lime); text-shadow: 0 0 35px rgba(198,243,91,.14); }
.hero-text { max-width: 650px; margin: 26px 0 30px; color: var(--text-soft); font-size: 17px; line-height: 1.7; }
.hero-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 29px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px 25px; }
.hero-point { display: inline-flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 12px; }
.hero-point svg { width: 15px; height: 15px; color: var(--cyan); }

/* =========================================================
   DEMO CALCULATOR
   ========================================================= */
.calculator-wrap { position: relative; }
.calculator {
  position: relative; padding: 24px;
  border: 1px solid rgba(255,255,255,.10); border-radius: 22px;
  background: linear-gradient(145deg, rgba(19,30,42,.97), rgba(11,18,27,.97));
  box-shadow: 0 30px 80px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.035); overflow: hidden;
}
.calculator[data-topline]::before { content:""; position:absolute; left:0; top:0; width:100%; height:1px; background: linear-gradient(90deg, transparent, rgba(70,234,215,.7), rgba(150,112,255,.55), transparent); }
.calculator { box-shadow: 0 30px 80px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.035); }
.calculator-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.calculator-title { font-size: 15px; font-weight: 700; }
.calculator-online { display: flex; align-items: center; gap: 6px; color: var(--lime); font-size: 11px; font-weight: 650; }
.calculator-online::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--lime); box-shadow:0 0 10px rgba(198,243,91,.55); }
.form-label-custom { display: block; margin-bottom: 8px; color: var(--text-soft); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; }
.calculator-select { width: 100%; min-height: 45px; padding: 0 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; outline: none; color: var(--text); background: #111b25; font-size: 13px; cursor: pointer; }
.calculator-select:focus { border-color: rgba(70,234,215,.38); box-shadow: 0 0 0 3px rgba(70,234,215,.06); }
.calculator-select option { background: #101923; color: #fff; }
.calculator-field { margin-bottom: 19px; }
.range-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.range-value { min-width: 27px; color: var(--cyan); font-size: 13px; font-weight: 750; text-align: right; }
.calculator-range { width: 100%; height: 4px; margin: 8px 0; appearance: none; -webkit-appearance: none; border-radius: 999px; outline: none; background: rgba(255,255,255,.09); }
.calculator-range::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:16px; height:16px; border:3px solid var(--cyan); border-radius:50%; background:#0d151e; box-shadow:0 0 13px rgba(70,234,215,.35); cursor:pointer; }
.calculator-range::-moz-range-thumb { width:12px; height:12px; border:3px solid var(--cyan); border-radius:50%; background:#0d151e; box-shadow:0 0 13px rgba(70,234,215,.35); cursor:pointer; }
.options-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.option { position: relative; min-height: 72px; padding: 12px; border: 1px solid rgba(255,255,255,.075); border-radius: 12px; background: rgba(255,255,255,.018); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.option:hover { border-color: rgba(70,234,215,.22); background: rgba(70,234,215,.025); transform: translateY(-1px); }
.option-name { display: block; margin-bottom: 5px; color: var(--text); font-size: 12px; font-weight: 650; }
.option-price { color: var(--text-muted); font-size: 10px; }
.option.active { border-color: rgba(198,243,91,.42); background: rgba(198,243,91,.055); box-shadow: inset 0 0 20px rgba(198,243,91,.025); }
.option.active::after { content:"?"; position:absolute; top:7px; right:8px; width:16px; height:16px; display:flex; align-items:center; justify-content:center; border-radius:50%; background: var(--lime); color:#07120f; font-size:10px; font-weight:800; }
.calculator-total { position: relative; display: flex; align-items: flex-end; justify-content: space-between; margin-top: 21px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); }
.calculator-total::before { content:""; position:absolute; left:0; top:-1px; width:55px; height:1px; background: var(--lime); box-shadow:0 0 12px rgba(198,243,91,.25); }
.total-label { color: var(--text-muted); font-size: 11px; }
.total-price { color: var(--cyan); font-size: 25px; font-weight: 780; letter-spacing: -.03em; }
.calculator-note { margin-top: 12px; color: var(--text-muted); font-size: 10px; line-height: 1.5; }

/* =========================================================
   TRUST / SECTIONS / FEATURES / STEPS / PREVIEW / PRICING / FAQ / CTA / FOOTER
   ========================================================= */
.trust-section { padding: 0 0 95px; }
.trust-bar { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid rgba(255,255,255,.07); border-radius: 15px; background: rgba(255,255,255,.018); overflow: hidden; }
.trust-item { display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 16px 20px; border-right: 1px solid rgba(255,255,255,.055); }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 32px; height: 32px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 9px; color: var(--cyan); background: rgba(70,234,215,.06); border: 1px solid rgba(70,234,215,.11); }
.trust-icon svg { width: 16px; height: 16px; }
.trust-text { color: var(--text-soft); font-size: 11px; line-height: 1.45; }

.section { padding: 105px 0; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-label { display: inline-block; margin-bottom: 13px; color: var(--cyan); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.section-title { margin: 0; color: var(--text); font-size: clamp(31px, 4vw, 46px); line-height: 1.08; letter-spacing: -.045em; font-weight: 760; }
.section-text { margin: 17px 0 0; color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.feature-card { min-height: 225px; padding: 25px; border: 1px solid rgba(255,255,255,.075); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.026), rgba(255,255,255,.012)); transition: .25s ease; }
.feature-card:hover { transform: translateY(-3px); border-color: rgba(70,234,215,.18); box-shadow: var(--shadow); }
.feature-icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; margin-bottom: 23px; border-radius: 12px; color: var(--cyan); background: rgba(70,234,215,.055); border: 1px solid rgba(70,234,215,.11); }
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { margin: 0 0 9px; font-size: 16px; font-weight: 700; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.65; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.step { position: relative; padding: 28px; border: 1px solid rgba(255,255,255,.075); border-radius: var(--radius); background: rgba(255,255,255,.018); }
.step-number { margin-bottom: 32px; color: rgba(70,234,215,.48); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.step h3 { margin: 0 0 9px; font-size: 18px; font-weight: 700; }
.step p { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.65; }

.preview-section { overflow: hidden; }
.preview-window { position: relative; border: 1px solid rgba(255,255,255,.09); border-radius: 20px; background: #0d151e; box-shadow: 0 35px 80px rgba(0,0,0,.30); overflow: hidden; }
.preview-top { height: 43px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.06); background: #101923; }
.preview-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); }
.preview-address { margin-left: 10px; color: var(--text-muted); font-size: 10px; }
.preview-content { display: grid; grid-template-columns: 1fr 280px; gap: 45px; padding: 52px; }
.preview-left { padding-top: 14px; }
.preview-label { display: inline-block; margin-bottom: 15px; color: var(--cyan); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.preview-left h3 { max-width: 520px; margin: 0 0 17px; font-size: 35px; line-height: 1.08; letter-spacing: -.045em; }
.preview-left p { max-width: 530px; margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.preview-card { padding: 19px; border: 1px solid rgba(70,234,215,.15); border-radius: 15px; background: #111b25; box-shadow: 0 20px 45px rgba(0,0,0,.25); }
.preview-card-title { margin-bottom: 17px; font-size: 13px; font-weight: 700; }
.preview-line { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--text-muted); font-size: 10px; }
.preview-line strong { color: var(--text-soft); }
.preview-progress { width: 100%; height: 4px; margin: 16px 0 20px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.preview-progress span { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.preview-result { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); }
.preview-result small { color: var(--text-muted); font-size: 9px; }
.preview-result strong { color: var(--cyan); font-size: 22px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.price-card { position: relative; padding: 28px; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); background: rgba(255,255,255,.018); }
.price-card.featured { border-color: rgba(70,234,215,.30); background: linear-gradient(145deg, rgba(70,234,215,.065), rgba(255,255,255,.018)); box-shadow: 0 25px 70px rgba(70,234,215,.055); }
.price-badge { position: absolute; top: 17px; right: 17px; padding: 5px 8px; border-radius: 6px; color: #07120f; background: var(--cyan); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.price-name { margin-bottom: 18px; color: var(--text-soft); font-size: 13px; font-weight: 700; }
.price { margin-bottom: 7px; font-size: 37px; line-height: 1; letter-spacing: -.045em; font-weight: 780; }
.price small { color: var(--text-muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.price-description { min-height: 43px; margin-bottom: 25px; color: var(--text-muted); font-size: 11px; line-height: 1.55; }
.price-list { display: grid; gap: 12px; margin: 0 0 27px; padding: 0; list-style: none; }
.price-list li { display: flex; align-items: flex-start; gap: 8px; color: var(--text-soft); font-size: 11px; }
.price-list svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--cyan); }
.price-button { width: 100%; min-height: 43px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.10); border-radius: 9px; color: var(--text-soft); background: rgba(255,255,255,.025); font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; transition: .2s ease; }
.price-button:hover { color: var(--text); border-color: rgba(70,234,215,.25); }
.price-card.featured .price-button { border-color: transparent; color: #06120f; background: linear-gradient(135deg, var(--cyan), var(--cyan-light)); }

.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { margin-bottom: 9px; border: 1px solid rgba(255,255,255,.075); border-radius: 13px; background: rgba(255,255,255,.018); overflow: hidden; }
.faq-q { width: 100%; padding: 20px; color: var(--text); background: transparent; border: 0; font-size: 13px; font-weight: 650; cursor: pointer; font-family: inherit; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-arrow { color: var(--cyan); font-size: 18px; font-weight: 400; transition: transform .2s; flex: 0 0 auto; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 20px; color: var(--text-muted); font-size: 12px; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

.cta-section { padding: 100px 0 110px; }
.cta-box { position: relative; padding: 62px 45px; text-align: center; border: 1px solid rgba(70,234,215,.17); border-radius: 24px; background: linear-gradient(135deg, rgba(70,234,215,.055), rgba(150,112,255,.045)); overflow: hidden; }
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 { margin: 0 0 15px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.045em; }
.cta-box p { max-width: 600px; margin: 0 auto 27px; color: var(--text-soft); font-size: 14px; line-height: 1.65; }

.site-footer { padding: 55px 0 30px; border-top: 1px solid rgba(255,255,255,.06); background: rgba(5,9,14,.45); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 45px; }
.footer-brand { max-width: 300px; }
.footer-brand .brand { margin-bottom: 13px; }
.footer-description { color: var(--text-muted); font-size: 11px; line-height: 1.65; }
.footer-links { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-column h4 { margin: 0 0 13px; color: var(--text-soft); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.footer-column a { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 11px; transition: .2s ease; }
.footer-column a:hover { color: var(--cyan); }
.footer-link-static { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 11px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.055); color: var(--text-muted); font-size: 10px; }

/* =========================================================
   DASHBOARD (пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ)
   ========================================================= */
.dash-main { padding: 70px 0 100px; }
.dash-title-group { margin-bottom: 8px; }
.dash-title-group h1 { margin: 0; font-size: 34px; letter-spacing: -.04em; font-weight: 780; }
.dash-h1 { margin: 0; font-size: 34px; letter-spacing: -.04em; font-weight: 780; }
.dash-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.dash-user { justify-content: flex-end; }
.whoami { color: var(--text-soft); font-size: 13px; }
.dash-logout { min-height: 36px; padding: 6px 14px; }
.dash-loading { color: var(--text-muted); font-size: 13px; padding: 60px 0; text-align: center; }
.dash-empty { text-align: center; padding: 80px 20px; border: 1px dashed rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.012); }
.dash-empty-icon { font-size: 44px; color: var(--cyan); opacity: .7; margin-bottom: 18px; }
.dash-empty h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.dash-empty p { margin: 0 0 22px; color: var(--text-muted); font-size: 13px; }

/* calc cards */
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.calc-card {
  background: rgba(255,255,255,.022);
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 16px; padding: 20px; cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.calc-card:hover { transform: translateY(-3px); border-color: rgba(70,234,215,.18); box-shadow: var(--shadow); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.status { font-size: 10px; padding: 3px 9px; border-radius: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.st-draft { background: rgba(255,255,255,.06); color: var(--text-soft); }
.st-published { background: rgba(196,243,89,.12); color: var(--lime); }
.st-archived { background: rgba(255,255,255,.05); color: var(--text-muted); }
.card-name { font-size: 16px; font-weight: 650; margin-bottom: 4px; }
.card-meta { color: var(--text-muted); font-size: 12px; margin-bottom: 16px; }
.card-actions { display: flex; gap: 8px; }
.card-btn { min-height: 36px; padding: 6px 12px; font-size: 12px; }
.card-btn.danger { color: var(--danger); }
.card-btn.danger:hover { border-color: rgba(255,107,107,.4); color: var(--danger); }
.card-date { color: var(--text-muted); font-size: 10px; }

/* =========================================================
   AUTH (пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ)
   ========================================================= */
.auth-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 40px 20px; }
.auth-card {
  width: 420px; max-width: 95vw; padding: 36px 34px;
  border: 1px solid rgba(255,255,255,.10); border-radius: 20px;
  background: linear-gradient(145deg, rgba(19,30,42,.97), rgba(11,18,27,.97));
  box-shadow: 0 30px 80px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.035);
}
.auth-brand { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 750; margin: 0 0 24px; }
.auth-brand strong { color: var(--cyan); font-weight: 750; }
.auth-card h2 { margin: 0 0 22px; font-size: 23px; letter-spacing: -.03em; font-weight: 760; }
.auth-card .fs-row label { display: block; margin-bottom: 8px; color: var(--text-soft); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; }
.auth-card .fs-row input {
  width: 100%; padding: 12px 13px; margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,.09); border-radius: 10px;
  background: #111b25; color: var(--text); font-size: 13px; outline: none;
}
.auth-card .fs-row input:focus {
  border-color: rgba(70,234,215,.38); box-shadow: 0 0 0 3px rgba(70,234,215,.06);
}
.auth-err { background: rgba(255,107,107,.1); color: #ff9c9c; border: 1px solid rgba(255,107,107,.25); border-radius: 8px; padding: 8px 10px; margin: 0 0 12px; font-size: 13px; }
.auth-submit { width: 100%; margin-top: 6px; }
.auth-switch { text-align: center; margin-top: 16px; color: var(--text-muted); font-size: 13px; }
.auth-switch a { color: var(--cyan); font-weight: 500; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(350px,450px); gap: 45px; }
}
@media (max-width: 900px) {
  .hero { padding-top: 65px; }
  .hero-grid { grid-template-columns: 1fr; }
  .calculator-wrap { max-width: 570px; }
  .trust-bar { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-item:nth-child(2) { border-right: 0; }
  .features-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .preview-content { grid-template-columns: 1fr; }
  .preview-card { max-width: 400px; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 650px) {
  .header-inner { min-height: 62px; }
  .header-actions .login-link { display: none; }
  .brand { font-size: 14px; }
  .brand-icon { width: 28px; height: 28px; }
  .hero { padding: 50px 0 60px; }
  .hero h1 { font-size: 42px; }
  .options-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.055); }
  .trust-item:last-child { border-bottom: 0; }
  .features-grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .footer-links { gap: 30px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .dash-main { padding: 40px 0 70px; }
  .dash-top { flex-direction: column; align-items: stretch; }
}
@media (max-width: 420px) {
  .container { padding-left: 17px; padding-right: 17px; }
  .hero h1 { font-size: 36px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn-neon, .hero-buttons .btn-outline-dark { width: 100%; }
}

/* =========================================================
   пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ (пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ)
   ========================================================= */
.hero { overflow: hidden; }
.hero::before {
  content:""; position:absolute; width:720px; height:720px; left:-390px; top:-300px; border-radius:50%;
  background: radial-gradient(circle, rgba(70,234,215,.11), transparent 68%); filter:blur(20px); pointer-events:none;
}
.hero::after {
  content:""; position:absolute; width:560px; height:560px; right:-270px; top:70px; border-radius:50%;
  background: radial-gradient(circle, rgba(150,112,255,.12), transparent 68%); filter:blur(20px); pointer-events:none;
}
.calculator-wrap::before {
  content:""; position:absolute; width:280px; height:280px; top:-90px; right:-80px; border-radius:50%;
  background: radial-gradient(circle, rgba(70,234,215,.16), transparent 68%); filter:blur(20px); pointer-events:none;
}
.calculator::before {
  content:""; position:absolute; left:0; top:0; width:100%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(70,234,215,.7), rgba(150,112,255,.55), transparent);
}
.preview-section { overflow: hidden; }
.preview-section::before {
  content:""; position:absolute; width:650px; height:650px; left:50%; top:20%; transform:translateX(-50%); border-radius:50%;
  background: radial-gradient(circle, rgba(70,234,215,.065), transparent 67%); filter:blur(25px);
}
.cta-box::before {
  content:""; position:absolute; width:500px; height:500px; left:50%; top:50%; transform:translate(-50%,-50%); border-radius:50%;
  background: radial-gradient(circle, rgba(70,234,215,.08), transparent 67%); filter:blur(20px);
}

/* =========================================================
   BRIGHT DASHBOARD + CONSTRUCTOR THEME
   (С€Р°Р±Р»РѕРЅ В«РљР°Р»СЊРєСѓР»СЏС‚РѕСЂ.Р’РµР±РљСЂРѕСЃСЃ вЂ” РљРѕРЅСЃС‚СЂСѓРєС‚РѕСЂВ», СЃРІРµС‚Р»С‹Р№)
   РџРµСЂРµРѕРїСЂРµРґРµР»СЏРµС‚ С‚С‘РјРЅСѓСЋ С‚РµРјСѓ РґР»СЏ Р›Рљ Рё РєРѕРЅСЃС‚СЂСѓРєС‚РѕСЂР°.
   Р›РµРЅРґРёРЅРі (landing.html) РЅРµ Р·Р°С‚СЂР°РіРёРІР°РµС‚СЃСЏ.
   ========================================================= */

/* РЎРІРµС‚Р»Р°СЏ РїР°Р»РёС‚СЂР° (С‚РѕР»СЊРєРѕ РґР»СЏ Р›Рљ/РєРѕРЅСЃС‚СЂСѓРєС‚РѕСЂР°, С‡РµСЂРµР· body.lk-body) */
body.lk-body {
  --bg: #f3f6f9;
  --bg-soft: #f8fafc;
  --white: #ffffff;
  --border: #e1e7ed;
  --border-light: #edf1f4;
  --text: #17232d;
  --text-soft: #5e6d79;
  --text-muted: #8b98a3;
  --cyan: #10bfae;
  --cyan-dark: #079b8d;
  --cyan-soft: #e8faf7;
  --lime: #b7df4b;
  --lime-soft: #f3f9df;
  --violet: #7865d8;
  --violet-soft: #f1effc;
  --danger: #df5966;
  --danger-soft: #fff0f2;
  --shadow: 0 5px 22px rgba(28,46,62,.055);
  --shadow-hover: 0 10px 28px rgba(28,46,62,.09);
  --radius: 14px;
  --radius-small: 9px;
}

body.lk-body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --app-panel: #ffffff;
  --app-border: #e1e7ed;
  --app-text: #17232d;
  --app-muted: #8b98a3;
  --accent: #10bfae;
}
body.lk-body #app { position: static; }

/* ---------- Р›РР§РќР«Р™ РљРђР‘РРќР•Рў (СЃРїРёСЃРѕРє) ---------- */
body.lk-body .home-wrap,
body.lk-body .dash-main {
  background: var(--bg);
}
body.lk-body .dash-main {
  padding: 40px 0 80px;
}
body.lk-body .dash-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
body.lk-body .section-label {
  color: var(--cyan-dark);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
  display: block;
}
body.lk-body .dash-h1 {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.02em;
}
body.lk-body .btn-neon,
body.lk-body .btn-publish {
  background: var(--cyan);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(16,191,174,.18);
}

/* calc cards (list) */
body.lk-body .calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
body.lk-body .calc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: .18s ease;
  cursor: pointer;
}
body.lk-body .calc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd6de;
}
body.lk-body .card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
body.lk-body .status {
  font-size: 10px; padding: 3px 9px; border-radius: 20px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
}
body.lk-body .st-draft { background: #eef1f4; color: var(--text-soft); }
body.lk-body .st-published { background: var(--cyan-soft); color: var(--cyan-dark); }
body.lk-body .st-archived { background: #eef1f4; color: var(--text-muted); }
body.lk-body .card-name { font-size: 16px; font-weight: 650; color: var(--text); margin-bottom: 4px; }
body.lk-body .card-meta { color: var(--text-muted); font-size: 12px; margin-bottom: 16px; }
body.lk-body .card-actions { display: flex; gap: 8px; }
body.lk-body .card-date { margin-left: auto; color: var(--text-muted); font-size: 11px; }
body.lk-body .card-btn {
  min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 9px;
  background: #fff; color: var(--text-soft); font-size: 12px; font-weight: 600; cursor: pointer;
}
body.lk-body .card-btn:hover { background: var(--bg-soft); color: var(--text); border-color: #d3dce3; }
body.lk-body .card-btn.danger { color: var(--danger); }
body.lk-body .card-btn.danger:hover { color: var(--danger); border-color: #f0c7cc; background: var(--danger-soft); }

body.lk-body .dash-empty {
  text-align: center; padding: 70px 20px; border: 1px dashed var(--border);
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
}
body.lk-body .dash-empty h3 { color: var(--text); margin: 0 0 8px; font-size: 18px; }
body.lk-body .dash-empty p { color: var(--text-muted); font-size: 13px; margin: 0 0 20px; }
body.lk-body .dash-loading { color: var(--text-muted); text-align: center; padding: 60px 0; }

/* ---------- пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ (пїЅпїЅпїЅпїЅпїЅпїЅпїЅ) ---------- */
body.lk-body body { background: var(--bg); }
body.lk-body .builder-bar {
  height: 64px;
  display: flex; align-items: center; gap: 12px;
  padding: 0 22px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
body.lk-body .builder-bar .brand-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--cyan-soft); color: var(--cyan-dark);
}
body.lk-body .builder-bar .brand-icon svg { width: 19px; height: 19px; }
body.lk-body .calc-name-input {
  width: 220px; height: 38px; padding: 0 12px;
  border: 1px solid transparent; border-radius: 9px;
  background: transparent; color: var(--text);
  font-size: 14px; font-weight: 600; outline: none;
}
body.lk-body .calc-name-input:hover { background: var(--bg-soft); }
body.lk-body .calc-name-input:focus { background: #fff; border-color: #b9e9e3; box-shadow: 0 0 0 3px rgba(16,191,174,.08); }
body.lk-body .slug-hint { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
body.lk-body .builder-bar .btn {
  height: 36px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px; border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer;
}
body.lk-body .builder-bar .btn-ghost { background: #fff; border: 1px solid var(--border); color: var(--text-soft); }
body.lk-body .builder-bar .btn-ghost:hover { background: var(--bg-soft); border-color: #d3dce3; color: var(--text); }
body.lk-body #b-back {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--text-soft); cursor: pointer;
}
body.lk-body #b-back:hover { border-color: #cfd8df; background: var(--bg-soft); color: var(--text); }

/* tabs */
body.lk-body .builder-tabs {
  height: 54px; display: flex; align-items: center;
  padding: 0 24px; background: #fff; border-bottom: 1px solid var(--border); gap: 4px;
}
body.lk-body .tab {
  height: 54px; padding: 0 18px; position: relative;
  background: transparent; color: var(--text-muted);
  font-size: 13px; font-weight: 600; cursor: pointer; border: 0;
}
body.lk-body .tab::after {
  content:""; position:absolute; left:14px; right:14px; bottom:0; height:2px;
  background: transparent; border-radius: 2px 2px 0 0;
}
body.lk-body .tab:hover { color: var(--text); }
body.lk-body .tab.active { color: var(--cyan-dark); }
body.lk-body .tab.active::after { background: var(--cyan); }
body.lk-body .device-switch {
  display:flex; align-items:center; gap:3px; padding:3px;
  border:1px solid var(--border); border-radius:8px; background: var(--bg-soft);
}
body.lk-body .dbtn {
  width:32px; height:28px; display:flex; align-items:center; justify-content:center;
  border-radius:6px; background:transparent; color:var(--text-muted); cursor:pointer; border:0;
}
body.lk-body .dbtn.active { background:#fff; color:var(--cyan-dark); box-shadow:0 1px 4px rgba(20,40,50,.08); }

/* workspace + palette */
body.lk-body .builder-wrap {
  width:100%; max-width:1680px; margin:0 auto; padding:20px;
  background: var(--bg);
}
body.lk-body .palette-col {
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow); overflow:hidden;
}
body.lk-body .pane-title {
  min-height:52px; display:flex; align-items:center; justify-content:space-between;
  padding:0 14px; border-bottom:1px solid var(--border-light);
  font-size:13px; font-weight:700; color:var(--text);
}
body.lk-body .palette { padding:10px; }
body.lk-body .palette-item {
  min-height:52px; display:flex; align-items:center; gap:11px;
  padding:9px 10px; margin-bottom:5px;
  border:1px solid transparent; border-radius:10px; background:#fff;
  color:var(--text-soft); cursor:grab;
}
body.lk-body .palette-item:hover { border-color:var(--border); background:var(--bg-soft); color:var(--text); }
body.lk-body .palette-item .pi-icon {
  width:32px; height:32px; flex:0 0 32px;
  display:flex; align-items:center; justify-content:center;
  border-radius:8px; background:var(--cyan-soft); color:var(--cyan-dark);
}
body.lk-body .palette-item .pi-icon { font-size:14px; }

/* canvas */
body.lk-body .canvas-panel, body.lk-body .canvas-col {
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow); overflow:hidden;
}
body.lk-body .canvas {
  min-height:420px; padding:26px;
  background-color:#f7f9fb;
  background-image: radial-gradient(rgba(120,135,146,.18) 1px, transparent 1px);
  background-size:18px 18px;
}
body.lk-body .canvas-field {
  background:#fff; border:1px solid var(--border); border-radius:11px;
  box-shadow:0 3px 10px rgba(25,45,60,.035);
}
body.lk-body .canvas-field:hover { border-color:#cbd6de; box-shadow:var(--shadow-hover); }
body.lk-body .canvas-field.sel { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(16,191,174,.12); }
body.lk-body .mini {
  width:25px; height:25px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border); border-radius:6px; background:#fff;
  color:var(--text-muted); font-size:11px; cursor:pointer;
}
body.lk-body .mini:hover { background:var(--bg-soft); color:var(--text); }
body.lk-body .mini.danger:hover { color:var(--danger); border-color:#f0c7cc; background:var(--danger-soft); }

/* preview */
body.lk-body .preview-panel {
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow); overflow:hidden; margin-top:18px;
}
body.lk-body .preview-body { background:#f5f7f9; padding:28px; }
body.lk-body .preview-frame {
  width:100%; max-width:var(--vc-width, 1100px); min-height:380px; padding:32px;
  border:1px solid #dde5eb; border-radius:14px; background:#fff;
  box-shadow:0 12px 35px rgba(30,50,65,.07);
}
body.lk-body .preview-frame.mobile { max-width: var(--vc-width, 360px); }

/* field settings panel */
body.lk-body .field-settings {
  background:#fff; border:1px solid var(--border); border-radius:12px; box-shadow:var(--shadow);
  padding:16px;
}
body.lk-body .field-settings label { color: var(--text-muted); font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.05em; }
body.lk-body .field-settings input:not([type=checkbox]):not([type=color]),
body.lk-body .field-settings select,
body.lk-body .field-settings textarea {
  background:#fbfcfd; border:1px solid #dfe6eb; color:var(--text-soft);
  border-radius:8px; font-size:12px;
}
body.lk-body .status.st-published { background: var(--cyan-soft); color: var(--cyan-dark); }

/* misc */
body.lk-body .whoami { color: var(--text-soft); font-size: 13px; }
body.lk-body .dash-logout { color: var(--text-soft); }
body.lk-body .btn-save { background: var(--cyan-soft); color: var(--cyan-dark); }
body.lk-body .btn-save:hover { background: #d9f6f2; }

/* пїЅпїЅпїЅпїЅпїЅпїЅпїЅ: пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ (override пїЅпїЅпїЅпїЅпїЅ .site-header пїЅпїЅпїЅ lk-body) */
body.lk-body .site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
body.lk-body .site-header .header-inner {
  min-height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
body.lk-body .site-header .brand { color: var(--text); font-size: 15px; font-weight: 700; letter-spacing: -.2px; gap: 10px; }
body.lk-body .site-header .brand strong { color: var(--cyan-dark); }
body.lk-body .site-header .brand-icon {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--cyan-soft); color: var(--cyan-dark);
}
body.lk-body .site-header .brand-icon svg { width: 19px; height: 19px; }
body.lk-body .site-header .whoami { color: var(--text-soft); font-size: 13px; font-weight: 600; }
body.lk-body .site-header .dash-logout {
  background: #fff; border: 1px solid var(--border); color: var(--text-soft);
  min-height: 36px; padding: 6px 14px; border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer;
}
body.lk-body .site-header .dash-logout:hover { background: var(--bg-soft); color: var(--text); }

/* ---------- пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ ---------- */
body.lk-body .width-modal { width: 460px; max-width: 94vw; }
body.lk-body .modal-mask {
  position: fixed; inset: 0; background: rgba(23,35,45,.5); z-index: 300;
  display: flex; align-items: center; justify-content: center; animation: fadein .15s;
}
body.lk-body .modal {
  background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(20,40,55,.25); overflow: hidden;
}
body.lk-body .modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
body.lk-body .modal-body { padding: 16px; }
body.lk-body .wm-sub { margin: 0 0 14px; color: var(--text-muted); font-size: 12px; }
body.lk-body .wm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
body.lk-body .wm-opt {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 10px;
  background: #fff; color: var(--text); cursor: pointer; text-align: left;
  transition: .15s ease; font-family: inherit;
}
body.lk-body .wm-opt:hover { border-color: #b9e6df; background: var(--cyan-soft); }
body.lk-body .wm-opt.sel { border-color: var(--cyan); background: var(--cyan-soft); box-shadow: 0 0 0 3px rgba(16,191,174,.1); }
body.lk-body .wm-frac {
  min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 9px; background: var(--cyan-soft); color: var(--cyan-dark);
  font-size: 13px; font-weight: 700;
}
body.lk-body .wm-opt.sel .wm-frac { background: var(--cyan); color: #fff; }
body.lk-body .wm-name { font-size: 13px; font-weight: 600; }

/* ---------- пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ ---------- */
#preview-frame, #public-card { position: relative; }
#preview-frame .vc-bgimg, #public-card .vc-bgimg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
#preview-frame .vc-header, #preview-frame .vc-body, #preview-frame .vc-result-wrap,
#preview-frame .vc-widget,
#public-card .vc-header, #public-card .vc-body, #public-card .vc-result-wrap,
#public-card .vc-widget { position: relative; z-index: 1; }

/* пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ/пїЅпїЅпїЅпїЅ пїЅ пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ */
.vc-widget { display: flex; }
.vc-widget-button .vc-button { width: 100%; }
.vc-result-widget.vc-w-full, .vc-result-widget.vc-w-half,
.vc-result-widget.vc-w-third, .vc-result-widget.vc-w-twothird, .vc-result-widget.vc-w-quarter { margin-top: 0; }
.vc-widget-result .vc-result-inner { margin: 0; }

/* 9-пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅ */
.pos9 { display: grid; grid-template-columns: repeat(3, 40px); gap: 5px; }
.pos9b {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 8px; background: #fff;
  color: var(--text-soft); font-size: 15px; cursor: pointer;
}
.pos9b:hover { border-color: var(--cyan); color: var(--cyan-dark); }
.pos9b.sel { border-color: var(--cyan); background: var(--cyan-soft); color: var(--cyan-dark); }
.bgimg-preview { width: 100%; height: 90px; border: 1px solid var(--border); border-radius: 8px; background-position:center; background-size:contain; background-repeat:no-repeat; background-color:#fbfcfd; }

/* =========================================================
   пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅ пїЅпїЅпїЅпїЅпїЅпїЅ ВЁпїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ (пїЅпїЅпїЅпїЅпїЅпїЅпїЅ)
   ========================================================= */
body.lk-body .builder-bar {
  height: var(--header-height, 64px);
  display: flex; align-items: center; gap: 12px;
  padding: 0 22px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
body.lk-body .builder-bar .brand { display:flex; align-items:center; gap:10px; margin-right:8px; color:var(--text); text-decoration:none; white-space:nowrap; }
body.lk-body .builder-bar .brand-icon { width:34px; height:34px; display:flex; align-items:center; justify-content:center; border-radius:10px; background:var(--cyan-soft); color:var(--cyan-dark); }
body.lk-body .builder-bar .brand-icon svg { width:19px; height:19px; }
body.lk-body .builder-bar .brand-name { font-size:15px; font-weight:700; letter-spacing:-.2px; }
body.lk-body .back-btn { width:36px; height:36px; display:flex; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:9px; background:#fff; color:var(--text-soft); cursor:pointer; transition:.18s ease; }
body.lk-body .back-btn:hover { border-color:#cfd8df; background:var(--bg-soft); color:var(--text); }
body.lk-body .back-btn svg { width:18px; height:18px; }
body.lk-body .calc-name-input { width:220px; height:38px; padding:0 12px; border:1px solid transparent; border-radius:9px; background:transparent; color:var(--text); font-size:14px; font-weight:600; outline:none; transition:.18s ease; }
body.lk-body .calc-name-input:hover { background:var(--bg-soft); }
body.lk-body .calc-name-input:focus { background:#fff; border-color:#b9e9e3; box-shadow:0 0 0 3px rgba(16,191,174,.08); }
body.lk-body .slug-hint { font-size:12px; color:var(--text-muted); white-space:nowrap; }
body.lk-body .slug-hint span { color:var(--text-soft); }
body.lk-body .header-actions { display:flex; align-items:center; gap:8px; }
body.lk-body .builder-bar .btn { height:36px; display:inline-flex; align-items:center; justify-content:center; padding:0 14px; border-radius:9px; font-size:13px; font-weight:600; cursor:pointer; transition:.18s ease; }
body.lk-body .builder-bar .btn-ghost { background:#fff; border:1px solid var(--border); color:var(--text-soft); }
body.lk-body .builder-bar .btn-ghost:hover { background:var(--bg-soft); border-color:#d3dce3; color:var(--text); }
body.lk-body .btn-save { background:var(--cyan-soft); color:var(--cyan-dark); }
body.lk-body .btn-save:hover { background:#d9f6f2; }
body.lk-body .btn-publish { background:var(--cyan); color:#fff; box-shadow:0 4px 12px rgba(16,191,174,.18); }
body.lk-body .btn-publish:hover { background:var(--cyan-dark); transform:translateY(-1px); }
body.lk-body .user-box { display:flex; align-items:center; gap:9px; margin-left:8px; padding-left:14px; border-left:1px solid var(--border); }
body.lk-body .user-avatar { width:34px; height:34px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#e8edf2; color:#54636f; font-size:12px; font-weight:700; }
body.lk-body .user-info { line-height:1.15; }
body.lk-body .user-name { font-size:12px; font-weight:700; color:var(--text); }
body.lk-body .user-role { margin-top:3px; font-size:10px; color:var(--text-muted); }

/* tabs */
body.lk-body .builder-tabs { height:54px; display:flex; align-items:center; padding:0 24px; background:#fff; border-bottom:1px solid var(--border); gap:4px; }
body.lk-body .builder-tabs .tab { height:54px; padding:0 18px; position:relative; background:transparent; color:var(--text-muted); font-size:13px; font-weight:600; cursor:pointer; border:0; }
body.lk-body .builder-tabs .tab::after { content:""; position:absolute; left:14px; right:14px; bottom:0; height:2px; background:transparent; border-radius:2px 2px 0 0; }
body.lk-body .builder-tabs .tab:hover { color:var(--text); }
body.lk-body .builder-tabs .tab.active { color:var(--cyan-dark); }
body.lk-body .builder-tabs .tab.active::after { background:var(--cyan); }
body.lk-body .device-switch { display:flex; align-items:center; gap:3px; padding:3px; border:1px solid var(--border); border-radius:8px; background:var(--bg-soft); }
body.lk-body .device-switch .dbtn { width:32px; height:28px; display:flex; align-items:center; justify-content:center; border-radius:6px; background:transparent; color:var(--text-muted); cursor:pointer; border:0; }
body.lk-body .device-switch .dbtn svg { width:16px; height:16px; }
body.lk-body .device-switch .dbtn.active { background:#fff; color:var(--cyan-dark); box-shadow:0 1px 4px rgba(20,40,50,.08); }

/* workspace */
body.lk-body .builder-wrap { width:100%; max-width:1680px; margin:0 auto; padding:20px; }
body.lk-body .workspace { display:grid; grid-template-columns:245px minmax(0,1fr); gap:18px; align-items:start; }
body.lk-body .workspace > .cols { grid-column: 1 / -1; }

/* palette */
body.lk-body .palette-col { position:static; background:#fff; border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
body.lk-body .workspace { align-items:start; }
body.lk-body .workspace > * { min-width:0; }
body.lk-body .pane-title { min-height:52px; display:flex; align-items:center; justify-content:space-between; padding:0 14px; border-bottom:1px solid var(--border-light); font-size:13px; font-weight:700; color:var(--text); }
body.lk-body .pane-title-action { width:29px; height:29px; display:flex; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:7px; background:#fff; color:var(--cyan-dark); cursor:pointer; font-size:16px; }
body.lk-body .pane-title-action:hover { background:var(--cyan-soft); border-color:#c4eee8; }
body.lk-body .palette { padding:10px; }
body.lk-body .palette-item { min-height:52px; display:flex; align-items:center; gap:11px; padding:9px 10px; margin-bottom:5px; border:1px solid transparent; border-radius:10px; background:#fff; color:var(--text-soft); cursor:grab; transition:.18s ease; }
body.lk-body .palette-item:hover { border-color:var(--border); background:var(--bg-soft); color:var(--text); transform:translateX(2px); }
body.lk-body .palette-icon { width:32px; height:32px; flex:0 0 32px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:var(--cyan-soft); color:var(--cyan-dark); }
body.lk-body .palette-icon svg { width:17px; height:17px; }
body.lk-body .palette-label { flex:1; font-size:12px; font-weight:600; }
body.lk-body .drag-dots { color:#bdc6cd; font-size:14px; letter-spacing:1px; }

/* editor / canvas */
body.lk-body .editor-area { min-width:0; }
body.lk-body .canvas-panel, body.lk-body .canvas-col { background:#fff; border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
body.lk-body .canvas-header { min-height:52px; display:flex; align-items:center; padding:0 16px; border-bottom:1px solid var(--border-light); }
body.lk-body .canvas-title { font-size:13px; font-weight:700; color:var(--text); }
body.lk-body .canvas-subtitle { margin-left:10px; font-size:11px; color:var(--text-muted); }
body.lk-body .canvas-status { margin-left:auto; display:flex; align-items:center; gap:6px; font-size:11px; color:#73921f; }
body.lk-body .status-dot { width:7px; height:7px; border-radius:50%; background:var(--lime); box-shadow:0 0 8px rgba(183,223,75,.4); }
body.lk-body .canvas { min-height:200px; padding:26px; background-color:#f7f9fb; background-image:radial-gradient(rgba(120,135,146,.18) 1px, transparent 1px); background-size:18px 18px; }
body.lk-body .canvas-inner { width:100%; max-width:1400px; margin:0 auto; padding:26px; border:1px solid #e5eaee; border-radius:14px; background:rgba(255,255,255,.86); box-shadow:0 10px 30px rgba(35,55,70,.04); }
body.lk-body .canvas-heading { margin-bottom:5px; font-size:19px; font-weight:700; color:var(--text); }
body.lk-body .canvas-description { margin-bottom:24px; font-size:12px; color:var(--text-muted); }
body.lk-body .canvas-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; }
body.lk-body .canvas-field { position:relative; padding:14px; min-height:98px; border:1px solid var(--border); border-radius:11px; background:#fff; box-shadow:0 3px 10px rgba(25,45,60,.035); transition:.18s ease; }
body.lk-body .canvas-field:hover { border-color:#cbd6de; box-shadow:var(--shadow-hover); }
body.lk-body .canvas-field.sel { border-color:var(--cyan); box-shadow:0 0 0 3px rgba(16,191,174,.12); }
body.lk-body .canvas-field.cf-wwidth { grid-column:1 / -1; }
body.lk-body .canvas-field.cf-half { grid-column:span 2; }
body.lk-body .canvas-field.cf-third { grid-column:span 1; }
body.lk-body .canvas-field.cf-twothird { grid-column:span 2; }
body.lk-body .canvas-field.cf-quarter { grid-column:span 1; }
body.lk-body .field-top { display:flex; align-items:center; margin-bottom:9px; }
body.lk-body .field-type { padding:3px 7px; border-radius:5px; background:var(--cyan-soft); color:var(--cyan-dark); font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.3px; }
body.lk-body .field-controls { display:flex; align-items:center; gap:3px; margin-left:auto; }
body.lk-body .mini { width:25px; height:25px; display:flex; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:6px; background:#fff; color:var(--text-muted); font-size:11px; cursor:pointer; }
body.lk-body .mini:hover { background:var(--bg-soft); color:var(--text); }
body.lk-body .mini.delete:hover { color:var(--danger); border-color:#f0c7cc; background:var(--danger-soft); }
body.lk-body .field-label { display:block; margin-bottom:7px; font-size:12px; font-weight:600; color:var(--text); }
body.lk-body .field-input { width:100%; height:38px; padding:0 10px; border:1px solid #dfe6eb; border-radius:8px; background:#fbfcfd; color:var(--text-soft); font-size:11px; outline:none; line-height:38px; }
body.lk-body .field-range { padding-top:4px; }
body.lk-body .range-track { height:5px; position:relative; border-radius:5px; background:#e8edf0; }
body.lk-body .range-track::before { content:""; position:absolute; left:0; top:0; width:57%; height:100%; border-radius:inherit; background:var(--cyan); }
body.lk-body .range-knob { position:absolute; top:50%; left:57%; width:13px; height:13px; transform:translate(-50%,-50%); border-radius:50%; background:#fff; border:3px solid var(--cyan); box-shadow:0 2px 5px rgba(20,80,75,.12); }
body.lk-body .select-preview { height:38px; display:flex; align-items:center; justify-content:space-between; padding:0 10px; border:1px solid #dfe6eb; border-radius:8px; background:#fbfcfd; color:var(--text-soft); font-size:11px; }
body.lk-body .select-arrow { color:#a4afb7; }
body.lk-body .canvas-drop { min-height:75px; display:flex; align-items:center; justify-content:center; margin-top:14px; border:1px dashed #cbd7de; border-radius:10px; color:var(--text-muted); font-size:11px; background:rgba(248,250,251,.7); }
body.lk-body .canvas-empty { grid-column:1 / -1; min-height:120px; display:flex; align-items:center; justify-content:center; color:var(--text-muted); border:1px dashed #cbd7de; border-radius:10px; }

/* workspace footer */
body.lk-body .workspace-footer { display:flex; align-items:center; justify-content:space-between; padding:14px 3px 2px; color:var(--text-muted); font-size:10px; }
body.lk-body .workspace-footer strong { color:var(--text-soft); }

/* preview */
body.lk-body .preview-panel { margin-top:18px; background:#fff; border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
body.lk-body .preview-header { min-height:58px; display:flex; align-items:center; padding:0 18px; border-bottom:1px solid var(--border-light); flex-wrap:wrap; }
body.lk-body .preview-title { font-size:13px; font-weight:700; color:var(--text); }
body.lk-body .preview-description { margin-left:10px; color:var(--text-muted); font-size:11px; }
body.lk-body .preview-actions { margin-left:auto; display:flex; align-items:center; gap:10px; }
body.lk-body .preview-status { display:flex; align-items:center; gap:6px; font-size:11px; color:var(--text-muted); }
body.lk-body .preview-status-dot { width:6px; height:6px; border-radius:50%; background:var(--cyan); }
body.lk-body .preview-body { padding:28px; background:#f5f7f9; }
body.lk-body .preview-frame-wrap { width:100%; display:flex; justify-content:center; }
body.lk-body .preview-frame { width:100%; max-width:var(--vc-width, 1100px); min-height:380px; padding:32px; border:1px solid #dde5eb; border-radius:14px; background:#fff; box-shadow:0 12px 35px rgba(30,50,65,.07); transition:width .25s ease; }
body.lk-body .preview-frame.mobile { max-width: var(--vc-width, 360px); }

/* responsive (пїЅпїЅпїЅпїЅпїЅпїЅ) */
@media (max-width:1100px){
  body.lk-body .workspace { grid-template-columns:210px minmax(0,1fr); }
  body.lk-body .canvas { padding:18px; }
  body.lk-body .canvas-inner { padding:20px; }
  body.lk-body .canvas-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.lk-body .canvas-field.cf-half { grid-column:span 1; }
  body.lk-body .canvas-field.cf-twothird { grid-column:span 1; }
}
@media (max-width:850px){
  body.lk-body .builder-bar { padding:0 14px; }
  body.lk-body .builder-bar .brand-name { display:none; }
  body.lk-body .slug-hint { display:none; }
  body.lk-body .calc-name-input { width:180px; }
  body.lk-body .user-info { display:none; }
  body.lk-body .builder-wrap { padding:14px; }
  body.lk-body .workspace { grid-template-columns:1fr; }
  body.lk-body .palette-col { position:static; }
  body.lk-body .palette { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }
  body.lk-body .palette-item { margin-bottom:0; }
}
@media (max-width:620px){
  body.lk-body .builder-bar { height:auto; min-height:62px; flex-wrap:wrap; padding:10px 12px; }
  body.lk-body .calc-name-input { width:calc(100% - 60px); }
  body.lk-body .header-actions { width:100%; order:10; }
  body.lk-body .header-actions .btn { flex:1; }
  body.lk-body .user-box { display:none; }
  body.lk-body .builder-tabs { padding:0 10px; overflow-x:auto; }
  body.lk-body .device-switch { flex-shrink:0; }
  body.lk-body .builder-wrap { padding:10px; }
  body.lk-body .palette { grid-template-columns:1fr; }
  body.lk-body .canvas { padding:10px; }
  body.lk-body .canvas-inner { padding:16px; }
  body.lk-body .canvas-grid { grid-template-columns:1fr; }
  body.lk-body .canvas-field, body.lk-body .canvas-field.cf-half, body.lk-body .canvas-field.cf-full { grid-column:1/-1; }
  body.lk-body .preview-body { padding:10px; }
  body.lk-body .preview-frame { padding:18px; min-height:420px; }
  body.lk-body .workspace-footer { flex-direction:column; align-items:flex-start; gap:6px; }
}

/* =========================================================
   пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ (10 пїЅпїЅ)
   пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ .preview-frame / .public-card
   ========================================================= */

/* ---------- 01 AURORA ---------- */
.vc-theme-aurora {
  background:
    radial-gradient(circle at 10% 10%, rgba(74,222,190,.35), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(96,165,250,.25), transparent 30%),
    linear-gradient(135deg, #f8fffd, #eaf7f5) !important;
  box-shadow: 0 25px 70px rgba(24,88,80,.13) !important;
}
.vc-theme-aurora .vc-header {
  padding: 22px; border-radius: 20px; background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(14px); margin-bottom: 0; border-bottom: none;
}
.vc-theme-aurora .vc-field input:not([type=checkbox]):not([type=radio]):not([type=range]),
.vc-theme-aurora .vc-field select, .vc-theme-aurora .vc-field textarea {
  border: 1px solid #cce5df; border-radius: 13px; background: rgba(255,255,255,.8); color: #173c38;
}
.vc-theme-aurora .vc-field input:focus, .vc-theme-aurora .vc-field select:focus, .vc-theme-aurora .vc-field textarea:focus {
  border-color: #20b89c; box-shadow: 0 0 0 4px rgba(32,184,156,.12);
}
.vc-theme-aurora .vc-range-row input[type=range] { accent-color: #20b89c; }
.vc-theme-aurora .vc-button { color:#fff; border-radius:14px; background: linear-gradient(135deg,#13b99b,#1686c8); box-shadow: 0 12px 28px rgba(19,185,155,.22); }
.vc-theme-aurora .vc-result-inner { border-radius:18px; background:#123e39; color:#fff; border:0; }
.vc-theme-aurora .vc-result-inner .vc-total { color:#fff; border-top-color:rgba(255,255,255,.25); }
.vc-theme-aurora .vc-result-inner .vc-sum-row { color:rgba(255,255,255,.8); }

/* ---------- 02 NEON GLASS ---------- */
.vc-theme-neon {
  background: radial-gradient(circle at 15% 15%, rgba(0,229,255,.18), transparent 30%), radial-gradient(circle at 85% 75%, rgba(168,85,247,.22), transparent 35%), #0a0f19 !important;
  box-shadow: 0 30px 80px rgba(0,0,0,.35) !important;
}
.vc-theme-neon .vc-header { padding:25px; border:1px solid rgba(255,255,255,.08); border-radius:22px; background: rgba(255,255,255,.035); border-bottom:none; }
.vc-theme-neon .vc-title { color:#fff; text-shadow:0 0 20px rgba(0,229,255,.5); }
.vc-theme-neon .vc-field input:not([type=checkbox]):not([type=radio]):not([type=range]),
.vc-theme-neon .vc-field select, .vc-theme-neon .vc-field textarea {
  color:#fff; background: rgba(255,255,255,.045); border:1px solid rgba(0,229,255,.25); border-radius:11px;
}
.vc-theme-neon .vc-field input:focus, .vc-theme-neon .vc-field select:focus, .vc-theme-neon .vc-field textarea:focus { border-color:#00e5ff; box-shadow:0 0 20px rgba(0,229,255,.13); }
.vc-theme-neon .vc-range-row input[type=range] { accent-color:#00e5ff; }
.vc-theme-neon .vc-button { color:#071017; border-radius:12px; background: linear-gradient(90deg,#00e5ff,#a855f7); box-shadow:0 0 30px rgba(0,229,255,.2); }
.vc-theme-neon .vc-result-inner { border:1px solid rgba(0,229,255,.25); border-radius:16px; background: linear-gradient(135deg,rgba(0,229,255,.08),rgba(168,85,247,.1)); }
.vc-theme-neon .vc-result-inner .vc-total { color:#00e5ff; text-shadow:0 0 20px rgba(0,229,255,.45); }

/* ---------- 03 LUXURY GOLD ---------- */
.vc-theme-gold {
  background:#171614 !important;
  box-shadow:0 30px 80px rgba(0,0,0,.3) !important;
}
.vc-theme-gold .vc-header {
  margin:-20px -20px 18px; padding:34px 20px;
  background: radial-gradient(circle at 80% 20%, rgba(212,175,55,.2), transparent 30%), linear-gradient(120deg,#27241d,#151411);
  border-bottom:1px solid rgba(212,175,55,.3); border-radius:0;
}
.vc-theme-gold .vc-title { font-family:Georgia,serif; font-size:28px; color:#e9c96b; }
.vc-theme-gold .vc-field input:not([type=checkbox]):not([type=radio]):not([type=range]),
.vc-theme-gold .vc-field select, .vc-theme-gold .vc-field textarea { color:#eee9dd; background:#121210; border:1px solid #51482d; border-radius:4px; }
.vc-theme-gold .vc-range-row input[type=range] { accent-color:#d4af37; }
.vc-theme-gold .vc-button { color:#17130a; border-radius:4px; background:linear-gradient(135deg,#f2d16b,#b88a18); }
.vc-theme-gold .vc-result-inner { border:1px solid #69582a; border-radius:4px; background:#242117; }
.vc-theme-gold .vc-result-inner .vc-total { color:#e9c96b; }

/* ---------- 04 OCEAN ---------- */
.vc-theme-ocean {
  background: linear-gradient(160deg,#dff7ff,#bce8f5 45%,#e9f9ff) !important;
  box-shadow:0 25px 60px rgba(12,91,125,.18) !important;
}
.vc-theme-ocean .vc-header { margin:-20px -20px 18px; padding:34px 20px; color:#fff; background:linear-gradient(135deg,#086b9d,#0b9ec5); border-radius:0; border-bottom:none; }
.vc-theme-ocean .vc-title { color:#fff; font-size:26px; }
.vc-theme-ocean .vc-field input:not([type=checkbox]):not([type=radio]):not([type=range]),
.vc-theme-ocean .vc-field select, .vc-theme-ocean .vc-field textarea { color:#14394d; background:rgba(255,255,255,.8); border:1px solid #9dd7e8; border-radius:10px; }
.vc-theme-ocean .vc-range-row input[type=range] { accent-color:#078db5; }
.vc-theme-ocean .vc-button { color:#fff; border-radius:11px; background:linear-gradient(135deg,#0875a8,#08a5c7); box-shadow:0 10px 24px rgba(8,117,168,.2); }
.vc-theme-ocean .vc-result-inner { border-radius:14px; background:#075d86; color:#fff; border:0; }
.vc-theme-ocean .vc-result-inner .vc-total { color:#fff; border-top-color:rgba(255,255,255,.25); }

/* ---------- 05 SOFT CLOUD ---------- */
.vc-theme-cloud {
  background: radial-gradient(circle at 20% 20%, #fff 0, transparent 30%), linear-gradient(145deg,#f7f8fc,#e9edf5) !important;
}
.vc-theme-cloud .vc-header { text-align:center; border-bottom:none; }
.vc-theme-cloud .vc-field input:not([type=checkbox]):not([type=radio]):not([type=range]),
.vc-theme-cloud .vc-field select, .vc-theme-cloud .vc-field textarea { color:#454d60; background:#fff; border:0; border-radius:15px; box-shadow:inset 0 1px 3px rgba(0,0,0,.04),0 7px 20px rgba(53,63,84,.08); }
.vc-theme-cloud .vc-range-row input[type=range] { accent-color:#8998b8; }
.vc-theme-cloud .vc-button { color:#fff; border-radius:15px; background:#596985; box-shadow:0 10px 25px rgba(55,69,94,.16); }
.vc-theme-cloud .vc-result-inner { border-radius:18px; background:#fff; box-shadow:0 12px 28px rgba(53,63,84,.09); border:0; }
.vc-theme-cloud .vc-result-inner .vc-total { color:#596985; }

/* ---------- 06 CARBON ---------- */
.vc-theme-carbon {
  background: repeating-linear-gradient(135deg,#1a1e24 0,#1a1e24 3px,#1e232a 3px,#1e232a 6px) !important;
}
.vc-theme-carbon .vc-header { border-left:5px solid #ff7a00; padding:8px 0 8px 16px; border-bottom:none; background:transparent; }
.vc-theme-carbon .vc-title { text-transform:uppercase; letter-spacing:.04em; color:#fff; }
.vc-theme-carbon .vc-field input:not([type=checkbox]):not([type=radio]):not([type=range]),
.vc-theme-carbon .vc-field select, .vc-theme-carbon .vc-field textarea { color:#f4f4f4; background:#101318; border:1px solid #343b45; border-radius:7px; }
.vc-theme-carbon .vc-field input:focus, .vc-theme-carbon .vc-field select:focus, .vc-theme-carbon .vc-field textarea:focus { border-color:#ff7a00; }
.vc-theme-carbon .vc-range-row input[type=range] { accent-color:#ff7a00; }
.vc-theme-carbon .vc-button { color:#111; border-radius:7px; background:linear-gradient(135deg,#ff9b36,#ff6700); text-transform:uppercase; }
.vc-theme-carbon .vc-result-inner { border:1px solid #3c444e; border-radius:7px; background:#11151a; }
.vc-theme-carbon .vc-result-inner .vc-total { color:#ff8a24; }

/* ---------- 07 VIOLET PREMIUM ---------- */
.vc-theme-violet {
  background: radial-gradient(circle at 80% 0%, rgba(196,181,253,.5), transparent 30%), linear-gradient(145deg,#fbf9ff,#eee8ff) !important;
  box-shadow:0 25px 70px rgba(109,70,170,.16) !important;
}
.vc-theme-violet .vc-header { padding:24px; border-radius:20px; background:linear-gradient(135deg,#ffffffaa,#eee6ffcc); border:1px solid #dfd2ff; border-bottom:none; }
.vc-theme-violet .vc-title { color:#5d35a0; }
.vc-theme-violet .vc-field input:not([type=checkbox]):not([type=radio]):not([type=range]),
.vc-theme-violet .vc-field select, .vc-theme-violet .vc-field textarea { color:#332344; background:rgba(255,255,255,.78); border:1px solid #d9cdf2; border-radius:12px; }
.vc-theme-violet .vc-field input:focus, .vc-theme-violet .vc-field select:focus, .vc-theme-violet .vc-field textarea:focus { border-color:#8b5cf6; box-shadow:0 0 0 4px rgba(139,92,246,.1); }
.vc-theme-violet .vc-range-row input[type=range] { accent-color:#8b5cf6; }
.vc-theme-violet .vc-button { color:#fff; border-radius:13px; background:linear-gradient(135deg,#8b5cf6,#6332b9); box-shadow:0 12px 28px rgba(99,50,185,.22); }
.vc-theme-violet .vc-result-inner { border-radius:16px; color:#fff; background:linear-gradient(135deg,#6332b9,#8b5cf6); border:0; }
.vc-theme-violet .vc-result-inner .vc-total { color:#fff; border-top-color:rgba(255,255,255,.25); }

/* ---------- 08 GLASS LIGHT ---------- */
.vc-theme-glass {
  background: linear-gradient(135deg,#dceeff,#f5ddff 50%,#dcfff5) !important;
}
.vc-theme-glass .vc-header { padding:25px; border-radius:24px; background:rgba(255,255,255,.42); border:1px solid rgba(255,255,255,.75); backdrop-filter:blur(20px); border-bottom:none; }
.vc-theme-glass .vc-field input:not([type=checkbox]):not([type=radio]):not([type=range]),
.vc-theme-glass .vc-field select, .vc-theme-glass .vc-field textarea { color:#26324a; background:rgba(255,255,255,.48); border:1px solid rgba(255,255,255,.8); border-radius:17px; box-shadow:inset 0 1px 2px rgba(255,255,255,.8); }
.vc-theme-glass .vc-range-row input[type=range] { accent-color:#687de8; }
.vc-theme-glass .vc-button { color:#fff; border-radius:17px; background:linear-gradient(135deg,#687de8,#a34ed0); box-shadow:0 12px 30px rgba(104,125,232,.2); }
.vc-theme-glass .vc-result-inner { border-radius:20px; background:rgba(255,255,255,.45); border:1px solid rgba(255,255,255,.75); }
.vc-theme-glass .vc-result-inner .vc-total { color:#26324a; }

/* ---------- 09 EXECUTIVE ---------- */
.vc-theme-executive {
  background:#f5f8f7 !important; border:1px solid #dce7e3; border-radius:28px !important;
}
.vc-theme-executive .vc-header { padding-bottom:22px; border-bottom:2px solid #0f766e; }
.vc-theme-executive .vc-title { font-size:24px; color:#0f4f4a; }
.vc-theme-executive .vc-field input:not([type=checkbox]):not([type=radio]):not([type=range]),
.vc-theme-executive .vc-field select, .vc-theme-executive .vc-field textarea { color:#172c2a; background:#fff; border:1px solid #ccd9d5; border-radius:6px; }
.vc-theme-executive .vc-field input:focus, .vc-theme-executive .vc-field select:focus, .vc-theme-executive .vc-field textarea:focus { border-color:#0f766e; }
.vc-theme-executive .vc-range-row input[type=range] { accent-color:#0f766e; }
.vc-theme-executive .vc-button { color:#fff; border-radius:6px; background:#0f766e; }
.vc-theme-executive .vc-result-inner { border:1px solid #c9d9d5; border-radius:8px; background:#fff; }
.vc-theme-executive .vc-result-inner .vc-total { color:#0f766e; }

/* ---------- 10 CYBER LIME ---------- */
.vc-theme-lime {
  background: radial-gradient(circle at 10% 10%, rgba(190,255,0,.15), transparent 25%), radial-gradient(circle at 90% 90%, rgba(91,255,0,.1), transparent 30%), #10150c !important;
}
.vc-theme-lime .vc-header { padding:24px; border:1px solid rgba(190,255,0,.2); background:rgba(190,255,0,.025); border-radius:8px; border-bottom:none; }
.vc-theme-lime .vc-title { color:#c7ff32; text-shadow:0 0 20px rgba(190,255,0,.25); }
.vc-theme-lime .vc-field input:not([type=checkbox]):not([type=radio]):not([type=range]),
.vc-theme-lime .vc-field select, .vc-theme-lime .vc-field textarea { color:#efffd8; background:#10160d; border:1px solid #344324; border-radius:5px; }
.vc-theme-lime .vc-field input:focus, .vc-theme-lime .vc-field select:focus, .vc-theme-lime .vc-field textarea:focus { border-color:#bfff00; box-shadow:0 0 15px rgba(191,255,0,.1); }
.vc-theme-lime .vc-range-row input[type=range] { accent-color:#bfff00; }
.vc-theme-lime .vc-button { color:#10150c; border-radius:5px; background:#bfff00; box-shadow:0 0 25px rgba(191,255,0,.18); text-transform:uppercase; }
.vc-theme-lime .vc-result-inner { border:1px solid rgba(191,255,0,.2); border-radius:5px; background:rgba(191,255,0,.04); }
.vc-theme-lime .vc-result-inner .vc-total { color:#bfff00; text-shadow:0 0 15px rgba(191,255,0,.3); }

/* ---------- пїЅпїЅпїЅпїЅпїЅ пїЅ пїЅпїЅпїЅпїЅ пїЅпїЅпїЅ ---------- */
body.lk-body .color-row {
  display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; align-items: stretch;
}
body.lk-body .color-row .coloritem { display:flex; flex-direction:column; gap:4px; font-size:10px; color:var(--text-muted); align-items:stretch; }
body.lk-body .color-row .coloritem input[type=color] { width:100%; height:34px; border:1px solid var(--border); border-radius:8px; padding:2px; cursor:pointer; background:#fff; }

/* ---------- пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅ ---------- */
body.lk-body .bg-modal { width: 620px; max-width: 96vw; }
body.lk-body .bg-tabs { display:flex; gap:4px; padding:0 16px; border-bottom:1px solid var(--border); background:#fbfcfd; }
body.lk-body .bg-tab { padding:12px 16px; border:0; background:transparent; color:var(--text-muted); font-size:13px; font-weight:600; cursor:pointer; position:relative; }
body.lk-body .bg-tab.active { color:var(--cyan-dark); }
body.lk-body .bg-tab.active::after { content:""; position:absolute; left:12px; right:12px; bottom:-1px; height:2px; background:var(--cyan); }
body.lk-body .bg-body { max-height:70vh; overflow-y:auto; }
body.lk-body .bg-pane { display:none; }
body.lk-body .bg-pane.active { display:block; }
body.lk-body .bg-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
body.lk-body .bg-thumb {
  height:90px; border:2px solid var(--border); border-radius:10px;
  background-size:cover; background-position:center; position:relative; cursor:pointer;
  transition:border-color .15s;
}
body.lk-body .bg-thumb:hover { border-color:var(--cyan); }
body.lk-body .bg-thumb.sel { border-color:var(--cyan); box-shadow:0 0 0 3px rgba(16,191,174,.15); }
body.lk-body .bg-del {
  position:absolute; top:5px; right:5px; width:22px; height:22px; border:0; border-radius:50%;
  background:rgba(15,23,42,.6); color:#fff; font-size:13px; cursor:pointer; line-height:1;
}
body.lk-body .bg-del:hover { background:var(--danger); }
body.lk-body .bg-uploadbtn { cursor:pointer; margin-bottom:12px; }

/* пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅ */
.dv-preview { width: 100%; border-top: 2px solid var(--border); }
.dv-preview.solid { border-top-style: solid; }
.dv-preview.dashed { border-top-style: dashed; }
.dv-preview.dotted { border-top-style: dotted; }
.dv-preview.double { border-top: 4px double var(--border); }
/* формула/дизайн: редактор один в гриде -> на всю ширину */
body.lk-body .workspace > .editor-area:only-child { grid-column: 1 / -1; }


/* тариф-бейдж и модалка апгрейда */
body.lk-body .tariff-badge {
  padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
body.lk-body .tariff-badge.free { background: #eef1f4; color: var(--text-soft); }
body.lk-body .tariff-badge.pro { background: var(--cyan-soft); color: var(--cyan-dark); }
body.lk-body .up-list { list-style: none; margin: 0 0 18px; padding: 0; }
body.lk-body .up-list li { padding: 5px 0; font-size: 13px; color: var(--text); }

/* интеграция: share-панели */
body.lk-body .share-pane { display:none; }
body.lk-body .share-pane.active { display:block; }
body.lk-body .share-body { min-height:220px; }
body.lk-body .share-pane textarea { width:100%; padding:10px; border:1px solid var(--border); border-radius:8px; font-family:monospace; font-size:12px; resize:vertical; margin-bottom:8px; background:#fbfcfd; }

/* действия в шапке ЛК */
body.lk-body .dash-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
body.lk-body .dash-actions .btn-outline-dark { min-height: 38px; padding: 8px 14px; }
body.lk-body .int-modal { width: 560px; max-width: 96vw; }
body.lk-body .int-codes { margin-top: 6px; }
body.lk-body .int-codes textarea { width:100%; padding:10px; border:1px solid var(--border); border-radius:8px; font-family:monospace; font-size:12px; resize:vertical; margin-bottom:8px; background:#fbfcfd; }

body.lk-body .up-pro { text-align:center; padding:10px 0; }
body.lk-body .up-pro-icon {
  width:52px; height:52px; margin:0 auto 14px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; background:var(--cyan-soft); color:var(--cyan-dark); font-size:24px; font-weight:800;
}
body.lk-body .up-pro h3 { margin:0 0 8px; font-size:18px; }
