.landing-constructor-on { padding-top: 58px; }
.lc-toolbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 4000;
    min-height: 52px; padding: 8px 12px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
    background: #0D5C46; color: #fff; font-family: Inter, sans-serif; font-size: 13px;
    box-shadow: 0 6px 20px rgba(7, 59, 46, .28);
}
.lc-toolbar-left, .lc-toolbar-right, .lc-seg { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lc-brand { font-weight: 800; letter-spacing: .02em; }
.lc-btn, .lc-toolbar a.lc-btn {
    border: 0; border-radius: 8px; padding: 6px 10px; background: rgba(255,255,255,.14);
    color: #fff; font-weight: 700; cursor: pointer; text-decoration: none; line-height: 1.2;
}
.lc-btn:hover, .lc-toolbar a.lc-btn:hover { background: rgba(255,255,255,.24); }
.lc-btn.is-on, .lc-btn-primary { background: #D4AF37; color: #13221B; }
.lc-status { font-size: 12px; opacity: .92; }
.lc-status.is-ok { color: #bbf7d0; }
.lc-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; user-select: none; }
.lc-inspector {
    position: fixed; top: 64px; right: 12px; width: 260px; z-index: 3990;
    background: #fff; color: #13221B; border-radius: 14px; padding: 14px;
    box-shadow: 0 16px 40px rgba(13,92,70,.18); border: 1px solid rgba(13,92,70,.12);
}
.lc-inspector h3 { margin: 0 0 10px; font-size: 15px; }
.lc-inspector label { display: block; font-size: 12px; font-weight: 700; margin: 10px 0; }
.lc-inspector input[type="color"], .lc-inspector input[type="range"], .lc-inspector input[type="url"] { width: 100%; margin-top: 4px; }
.lc-hint { font-size: 11px; color: #52665E; margin: 10px 0 0; line-height: 1.4; }
.lc-library {
    position: fixed; top: 64px; left: 12px; width: min(420px, calc(100vw - 24px)); max-height: calc(100vh - 80px);
    overflow: auto; z-index: 3995; background: #fff; color: #13221B; border-radius: 14px; padding: 14px;
    box-shadow: 0 16px 40px rgba(13,92,70,.2); border: 1px solid rgba(13,92,70,.12);
}
.lc-library-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.lc-library-head h3 { margin: 0; font-size: 16px; }
.lc-lib-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lc-lib-item {
    text-align: left; border: 1px solid rgba(13,92,70,.14); background: #F7FAF8; border-radius: 12px;
    padding: 10px; cursor: pointer; font-weight: 700;
}
.lc-lib-item:hover { border-color: #0D5C46; background: #fff; }
.lc-lib-item small { display: block; font-weight: 500; color: #52665E; margin-top: 4px; }
.lc-inline-bar {
    position: absolute; z-index: 3980; display: flex; gap: 4px;
    background: #13221B; padding: 4px; border-radius: 8px;
}
.lc-inline-bar button { border: 0; background: #fff; border-radius: 6px; padding: 4px 8px; font-weight: 800; cursor: pointer; }
#landing-blocks { touch-action: pan-y; }
.landing-block { position: relative !important; transition: transform .25s ease, box-shadow .25s ease, margin .25s ease; }
.landing-block::after {
    content: ""; pointer-events: none; position: absolute; inset: 0;
    background: rgba(0,0,0, var(--lc-dim-alpha, 0));
    border-radius: inherit;
}
.landing-constructor-on.lc-edit-on .landing-block { outline: 1px dashed rgba(13,92,70,.28); outline-offset: -2px; }
.landing-constructor-on.lc-edit-on .landing-block.is-selected { outline: 2px solid #2563eb; }
.lc-handle {
    display: none; position: absolute; left: 10px; top: 14px; z-index: 20;
    width: 34px; height: 34px; border-radius: 10px; border: 0;
    background: #0D5C46; color: #fff; cursor: grab; font-size: 16px;
    box-shadow: 0 6px 16px rgba(13,92,70,.28);
}
.landing-constructor-on.lc-edit-on .lc-handle { display: inline-flex; align-items: center; justify-content: center; }
.lc-handle:active { cursor: grabbing; }
.lc-remove {
    display: none;
    position: absolute !important;
    top: 14px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    z-index: 40;
    width: 34px; height: 34px; border-radius: 10px; border: 0;
    background: #be123c; color: #fff; cursor: pointer; font-size: 22px; line-height: 1;
    box-shadow: 0 6px 16px rgba(190, 18, 60, .28);
}
.landing-constructor-on.lc-edit-on .landing-block:hover > .lc-remove,
.landing-constructor-on.lc-edit-on .landing-block.is-selected > .lc-remove {
    display: inline-flex; align-items: center; justify-content: center;
}
.lc-remove:hover { background: #9f1239; }
.lc-col-remove {
    display: none;
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    z-index: 50;
    width: 32px; height: 32px; border-radius: 8px; border: 0;
    background: #be123c; color: #fff; cursor: pointer; font-size: 20px; line-height: 1;
    box-shadow: 0 4px 12px rgba(190, 18, 60, .35);
    transition: transform .15s ease, background .15s ease;
}
.lc-col-remove:hover {
    background: #9f1239;
    transform: scale(1.08);
}
.landing-constructor-on.lc-edit-on .ref-lead-col:hover > .lc-col-remove,
.landing-constructor-on.lc-edit-on .ref-contacts-col:hover > .lc-col-remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
body.lc-preview-mode .lc-col-remove {
    display: none !important;
}
.landing-block.sortable-chosen, .landing-block.lc-elevated {
    transform: scale(1.015); box-shadow: 0 22px 48px rgba(13,92,70,.28);
    z-index: 30; cursor: grabbing;
}
.landing-block.sortable-ghost {
    opacity: .35; outline: 3px solid #2563eb !important;
    background: rgba(37,99,235,.08);
}
.lc-drop-line {
    height: 4px; margin: 4px 16px; border-radius: 4px;
    background: linear-gradient(90deg, #2563eb, #22d3ee);
    box-shadow: 0 0 12px rgba(37,99,235,.65);
}
.landing-block.is-hidden-block { opacity: .42; filter: grayscale(.2); }
.landing-block.is-hidden-mobile { }
@media (max-width: 768px) {
    .landing-block.is-hidden-mobile:not(.lc-force-show) { display: none !important; }
}
body.lc-preview-mode .lc-handle,
body.lc-preview-mode .lc-remove,
body.lc-preview-mode .lc-inspector,
body.lc-preview-mode .lc-inline-bar { display: none !important; }
body.lc-preview-mode .landing-block { outline: none !important; }
#lc-phone-stage {
    display: none; position: fixed; inset: 52px 0 0 0; z-index: 3500;
    background: #0b1f18; align-items: center; justify-content: center;
    overflow: auto; padding: 16px;
}
body.lc-mobile-frame #lc-phone-stage { display: flex; }
body.lc-mobile-frame .lc-inspector,
body.lc-mobile-frame .lc-library,
body.lc-mobile-frame .lc-inline-bar { display: none !important; }
.lc-phone-shell {
    width: 390px; height: min(844px, calc(100vh - 92px));
    border: 10px solid #13221B; border-radius: 36px; overflow: hidden;
    background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.45); flex-shrink: 0;
}
#lc-phone-iframe {
    width: 390px; height: 100%; border: 0; display: block; background: #F7FAF8;
}
.landing-constructor-on .navbar { top: 52px; }
body.lc-edit-on .navbar { z-index: 900; }
[data-edit-key][contenteditable="true"] { outline: 1px dashed #D4AF37; min-height: 1em; cursor: text; }
body.lc-edit-on .hf-title[contenteditable="true"],
body.lc-edit-on .hero-title[contenteditable="true"],
body.lc-edit-on .hero-title[contenteditable="true"] .hero-title-brand {
    -webkit-text-fill-color: #f7fff9 !important;
    color: #f7fff9 !important;
    background: none !important;
    filter: none !important;
}
.landing-constructor-on.lc-edit-on a.btn,
.landing-constructor-on.lc-edit-on button.btn { pointer-events: auto; }
.landing-block.lc-has-bg { background: var(--lc-bg) !important; }
.landing-block.lc-has-color,
.landing-block.lc-has-color h1,
.landing-block.lc-has-color h2,
.landing-block.lc-has-color h3,
.landing-block.lc-has-color h4,
.landing-block.lc-has-color p,
.landing-block.lc-has-color li,
.landing-block.lc-has-color span,
.landing-block.lc-has-color div,
.landing-block.lc-has-color .section-subtitle,
.landing-block.lc-has-color .section-title,
.landing-block.lc-has-color .faq-answer,
.landing-block.lc-has-color .service-price-val { color: var(--lc-color) !important; }
.landing-block.lc-has-accent .btn,
.landing-block.lc-has-accent .btn-primary,
.landing-block.lc-has-accent .btn-tariff-buy,
.landing-block.lc-has-accent .try-free-btn,
.landing-block.lc-has-accent .bonus-btn,
.landing-block.lc-has-accent .hcc-btn { background: var(--lc-accent) !important; border-color: var(--lc-accent) !important; color: #fff !important; }
.lc-inner-target.lc-has-bg { background: var(--lc-bg) !important; }
.lc-inner-target.lc-has-color,
.lc-inner-target.lc-has-color h3,
.lc-inner-target.lc-has-color p { color: var(--lc-color) !important; }
.lc-lib-banner, .lc-lib-hero, .lc-lib-quote {
    max-width: 920px; margin: 0 auto; padding: 28px 20px; border-radius: 20px; text-align: center;
    background: rgba(13,92,70,.08);
}
.lc-lib-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; max-width: 1100px; margin: 0 auto; }
.lc-lib-card { background: #fff; border: 1px solid rgba(13,92,70,.12); border-radius: 16px; padding: 16px; }
.lc-lib-table-wrap { overflow-x: auto; max-width: 900px; margin: 0 auto; }
.lc-lib-table { width: 100%; border-collapse: collapse; background: #fff; }
.lc-lib-table th, .lc-lib-table td { border: 1px solid rgba(13,92,70,.12); padding: 10px; text-align: center; }
.lc-lib-video { position: relative; width: min(860px, 92%); margin: 0 auto; aspect-ratio: 16/9; background: #13221B; color: #fff; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.lc-lib-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 16px; }
.lc-lib-timer { font-size: 28px; font-weight: 800; letter-spacing: 1px; margin: 12px 0; }
.lc-lib-spacer { min-height: 48px; text-align: center; color: #94a3b8; }
.landing-guest-hide { display: none !important; }
