:root {
    --wz-green: #47704c;
    --wz-green-dark: #35583a;
    --wz-green-soft: #e7f0e4;
    --wz-orange: #f27034;
    --wz-gold: #f8b81b;
    --wz-indigo: #3d348b;
    --wz-gradient: linear-gradient(115deg, #f27034 0%, #f8b81b 100%);
    --wz-mint: #f8f1e6;
    --wz-sky: #eceaf8;
    --wz-amber: #fff6d8;
    --wz-rose: #ffe8df;
    --wz-violet: #eceaf8;
    --wz-paper: #f7f4ee;
    --wz-ink: #1c2030;
    --wz-muted: #5e675f;
    --wz-line: #e6e0d4;
}

.wz-app,
.wz-app body {
    font-family: Nunito, ui-sans-serif, system-ui, sans-serif;
    background: var(--wz-paper);
    color: var(--wz-ink);
    --color-accent: #3d348b;
    --color-accent-content: #3d348b;
    --color-accent-foreground: #fff;
}

.wz-app [data-flux-sidebar] {
    background: #fffcf8 !important;
    border-color: var(--wz-line) !important;
}

.wz-nav {
    display: grid;
    gap: 0.35rem;
    padding: 0.25rem 0.35rem 0.75rem;
}

.wz-nav-label {
    margin: 0.15rem 0.65rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wz-muted);
}

.wz-nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.45rem 0.55rem;
    border-radius: 1rem;
    color: var(--wz-ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
}

.wz-nav-link:hover {
    background: var(--wz-mint);
    color: var(--wz-indigo);
}

.wz-nav-link.is-active {
    background: linear-gradient(90deg, rgba(242, 112, 52, 0.14), rgba(248, 184, 27, 0.22));
    color: var(--wz-indigo);
    box-shadow: inset 0 0 0 1px rgba(242, 112, 52, 0.28);
}

.wz-ico {
    width: 2rem;
    height: 2rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wz-ico svg {
    width: 1.05rem;
    height: 1.05rem;
}

.wz-ico-mint,
.wz-ico-green,
.wz-ico-sky,
.wz-ico-amber,
.wz-ico-rose,
.wz-ico-violet,
.wz-ico-wa {
    background: linear-gradient(145deg, #fff1e6, #fff6d4);
    color: var(--wz-indigo);
}

.wz-logo {
    display: flex;
    width: 2.15rem;
    height: 2.15rem;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    box-shadow: none !important;
}

.wz-mark {
    width: 2.15rem;
    height: 2.15rem;
    object-fit: contain;
    display: block;
}

.wz-mark-lg {
    width: 2.6rem;
    height: 2.6rem;
}

.wz-lockup {
    height: 2.7rem;
    width: auto;
    display: block;
}

.wz-lockup-auth {
    height: 7.5rem;
    margin-bottom: 0.35rem;
    background: #f7f4ee;
    border-radius: 1.35rem;
    padding: 0.85rem 1rem 0.7rem;
}

.wz-app [data-flux-sidebar-brand] {
    gap: 0.7rem;
}

.wz-app [data-flux-sidebar] a .truncate,
.wz-app [data-flux-sidebar] [class*="font-medium"].truncate {
    color: var(--wz-indigo) !important;
}

.wz-app [data-flux-main] {
    background: var(--wz-paper);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.wz-app [data-flux-header] {
    background: var(--wz-green) !important;
    color: #fff !important;
    border: 0 !important;
}

.wz-app [data-flux-card] {
    border-radius: 1.15rem !important;
    border-color: var(--wz-line) !important;
    box-shadow: 0 10px 28px rgba(61, 52, 139, 0.05);
}

.wz-app [data-flux-button][variant="primary"],
.wz-app button[data-flux-button-variant="primary"],
.wz-app [data-flux-button][data-variant="primary"] {
    background: var(--wz-gradient) !important;
    color: #2a2468 !important;
    border: 0 !important;
}

.wz-stats {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .wz-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .wz-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.wz-stat {
    background: #fff;
    border: 1px solid var(--wz-line);
    border-radius: 1.25rem;
    padding: 1.1rem 1.15rem;
    box-shadow: 0 10px 28px rgba(61, 52, 139, 0.05);
}

.wz-stat-label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--wz-muted);
}

.wz-stat-value {
    margin-top: 0.45rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--wz-ink);
}

.wz-stat-help {
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: var(--wz-muted);
}

.wz-page-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--wz-ink);
}

.wz-page-sub {
    margin-top: 0.2rem;
    color: var(--wz-muted);
}

.wz-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.wz-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.wz-card {
    background: #fff;
    border: 1px solid var(--wz-line);
    border-radius: 1.25rem;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 10px 28px rgba(61, 52, 139, 0.05);
}

.wz-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--wz-ink);
}

.wz-alert {
    border-radius: 1rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.86rem;
    font-weight: 700;
    background: #fff7ed;
    color: #c2410c;
}

.wz-alert-ok {
    background: var(--wz-mint);
    color: var(--wz-green-dark);
}

.wz-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
    color: var(--wz-muted);
}

.wz-empty strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
    color: var(--wz-ink);
}

.wz-table {
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
}

.wz-table th {
    padding: 0.75rem 1rem 0.75rem 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wz-muted);
    border-bottom: 1px solid var(--wz-line);
}

.wz-table td {
    padding: 0.9rem 1rem 0.9rem 0;
    border-bottom: 1px solid #efeae2;
    vertical-align: top;
}

.wz-table tr:last-child td { border-bottom: 0; }

.wz-badge {
    display: inline-flex;
    align-items: center;
    height: 1.55rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #eceaf8;
    color: var(--wz-indigo);
}

.wz-badge-wait { background: #f3f6f4; color: #54656f; }
.wz-badge-bad { background: #fff7ed; color: #c2410c; }

.wz-items { display: grid; gap: 0.75rem; }

.wz-item {
    display: grid;
    gap: 0.35rem;
    background: #fff;
    border: 1px solid var(--wz-line);
    border-radius: 1.25rem;
    padding: 1rem 1.15rem;
    box-shadow: 0 10px 28px rgba(61, 52, 139, 0.05);
}

.wz-item-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.wz-item-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--wz-ink);
}

.wz-item-meta {
    font-size: 0.78rem;
    color: var(--wz-muted);
}

.wz-item-body {
    font-size: 0.88rem;
    color: #1f2c34;
    line-height: 1.45;
    white-space: pre-wrap;
}

.wz-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--wz-ink);
    margin-bottom: 0.4rem;
}

.wz-input {
    display: block;
    width: 100%;
    border: 1px solid var(--wz-line);
    background: #fffdf8;
    border-radius: 0.9rem;
    padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
    color: var(--wz-ink);
    outline: none;
}

.wz-input:focus {
    border-color: var(--wz-orange);
    box-shadow: 0 0 0 3px rgba(242, 112, 52, 0.18);
    background: #fff;
}

.wz-help {
    font-size: 0.82rem;
    color: var(--wz-muted);
    line-height: 1.5;
}

/* Inbox: classic WhatsApp light */
.wa-shell { display: flex; flex: 1; height: 100%; min-height: 0; background: #fff; color: #111b21; overflow: hidden; }
@media (max-width: 1023px) { .wa-shell { min-height: calc(100dvh - 3.5rem); } }
.wa-list { flex: 0 0 22rem; width: 22rem; max-width: 22rem; display: flex; flex-direction: column; border-right: 1px solid #e9edef; background: #fff; min-width: 0; }
@media (max-width: 1023px) {
    .wa-list { flex-basis: 100%; width: 100%; max-width: none; }
    .wa-thread { display: none; }
    .wa-shell.has-chat .wa-list { display: none; }
    .wa-shell.has-chat .wa-thread { display: flex; flex: 1; }
}
.wa-list-head { padding: 0.9rem 1rem; background: var(--wz-green); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.wa-list-head .wa-preview { color: rgba(255,255,255,.85); }
.wa-live { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255,255,255,.18); border-radius: 999px; padding: 0.25rem 0.55rem; }
.wa-new-chat { display: block; margin: 0.65rem 0.75rem 0.85rem; text-align: center; text-decoration: none; font-weight: 800; font-size: 0.85rem; color: #2a2468; background: var(--wz-gradient); border-radius: 999px; padding: 0.55rem 0.75rem; }
.wa-search { margin: 0.65rem 0.75rem 0.5rem; }
.wa-search input { width: 100%; border: 0; border-radius: 999px; background: #f0f2f5; color: #111b21; padding: 0.55rem 0.95rem; font-size: 0.875rem; outline: none; }
.wa-search input::placeholder { color: #667781; }
.wa-chats { overflow-y: auto; flex: 1; }
.wa-chat { display: flex; gap: 0.75rem; padding: 0.7rem 1rem; text-decoration: none; color: inherit; border-bottom: 1px solid #f0f2f5; }
.wa-chat:hover { background: #f5f6f6; }
.wa-chat.is-active { background: var(--wz-mint); }
.wa-avatar { width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--wz-gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800; flex-shrink: 0; }
.wa-chat-meta { min-width: 0; flex: 1; }
.wa-chat-top { display: flex; justify-content: space-between; gap: 0.5rem; }
.wa-name { font-weight: 800; font-size: 0.98rem; }
.wa-time { color: #667781; font-size: 0.75rem; white-space: nowrap; }
.wa-preview { color: #667781; font-size: 0.8125rem; margin-top: 0.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-thread { flex: 1; display: flex; flex-direction: column; min-width: 0; background: #ece5dd; }
.wa-thread-head { padding: 0.7rem 1rem; background: var(--wz-green); color: #fff; display: flex; align-items: center; gap: 0.75rem; }
.wa-thread-head .wa-preview { color: rgba(255,255,255,.85); }
.wa-pane { flex: 1; overflow-y: auto; padding: 1.25rem 4%; display: flex; flex-direction: column; gap: 0.15rem;
    background-color: #ece5dd;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4cfc7' fill-opacity='0.55'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.wa-day { align-self: center; background: #ffffffcc; color: #54656f; font-size: 0.75rem; padding: 0.3rem 0.75rem; border-radius: 8px; margin: 0.6rem 0; }
.wa-row { display: flex; margin: 0.12rem 0; }
.wa-row.in { justify-content: flex-start; }
.wa-row.out { justify-content: flex-end; }
.wa-bubble { max-width: 65%; padding: 0.4rem 0.55rem 0.3rem 0.65rem; border-radius: 12px; font-size: 0.9rem; line-height: 1.35; position: relative; box-shadow: 0 1px 0.5px rgba(0,0,0,.08); }
.wa-row.in .wa-bubble { background: #fff; border-top-left-radius: 0; }
.wa-row.out .wa-bubble { background: #fff1d4; border-top-right-radius: 0; }
.wa-body { white-space: pre-wrap; word-wrap: break-word; }
.wa-stamp { display: flex; justify-content: flex-end; align-items: center; gap: 0.25rem; color: #667781; font-size: 0.68rem; margin-top: 0.15rem; }
.wa-ticks { letter-spacing: -0.12em; font-size: 0.8rem; color: #667781; }
.wa-ticks.read { color: #53bdeb; }
.wa-ticks.failed { color: #f15c6d; letter-spacing: 0; }
.wa-dock { background: #f0f2f5; flex-shrink: 0; }
.wa-quick { padding: 0.45rem 0.9rem 0; }
.wa-composer { background: #f0f2f5; padding: 0.55rem 0.75rem 0.7rem; display: flex; gap: 0.5rem; align-items: center; }
.wa-composer input[type="text"] { flex: 1; min-width: 0; border: 0; border-radius: 999px; background: #fff; color: #111b21; padding: 0.7rem 1rem; font-size: 0.95rem; outline: none; }
.wa-send { border: 0; border-radius: 999px; min-width: 4.4rem; height: 2.6rem; padding: 0 1rem; background: var(--wz-gradient); color: #2a2468; font-weight: 800; cursor: pointer; }
.wa-send:disabled, .wa-attach:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }
.wa-attach { min-height: 2.6rem; border-radius: 999px; background: #fff; color: var(--wz-indigo); display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; padding: 0 0.85rem; cursor: pointer; font-size: 0.8rem; font-weight: 800; flex-shrink: 0; }
.wa-attach svg { width: 1.15rem; height: 1.15rem; }
.wa-attach input { display: none; }
.wa-file-name { color: #667781; font-size: 0.75rem; padding: 0 1rem 0.6rem; }
.wa-media { display: block; max-width: 16rem; max-height: 16rem; border-radius: 0.6rem; margin-bottom: 0.35rem; }
.wa-audio { display: block; max-width: 16rem; margin-bottom: 0.35rem; }
.wa-file { display: inline-flex; gap: 0.35rem; color: var(--wz-indigo); font-weight: 700; text-decoration: none; margin-bottom: 0.25rem; }
.wa-back { display: none; color: #fff; text-decoration: none; font-size: 1.2rem; padding-right: 0.25rem; }
@media (max-width: 1023px) { .wa-back { display: inline; } }
.wa-tpl { border: 0; background: transparent; color: var(--wz-indigo); font-size: 0.75rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.wa-list-head .wa-tpl { color: #fff; }
.wa-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #667781; text-align: center; padding: 2rem; }
.wa-empty h2 { color: #111b21; font-size: 1.75rem; font-weight: 800; margin-bottom: 0.5rem; }
.wa-alert { padding: 0.5rem 1rem; font-size: 0.8rem; background: #fff7ed; color: #c2410c; }
.wa-alert a { color: inherit; font-weight: 800; text-decoration: underline; }
.wa-alert-ok { background: #ecfdf3; color: #047857; }
[x-cloak] { display: none !important; }

.wz-theme {
    margin: 0.35rem 0.75rem 0.6rem;
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    background: var(--wz-mint);
    color: var(--wz-green-dark);
}
.wz-theme-bar { margin: 0 0.5rem 0 0; background: rgba(255,255,255,.18); color: #fff; }
.wz-theme-dark { display: none; }
html.dark .wz-theme-light { display: none; }
html.dark .wz-theme-dark { display: inline; }

html.dark {
    --wz-paper: #14161c;
    --wz-ink: #f4f1ea;
    --wz-muted: #b0aa9e;
    --wz-mint: #2a2744;
    --wz-line: #2c3140;
    --wz-green-soft: #243028;
}
html.dark.wz-app,
html.dark.wz-app body { background: #14161c; color: #f4f1ea; }
html.dark.wz-app [data-flux-sidebar] { background: #1b1e27 !important; border-color: #2c3140 !important; }
html.dark .wz-nav-link { color: #f4f1ea; }
html.dark .wz-nav-link:hover,
html.dark .wz-nav-link.is-active { background: #2a2744; color: #f8b81b; box-shadow: inset 0 0 0 1px #3d348b; }
html.dark.wz-app [data-flux-sidebar] a .truncate,
html.dark.wz-app [data-flux-sidebar] [class*="font-medium"].truncate { color: #e9edef !important; }
html.dark.wz-app [data-flux-main] { background: #0b141a; }
html.dark.wz-app [data-flux-card] { background: #111b21 !important; border-color: #1f2c34 !important; color: #e9edef; }
html.dark.wz-app [data-flux-heading],
html.dark.wz-app [data-flux-subheading] { color: #e9edef !important; }
html.dark.wz-app [data-flux-text] { color: #8696a0 !important; }
html.dark .wz-stat,
html.dark .wz-card,
html.dark .wz-item { background: #111b21; border-color: #1f2c34; }
html.dark .wz-stat-value,
html.dark .wz-page-title,
html.dark .wz-card-title,
html.dark .wz-item-name,
html.dark .wz-empty strong,
html.dark .wz-label { color: #e9edef; }
html.dark .wz-input { background: #1a2329; border-color: #1f2c34; color: #e9edef; }
html.dark .wz-input:focus { background: #111b21; }
html.dark .wz-table th,
html.dark .wz-table td { border-color: #1f2c34; }
html.dark .wz-item-body { color: #e9edef; }
html.dark .wz-badge-wait { background: #1f2c34; color: #8696a0; }
html.dark .wz-theme { background: #2a2744; color: #f8b81b; }
html.dark .wz-theme-bar { background: rgba(255,255,255,.12); color: #fff; }
html.dark .wa-shell,
html.dark .wa-list { background: #111b21; color: #e9edef; }
html.dark .wa-list { border-color: #1f2c34; }
html.dark .wa-list-head,
html.dark .wa-thread-head { background: #202c33; }
html.dark .wa-search input { background: #202c33; color: #e9edef; }
html.dark .wa-chat { border-color: #1f2c34; }
html.dark .wa-chat:hover { background: #202c33; }
html.dark .wa-chat.is-active { background: #2a2744; }
html.dark .wa-thread,
html.dark .wa-pane { background-color: #0b141a; background-image: none; }
html.dark .wa-alert { background: #3b2415; color: #fdba74; }
html.dark .wa-alert-ok { background: #243028; color: #d7ecc8; }
html.dark .wa-row.in .wa-bubble { background: #202c33; color: #e9edef; }
html.dark .wa-row.out .wa-bubble { background: #3d348b; color: #f4f1ea; }
html.dark .wa-dock,
html.dark .wa-composer,
html.dark .wa-file-name { background: #202c33; color: #8696a0; }
html.dark .wa-composer input[type="text"],
html.dark .wa-attach { background: #2a3942; color: #e9edef; }
html.dark .wa-empty h2 { color: #e9edef; }
html.dark .wa-day { background: #182229; color: #8696a0; }
html.dark .wa-file { color: #f8b81b; }
html.dark .wa-new-chat { background: var(--wz-gradient); color: #2a2468; }
html.dark .wa-live { background: rgba(248,184,27,.18); color: #f8b81b; }

[x-cloak] { display: none !important; }
.tpl-shell { display: grid; gap: 1.25rem; }
@media (min-width: 1100px) {
    .tpl-shell { grid-template-columns: minmax(0, 1fr) 20.5rem; align-items: start; }
}
.tpl-kicker { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wz-orange); margin-bottom: 0.35rem; }
.tpl-textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; font-family: inherit; }
.tpl-code { font-weight: 800; color: var(--wz-indigo); }
.tpl-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.tpl-pill { display: block; border: 1px solid var(--wz-line); border-radius: 1.1rem; padding: 0.8rem 0.9rem; cursor: pointer; background: #fffdf8; }
.tpl-pill strong { display: block; font-size: 0.9rem; color: var(--wz-ink); }
.tpl-pill span { display: block; margin-top: 0.15rem; font-size: 0.75rem; color: var(--wz-muted); line-height: 1.4; }
.tpl-pill.is-on { border-color: var(--wz-orange); background: #fff6ea; box-shadow: inset 0 0 0 1px var(--wz-orange); }
.tpl-samples { background: #fffdf8; border: 1px solid var(--wz-line); border-radius: 1rem; padding: 0.85rem; }
.tpl-examples { display: grid; gap: 0.5rem; }
.tpl-example { display: grid; grid-template-columns: 3.4rem 1fr; gap: 0.5rem; align-items: center; }
.tpl-chip { display: inline-flex; align-items: center; justify-content: center; height: 1.85rem; padding: 0 0.55rem; border-radius: 999px; background: #eceaf8; color: var(--wz-indigo); font-size: 0.75rem; font-weight: 800; }
.tpl-chip-btn { border: 0; background: #eceaf8; color: var(--wz-indigo); border-radius: 999px; padding: 0.38rem 0.75rem; font-size: 0.75rem; font-weight: 800; cursor: pointer; }
.tpl-chip-btn:hover { background: #ddd8f4; }
.tpl-btn-row { display: grid; gap: 0.5rem; margin-top: 0.65rem; padding: 0.8rem; border-radius: 1rem; background: #fffdf8; border: 1px solid var(--wz-line); }
.tpl-btn-grid { display: grid; gap: 0.5rem; }
@media (min-width: 768px) {
    .tpl-btn-grid { grid-template-columns: 9.5rem 1fr auto; align-items: center; }
}
.tpl-remove { border: 0; background: transparent; color: var(--wz-muted); font-size: 0.8rem; font-weight: 800; cursor: pointer; text-align: left; }
.tpl-presets { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tpl-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; }
.tpl-phone-wrap { position: sticky; top: 1rem; }
.tpl-phone { overflow: hidden; background: #fff; border: 1px solid var(--wz-line); border-radius: 1.5rem; box-shadow: 0 10px 28px rgba(61, 52, 139, 0.06); }
.tpl-phone-bar { background: var(--wz-green); color: #fff; padding: 0.8rem 0.95rem; display: flex; align-items: center; gap: 0.7rem; }
.tpl-phone-screen { background-color: #ece5dd; background-image: radial-gradient(#d5ccc4 1px, transparent 1px); background-size: 14px 14px; min-height: 20rem; padding: 1rem 0.75rem 1.1rem; }
.tpl-preview { margin-left: auto; max-width: 94%; background: #fff1d4; border-radius: 12px 12px 4px 12px; padding: 0.55rem 0.65rem 0.4rem; box-shadow: 0 1px 0.5px rgba(0,0,0,.08); }
.tpl-preview-h { font-weight: 800; font-size: 0.92rem; margin-bottom: 0.25rem; }
.tpl-preview-b { font-size: 0.88rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.tpl-preview-empty { color: var(--wz-muted); font-style: italic; }
.tpl-preview-f { margin-top: 0.4rem; font-size: 0.72rem; color: #667781; }
.tpl-preview-actions { margin-top: 0.45rem; display: grid; gap: 0.3rem; }
.tpl-preview-action { background: #fff; color: var(--wz-indigo); text-align: center; font-size: 0.8rem; font-weight: 700; border-radius: 8px; padding: 0.45rem 0.5rem; }
.tpl-var { background: #eceaf8; color: var(--wz-indigo); border-radius: 0.3rem; padding: 0 0.18rem; font-weight: 800; }
.tpl-count { font-size: 0.72rem; color: var(--wz-muted); text-align: right; margin-top: 0.25rem; }
html.dark .tpl-pill,
html.dark .tpl-btn-row,
html.dark .tpl-samples { background: #1a2329; border-color: #1f2c34; }
html.dark .tpl-pill strong { color: #e9edef; }
html.dark .tpl-pill.is-on { background: #2a2744; }
html.dark .tpl-phone { background: #1b1e27; border-color: #2c3140; }
html.dark .tpl-chip-btn { background: #2a2744; color: #f8b81b; }

.wa-number { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.wa-number-id { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.wa-number-id strong { display: block; font-size: 1.15rem; }
.wa-number-id span { color: var(--wz-muted); font-size: 0.92rem; }
.wa-profile { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
    .wa-profile { grid-template-columns: 15rem minmax(0, 1fr); align-items: start; }
}
.wa-profile-side { display: grid; justify-items: center; gap: 0.75rem; text-align: center; padding: 0.5rem; }
.wa-profile-photo { width: 6.5rem; height: 6.5rem; border-radius: 999px; object-fit: cover; background: var(--wz-gradient); }
.wa-details th { font-weight: 700; color: var(--wz-muted); width: 34%; }
.wa-details td { font-variant-numeric: tabular-nums; }

.mk-body { margin: 0; background: var(--wz-paper); color: var(--wz-ink); }
.mk-wrap { width: min(1080px, calc(100% - 2.5rem)); margin: 0 auto; }
.mk-header { position: sticky; top: 0; z-index: 20; background: rgba(247,244,238,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--wz-line); }
.mk-hero { background: radial-gradient(ellipse at 0% 0%, rgba(242,112,52,.16), transparent 42%), radial-gradient(ellipse at 80% 10%, rgba(61,52,139,.08), transparent 36%); }
.mk-header-row, .mk-footer-row, .mk-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.mk-header-row { min-height: 4.25rem; }
.mk-brand { display: flex; align-items: center; gap: 0.65rem; color: var(--wz-indigo); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.mk-nav { display: none; gap: 1.1rem; }
.mk-nav a, .mk-footer a { color: var(--wz-muted); text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.mk-nav a:hover, .mk-footer a:hover { color: var(--wz-indigo); }
@media (min-width: 860px) { .mk-nav { display: flex; } }
.mk-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; background: var(--wz-gradient); color: #2a2468; text-decoration: none; font-weight: 800; font-size: 0.9rem; }
.mk-btn-ghost { background: #fff; color: var(--wz-indigo); border: 1px solid var(--wz-line); }
.mk-hero { padding: 3.5rem 0 2rem; }
.mk-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .mk-hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.mk-kicker { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wz-orange); }
.mk-hero h1, .mk-section h2, .mk-legal h1 { margin: 0.4rem 0 0; font-weight: 800; letter-spacing: -0.03em; color: var(--wz-ink); }
.mk-hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.08; max-width: 14ch; }
.mk-lead, .mk-section p, .mk-cta p { color: var(--wz-muted); line-height: 1.6; }
.mk-lead { max-width: 38rem; font-size: 1.05rem; }
.mk-phone { overflow: hidden; border-radius: 1.5rem; border: 1px solid var(--wz-line); background: #fff; box-shadow: 0 18px 40px rgba(16, 52, 48, 0.08); }
.mk-phone .tpl-phone-screen { min-height: 16rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.35rem; }
.mk-section { padding: 1rem 0 2.5rem; }
.mk-section h2, .mk-legal h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 18ch; }
.mk-grid { display: grid; gap: 0.8rem; margin-top: 1.25rem; }
@media (min-width: 760px) { .mk-grid { grid-template-columns: repeat(3, 1fr); } }
.mk-grid h3, .mk-steps h3 { margin: 0; font-size: 1rem; }
.mk-grid p, .mk-steps p { margin: 0.35rem 0 0; font-size: 0.9rem; }
.mk-steps { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
@media (min-width: 760px) { .mk-steps { grid-template-columns: repeat(3, 1fr); } }
.mk-steps li { display: flex; gap: 0.75rem; background: #fff; border: 1px solid var(--wz-line); border-radius: 1.25rem; padding: 1rem; }
.mk-steps span { width: 1.7rem; height: 1.7rem; border-radius: 999px; background: var(--wz-mint); color: var(--wz-green-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.mk-cta { background: #fff; border: 1px solid var(--wz-line); border-radius: 1.25rem; padding: 1.25rem; }
.mk-footer { border-top: 1px solid var(--wz-line); margin-top: 1rem; padding: 1.5rem 0 2rem; }
.mk-footer strong { display: flex; align-items: center; gap: 0.45rem; color: var(--wz-indigo); }
.mk-footer p { margin: 0.25rem 0 0; color: var(--wz-muted); font-size: 0.85rem; }
.mk-footer-links { display: flex; flex-wrap: wrap; gap: 0.85rem 1.1rem; }
.mk-legal { width: min(760px, calc(100% - 2.5rem)); margin: 0 auto; padding: 2.5rem 0 3rem; }
.mk-legal .legal-copy { margin-top: 1.5rem; display: grid; gap: 1.25rem; color: #1f2c34; font-size: 0.95rem; line-height: 1.7; }
.mk-legal .legal-copy h2 { font-size: 1.05rem; margin: 0.4rem 0; }
html.dark .mk-body, html.dark .mk-header { background: #0b141a; }
html.dark .mk-header, html.dark .mk-footer { border-color: #1f2c34; }
html.dark .mk-brand, html.dark .mk-hero h1, html.dark .mk-section h2, html.dark .mk-legal h1, html.dark .mk-footer strong { color: #f4f1ea; }
html.dark .mk-brand { color: #fff; }
html.dark .mk-btn-ghost, html.dark .mk-phone, html.dark .mk-steps li, html.dark .mk-cta { background: #111b21; border-color: #1f2c34; color: #e9edef; }
html.dark .mk-legal .legal-copy { color: #e9edef; }
