@import url("https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800&display=swap");

:root {
    --bg: #eef3fb;
    --bg-2: #dbe7f8;
    --surface: #ffffff;
    --surface-2: #f5f8ff;
    --line: #cdd9ec;
    --text: #0f172a;
    --muted: #4b5a72;
    --primary: #1d4ed8;
    --primary-2: #1e3a8a;
    --accent: #0ea5e9;
    --ok: #059669;
    --warn: #d97706;
    --bad: #e11d48;
    --radius: 4px;
    --radius-sm: 4px;
    --shadow: 0 12px 32px rgba(29, 78, 216, .08);
    --font: "Onest", ui-sans-serif, system-ui, sans-serif;
    --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { letter-spacing: -.04em; line-height: 1.12; margin: 0 0 .5em; font-weight: 750; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.btn, .btn-ghost, .btn-danger,
a.btn, a.btn-ghost, a.btn-danger,
button.btn, button.btn-ghost, button.btn-danger {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid transparent; border-radius: var(--radius);
    min-height: 42px; padding: 10px 16px;
    font-weight: 700; font-size: 14px; line-height: 1;
    text-decoration: none; cursor: pointer;
    box-shadow: none; transform: none;
    transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.btn, a.btn, button.btn {
    background: var(--primary);
    color: #fff;
}
.btn:hover, a.btn:hover, button.btn:hover,
.btn:focus-visible, a.btn:focus-visible {
    background: var(--primary-2);
    color: #fff;
    transform: none;
}
.btn-ghost, a.btn-ghost, button.btn-ghost {
    background: #fff;
    border-color: var(--line);
    color: var(--text);
}
.btn-ghost:hover, a.btn-ghost:hover, button.btn-ghost:hover {
    background: #f3f4f6;
    border-color: #9aa3b2;
    color: var(--text);
    transform: none;
}
.btn-danger, a.btn-danger, button.btn-danger { background: var(--bad); color: #fff; border-color: var(--bad); }
.btn-danger:hover { background: #9f1239; color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-sm, a.btn-sm, button.btn-sm { min-height: 34px; padding: 7px 12px; font-size: 13px; }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}
a.card { color: inherit; text-decoration: none; }
a.card:hover, .create-mode:hover { border-color: var(--text); background: #fff; }
.glass {
    background: #fff;
    border: 1px solid var(--line);
}

.field { display: grid; gap: 8px; font-size: 13px; font-weight: 650; color: var(--text); }
.field input, .field select, .field textarea {
    width: 100%; background: #fff;
    border: 1px solid #b8c0cc; border-radius: var(--radius-sm);
    padding: 12px 14px; color: var(--text); font-weight: 500;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #7b8494; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 2px solid #93c5fd;
    border-color: var(--accent);
}
.field input[type="color"] {
    padding: 3px;
    height: 44px;
    min-height: 44px;
    cursor: pointer;
    background: #fff;
}
.field input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.field input[type="color"]::-webkit-color-swatch {
    border: 0;
    border-radius: 2px;
}
.field input[type="color"]::-moz-color-swatch {
    border: 0;
    border-radius: 2px;
}
.builder-brand-label {
    margin: 10px 0 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.builder-items { display: grid; gap: 10px; margin: 12px 0; }
.builder-item {
    border: 1px solid var(--line, #e2e8f0);
    border-radius: 6px;
    padding: 10px 12px;
    display: grid;
    gap: 8px;
    background: #f8fafc;
}
.color-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.color-preset {
    width: 36px; height: 36px; border-radius: 4px; border: 1px solid #cbd5e1;
    cursor: pointer; padding: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.color-preset.is-on, .color-preset:hover { outline: 2px solid #2563eb; outline-offset: 1px; }
.color-fields { display: grid; gap: 8px; }
.color-field { display: grid; gap: 6px; font-size: 13px; font-weight: 650; color: var(--text); }
.color-field-row { display: grid; grid-template-columns: 56px 1fr; gap: 8px; align-items: center; }
.color-field-row input[type="color"] {
    width: 56px; height: 44px; min-height: 44px; padding: 3px;
    border: 1px solid #b8c0cc; border-radius: var(--radius-sm); background: #fff; cursor: pointer;
}
.color-field-row input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.color-field-row input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 2px; }
.color-field-row input[type="text"] {
    width: 100%; min-height: 44px; padding: 10px 12px;
    border: 1px solid #b8c0cc; border-radius: var(--radius-sm);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase;
}
.font-picker { position: relative; }
.font-picker-toggle {
    width: 100%; min-height: 46px; display: flex; justify-content: space-between; align-items: center;
    gap: 8px; padding: 8px 12px; background: #fff; border: 1px solid #b8c0cc;
    border-radius: var(--radius-sm); cursor: pointer; text-align: left;
}
.font-picker-toggle span { font-size: 15px; font-weight: 650; }
.font-picker-toggle small { color: var(--muted); font-size: 11px; font-weight: 650; }
.font-picker-toggle:focus, .font-picker.is-open .font-picker-toggle {
    outline: 2px solid #93c5fd; border-color: var(--accent);
}
.font-picker-menu {
    position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30;
    background: #fff; border: 1px solid #cbd5e1; border-radius: 4px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .16); padding: 8px;
}
.font-picker-menu input[type="search"] {
    width: 100%; min-height: 38px; padding: 8px 10px; margin-bottom: 6px;
    border: 1px solid #b8c0cc; border-radius: var(--radius-sm);
}
.font-picker-menu ul {
    list-style: none; margin: 0; padding: 0; max-height: 240px; overflow: auto;
}
.font-picker-menu li button {
    width: 100%; text-align: left; border: 0; background: transparent;
    padding: 9px 10px; border-radius: 4px; cursor: pointer; font-size: 14px;
}
.font-picker-menu li button:hover, .font-picker-menu li button.is-on { background: #eef2ff; }
.font-picker-empty { margin: 8px 4px 4px; font-size: 12px; color: var(--muted); font-weight: 500; }
.check {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 16px; margin: 0;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; cursor: pointer;
    color: var(--text); font-size: 14px; font-weight: 650; line-height: 1.4;
    user-select: none;
    box-shadow: inset 0 0 0 0 #111827;
}
.check:hover { border-color: #0f172a; background: #fafafa; }
.check:has(input:checked) {
    border-color: #0f172a;
    background: #f3f5f8;
    box-shadow: inset 3px 0 0 #111827;
}
.check input[type="checkbox"],
.check input[type="radio"] {
    -webkit-appearance: none; appearance: none;
    width: 24px; height: 24px; margin: 1px 0 0; flex: 0 0 24px;
    border: 2px solid #334155; border-radius: 4px;
    background: #fff; cursor: pointer;
    background-repeat: no-repeat; background-position: center; background-size: 14px 14px;
    transition: background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.check input[type="radio"] { border-radius: 50%; background-size: 8px 8px; }
.check input[type="checkbox"]:hover,
.check input[type="radio"]:hover { border-color: #0f172a; }
.check input[type="checkbox"]:checked,
.check input[type="radio"]:checked {
    background-color: #111827; border-color: #111827;
}
.check input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.4l3.1 3.2 6.5-7.2'/%3E%3C/svg%3E");
}
.check input[type="radio"]:checked {
    background-image: radial-gradient(circle, #fff 0 3.5px, transparent 4px);
}
.check input[type="checkbox"]:focus-visible,
.check input[type="radio"]:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
.check span { display: grid; gap: 3px; min-width: 0; padding-top: 1px; }
.check strong { font-size: 14px; font-weight: 750; letter-spacing: -.02em; }
.check small { color: var(--muted); font-size: 12.5px; font-weight: 500; line-height: 1.4; }
.check-list { display: grid; gap: 8px; }
@media (min-width: 720px) { .check-list.cols-2 { grid-template-columns: 1fr 1fr; } }
.choice-card {
    display: grid; gap: 10px; cursor: pointer; padding: 14px;
}
.choice-card input[type="radio"] {
    -webkit-appearance: none; appearance: none;
    width: 20px; height: 20px; margin: 0;
    border: 2px solid #334155; border-radius: 50%;
    background: #fff; cursor: pointer;
}
.choice-card:has(input:checked) {
    border-color: #0f172a;
    background: #f3f5f8;
    box-shadow: inset 3px 0 0 #111827;
}
.choice-card input[type="radio"]:checked {
    background: #111827;
    border-color: #111827;
    background-image: radial-gradient(circle, #fff 0 3px, transparent 3.5px);
    background-repeat: no-repeat; background-position: center;
}

.alert, .toast { border-radius: var(--radius); padding: 12px 14px; }
.alert-error, .toast-error { background: #fff1f2; color: #be123c; }
.alert-success, .toast-success { background: #ecfdf5; color: #047857; }
.alert-info, .toast-info { background: #eef2ff; color: #4338ca; }
.toast-root {
    position: fixed; right: 16px; bottom: 16px; z-index: 80;
    display: grid; gap: 8px; width: min(360px, calc(100% - 24px));
}
.toast { box-shadow: var(--shadow); background: var(--surface); border: 1px solid var(--line); }
.toast.is-out { opacity: 0; transform: translateY(8px); transition: .25s ease; }

.badge {
    display: inline-flex; align-items: center; padding: 4px 8px; border-radius: var(--radius);
    font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
    background: #eef2ff; color: #1e3a8a;
}
.badge-ok { background: #ecfdf5; color: #047857; }
.badge-bad { background: #fff1f2; color: #be123c; }
.badge-warn { background: #fffbeb; color: #b45309; }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty h2 { color: var(--text); }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.data th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
table.data tr:last-child td { border-bottom: 0; }

.grid-2 { display: grid; gap: 20px; grid-template-columns: 1fr; }
.grid-3, .grid-4, .cards { display: grid; gap: 16px; }
.plans-row {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    align-items: stretch;
}
@media (min-width: 760px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3, .cards { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
    .plans-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.site-header {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 0;
}
.app-top {
    position: sticky; top: 0; z-index: 30;
    padding: 8px 0;
}
.app-top-inner {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 56px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    flex-wrap: nowrap;
}
.app-top-tools {
    display: flex; align-items: center; gap: 8px;
    flex: 0 0 auto;
}
.app-top-tools form { margin: 0; }
.mkt-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo { height: 40px; width: auto; display: block; max-width: 180px; object-fit: contain; }
.brand-logo-lg { height: 52px; max-width: 240px; }
.brand-mark { width: 36px; height: 36px; object-fit: contain; display: block; }
.brand .mark {
    width: 32px; height: 32px; border-radius: var(--radius); display: grid; place-items: center;
    background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; font-size: 12px;
}
.nav { display: none; align-items: center; gap: 6px; }
.nav > a {
    text-decoration: none; color: var(--muted); font-weight: 650; font-size: 14px;
    padding: 8px 10px; border-radius: var(--radius);
}
.nav > a:hover, .nav > a.is-active { color: var(--text); background: #f3f4f6; }
.nav .btn, .nav a.btn, .nav a.btn:hover, .nav a.btn:focus-visible {
    color: #fff; background: var(--primary); margin-left: 6px;
}
.nav a.btn:hover { background: var(--primary-2); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
.nav-cta > a:not(.btn) {
    text-decoration: none; color: var(--text); font-weight: 700; font-size: 14px; padding: 8px 10px;
}
.nav-cta > a:not(.btn):hover { background: #f3f4f6; border-radius: var(--radius); }
.nav-toggle {
    width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px;
    background: #fff; display: inline-flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 4px;
    padding: 0; cursor: pointer;
}
.nav-toggle:hover { background: #f3f4f6; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; border-radius: 99px; background: var(--text); transition: transform .15s ease, opacity .15s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (min-width: 900px) {
    .nav { display: flex; }
    .nav-toggle { display: none; }
}
.nav.is-open {
    display: grid; position: absolute; left: 16px; right: 16px; top: 64px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 12px; box-shadow: 0 16px 40px rgba(15, 23, 42, .12);
}
.nav.is-open .nav-cta { border-left: 0; padding-left: 0; margin: 8px 0 0; }

body.theme-marketing {
    background: var(--bg);
}

.lede { font-size: 17px; color: var(--muted); max-width: 54ch; line-height: 1.55; margin: 0 0 1.35em; }
.hero {
    padding: 80px 0 56px;
    background: radial-gradient(1200px 420px at 10% -10%, #bfdbfe 0%, transparent 55%),
                radial-gradient(900px 380px at 90% 0%, #a5f3fc 0%, transparent 50%);
}
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); margin: 0 0 14px; max-width: 16ch; }
.hero .lede { font-size: 18px; max-width: 48ch; color: var(--muted); margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; padding: 0; list-style: none; color: var(--muted); font-size: 13px; font-weight: 650; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta i { width: 6px; height: 6px; background: var(--accent); display: block; }
@media (min-width: 980px) {
    .hero-grid { grid-template-columns: 1.05fr .95fr; }
}

.browser {
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    background: #fff;
}
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: #0f172a; }
.browser-bar i { width: 8px; height: 8px; border-radius: 1px; background: #64748b; display: block; }
.browser-bar i:first-child { background: #f87171; }
.browser-stage { min-height: 280px; padding: 0; position: relative; overflow: hidden; background: #0b1220; color: #fff; }
.fake-site { padding: 22px 22px 28px; }
.fake-nav { height: 10px; width: 38%; border-radius: 2px; background: rgba(255,255,255,.2); margin-bottom: 22px; }
.fake-h { height: 22px; width: 74%; border-radius: 2px; background: #fff; }
.fake-p { height: 8px; width: 88%; margin-top: 12px; border-radius: 2px; background: rgba(255,255,255,.22); }
.fake-p.w2 { width: 58%; }
.fake-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.fake-card {
    height: 78px; border-radius: var(--radius); background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}
.fake-cta { margin-top: 18px; height: 34px; width: 128px; background: #fff; color: #0b1220; border-radius: var(--radius); }

.section { padding: 36px 0; }
.section-tint { background: #fff; }
.section h1, .section h2 { font-size: clamp(20px, 2.5vw, 26px); margin-bottom: 10px; font-weight: 600; }
.section > .wrap > .muted, .section > .wrap > .lede { margin-bottom: 14px; }
.steps { display: grid; gap: 22px; }
.step { padding: 20px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.how-list { display: grid; gap: 14px; }
.how-item {
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.how-ico {
    width: 64px; height: 64px; border-radius: 8px;
    display: grid; place-items: center;
    background: #111827; color: #fff;
}
.how-kicker {
    margin: 0 0 8px;
    font-size: 12px; font-weight: 750; letter-spacing: .08em;
    text-transform: uppercase; color: #7c3aed;
}
.how-item h3 { margin: 0 0 10px; font-size: 18px; }
.how-item p { margin: 0; color: var(--muted); line-height: 1.65; max-width: 52ch; }
.how-item .how-kicker { color: #7c3aed; max-width: none; }
@media (min-width: 900px) { .how-list { grid-template-columns: 1fr 1fr; gap: 14px; } }

.feat-list {
    list-style: none; margin: 8px 0 4px; padding: 0;
    display: grid; gap: 12px;
}
.feat-list li {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 0; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.4;
}
.feat-list .ico { color: #111827; margin-top: 1px; }

.price { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.price .amount { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.price ul { margin: 0 0 12px; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
.price .feat-list { margin: 4px 0 8px; padding: 12px 0 4px; border-top: 1px solid #f1f5f9; }
.price .btn { width: 100%; margin-top: auto; }
.price .badge { align-self: flex-start; }
.price.featured {
    border: 2px solid #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .22);
    animation: plan-glow 1.8s ease-in-out infinite;
}

.cta-band {
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9); color: #fff; border-radius: 16px;
    padding: 36px 28px; text-align: center;
}
.cta-band h2, .cta-band p { color: inherit; }
.cta-band .cta-lede { color: #e2e8f0; }
.cta-band .btn, .cta-band a.btn { background: #fff; color: #0f172a; }
.cta-band .btn:hover, .cta-band a.btn:hover { background: #e2e8f0; color: #0f172a; }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq summary:hover { color: var(--accent); }
.faq-list { display: grid; gap: 10px; }
.faq-item {
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 650; font-size: 15px;
}
.faq-item summary::-webkit-details-marker, .faq-item summary::marker { display: none; content: ''; }
.faq-q { flex: 1; }
.faq-toggle {
    width: 28px; height: 28px; border-radius: 4px; flex: 0 0 auto;
    display: grid; place-items: center; border: 1px solid var(--line); background: #fff;
    transition: transform .15s ease, background .15s ease, color .15s ease;
}
.faq-item[open] .faq-toggle { background: #111827; color: #fff; transform: rotate(45deg); }
.faq-a { padding: 0 18px 18px; }
.faq-a p { margin: 0; color: var(--muted); line-height: 1.65; }

.plan-stack { display: grid; gap: 12px; }
.plan-row {
    display: grid; gap: 18px 24px; align-items: center;
    padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.plan-row.featured {
    border: 2px solid #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .22), 0 10px 28px rgba(37, 99, 235, .18);
    animation: plan-glow 1.8s ease-in-out infinite;
}
@keyframes plan-glow {
    0%, 100% { box-shadow: 0 0 0 3px rgba(37, 99, 235, .22), 0 8px 22px rgba(37, 99, 235, .16); border-color: #2563eb; }
    50% { box-shadow: 0 0 0 6px rgba(124, 58, 237, .28), 0 12px 32px rgba(124, 58, 237, .28); border-color: #7c3aed; }
}
@media (prefers-reduced-motion: reduce) {
    .plan-row.featured, .price.featured { animation: none; }
}
.plan-row h2, .plan-row h3 { font-size: 16px; margin: 0 0 6px; }
.plan-row .amount { font-size: 22px; margin: 0 0 8px; }
.plan-year {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px;
    margin: 0 0 4px; padding: 8px 10px;
    background: linear-gradient(135deg, #ecfdf5, #e0f2fe);
    border: 1px solid #34d399; border-radius: 4px;
    color: #065f46; text-decoration: none; font-size: 13px; font-weight: 650;
}
.plan-year:hover { border-color: #059669; background: #d1fae5; }
.plan-year strong { font-size: 16px; color: #047857; letter-spacing: -.02em; }
.plan-year em { font-style: normal; background: #059669; color: #fff; padding: 2px 7px; border-radius: 4px; font-size: 11px; font-weight: 750; letter-spacing: .02em; }
.plan-year-sm { display: grid; gap: 4px; padding: 8px; }
.plan-year-sm strong { font-size: 15px; }
.plan-row-desc { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.plan-row .feat-list { margin: 0; padding: 0; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.plan-row .feat-list li { font-size: 13px; font-weight: 600; }
.plan-row .btn { justify-self: stretch; }
@media (min-width: 900px) {
    .plan-row { grid-template-columns: minmax(200px, .9fr) 1.3fr minmax(160px, auto); }
    .plan-row .btn { width: 100%; }
}

.contact-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.05fr .95fr; align-items: start; } }
.contact-channels { display: grid; gap: 10px; margin: 0 0 32px; }
.contact-channels .contact-cta { margin: 0 0 8px; }
.contact-channel {
    display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
    padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.contact-channel .how-ico { width: 44px; height: 44px; }
.contact-channel p { margin: 4px 0 0; color: var(--muted); }
.contact-form { display: grid; gap: 14px; border-radius: 8px; }
.contact-form h2 { margin: 0; }

.cms-wrap { max-width: 760px; }
.cms-hero { width: 100%; border-radius: 8px; margin: 0 0 16px; aspect-ratio: 16 / 7; object-fit: cover; }
.cms-body { display: grid; gap: 8px; }
.cms-body h2 { font-size: 18px; margin: 22px 0 8px; }
.cms-body p, .cms-body li { color: var(--text); line-height: 1.7; }
.cms-quote { margin: 12px 0; padding: 14px 18px; border-left: 3px solid #111827; background: #f8fafc; }
.cms-inline-img { border-radius: 8px; margin: 12px 0; }
.example-card h3 { font-size: 18px; margin: 0 0 6px; }
.example-card p { font-size: 14px; color: var(--muted); margin: 0; }
.templates-page { padding-top: 36px; }
.templates-page .lede { max-width: 46rem; }
.example-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 36px 0 0;
}
@media (min-width: 700px) {
    .example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
    .example-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
}
.example-card {
    --cat: #2563eb;
    display: flex; flex-direction: column;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 0;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
    text-decoration: none;
    color: inherit;
    transition: transform .22s ease, box-shadow .22s ease;
}
.example-card[data-cat="construction"] { --cat: #ea580c; }
.example-card[data-cat="beauty"] { --cat: #db2777; }
.example-card[data-cat="medical"] { --cat: #0d9488; }
.example-card[data-cat="restaurant"] { --cat: #ca8a04; }
.example-card[data-cat="roadside"] { --cat: #dc2626; }
.example-card[data-cat="dentist"] { --cat: #2563eb; }
.example-card[data-cat="legal"] { --cat: #92400e; }
.example-card[data-cat="hotel"] { --cat: #1d4ed8; }
.example-card[data-cat="shop"] { --cat: #e11d48; }
.example-card[data-cat="cv"] { --cat: #4f46e5; }
.example-card:hover, .example-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 28px 56px rgba(15, 23, 42, .16);
}
.example-visual {
    position: relative;
    background: #eef2f7;
    overflow: hidden;
}
.example-visual img {
    display: block; width: 100%; aspect-ratio: 16 / 9;
    object-fit: contain; margin: 0; border: 0; border-radius: 0;
    background: #eef2f7;
    transition: transform .35s ease;
}
.example-card:hover .example-visual img,
.example-card:focus-visible .example-visual img {
    transform: scale(1.035);
}
.example-badge { display: none; }
.example-copy { display: none; }
.example-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px 14px 14px;
    background: #fff;
    border-top: 1px solid #eef2f7;
}
.example-ico {
    flex: 0 0 40px; width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: color-mix(in srgb, var(--cat) 14%, #fff);
    color: var(--cat);
}
.example-bar strong {
    flex: 1; min-width: 0;
    font-size: 15px; font-weight: 750; letter-spacing: -.02em;
    line-height: 1.25;
}
.example-go {
    flex: 0 0 36px; width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.example-card:hover .example-go,
.example-card:focus-visible .example-go {
    background: var(--cat);
    border-color: var(--cat);
    color: #fff;
    transform: translateX(3px);
}
.templates-cta { text-align: center; margin: 36px 0 0; }

.board {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 32px rgba(15, 23, 42, .06);
    overflow: hidden;
}
.board-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
    padding: 32px 40px;
    border-bottom: 1px solid var(--line);
}
.board-bar h1, .board-bar h2 { margin: 0; font-size: 26px; }
.board-bar .muted { margin: 8px 0 0; font-size: 15px; line-height: 1.45; }
.board-bar .filters { margin: 0; }
.board-bar .filters select {
    min-height: 44px; min-width: 220px; padding: 10px 14px;
}
.board-strip { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .board-strip { grid-template-columns: 1fr 1fr; } }
.board-strip a {
    display: grid; gap: 6px; padding: 24px 40px;
    text-decoration: none; color: inherit;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}
@media (min-width: 760px) {
    .board-strip a:first-child { border-right: 1px solid var(--line); }
}
.board-strip a:hover { background: #eef2ff; }
.board-strip strong { font-size: 15px; }
.board-strip span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.board-section { padding: 32px 40px 36px; }
.board-section-head {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; margin-bottom: 16px;
}
.board-section-head h2 { margin: 0; }
.board-list { list-style: none; margin: 0; padding: 8px 40px 32px; }
.board-section .board-list { padding: 0; }
.board-list li {
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px; flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}
.board-list li:first-child { border-top: 0; padding-top: 12px; }
.board-list li:last-child { padding-bottom: 8px; }
.board-list strong { display: inline-block; margin-right: 8px; }
.board-actions { display: flex; gap: 8px; margin: 0; flex-wrap: wrap; align-items: center; }
.board-actions form, .board-delete { margin: 0; display: inline-flex; }
.board-empty { padding: 40px; color: var(--muted); }
.board-empty p { margin: 0 0 16px; max-width: 52ch; line-height: 1.55; }
.board-excerpt { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.board-site {
    display: flex; align-items: center; gap: 16px;
    min-width: 0; flex: 1;
}
.board-site strong a { color: inherit; text-decoration: none; }
.board-site strong a:hover { text-decoration: underline; }
.site-shot {
    flex: 0 0 88px;
    width: 88px; height: 64px;
    border-radius: 10px; overflow: hidden;
    border: 1px solid var(--line);
    background: #e2e8f0;
    display: block;
}
.site-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plan-row.is-current {
    border-color: #111827;
    box-shadow: 0 10px 32px rgba(15, 23, 42, .06);
    animation: none;
}
.bill-current { justify-self: stretch; pointer-events: none; }
body.theme-app .board-section .plan-stack { margin-top: 16px; }
body.theme-app .board-section > h2 { margin: 0 0 16px; font-size: 18px; }
.lead-grid { display: grid; }
@media (min-width: 880px) { .lead-grid { grid-template-columns: 1.15fr .85fr; } }
.lead-grid .board-section { border-top: 1px solid var(--line); }
@media (min-width: 880px) {
    .lead-grid .board-section:first-child { border-right: 1px solid var(--line); border-top: 0; }
    .lead-grid .board-section:last-child { border-top: 0; }
}
.lead-message { white-space: pre-wrap; line-height: 1.65; margin: 0 0 20px; }
.lead-meta { display: grid; gap: 14px; margin: 0; }
.lead-meta dt { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.lead-meta dd { margin: 4px 0 0; }
.board-form { display: grid; gap: 16px; }
.board-form h2 { margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.field { margin: 0; }
.ticket-thread { display: grid; gap: 12px; padding: 28px 40px; background: #f8fafc; }
.ticket-msg { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.ticket-msg.is-staff { border-left: 3px solid #111827; }
.ticket-msg header { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.ticket-msg p { margin: 0; white-space: pre-wrap; }
.ticket-new { border-bottom: 1px solid var(--line); }
.rate-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.rate-pick { cursor: pointer; }
.rate-pick input { position: absolute; opacity: 0; }
.rate-pick span {
    display: inline-block; padding: 8px 12px; border: 1px solid var(--line);
    border-radius: 4px; font-weight: 700;
}
.rate-pick input:checked + span { background: #111827; color: #fff; border-color: #111827; }
.star-read { font-size: 18px; letter-spacing: 2px; color: #d97706; }
.restore-row {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px;
}
.restore-row .field { flex: 1 1 280px; margin: 0; }
.restore-row .form-actions { margin: 0; }
.restore-row .btn { flex: 0 0 auto; min-height: 44px; }
.site-actions { display: flex; flex-wrap: wrap; gap: 10px; border-bottom: 1px solid var(--line); }

.dash-home { display: grid; gap: 24px; }
.dash-hero {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
    padding: 8px 4px 4px;
}
.dash-kicker {
    margin: 0 0 10px;
    font-size: 12px; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: #4f46e5;
}
.dash-hero h1 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 36px); }
.dash-hero .muted { margin: 0; max-width: 46ch; font-size: 16px; }
.dash-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dash-tiles { display: grid; gap: 16px; }
@media (min-width: 840px) { .dash-tiles { grid-template-columns: repeat(3, 1fr); } }
.dash-tile {
    display: grid; align-content: start; gap: 8px;
    min-height: 148px;
    padding: 28px 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 32px rgba(15, 23, 42, .05);
    text-decoration: none; color: inherit;
}
.dash-tile:hover { border-color: #c7d2fe; box-shadow: 0 16px 36px rgba(79, 70, 229, .1); }
.dash-tile-ico {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: #eef2ff; color: #4338ca;
    margin-bottom: 6px;
}
.dash-tile strong { font-size: 17px; }
.dash-tile span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.dash-tile em {
    font-style: normal; font-weight: 750; font-size: 13px;
    margin-top: 8px; color: #4f46e5;
}
.dash-tile.is-hot {
    background: #111827; color: #fff; border-color: #111827;
}
.dash-tile.is-hot .dash-tile-ico { background: rgba(255,255,255,.12); color: #fff; }
.dash-tile.is-hot span { color: #cbd5e1; }
.dash-tile.is-hot em { color: #fff; }

body.theme-marketing.theme-app .app-main { width: min(1320px, calc(100% - 32px)); margin: 32px auto 72px; }
body.theme-marketing.theme-app .aurora { display: none; }
body.theme-marketing.theme-app {
    background: #eef1f6;
}
body.theme-marketing.theme-app .badge { text-transform: none; letter-spacing: 0; }
body.theme-marketing.theme-app .dash-head { margin-bottom: 0; padding: 14px 16px; }
body.theme-marketing.theme-app .dash-docs { margin: 0; padding: 12px 16px; }
body.theme-marketing.theme-app .cards { gap: 12px; }
body.theme-marketing.theme-app .tpl-thumb { margin: 0 0 10px; border-radius: 8px; }

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; color: var(--muted); background: #fff; }
.footer-top { display: grid; gap: 24px; margin-bottom: 40px; align-items: start; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 999px;
    background: rgba(15, 23, 42, .06); color: var(--text);
    text-decoration: none; font-weight: 650; font-size: 14px;
}
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) {
    .footer-top { grid-template-columns: 1.3fr 1fr; align-items: center; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer strong { display: block; margin-bottom: 12px; color: var(--text); }
.footer-bar {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    margin-top: 40px; padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}
.footer-bar p { margin: 0; }

body.theme-auth {
    min-height: 100vh;
    display: grid; place-items: center;
    background: radial-gradient(900px 500px at 20% 0%, #bfdbfe, transparent 55%),
                radial-gradient(700px 400px at 100% 100%, #a5f3fc, transparent 50%),
                var(--bg);
    padding: 32px 16px;
}
.auth-card { width: min(440px, 100%); padding: 36px; }
.auth-card h1 { font-size: 26px; }
.auth-card form { display: grid; gap: 14px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); font-weight: 650; }
.auth-links a:hover { color: var(--text); }
.btn-google, a.btn-google {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; min-height: 46px; padding: 10px 16px;
    background: #fff; color: #1f1f1f;
    border: 1px solid #dadce0; border-radius: var(--radius);
    font-weight: 650; font-size: 15px; line-height: 1; text-decoration: none;
    box-sizing: border-box;
}
.btn-google:hover, a.btn-google:hover { background: #f8f9fa; border-color: #c5c9d0; color: #1f1f1f; }
.btn-google svg { width: 18px; height: 18px; flex: 0 0 auto; }
.auth-or {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
    margin: 16px 0 4px; color: var(--muted); font-size: 12px; font-weight: 650;
    text-transform: uppercase; letter-spacing: .04em;
}
.auth-or::before, .auth-or::after { content: ''; height: 1px; background: var(--line); }
.checkout-pay .btn-google { margin: 4px 0 8px; }

body.theme-app { background: var(--bg); overflow-x: hidden; }
.app-shell { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.app-top { background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px; min-height: 56px; }
.app-main { width: min(1320px, calc(100% - 48px)); margin: 32px auto 80px; min-width: 0; }
.app-nav { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; }
.app-nav-links { display: flex; gap: 2px; overflow-x: auto; flex: 1 1 auto; min-width: 0; scrollbar-width: none; }
.app-nav-links::-webkit-scrollbar { display: none; }
.app-nav .app-top-tools { margin-left: auto; }
.app-nav-links a {
    text-decoration: none; color: var(--muted); font-weight: 650; font-size: 13px; white-space: nowrap;
    padding: 8px 10px; border-radius: var(--radius);
    display: inline-flex; align-items: center; gap: 6px;
}
.app-nav-links a:hover { color: var(--text); background: #f3f4f6; }
.app-nav-links a.is-active { color: #fff; background: var(--primary); }
.nav-badge {
    display: inline-grid; place-items: center;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px; background: #e11d48; color: #fff;
    font-size: 11px; font-weight: 800; line-height: 1;
}

.dash-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding: 28px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #1d4ed8, #0284c7);
    color: #fff;
}
.dash-head-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dash-head h1 { margin: 0 0 8px; color: #fff; }
.dash-head .muted { margin: 0; color: rgba(255,255,255,.86); }
.dash-head .btn { background: #fff; color: #1d4ed8; }
.dash-head .btn:hover { background: #e0f2fe; color: #1e3a8a; }
.dash-note {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin: 0 0 24px;
    font-weight: 650;
    text-decoration: none;
    color: var(--text);
}
.dash-note:hover { border-color: var(--primary); }
.dash-site {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.dash-site h3 { margin: 0 0 6px; }
.dash-site-links { display: flex; gap: 8px; margin: 0; }

.tpl-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #eef2f7;
    border: 1px solid var(--line);
    border-radius: 16px;
    margin: 0 0 22px;
}
.compare-title { margin: 72px 0 16px; }
.compare-wrap { margin-top: 8px; }
table.compare th:first-child, table.compare td:first-child { font-weight: 700; background: #f8fafc; }
.compare-board {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 8px;
}
.compare-grid {
    display: grid;
    min-width: 860px;
    grid-template-columns: minmax(240px, 1.55fr) repeat(var(--cols, 4), minmax(150px, 1fr));
}
.compare-cell {
    padding: 20px 22px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
}
.compare-label { align-items: flex-start; background: #fbfbfd; }
.compare-label strong { display: block; font-size: 14px; }
.compare-ico {
    width: 36px; height: 36px; border-radius: 8px; flex: 0 0 auto;
    display: grid; place-items: center;
    background: #fff; border: 1px solid var(--line); color: #111827;
}
.compare-cell .hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.45;
    max-width: 28ch;
}
.compare-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    min-height: 110px;
}
.compare-head strong { font-family: var(--font-display); font-size: 18px; }
.compare-head .amount-sm { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.compare-corner { background: #fbfbfd; }
.compare-val { font-weight: 700; font-size: 13px; line-height: 1.35; }
.compare-yes, .compare-no { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.compare-yes { color: #111827; }
.compare-no { color: #94a3b8; font-weight: 650; }
.compare-cta { padding-top: 24px; padding-bottom: 24px; }
.compare-cta .btn { width: 100%; }
.compare-cta-label, .compare-cta { border-bottom: 0; background: #fff; }
.compare-cta-label { background: #fbfbfd; }
.checkout {
    display: grid;
    gap: 24px;
}
@media (min-width: 900px) {
    .checkout { grid-template-columns: .9fr 1.1fr; align-items: start; }
}
.checkout-summary .checkout-price { font-size: 36px; font-weight: 800; letter-spacing: -.04em; margin: 8px 0; }
.checkout-list { margin: 16px 0 20px; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); }
.checkout-list.feat-list { padding-left: 0; color: var(--text); }
.cycle-switch { display: grid; gap: 10px; margin: 18px 0; }
@media (min-width: 640px) { .cycle-switch { grid-template-columns: 1fr 1fr; } }
.cycle-switch .check:has([value="yearly"]) {
    border: 2px solid #059669;
    background: linear-gradient(135deg, #ecfdf5, #e0f2fe);
}
.cycle-switch .check:has([value="yearly"]) strong { color: #047857; }
.cycle-switch .year-save {
    display: inline-block; margin-top: 4px;
    background: #059669; color: #fff; font-style: normal;
    font-size: 11px; font-weight: 750; padding: 2px 7px; border-radius: 4px;
}
.card-form { display: grid; gap: 14px; margin-top: 8px; }
.card-form .btn { min-height: 48px; font-size: 16px; }
.checkout-secure { font-size: 12px; }
.checkout-done { max-width: 640px; padding: 36px; }

.check:hover { border-color: var(--primary); background: #f8fbff; }
.check:has(input:checked) {
    border-color: var(--primary);
    background: #eff6ff;
    box-shadow: inset 3px 0 0 var(--primary);
}
.check input[type="checkbox"]:checked,
.check input[type="radio"]:checked {
    background-color: var(--primary); border-color: var(--primary);
}

.stat { padding: 18px; }
.stat strong { display: block; font-size: 28px; }
.stat span { color: var(--muted); font-size: 13px; }

.wizard-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.wizard-steps span {
    padding: 6px 10px; border-radius: var(--radius); border: 1px solid var(--line); font-size: 12px; color: var(--muted); background: #fff; font-weight: 650;
}
.wizard-steps .is-on { background: var(--primary); color: #fff; border-color: var(--primary); }
.wizard-steps .is-on { background: var(--primary); color: #fff; border-color: var(--primary); }

.create-head { margin-bottom: 18px; }
.create-head h1 { font-size: 26px; letter-spacing: -.03em; margin: 0 0 6px; }
.create-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.create-head-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; }
.create-switch { display: flex; gap: 8px; }
.create-modes { display: grid; gap: 10px; }
.create-tpl-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 760px) {
    .create-modes { grid-template-columns: 1fr 1fr; }
    .create-tpl-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
    .create-tpl-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
.create-mode {
    text-decoration: none; color: inherit;
    display: block; min-height: 0; padding: 0; overflow: hidden;
    border-radius: 14px; box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.create-tpl-grid .create-mode,
body.theme-marketing.theme-app a.card.create-mode {
    padding: 0; border-radius: 14px;
}
.create-mode .tpl-visual {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 4 / 3; background: #1a1d21;
}
.create-tpl-grid .tpl-thumb,
body.theme-marketing.theme-app .create-mode .tpl-thumb {
    width: 100%; height: 100%; aspect-ratio: auto;
    object-fit: cover; object-position: center top;
    border: 0; margin: 0; border-radius: 0; background: #ece8df; display: block;
    transition: transform .25s ease;
}
.create-mode .tpl-ico {
    position: absolute; top: 8px; left: 8px; bottom: auto; z-index: 2;
    width: 28px; height: 28px; border-radius: 8px;
    background: #fff; color: var(--text);
    display: grid; place-items: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .18);
    border: 0;
}
.create-mode .tpl-copy {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
    padding: 36px 10px 9px;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 10, 14, .12) 35%, rgba(8, 10, 14, .78) 100%);
    color: #fff;
}
.create-mode strong { display: block; padding: 0; margin: 0; font-size: 14px; line-height: 1.2; color: #fff; }
.create-mode p { margin: 3px 0 0; padding: 0; color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.3; }
.create-mode:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 23, 42, .16); }
.create-mode:hover .tpl-thumb { transform: scale(1.04); }
.create-mode h2 { margin: 0; }
.wizard-form { display: grid; gap: 16px; padding: 28px; border-radius: 20px; box-shadow: 0 18px 50px rgba(15, 23, 42, .07); overflow: visible; }
.wizard-form .field { font-size: 13px; font-weight: 650; }
.field-name {
    display: flex; flex-direction: row; flex-wrap: nowrap; align-items: baseline;
    gap: 6px; width: max-content; max-width: 100%;
    line-height: 1.25; font-weight: 650;
}
.field-name-txt { flex: 0 1 auto; }
.field-name .tip { margin: 0; flex: 0 0 auto; overflow: visible; align-self: center; }
.req { color: #dc2626; font-weight: 800; margin: 0; flex: 0 0 auto; }
.field-legend { margin: 4px 0 8px; font-size: 13px; font-weight: 650; color: var(--text); }
.field-hint { margin: 0; font-size: 12px; }
.wiz-ai-field { display: grid; gap: 8px; }
.btn-wand {
    justify-self: start; display: inline-flex; align-items: center; gap: 6px;
    min-height: 36px; padding: 6px 12px; font-size: 13px;
}
.btn-wand .ico { color: var(--primary); }
.btn-wand[disabled] { opacity: .55; cursor: wait; }
.wiz-ai-msg { margin: 0; font-size: 13px; color: #b45309; }
.wiz-logo-note { margin: 0; font-size: 13px; }
.tip { position: relative; display: inline-flex; margin: 0; vertical-align: middle; cursor: help; }
.tip-i {
    width: 16px; height: 16px; border-radius: 99px; border: 1px solid #cbd5e1;
    color: var(--muted); font-size: 11px; font-weight: 800; font-style: normal;
    display: grid; place-items: center; line-height: 1; background: #fff;
}
.tip-box {
    position: absolute; left: 0; bottom: calc(100% + 8px); transform: none;
    width: min(260px, calc(100vw - 72px)); padding: 8px 10px; border-radius: 10px;
    background: #0f172a; color: #fff; font-size: 12px; font-weight: 500; line-height: 1.4;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .2); opacity: 0; pointer-events: none;
    z-index: 40; text-transform: none; letter-spacing: 0; text-align: left;
}
.tip-box:after {
    content: ""; position: absolute; left: 8px; top: 100%; transform: none;
    border: 6px solid transparent; border-top-color: #0f172a;
}
.tip:hover .tip-box, .tip:focus .tip-box, .tip:focus-within .tip-box { opacity: 1; }
.wizard-item-list { display: grid; gap: 10px; margin: 8px 0; }
.wizard-item-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 8px;
    align-items: end;
}
.wizard-item-row .grid-2 { margin: 0; }
.wizard-item-remove {
    width: 40px; min-height: 44px; margin-top: 0;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer;
}
.wizard-item-remove:hover { background: #f8fafc; color: var(--text); border-color: #cbd5e1; }
.wizard-item-add { justify-self: start; margin-top: 2px; }
.create-chat, .lai-chat { display: grid; background: #fff; }
.create-chat.card, .lai-chat.card { padding: 0; overflow: hidden; }
.lai-chat-head, .create-chat .lai-chat-head {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    background: #0f172a; color: #fff;
}
.lai-chat-head .mark {
    width: 36px; height: 36px; border-radius: 4px;
    background: #fff; color: #0f172a;
    display: grid; place-items: center; font-weight: 800; font-size: 12px;
}
.lai-chat-head strong { display: block; font-size: 14px; }
.lai-chat-head small { color: #94a3b8; font-size: 12px; }
.chat-thread {
    display: grid; gap: 10px; max-height: 360px; overflow: auto;
    padding: 16px; background: #f8fafc; min-height: 180px;
}
.chat-msg {
    max-width: 82%; padding: 12px 14px; border-radius: 4px; font-size: 15px; line-height: 1.45;
    box-shadow: 0 1px 0 rgba(15,23,42,.04);
}
.chat-msg.is-bot { background: #fff; justify-self: start; border: 1px solid var(--line); }
.chat-msg.is-me { background: #111827; color: #fff; justify-self: end; }
.chat-composer, .chat-ready { display: grid; gap: 12px; padding: 14px 16px 16px; background: #fff; border-top: 1px solid var(--line); }
.lai-chat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.create-guide { display: grid; gap: 10px; padding: 22px 24px 8px; }
.create-guide h2 { margin: 0; }
.create-guide .lede { margin: 0; max-width: 62ch; }
.create-examples-label { margin: 8px 0 0; font-size: 13px; font-weight: 650; }
.create-hint { margin: 0; padding: 18px 24px 0; color: var(--muted); max-width: 62ch; line-height: 1.55; }
.lai-chip {
    border: 1px solid var(--line); background: #fff; border-radius: 4px;
    padding: 6px 10px; font-size: 12px; font-weight: 650; cursor: pointer; color: var(--text);
}
.lai-chip:hover { border-color: #0f172a; background: #f8fafc; }
.lai-chat-composer {
    display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--line); background: #fff;
}
.lai-chat-composer input {
    flex: 1; border: 1px solid #b8c0cc; border-radius: 4px; padding: 12px 14px; min-height: 44px;
}
.lai-chat-composer .btn { min-height: 44px; }
.create-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.photo-thumbs figure { margin: 0; position: relative; }
.photo-thumbs img { width: 100%; height: 110px; object-fit: cover; border-radius: var(--radius); display: block; }
.photo-remove {
    position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 4px;
    background: rgba(15, 23, 42, .75); color: #fff; cursor: pointer; font-size: 16px;
}
.progress { height: 6px; background: var(--bg-2); border-radius: var(--radius); overflow: hidden; }
.progress > i { display: block; height: 100%; width: 8%; background: var(--primary); transition: width .4s ease; }

.builder {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 52px auto 1fr auto;
    min-height: 100vh;
    background: #e8edf3;
}
.builder-top {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: 14px;
    padding: 0 12px; background: #0f172a; color: #fff; min-height: 52px;
}
.builder-top .brand { color: #fff; }
.builder-top .brand-mark { width: 32px; height: 32px; object-fit: contain; }
.builder-top .brand .mark { background: #fff; color: #0f172a; }
.builder-top-name { display: grid; min-width: 0; }
.builder-top-name strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.builder-top-name .muted { color: #94a3b8; font-size: 12px; }
.builder-devices { display: flex; gap: 4px; margin-left: auto; }
.builder-top .btn-ghost { background: transparent; color: #e2e8f0; border-color: transparent; }
.builder-top .btn-ghost:hover, .builder-top .btn-ghost.is-active { background: #1e293b; color: #fff; }
.builder-top .btn { background: #fff; color: #0f172a; }
.builder-top .btn:hover { background: #e2e8f0; color: #0f172a; }
.builder-top-actions { display: flex; gap: 6px; align-items: center; }
.builder-col { background: #fff; border-right: 1px solid var(--line); overflow: auto; min-height: 0; }
.builder-panel { border-right: 0; border-left: 1px solid var(--line); }
.builder-col-head { padding: 12px 14px 8px; display: grid; gap: 2px; }
.builder-col-head small { font-size: 11px; }
.builder-layer-list { display: grid; }
.builder-layer {
    display: grid; grid-template-columns: 18px 1fr auto auto auto; align-items: center; gap: 4px;
    padding: 8px 8px; border-bottom: 1px solid var(--line); background: #fff; cursor: grab;
}
.builder-layer.is-on { background: #eef2ff; }
.builder-layer.is-off { opacity: .55; }
.builder-layer.is-dragging { opacity: .4; }
.builder-drag { color: #94a3b8; font-size: 12px; letter-spacing: -2px; user-select: none; }
.builder-layer-name { min-width: 0; text-decoration: none; color: inherit; display: grid; }
.builder-layer-name strong { font-size: 13px; }
.builder-layer-name small { color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.builder-ico {
    width: 26px; height: 26px; border: 0; background: transparent; cursor: pointer;
    border-radius: 4px; color: #64748b; font-size: 14px;
}
.builder-ico:hover { background: #f1f5f9; color: #0f172a; }
.builder-ico.danger:hover { background: #fff1f2; color: #be123c; }
.builder-add { padding: 12px; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.builder-canvas { min-width: 0; display: grid; grid-template-rows: auto 1fr; padding: 8px; }
.builder-hint { margin: 0 0 8px; font-size: 12px; text-align: center; }
.builder-tabs { display: flex; border-bottom: 1px solid var(--line); }
.builder-tabs button {
    flex: 1; border: 0; background: transparent; padding: 12px; font-weight: 700; cursor: pointer; color: var(--muted);
}
.builder-tabs button.is-on { color: var(--text); box-shadow: inset 0 -2px 0 #111827; }
.builder-panel-lead { padding: 12px 14px 0; margin: 0; }
.builder-panel form[data-builder-form] { padding: 12px 14px; display: grid; gap: 10px; }
.builder-ai-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px; }
.builder-panel form:not([data-builder-form]):not([data-assistant-form]) { padding: 0 14px 16px; }
.builder-chat { border: 0; min-height: 100%; }
.builder-chat .chat-log { min-height: 220px; max-height: 280px; }
.preview-shell { display: grid; place-items: start center; padding: 0; background: #dbe3ee; border-radius: 4px; overflow: hidden; min-height: 0; }
.preview-shell[data-size="mobile"] iframe { width: 390px; }
.preview-shell[data-size="tablet"] iframe { width: 768px; }
.preview-shell iframe { width: 100%; height: calc(100vh - 110px); border: 0; background: #fff; }
.chat-log { height: 180px; overflow: auto; display: grid; gap: 8px; padding: 12px; align-content: start; }
.chat-bubble { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; font-size: 13px; }
.chat-bubble.me { background: #111827; color: #fff; justify-self: end; border-color: #111827; }
body.theme-builder { margin: 0; background: #e8edf3; }
body.theme-builder .toast-root { z-index: 120; }
@media (min-width: 1100px) {
    .builder {
        grid-template-columns: 250px 1fr 340px;
        grid-template-rows: 52px 1fr;
    }
    .builder-top { grid-column: 1 / -1; }
    .builder-layers { grid-row: 2; }
    .builder-canvas { grid-row: 2; }
    .builder-panel { grid-row: 2; }
}

body.theme-admin {
    --admin-bg: #f0f0f1;
    --admin-side: #1d2327;
    --admin-side-2: #2c3338;
    --admin-bar: #1d2327;
    --admin-blue: #2271b1;
    --admin-blue-2: #135e96;
    --admin-text: #1d2327;
    --admin-muted: #646970;
    --admin-line: #dcdcde;
    --admin-radius: 4px;
    display: grid;
    min-height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: 40px 1fr;
    background: var(--admin-bg);
    color: var(--admin-text);
    letter-spacing: 0;
}
body.theme-admin h1, body.theme-admin h2, body.theme-admin h3, body.theme-admin h4 {
    letter-spacing: -.02em;
    font-weight: 650;
}
body.theme-admin h1 {
    font-size: 20px;
    font-weight: 650;
    margin: 0 0 12px;
    color: #1d2327;
}
body.theme-admin h2 {
    font-size: 15px;
    font-weight: 650;
    margin: 0 0 12px;
    color: #1d2327;
}
body.theme-admin form h2 {
    margin: 8px 0 2px;
    padding-top: 10px;
    border-top: 1px solid var(--admin-line);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #646970;
}
body.theme-admin form h2:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.admin-bar {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 40px;
    padding: 0 12px 0 10px;
    background: var(--admin-bar);
    color: #fff;
    z-index: 50;
}
.admin-bar strong { font-weight: 600; font-size: 13px; color: #fff; }
.admin-bar-search {
    flex: 1;
    display: flex;
    max-width: 420px;
    margin-left: 8px;
}
.admin-bar-search input {
    flex: 1;
    height: 32px;
    border: 0;
    border-radius: var(--admin-radius) 0 0 var(--admin-radius);
    padding: 0 12px;
    background: #2c3338;
    color: #fff;
}
.admin-bar-search input::placeholder { color: #a7aaad; }
.admin-bar-search input:focus { outline: 2px solid #72aee6; background: #fff; color: #1d2327; }
.admin-bar-search button {
    height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: 0 var(--admin-radius) var(--admin-radius) 0;
    background: #3c434a;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.admin-bar-search button:hover { background: var(--admin-blue); }
.admin-bar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.admin-bar .btn, .admin-bar .btn-ghost, .admin-bar .btn-danger {
    height: 32px;
    padding: 0 12px;
    border-radius: var(--admin-radius);
    box-shadow: none;
    transform: none;
    font-size: 13px;
    font-weight: 600;
}
body.theme-admin .admin-bar .btn-ghost {
    background: transparent;
    border: 0;
    color: #c3c4c7;
}
body.theme-admin .admin-bar .btn-ghost:hover {
    background: #2c3338;
    color: #fff;
    transform: none;
    border-color: transparent;
}
.admin-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: var(--admin-radius);
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.admin-menu-btn:hover { background: #2c3338; }

.admin-side {
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--admin-side);
    color: #fff;
    padding: 6px 0 20px;
    overflow: auto;
}
.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 8px 8px;
    padding: 10px 12px;
    border-radius: var(--admin-radius);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -.03em;
    line-height: 1.15;
}
.admin-brand:hover { background: #2c3338; }
.admin-brand-logo {
    height: 26px; width: auto; max-width: 118px;
    object-fit: contain; flex: 0 0 auto; display: block;
}
.admin-brand .mark {
    width: 28px;
    height: 28px;
    border-radius: var(--admin-radius);
    background: var(--admin-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}
.admin-side nav { display: flex; flex-direction: column; flex: 1; }
.admin-side a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c3c4c7;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 0;
    border-left: 4px solid transparent;
    font-size: 13px;
    font-weight: 500;
}
.admin-side a .admin-ico,
.admin-side summary .admin-ico,
.admin-fold-btn .admin-ico { width: 18px; height: 18px; flex: 0 0 18px; opacity: .9; }
.admin-side a:hover { background: #2c3338; color: #fff; }
.admin-side a.is-active {
    background: var(--admin-blue);
    color: #fff;
    border-left-color: #72aee6;
    font-weight: 600;
}
.admin-menu-group {
    border: 0;
}
.admin-menu-group > summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c3c4c7;
    padding: 7px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    user-select: none;
}
.admin-menu-group > summary::-webkit-details-marker { display: none; }
.admin-menu-group > summary::after {
    content: "";
    margin-left: auto;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-left-color: #8c8f94;
}
.admin-menu-group[open] > summary::after {
    border-left-color: transparent;
    border-top-color: #8c8f94;
    margin-top: 4px;
}
.admin-menu-group > summary:hover { background: #2c3338; color: #fff; }
.admin-sub { display: flex; flex-direction: column; }
.admin-sub a { padding-left: 22px; }
.admin-fold-btn {
    display: none;
    align-items: center;
    gap: 10px;
    margin: 8px 8px 0;
    padding: 8px 10px;
    border: 0;
    border-radius: var(--admin-radius);
    background: transparent;
    color: #c3c4c7;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}
.admin-fold-btn:hover { background: #2c3338; color: #fff; }

body.admin-folded .admin-side {
    overflow: visible;
}
body.admin-folded .admin-brand {
    justify-content: center;
    margin: 4px;
    padding: 10px 4px;
}
body.admin-folded .admin-brand > span {
    display: none;
}
body.admin-folded .admin-brand-logo {
    height: 22px; max-width: 52px;
}
body.admin-folded .admin-side a:not(.admin-brand) span,
body.admin-folded .admin-menu-group > summary,
body.admin-folded .admin-fold-btn span {
    display: none;
}
body.admin-folded .admin-side a,
body.admin-folded .admin-fold-btn {
    justify-content: center;
    gap: 0;
    padding: 8px 0;
    border-left-width: 0;
}
body.admin-folded .admin-sub a { padding-left: 0; }
body.admin-folded .admin-fold-btn { margin: 8px 0 0; }
body.admin-folded .admin-fold-btn .admin-ico { transform: rotate(180deg); }
body.admin-folded .admin-side a[data-tip] {
    position: relative;
}
body.admin-folded .admin-side a[data-tip]:hover::after,
body.admin-folded .admin-fold-btn[data-tip]:hover::after {
    content: attr(data-tip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 8px;
    background: #1d2327;
    color: #fff;
    padding: 6px 10px;
    white-space: nowrap;
    z-index: 80;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,.35);
    pointer-events: none;
    font-size: 12px;
    font-weight: 600;
}

.admin-main { background: var(--admin-bg); color: var(--admin-text); min-height: 0; }
.admin-content {
    width: auto;
    max-width: 1320px;
    margin: 0;
    padding: 20px 24px 48px;
}
.admin-overlay {
    position: fixed;
    inset: 40px 0 0 0;
    background: rgba(0,0,0,.45);
    z-index: 35;
    border: 0;
    display: none;
}
.admin-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.admin-page-head h1 { margin: 0; }
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

body.theme-admin .btn, body.theme-admin .btn-ghost, body.theme-admin .btn-danger {
    border-radius: var(--admin-radius);
    padding: 8px 12px;
    font-weight: 600;
    box-shadow: none;
    transform: none;
    letter-spacing: 0;
    min-height: 32px;
}
body.theme-admin .btn {
    background: var(--admin-blue);
    color: #fff;
}
body.theme-admin .btn:hover { background: var(--admin-blue-2); transform: none; color: #fff; }
body.theme-admin .btn-ghost {
    background: #fff;
    border: 1px solid var(--admin-line);
    color: var(--admin-text);
}
body.theme-admin .btn-ghost:hover { background: #f6f7f7; border-color: #8c8f94; transform: none; }
body.theme-admin .btn-danger { background: #d63638; }
body.theme-admin .btn-sm { padding: 6px 10px; min-height: 28px; }
body.theme-admin .card {
    border-radius: var(--admin-radius);
    box-shadow: none;
    border: 1px solid var(--admin-line);
    padding: 14px 16px;
    margin-bottom: 12px;
}
body.theme-admin form.card,
body.theme-admin .admin-form {
    display: grid;
    gap: 12px;
}
body.theme-admin .field {
    gap: 4px;
    font-size: 12px;
    font-weight: 650;
    color: var(--admin-text);
}
body.theme-admin .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.theme-admin .field select,
body.theme-admin .field textarea {
    border-radius: var(--admin-radius);
    border-color: #8c8f94;
    padding: 8px 10px;
    min-height: 34px;
}
body.theme-admin .field textarea { min-height: 80px; }
.partner-media {
    display: grid;
    gap: 16px;
}
@media (min-width: 800px) {
    .partner-media { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); align-items: start; }
}
.partner-logo-preview {
    width: 72px; height: 72px; object-fit: contain;
    border: 1px solid #c3c4c7; background: #fff; padding: 6px;
    display: block; margin-top: 8px;
}
.partner-banner-preview {
    display: block; width: 100%; max-width: 420px;
    aspect-ratio: 16 / 9; object-fit: cover;
    border: 1px solid #c3c4c7; background: #1d2327;
    margin-top: 8px;
}
table.data .partner-logo-preview { width: 40px; height: 40px; margin: 0; padding: 4px; }
body.theme-admin .field input:focus,
body.theme-admin .field select:focus,
body.theme-admin .field textarea:focus {
    outline: 2px solid #72aee6;
    border-color: var(--admin-blue);
}
body.theme-admin .check {
    gap: 12px;
    padding: 10px 12px;
    font-size: 13px;
    background: #fff;
}
body.theme-admin .check:hover { background: #f6f7f7; }
body.theme-admin .check:has(input:checked) {
    background: #eef4f9;
    border-color: var(--admin-blue);
    box-shadow: inset 3px 0 0 var(--admin-blue);
}
body.theme-admin .check input[type="checkbox"]:checked,
body.theme-admin .check input[type="radio"]:checked {
    background-color: var(--admin-blue);
    border-color: var(--admin-blue);
}
body.theme-admin .alert, body.theme-admin .toast {
    border-radius: var(--admin-radius);
    padding: 8px 12px;
    margin-bottom: 12px;
}
body.theme-admin .badge { border-radius: var(--admin-radius); }
body.theme-admin .admin-content a { color: var(--admin-blue); text-decoration: none; }
body.theme-admin .admin-content a:hover { color: var(--admin-blue-2); text-decoration: underline; }
body.theme-admin .admin-content .btn { color: #fff; text-decoration: none; }
body.theme-admin .admin-content .btn:hover { color: #fff; text-decoration: none; }
body.theme-admin .admin-content .btn-ghost { color: var(--admin-text); text-decoration: none; }
body.theme-admin .admin-content .btn-ghost:hover { color: var(--admin-text); text-decoration: none; }
body.theme-admin .admin-content .btn-danger { color: #fff; text-decoration: none; }
body.theme-admin .table-wrap { overflow: auto; border: 1px solid var(--admin-line); border-radius: var(--admin-radius); background: #fff; }
body.theme-admin .table-wrap table.data { border: 0; }
body.theme-admin table.data {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    border: 1px solid var(--admin-line);
}
body.theme-admin table.data th {
    background: #f6f7f7;
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
    font-weight: 650;
    color: #1d2327;
    padding: 8px 10px;
}
body.theme-admin table.data td { padding: 8px 10px; }
body.theme-admin table.data tr:hover td { background: #f6f7f7; }
body.theme-admin .filters { gap: 8px; margin-bottom: 12px; align-items: center; }
body.theme-admin .filters input,
body.theme-admin .filters select {
    border-radius: var(--admin-radius);
    padding: 6px 8px;
    min-height: 32px;
    min-width: 180px;
    border-color: #8c8f94;
}
body.theme-admin .grid-2 > .card,
body.theme-admin .grid-3 > .card,
body.theme-admin .grid-4 > .card,
body.theme-admin .plans-row > .card {
    margin-bottom: 0;
}
body.theme-admin .stat { padding: 12px 14px; margin-bottom: 0; }
body.theme-admin .stat strong { font-size: 22px; font-weight: 700; }
body.theme-admin .grid-4, body.theme-admin .grid-2, body.theme-admin .grid-3 { gap: 12px; }
body.theme-admin .chart i { border-radius: 3px 3px 0 0; background: var(--admin-blue); }
body.theme-admin .empty { border-radius: var(--admin-radius); }

@media (min-width: 980px) {
    body.theme-admin { grid-template-columns: 196px 1fr; }
    body.theme-admin.admin-folded { grid-template-columns: 44px 1fr; }
    .admin-side { display: flex; }
    .admin-menu-btn { display: none; }
    .admin-fold-btn { display: flex; }
}
body.sidebar-open .admin-side {
    display: flex;
    position: fixed;
    top: 40px;
    left: 0;
    bottom: 0;
    width: 220px;
    z-index: 40;
}
body.sidebar-open .admin-overlay { display: block; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filters input, .filters select { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; background: #fff; }

.chart {
    display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: 10px;
}
.chart i {
    flex: 1; background: var(--primary);
    border-radius: 2px 2px 0 0; min-height: 6px;
}

@media (max-width: 979px) {
    .admin-content { padding: 20px 16px 48px; }
    .admin-bar-search { display: none; }
    body.theme-admin .filters input, body.theme-admin .filters select { min-width: 0; width: 100%; }
    body.theme-admin .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 759px) {
    .hero { padding-top: 32px; }
    .section { padding: 24px 0; }
    .app-main { margin-top: 16px; }
    .nav-cta { border: 0; margin-left: 0; padding-left: 0; }
}

.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
    display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
    background: #0f172a; color: #fff; border-radius: var(--radius); padding: 14px 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .2); border: 0;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; color: #cbd5e1; font-size: 14px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner .btn { background: #fff; color: #0f172a; }
.cookie-banner .btn:hover { background: #e2e8f0; color: #0f172a; }

.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--bg); font-family: var(--font); }
.error-card { width: min(480px, calc(100% - 32px)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; text-align: center; }

body.page-404 {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(900px 480px at 50% -10%, rgba(37, 99, 235, .28), transparent 58%),
        #05070d;
    color: #fff;
    font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
    display: grid;
    place-items: center;
}
.page-404-inner {
    width: min(880px, calc(100% - 32px));
    text-align: center;
    padding: 28px 12px 48px;
}
.page-404-brand {
    display: inline-flex;
    margin: 0 auto 8px;
}
.page-404-brand img { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.page-404-art {
    width: min(680px, 100%);
    height: auto;
    margin: 0 auto 8px;
    filter: drop-shadow(0 24px 48px rgba(37, 99, 235, .35));
}
.page-404 h1 {
    font-family: "Unbounded", "Outfit", sans-serif;
    font-size: clamp(26px, 4vw, 40px);
    margin: 4px 0 10px;
    letter-spacing: -.04em;
}
.page-404 p {
    margin: 0 auto 22px;
    max-width: 42ch;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.5;
}
.page-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.page-404 .btn {
    background: #2563eb;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
}
.page-404 .btn:hover { background: #1d4ed8; color: #fff; }
.page-404 .btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    padding: 12px 22px;
}
.page-404 .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

.ico { display: inline-block; vertical-align: -3px; flex: 0 0 auto; }
.ico-wrap {
    width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
    background: rgba(17, 24, 39, .06); color: #111827; margin-bottom: 12px;
}

body.theme-marketing {
    --primary: #111827;
    --primary-2: #000;
    --accent: #7c3aed;
    --bg: #fbf8ff;
    --font: "Outfit", ui-sans-serif, system-ui, sans-serif;
    --font-display: "Unbounded", "Outfit", ui-sans-serif, system-ui, sans-serif;
    background: #fbf8ff;
    position: relative;
    overflow-x: hidden;
}
body.theme-marketing h1, body.theme-marketing h2, body.theme-marketing .amount {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -.03em;
}
body.theme-marketing .btn, body.theme-marketing a.btn, body.theme-marketing button.btn,
body.theme-marketing .btn-ghost, body.theme-marketing a.btn-ghost {
    border-radius: 999px;
    min-height: 46px;
    padding: 12px 22px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
body.theme-marketing .btn-sm, body.theme-marketing a.btn-sm { min-height: 36px; padding: 8px 14px; }
body.theme-marketing .btn:hover, body.theme-marketing a.btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 30px rgba(17, 24, 39, .22);
    background: #000;
}
body.theme-marketing .btn-ghost:hover, body.theme-marketing a.btn-ghost:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(124, 58, 237, .12);
    border-color: #111827;
    background: #fff;
}
body.theme-marketing .card.lift {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.theme-marketing .card.lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(124, 58, 237, .14);
    border-color: #e9d5ff;
}
body.theme-marketing .mkt-header {
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    position: sticky; top: 0; z-index: 40;
}
body.theme-marketing .hero, body.theme-marketing .section-tint { background: transparent; }
.aurora {
    position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.aurora i {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: .72;
    animation: aurora-drift 18s ease-in-out infinite alternate;
}
.aurora .b1 { width: 42vw; height: 42vw; left: -8%; top: -12%; background: #f9a8d4; }
.aurora .b2 { width: 38vw; height: 38vw; left: 32%; top: -18%; background: #ddd6fe; animation-delay: -4s; }
.aurora .b3 { width: 40vw; height: 40vw; right: -10%; top: -8%; background: #7dd3fc; animation-delay: -8s; }
.aurora .b4 { width: 28vw; height: 28vw; right: 8%; top: 18%; background: #fdba74; opacity: .55; animation-delay: -2s; }
@keyframes aurora-drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(4%, 6%, 0) scale(1.08); }
}
body.theme-marketing header, body.theme-marketing main, body.theme-marketing section,
body.theme-marketing footer, body.theme-marketing .wrap, body.theme-marketing .alert {
    position: relative; z-index: 1;
}
.mkt-hero { padding: 20px 0 8px; text-align: left; }
.mkt-hero-grid { display: grid; gap: 12px; align-items: center; }
.mkt-hero-copy { max-width: none; margin: 0; }
.mkt-hero h1 { font-size: clamp(34px, 4.6vw, 52px); max-width: 16ch; margin: 0 0 12px; line-height: 1.08; }
.mkt-hero .lede { margin: 0 0 6px; max-width: 42ch; font-size: 18px; }
.mkt-hero .hero-actions { margin-top: 14px; justify-content: flex-start; }
.mkt-hero .hero-meta { justify-content: flex-start; }
.mkt-hero-visual {
    display: flex; justify-content: center; align-items: flex-end;
    min-height: 0;
}
.mkt-hero-lai {
    width: min(100%, 420px); height: auto; display: block;
    filter: drop-shadow(0 18px 32px rgba(76, 29, 149, .2));
}
@media (min-width: 960px) {
    .mkt-hero-grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 0; }
    .mkt-hero-visual { min-height: 0; justify-content: flex-end; }
    .mkt-hero-lai { width: 100%; max-width: 680px; margin-right: -8px; }
}
@media (max-width: 959px) {
    .mkt-hero { text-align: center; }
    .mkt-hero h1, .mkt-hero .lede { margin-left: auto; margin-right: auto; }
    .mkt-hero .hero-actions, .mkt-hero .hero-meta, .mkt-hero .social-proof { justify-content: center; }
}
.cta-band .hero-actions { justify-content: center; width: 100%; }
.cta-section { padding-top: 20px; padding-bottom: 36px; }
.cta-band-copy {
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
.cta-band h2 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.cta-lede {
    color: #f1f5f9;
    font-size: 17px;
    line-height: 1.5;
    max-width: 42ch;
    margin: 0 auto 18px;
    text-shadow: 0 1px 10px rgba(0,0,0,.45);
}
.cta-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.cta-actions .btn, .cta-actions .btn-ghost {
    white-space: nowrap;
    flex: 0 1 auto;
}
.contact-cta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.footer-brand .brand { margin-bottom: 10px; }
.mkt-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 4px; margin: 0 0 18px;
    background: rgba(255,255,255,.7); border: 1px solid rgba(15,23,42,.08);
    font-size: 13px; font-weight: 650; color: #5b21b6;
}
.mkt-float { margin: 48px auto 0; max-width: 640px; text-align: left; border-radius: 18px; box-shadow: 0 30px 80px rgba(76, 29, 149, .18); }
body.theme-marketing .cta-band {
    background: linear-gradient(135deg, #111827, #4c1d95 55%, #0ea5e9);
    border-radius: 8px;
    text-align: center;
    padding: 40px 32px;
}
body.theme-marketing .cta-band.cta-band-photo {
    display: grid;
    align-items: center;
    min-height: 300px;
    overflow: hidden;
    text-align: left;
    padding: 40px 48px;
    background-color: #1e1b4b;
    background-image:
        linear-gradient(90deg, rgba(15, 23, 42, .82) 0%, rgba(15, 23, 42, .55) 42%, rgba(15, 23, 42, .18) 100%),
        var(--cta-bg);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}
body.theme-marketing .cta-band-photo .cta-band-copy {
    max-width: 34rem;
    margin: 0;
    text-align: left;
}
body.theme-marketing .cta-band-photo .cta-lede { margin-left: 0; margin-right: 0; }
body.theme-marketing .cta-band-photo .cta-actions { justify-content: flex-start; }
body.theme-marketing .cta-band .btn,
body.theme-marketing .cta-band a.btn {
    background: #fff;
    color: #0f172a;
}
body.theme-marketing .cta-band .btn:hover,
body.theme-marketing .cta-band a.btn:hover,
body.theme-marketing .cta-band .btn:focus-visible,
body.theme-marketing .cta-band a.btn:focus-visible {
    background: #fff;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .28);
}
body.theme-marketing .cta-band .btn-ghost,
body.theme-marketing .cta-band a.btn-ghost {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.55);
}
body.theme-marketing .cta-band .btn-ghost:hover,
body.theme-marketing .cta-band a.btn-ghost:hover,
body.theme-marketing .cta-band .btn-ghost:focus-visible,
body.theme-marketing .cta-band a.btn-ghost:focus-visible {
    background: #fff;
    color: #0f172a;
    border-color: #fff;
}
body.theme-marketing .site-footer {
    background:
        radial-gradient(720px 240px at 8% 0%, rgba(249,168,212,.22), transparent 58%),
        radial-gradient(640px 220px at 92% 0%, rgba(125,211,252,.18), transparent 55%),
        #0b1020;
    color: #94a3b8;
    border-top: 0;
}
body.theme-marketing .site-footer a { color: #e2e8f0; }
body.theme-marketing .site-footer a:hover { color: #fff; }
body.theme-marketing .site-footer strong { color: #fff; }
body.theme-marketing .footer-chip {
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
}
body.theme-marketing .footer-chip:hover { background: rgba(255,255,255,.16); color: #fff; }
body.theme-marketing .site-footer .contact-cta .btn {
    background: #fff; color: #0b1020;
}
body.theme-marketing .site-footer .contact-cta .btn-ghost {
    background: rgba(255,255,255,.08);
    color: #fff;
    border-color: rgba(255,255,255,.18);
}
body.theme-marketing .site-footer .contact-cta .btn-ghost:hover {
    background: rgba(255,255,255,.16); color: #fff;
}
body.theme-marketing .footer-bar { border-top-color: rgba(255,255,255,.1); }
.lang-switch { display: inline-flex; gap: 2px; margin-left: 8px; padding: 3px; border-radius: 999px; background: rgba(15,23,42,.05); }
.lang-switch a {
    min-width: 36px; padding: 6px 8px; border-radius: 999px; font-size: 11px; font-weight: 800;
    text-decoration: none; color: var(--muted); text-align: center;
}
.lang-switch a.is-on, .lang-switch a:hover { background: #111827; color: #fff; }
body.theme-auth {
    background:
        radial-gradient(900px 500px at 10% -10%, #f9a8d4 0%, transparent 55%),
        radial-gradient(800px 480px at 90% 0%, #7dd3fc 0%, transparent 50%),
        radial-gradient(700px 400px at 80% 110%, #ddd6fe 0%, transparent 50%),
        #fbf8ff;
    font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
}
body.theme-auth h1 { font-family: "Unbounded", "Outfit", sans-serif; font-weight: 600; }
body.theme-auth .btn { border-radius: 999px; }
body.theme-marketing .checkout { position: relative; z-index: 1; padding: 32px 0 64px; }

.docs-page-public { width: min(var(--max), calc(100% - 48px)); margin: 36px auto 88px; position: relative; z-index: 1; }
.docs-hero { margin-bottom: 36px; max-width: 62ch; }
.docs-kicker { margin: 0 0 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: var(--muted); }
.docs-search { display: block; margin-top: 18px; max-width: 420px; }
.docs-search input { width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid var(--line, #e5e7eb); padding: 10px 14px; font: inherit; }
.docs-search-side { max-width: none; margin: 0 0 8px; }
.docs-index-group { margin-bottom: 28px; }
.docs-index-group h2 { margin: 0 0 12px; font-size: 18px; }
.docs-index-grid { display: grid; gap: 12px; grid-template-columns: 1fr; max-width: 920px; }
@media (min-width: 700px) {
    .docs-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
    .docs-index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.docs-index-card { display: grid; gap: 6px; text-decoration: none; color: inherit; padding: 16px; align-content: start; min-height: 0; }
.docs-index-card .ico-wrap { width: 36px; height: 36px; }
.docs-index-card h3 { margin: 0; font-size: 16px; }
.docs-index-card p { margin: 0; color: var(--muted); font-size: 13px; }
.docs-index-card .docs-more { font-size: 13px; font-weight: 750; color: var(--primary); }
.docs-empty { color: var(--muted); }
.docs-layout { display: grid; gap: 28px; }
@media (min-width: 960px) {
    .docs-layout { grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 40px; }
}
@media (min-width: 1200px) {
    .docs-layout.has-toc { grid-template-columns: 250px minmax(0, 1fr) 200px; }
}
.docs-side { position: sticky; top: 88px; display: grid; gap: 10px; align-content: start; padding: 20px; max-height: calc(100vh - 120px); overflow: auto; }
.docs-side-home { display: flex; align-items: center; gap: 8px; font-weight: 800; color: inherit; text-decoration: none; margin-bottom: 4px; }
.docs-nav { display: grid; gap: 2px; }
.docs-nav-group { margin: 12px 0 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.docs-side a[data-docs-nav], .docs-nav a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-weight: 650; font-size: 13px; text-decoration: none; }
.docs-side a[data-docs-nav].is-on, .docs-side a[data-docs-nav]:hover,
.docs-nav a.is-on, .docs-nav a:hover { background: #111827; color: #fff; }
.docs-article { display: grid; gap: 16px; max-width: 72ch; }
.docs-article h1 { margin: 0; }
.docs-article h2 { margin: 18px 0 0; scroll-margin-top: 96px; }
.docs-crumb { margin: 0; }
.docs-detail, .docs-block p, .docs-block li { color: var(--muted); line-height: 1.7; margin: 0; }
.docs-block { display: grid; gap: 10px; }
.docs-block ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.docs-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 4px; }
.docs-steps { display: grid; gap: 14px; }
.docs-step { padding: 20px 22px; }
.docs-step h3 { margin: 0 0 8px; }
.docs-step p { margin: 0; line-height: 1.65; color: var(--muted); }
.docs-tips { display: grid; gap: 10px; padding: 22px 24px; }
.docs-tips h2 { margin: 0 0 4px; }
.docs-tips p { margin: 0; }
.docs-related { display: grid; gap: 12px; }
.docs-related-list { display: grid; gap: 12px; }
@media (min-width: 720px) {
    .docs-related-list { grid-template-columns: 1fr 1fr; }
}
.docs-related-list a { display: grid; gap: 6px; text-decoration: none; color: inherit; padding: 18px 20px; }
.docs-related-list span { color: var(--muted); font-size: 14px; }
.docs-pager { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 12px; }
.docs-pager a { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; text-decoration: none; color: inherit; font-weight: 700; }
.docs-pager a.is-next { text-align: right; }
.docs-pager small { font-weight: 650; color: var(--muted); font-size: 12px; }
.docs-toc { position: sticky; top: 88px; display: none; gap: 8px; align-content: start; padding: 18px; }
@media (min-width: 1200px) {
    .docs-layout.has-toc .docs-toc { display: grid; }
}
.docs-toc a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 650; }
.docs-toc a:hover { color: inherit; }
.docs-cta { margin: 12px 0 40px; }
.mkt-chat-docs {
    display: inline-flex;
    align-self: flex-start;
    color: #4c1d95 !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    padding: 2px 2px 8px;
}
.mkt-chat-docs:hover { text-decoration: underline; }
.dash-docs {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    padding: 24px 26px; margin: 0 0 40px; border-radius: 10px;
    background: linear-gradient(135deg, #faf5ff, #e0f2fe);
    border: 1px solid #e9d5ff;
}
body.theme-marketing h3 { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
body.theme-marketing .card { padding: 32px 32px 36px; border-radius: 16px; }
body.theme-marketing .card.price,
body.theme-marketing .how-item,
body.theme-marketing .compare-board { border-radius: 8px; }
body.theme-marketing .how-item.lift {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.theme-marketing .how-item.lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(124, 58, 237, .14);
    border-color: #e9d5ff;
}
body.theme-marketing .plans-row { gap: 28px; }
body.theme-marketing.theme-app { --font: "Outfit", ui-sans-serif, system-ui, sans-serif; --radius: 4px; --radius-sm: 4px; }
body.theme-marketing.theme-app .card { padding: 28px 32px 32px; border-radius: 16px; }
body.theme-marketing.theme-app .table-wrap,
body.theme-marketing.theme-app .table-wrap.card {
    border-radius: 4px;
    padding: 0;
}
body.theme-marketing.theme-app .filters select {
    border-radius: 4px;
    min-height: 40px;
    padding: 8px 12px;
    min-width: 160px;
}
body.theme-marketing.theme-app .btn,
body.theme-marketing.theme-app a.btn,
body.theme-marketing.theme-app button.btn,
body.theme-marketing.theme-app .btn-ghost,
body.theme-marketing.theme-app a.btn-ghost,
body.theme-marketing.theme-app button.btn-ghost {
    border-radius: 4px;
}
body.theme-marketing.theme-app .lai-chip { border-radius: 4px; }
body.theme-marketing.theme-app .create-chat.card { border-radius: 4px; padding: 0; }
body.theme-marketing.theme-app .chat-msg { border-radius: 4px; }
body.theme-marketing.theme-app .field input,
body.theme-marketing.theme-app .field select,
body.theme-marketing.theme-app .field textarea {
    border-radius: 4px;
}
body.theme-marketing.theme-app .badge { border-radius: 4px; }
body.theme-marketing.theme-app .app-shell,
body.theme-marketing.theme-app .app-top,
body.theme-marketing.theme-app .app-main { position: relative; z-index: 1; }
body.theme-marketing.theme-app .app-top {
    background: #fff;
    backdrop-filter: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
}
body.theme-marketing.theme-app .brand-logo { height: 36px; max-width: 160px; }
body.theme-marketing.theme-app .app-nav-links a {
    border-radius: 4px;
    padding: 7px 10px;
}
body.theme-marketing.theme-app .app-nav-links a.is-active {
    background: #111827;
    color: #fff;
}
body.theme-marketing.theme-app .app-nav-links a.is-active .nav-badge {
    background: #fff; color: #e11d48;
}
body.theme-marketing.theme-app .lang-switch,
body.theme-marketing.theme-app .lang-switch a { border-radius: 4px; }
body.theme-marketing.theme-app .dash-head {
    background: #fff;
    backdrop-filter: none;
    color: inherit;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 22px 24px;
    margin-bottom: 28px;
}
body.theme-marketing.theme-app .dash-head h1 { color: inherit; font-size: 22px; }
body.theme-marketing.theme-app h1 { font-size: 28px; }
body.theme-marketing.theme-app .dash-hero h1 { font-size: clamp(28px, 3vw, 36px); }
body.theme-marketing.theme-app .board-bar h1 { font-size: 26px; }
body.theme-marketing.theme-app h2 { font-size: 18px; }
body.theme-marketing.theme-app .board-bar h2 { font-size: 22px; }
body.theme-marketing.theme-app h3 { font-size: 16px; }
body.theme-marketing.theme-app .dash-head .muted { color: var(--muted); }
body.theme-marketing.theme-app .dash-head .btn { background: #111827; color: #fff; }
body.theme-marketing.theme-app .dash h2 { margin: 8px 0 16px; }
body.theme-marketing.theme-app .dash-docs { border-radius: 4px; }
body.theme-marketing.theme-app form.card {
    display: grid; gap: 18px;
}
body.theme-marketing.theme-app form.card > .btn,
body.theme-marketing.theme-app form.card > button {
    margin-top: 6px; justify-self: start;
}
body.theme-marketing.theme-app .app-main > h1 { margin: 4px 0 8px; }
body.theme-marketing.theme-app .app-main > .lede { margin-bottom: 28px; }
.cms-meta { display: grid; gap: 12px; margin-bottom: 16px; }
@media (min-width: 800px) { .cms-meta { grid-template-columns: 1.4fr .9fr .6fr; } }
.cms-tabs { display: flex; gap: 6px; margin: 18px 0 12px; }
.cms-tabs .is-on { background: #111827; color: #fff; border-color: #111827; }
.cms-block { border: 1px solid var(--line); border-radius: 4px; padding: 10px; margin: 0 0 10px; background: #fafafa; }
.cms-block-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 12px; }
.cms-block-bar button { border: 1px solid var(--line); background: #fff; padding: 2px 8px; cursor: pointer; border-radius: 4px; }
.cms-block textarea { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 8px; }
.cms-block .rte { background: #fff; }
.cms-add { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rte { border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; }
.rte-bar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.rte-bar button {
    min-width: 28px; height: 28px; padding: 0 7px; border: 1px solid transparent;
    background: transparent; border-radius: 4px; cursor: pointer;
    font: 700 12px/1 Outfit, system-ui, sans-serif; color: #111827;
}
.rte-bar button:hover, .rte-bar button.is-on { background: #111827; color: #fff; border-color: #111827; }
.rte-area { min-height: 120px; padding: 12px 14px; outline: none; cursor: text; -webkit-user-select: text; user-select: text; }
.rte-area.is-inline { min-height: 40px; }
.cms-body .lede, .cms-body p { line-height: 1.7; }
.cms-body u { text-decoration: underline; }
.builder-panel .rte { margin-top: 4px; }
.cms-add { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
body.theme-admin textarea {
    width: 100%; min-height: 76px; padding: 8px 10px;
    border: 1px solid var(--line); border-radius: 4px; resize: vertical;
}

.social-proof {
    display: flex; flex-wrap: wrap; gap: 8px 16px;
    margin: 14px 0 0; padding: 0; list-style: none;
    font-size: 13px; font-weight: 700; color: var(--muted);
}
.social-proof li {
    display: inline-flex; align-items: center; gap: 8px;
}
.social-proof li::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7c3aed;
}
.quotes-section { padding: 16px 0 20px; overflow: hidden; }
.quotes-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 12px; margin-bottom: 10px;
}
.quotes-head .lede { margin: 0; max-width: 46ch; }
.quotes-head h2 { margin-bottom: 6px; }
.quote-nav { display: flex; gap: 8px; flex: 0 0 auto; }
.quote-btn {
    width: 42px; height: 42px; border-radius: 999px;
    border: 1px solid var(--line); background: #fff; color: var(--text);
    display: grid; place-items: center; cursor: pointer;
    box-shadow: 0 8px 20px rgba(15,23,42,.06);
}
.quote-btn:hover { background: #111827; color: #fff; border-color: #111827; }
.quote-slider { width: 100%; margin: 0; }
.quote-viewport {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 16px) / 3);
    gap: 8px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2px 0 10px;
    scrollbar-width: none;
}
.quote-viewport::-webkit-scrollbar { display: none; }
.quote-card {
    min-width: 0;
    width: 100%;
    margin: 0;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    display: grid; align-content: start;
    transition: transform .2s ease, box-shadow .2s ease;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(15, 23, 42, .12); }
.quote-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.quote-avatar {
    width: 40px; height: 40px; border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #ede9fe, #dbeafe);
    color: #4c1d95; font-weight: 800; font-size: 16px;
}
.quote-stars { margin: 0; color: #d97706; letter-spacing: 2px; font-size: 13px; }
.quote-card > p { font-size: 14px; line-height: 1.45; margin: 0 0 10px; }
.quote-card cite { display: block; font-style: normal; font-weight: 750; font-size: 14px; }
.quote-card cite span { display: block; font-weight: 550; color: var(--muted); font-size: 13px; margin-top: 3px; }
.quote-dots { display: flex; justify-content: center; gap: 7px; }
.quote-dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
    background: #cbd5e1; cursor: pointer;
}
.quote-dots button.is-on { width: 22px; background: #4c1d95; }
@media (max-width: 899px) {
    .quote-viewport { grid-auto-columns: calc((100% - 8px) / 2); }
}
@media (max-width: 639px) {
    .quote-viewport { grid-auto-columns: 100%; }
    .brand-logo { height: 36px; max-width: 160px; }
    .brand-logo-lg { height: 44px; max-width: 200px; }
    .cta-band.cta-band-photo, body.theme-marketing .cta-band.cta-band-photo {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 28px 20px;
        text-align: center;
        background-image:
            linear-gradient(180deg, rgba(15, 23, 42, .82), rgba(15, 23, 42, .72)),
            var(--cta-bg);
        background-position: center right;
    }
    .cta-band-copy, body.theme-marketing .cta-band-photo .cta-band-copy {
        max-width: none;
        text-align: center;
        margin: 0 auto;
    }
    .cta-lede { margin-left: auto; margin-right: auto; }
    .cta-actions, body.theme-marketing .cta-band-photo .cta-actions { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 699px) {
    .quotes-head { align-items: flex-start; }
    .cta-actions { flex-wrap: wrap; }
}

.domain-page { display: grid; gap: 20px; }
.domain-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.domain-head h1 { margin: 0 0 8px; }
.domain-head .lede { margin: 0; max-width: 58ch; }
.domain-steps {
    display: grid; gap: 12px; margin: 0; padding: 0; list-style: none;
}
@media (min-width: 840px) { .domain-steps { grid-template-columns: repeat(3, 1fr); } }
.domain-steps li {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 16px 18px; display: grid; gap: 4px;
    box-shadow: 0 8px 24px rgba(15,23,42,.04);
}
.domain-steps strong { font-size: 14px; }
.domain-steps span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.domain-add {
    display: grid; gap: 12px;
}
@media (min-width: 720px) {
    .domain-add {
        grid-template-columns: 1.2fr 1fr auto;
        align-items: end;
    }
    .domain-add .btn { min-height: 44px; }
}
.domain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.domain-card {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 18px 20px; box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.domain-card-top {
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    align-items: flex-start;
}
.domain-card-top strong { font-size: 17px; }
.domain-card-top .muted { margin: 4px 0 0; }
.domain-status { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.domain-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.domain-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.domain-card-actions form { margin: 0; }
.domain-buy { display: grid; gap: 16px; padding: 22px 24px; }
.domain-buy-head h2 { margin: 0 0 8px; font-size: 22px; }
.domain-buy-head p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.domain-buy-form { display: grid; gap: 8px; }
.domain-buy-label { margin: 0; font-size: 13px; font-weight: 650; }
.domain-buy-bar {
    display: flex; align-items: stretch; gap: 10px;
    min-width: 0;
}
.domain-buy-bar input[name="q"] {
    flex: 1; min-width: 0;
    height: 48px; box-sizing: border-box;
    background: #fff; border: 1px solid #b8c0cc; border-radius: var(--radius-sm);
    padding: 0 14px; font-weight: 500;
}
.domain-buy-bar input[name="q"]:focus {
    outline: 2px solid #93c5fd; border-color: var(--accent);
}
.domain-buy-free {
    display: inline-flex; align-items: center; gap: 8px;
    height: 48px; box-sizing: border-box;
    margin: 0; padding: 0 14px;
    border: 1px solid #b8c0cc; border-radius: var(--radius-sm);
    background: #fff; cursor: pointer;
    font-size: 14px; font-weight: 650; white-space: nowrap;
    user-select: none;
}
.domain-buy-free:hover { border-color: #7b8494; }
.domain-buy-free:has(input:checked) { border-color: #0f172a; background: #f8fafc; }
.domain-buy-free input {
    width: 18px; height: 18px; margin: 0;
    accent-color: #0f172a;
    flex: 0 0 18px;
}
.domain-buy-bar .btn {
    height: 48px; min-height: 48px; padding: 0 22px;
    box-sizing: border-box;
}
@media (max-width: 719px) {
    .domain-buy-bar { flex-wrap: wrap; }
    .domain-buy-bar input[name="q"] { flex: 1 1 100%; }
    .domain-buy-free { flex: 1 1 auto; }
    .domain-buy-bar .btn { flex: 0 0 auto; }
}
.domain-buy [hidden] { display: none !important; }
.domain-buy-results { display: grid; gap: 8px; }
.domain-buy-foot {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 10px 16px;
}
.domain-buy-foot .muted { margin: 0; }
.domain-buy-row.is-hidden { display: none; }
.domain-buy-row {
    display: grid; gap: 8px 16px;
    grid-template-columns: 1fr;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f8fafc;
}
@media (min-width: 720px) {
    .domain-buy-row {
        grid-template-columns: minmax(0, 1.4fr) auto auto auto;
    }
}
.domain-buy-row strong { font-size: 16px; word-break: break-word; }
.domain-buy-state {
    display: inline-flex; align-items: center;
    padding: 3px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 700;
}
.domain-buy-state.is-free { background: #dcfce7; color: #166534; }
.domain-buy-state.is-taken { background: #fee2e2; color: #991b1b; }
.domain-buy-state.is-unknown { background: #e5e7eb; color: #374151; }
.domain-buy-price { font-weight: 700; white-space: nowrap; }
.domain-buy-price span { color: var(--muted); font-weight: 500; }
.domain-buy-row .btn { justify-self: start; }
.domain-buy-msg { margin: 0; }
body.theme-admin .cms-tabs a.is-on { background: #111827; color: #fff; border-color: #111827; }
body.theme-admin table.data td a { word-break: break-all; }

.lai-modal {
    border: 0; padding: 0; background: transparent;
    width: min(720px, calc(100% - 24px));
    max-height: calc(100vh - 32px);
}
.lai-modal::backdrop { background: rgba(15, 23, 42, .55); }
.lai-modal-card {
    background: #fff; border-radius: 18px;
    padding: 22px 22px 18px;
    box-shadow: 0 30px 80px rgba(15,23,42,.28);
}
.lai-modal-head {
    display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
}
.lai-modal-head h2 { margin: 0; font-size: 22px; }
.lai-modal-lede { margin: 10px 0 16px; color: var(--muted); font-size: 14px; }
.dns-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.dns-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dns-table th, .dns-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dns-table th { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: #f8fafc; }
.dns-table tr:last-child td { border-bottom: 0; }
.dns-type {
    display: inline-flex; min-width: 54px; justify-content: center;
    padding: 3px 8px; border-radius: 999px; font-weight: 800; font-size: 11px;
    background: #eef2ff; color: #3730a3;
}
.dns-host, .dns-value { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.dns-hint { display: block; color: var(--muted); font-size: 12px; font-family: var(--font); margin-top: 2px; }
.copy-btn {
    width: 36px; height: 36px; border-radius: 10px;
    border: 1px solid var(--line); background: #fff; color: var(--text);
    display: grid; place-items: center; cursor: pointer;
}
.copy-btn:hover, .copy-btn.is-on { background: #111827; color: #fff; border-color: #111827; }
.dns-ssl {
    display: flex; align-items: flex-start; gap: 8px;
    margin: 14px 0 0; color: var(--muted); font-size: 13px;
}
.lai-modal-foot {
    display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap;
    margin: 16px 0 0;
}

.nav-edit-table input, .nav-edit-table select {
    width: 100%; padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px;
}
.nav-edit-table .nav-sort { width: 72px; }
.nav-edit-table .nav-labels { display: grid; gap: 6px; min-width: 180px; }
.nav-edit-table td { vertical-align: top; }

.mkt-chat {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
    font-family: inherit;
}
body.theme-app .mkt-chat { z-index: 80; }
body:has(#cookie-banner:not([hidden])) .mkt-chat { bottom: 86px; }
.mkt-chat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 8px 16px 8px 8px;
    background: #111827;
    color: #fff;
    font: inherit;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .32);
    cursor: pointer;
}
.mkt-chat-fab-dog {
    width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
    background: #fde68a; border: 2px solid rgba(255,255,255,.35);
}
.mkt-chat-toggle:hover { background: #4c1d95; }
.mkt-chat.is-open .mkt-chat-toggle span { display: none; }
.mkt-chat.is-open .mkt-chat-toggle { padding: 8px; }
.mkt-chat-panel {
    width: min(400px, calc(100vw - 24px));
    height: min(640px, calc(100vh - 110px));
    background: #fffdf8;
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(76, 29, 149, .28);
    border: 1px solid rgba(76, 29, 149, .12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.mkt-chat-panel[hidden] { display: none !important; }
.mkt-chat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 12px;
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 55%, #7c3aed 100%);
    color: #fff;
}
.mkt-chat-avatar {
    width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
    border: 2px solid rgba(255,255,255,.45); background: #fde68a; flex: none;
}
.mkt-chat-head strong { display: block; font-size: 16px; font-weight: 800; }
.mkt-chat-head p { margin: 3px 0 0; color: #e9d5ff; font-size: 12px; line-height: 1.35; display: flex; align-items: center; gap: 6px; }
.mkt-chat-dot {
    width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); display: inline-block;
}
.mkt-chat-close {
    margin-left: auto;
    width: 34px; height: 34px; border: 0; border-radius: 999px;
    background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
    display: grid; place-items: center; flex: none;
}
.mkt-chat-close:hover { background: rgba(255,255,255,.22); }
.mkt-chat-log {
    flex: 1;
    min-height: 150px;
    overflow: auto;
    padding: 14px 14px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background:
        radial-gradient(1200px 200px at 0% 0%, rgba(253, 224, 71, .12), transparent 50%),
        #fbf7ff;
}
.mkt-chat-row { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; }
.mkt-chat-row.is-me { align-self: flex-end; flex-direction: row-reverse; }
.mkt-chat-row img {
    width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; background: #fde68a;
}
.mkt-chat-bubble {
    max-width: 86%;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px 16px 16px 4px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #0f172a;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .04);
}
.mkt-chat-row.is-me .mkt-chat-bubble {
    background: #111827;
    color: #fff;
    border-color: #111827;
    border-radius: 16px 16px 4px 16px;
}
.mkt-chat-bubble.is-typing { color: #64748b; font-style: italic; }
.mkt-chat-help {
    display: flex; flex-wrap: wrap; gap: 6px; margin: 0 14px 8px;
}
.mkt-chat-help button, .mkt-chat-chips button {
    border: 1px solid rgba(76, 29, 149, .2);
    background: #fff;
    color: #4c1d95;
    border-radius: 999px;
    padding: 7px 12px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.mkt-chat-help button:hover, .mkt-chat-chips button:hover { background: #f5f3ff; }
.mkt-chat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 14px 10px;
    background: #fffdf8;
}
.mkt-chat-chips[hidden], .mkt-chat-lead[hidden], .mkt-chat-form[hidden],
.mkt-chat-rate[hidden], .mkt-chat-foot[hidden] { display: none !important; }
.mkt-chat-cta {
    display: inline-flex;
    align-self: flex-start;
    background: #4c1d95;
    color: #fff !important;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin-left: 36px;
}
.mkt-chat-cta:hover { background: #111827; color: #fff !important; }
.mkt-chat-lead {
    display: grid;
    gap: 6px;
    padding: 8px 14px 10px;
    border-top: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
}
.mkt-chat-lead-title { margin: 0; font-weight: 800; font-size: 13px; }
.mkt-chat-lead label { display: grid; gap: 4px; font-size: 12px; font-weight: 650; color: #334155; }
.mkt-chat-lead input[type="text"],
.mkt-chat-lead input[type="email"],
.mkt-chat-lead input[type="tel"] {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 10px;
    font: inherit;
    font-weight: 500;
}
.mkt-chat-gdpr { display: flex !important; flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 500 !important; }
.mkt-chat-gdpr input { margin-top: 2px; }
.mkt-chat-err { margin: 0; color: #b91c1c; font-size: 12px; }
.mkt-chat-form {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
}
.mkt-chat-form input[name="message"] {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    font: inherit;
}
.mkt-chat-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.mkt-chat-rate {
    padding: 10px 14px 12px;
    border-top: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    display: grid;
    gap: 8px;
}
.mkt-chat-rate p { margin: 0; font-weight: 800; font-size: 13px; }
.mkt-chat-stars { display: flex; gap: 4px; }
.mkt-chat-stars button {
    border: 0; background: transparent; font-size: 22px; color: #cbd5e1;
    cursor: pointer; line-height: 1; padding: 0 2px;
}
.mkt-chat-stars button.is-on, .mkt-chat-stars button:hover { color: #f59e0b; }
.mkt-chat-rate textarea {
    width: 100%; border: 1px solid var(--line); border-radius: 10px;
    padding: 8px 10px; font: inherit; resize: vertical; min-height: 52px;
}
.mkt-chat-foot {
    display: flex; justify-content: center; gap: 12px;
    padding: 6px 12px 12px; background: #fff;
}
.mkt-chat-foot button {
    border: 0; background: transparent; color: #6d28d9;
    font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
}
.mkt-chat-foot button:hover { color: #111827; }
.table-row-link { cursor: pointer; }
.table-row-link:hover td { background: #f8fafc; }
.chat-stars { color: #d97706; letter-spacing: 1px; white-space: nowrap; }
.admin-chat-person h2 { margin: 0 0 12px; font-size: 16px; }
.admin-chat-dl {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 18px; margin: 0;
}
.admin-chat-dl dt { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.admin-chat-dl dd { margin: 2px 0 0; font-weight: 650; }
.admin-chat-thread { border-radius: 12px; margin: 16px 0; }
@media (max-width: 640px) {
    .mkt-chat { right: 10px; left: auto; align-items: flex-end; }
    .mkt-chat.is-open { left: 10px; align-items: stretch; }
    .mkt-chat-toggle { align-self: flex-end; }
    .mkt-chat-panel { width: 100%; height: min(78vh, 640px); }
}

@media (max-width: 899px) {
    body.theme-app .app-top { padding: 8px 0; }
    body.theme-app .app-top-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        width: calc(100% - 24px);
        gap: 8px;
        min-height: 52px;
    }
    body.theme-app .brand { min-width: 0; }
    body.theme-app .brand-logo { height: 32px; max-width: 140px; }
    body.theme-app .nav-toggle { justify-self: end; }
    body.theme-app .app-nav {
        display: none;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 4px 0 12px;
    }
    body.theme-app .app-nav.is-open { display: flex; }
    body.theme-app .app-nav-links {
        display: flex;
        flex-direction: column;
        overflow: visible;
        gap: 2px;
    }
    body.theme-app .app-nav-links a {
        width: 100%;
        box-sizing: border-box;
        min-height: 44px;
        padding: 12px 14px;
        font-size: 16px;
        white-space: normal;
    }
    body.theme-app .app-top-tools {
        width: 100%;
        margin: 8px 0 0;
        padding-top: 12px;
        border-top: 1px solid var(--line);
        justify-content: space-between;
        flex-wrap: wrap;
    }
    body.theme-app .app-top-tools .btn-ghost,
    body.theme-app .app-top-tools button {
        min-height: 44px;
        padding: 10px 16px;
    }
    body.theme-app .app-main,
    body.theme-marketing.theme-app .app-main {
        width: calc(100% - 24px);
        margin: 16px auto 88px;
    }
    body.theme-marketing.theme-app .card,
    body.theme-marketing.theme-app form.card {
        padding: 18px 16px 20px;
    }
    body.theme-marketing.theme-app h1,
    body.theme-app .app-main > h1 {
        font-size: 24px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }
    body.theme-marketing.theme-app .dash-hero h1 { font-size: 26px; }
    body.theme-marketing.theme-app .board-bar h1,
    body.theme-marketing.theme-app .board-bar h2 { font-size: 22px; }
    .dash-hero { gap: 14px; }
    .dash-hero-actions { width: 100%; }
    .dash-hero-actions .btn,
    .dash-hero-actions .btn-ghost { flex: 1 1 auto; justify-content: center; text-align: center; }
    .dash-tile { padding: 20px 18px; min-height: 0; }
    .board-bar,
    .board-section,
    .board-list,
    .board-empty,
    .board-strip a {
        padding-left: 16px;
        padding-right: 16px;
    }
    .board-bar { padding-top: 18px; padding-bottom: 16px; gap: 12px; }
    .board-section { padding-top: 18px; padding-bottom: 20px; }
    .board-list { padding-top: 4px; padding-bottom: 16px; }
    .board-empty { padding-top: 24px; padding-bottom: 24px; }
    .board-list li { align-items: flex-start; gap: 12px; }
    .board-actions { width: 100%; }
    .board-actions .btn,
    .board-actions .btn-ghost,
    .board-actions .btn-sm {
        min-height: 40px;
        justify-content: center;
    }
    .site-shot { flex: 0 0 72px; width: 72px; height: 52px; }
    .filters { width: 100%; }
    .filters input,
    .filters select,
    body.theme-marketing.theme-app .filters select {
        width: 100%;
        min-width: 0;
        min-height: 44px;
    }
    .create-tpl-grid { grid-template-columns: 1fr; }
    .wizard-form .grid-2 { grid-template-columns: 1fr; }
    .wizard-item-row { grid-template-columns: minmax(0, 1fr) 40px; }
    .create-head-row { align-items: flex-start; }
    .create-switch { width: 100%; }
    .domain-add { grid-template-columns: 1fr; }
    .domain-add .btn { width: 100%; min-height: 44px; }
    .form-actions { flex-direction: column; align-items: stretch; }
    .form-actions .btn,
    .form-actions .btn-ghost,
    .form-actions .btn-danger { width: 100%; justify-content: center; }
    .table-wrap { margin-left: -16px; margin-right: -16px; width: calc(100% + 32px); border-radius: 0; border-left: 0; border-right: 0; }
    table.data { font-size: 13px; }
    table.data th, table.data td { padding: 10px 12px; white-space: nowrap; }
    .cards { grid-template-columns: 1fr; }
    .checkout { gap: 16px; }
    .checkout-summary .checkout-price { font-size: 28px; }
    body.theme-app .mkt-chat { z-index: 70; }
}

@media (max-width: 479px) {
    .dash-hero-actions { flex-direction: column; }
    .dash-hero-actions .btn,
    .dash-hero-actions .btn-ghost { width: 100%; }
}
