/*
 * Estilos da plataforma. Cores, fontes e raios vêm de /theme.css (variáveis --vesc-*),
 * geradas a partir das configurações do painel. Não usar valores de cor fixos aqui.
 */

/* Inter (fonte variável, SIL OFL 1.1 — ver /assets/fonts/LICENSE-Inter.txt), servida localmente. */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-wght.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-ext-wght.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.vesc-body {
    background: var(--vesc-bg);
    color: var(--vesc-text);
    font-family: var(--vesc-font);
    -webkit-font-smoothing: antialiased;
}

.vesc-heading,
h1, h2, h3, .h1, .h2, .h3 {
    font-family: var(--vesc-heading-font);
}

.vesc-card {
    background: var(--vesc-surface);
    border: 1px solid rgba(var(--vesc-secondary-rgb), 0.08);
    border-radius: var(--vesc-radius);
}

/* Botões e componentes do Bootstrap ligados aos tokens de marca */
.btn-primary {
    --bs-btn-bg: var(--vesc-primary);
    --bs-btn-border-color: var(--vesc-primary);
    --bs-btn-hover-bg: var(--vesc-primary-hover);
    --bs-btn-hover-border-color: var(--vesc-primary-hover);
    --bs-btn-active-bg: var(--vesc-primary-hover);
    --bs-btn-active-border-color: var(--vesc-primary-hover);
    --bs-btn-disabled-bg: var(--vesc-primary);
    --bs-btn-disabled-border-color: var(--vesc-primary);
    --bs-btn-focus-shadow-rgb: var(--vesc-primary-rgb);
    border-radius: var(--vesc-radius);
}

.form-control,
.form-select {
    border-radius: var(--vesc-radius);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(var(--vesc-primary-rgb), 0.6);
    box-shadow: 0 0 0 0.2rem rgba(var(--vesc-primary-rgb), 0.2);
}

.vesc-badge {
    background: rgba(var(--vesc-primary-rgb), 0.1);
    color: var(--vesc-primary);
    font-weight: 600;
}

/* Área de acesso */
.vesc-auth {
    background:
        radial-gradient(ellipse at top, rgba(var(--vesc-primary-rgb), 0.12), transparent 60%),
        var(--vesc-bg);
}

/* Administração: barra superior + menu lateral (offcanvas no celular) */
.vesc-topbar {
    background: var(--vesc-secondary);
    min-height: 56px;
}

.vesc-brand {
    color: #fff;
    font-family: var(--vesc-heading-font);
    font-weight: 700;
}

.vesc-brand small {
    font-weight: 400;
    opacity: 0.75;
    font-size: 0.8em;
}

.vesc-brand:hover,
.vesc-brand:focus {
    color: #fff;
}

.vesc-icon-btn,
.vesc-user-btn {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    min-height: 44px;
    min-width: 44px;
}

.vesc-icon-btn:hover,
.vesc-user-btn:hover,
.vesc-user-btn.show {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.vesc-burger,
.vesc-burger::before,
.vesc-burger::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
}

.vesc-burger::before,
.vesc-burger::after {
    content: "";
    position: absolute;
    left: 0;
}

.vesc-burger::before { top: -6px; }
.vesc-burger::after { top: 6px; }

.vesc-shell {
    display: flex;
    min-height: calc(100vh - 56px);
}

.vesc-sidebar {
    background: var(--vesc-surface);
}

@media (min-width: 992px) {
    .vesc-sidebar {
        width: 240px;
        flex-shrink: 0;
        border-right: 1px solid rgba(var(--vesc-secondary-rgb), 0.08);
    }
}

.vesc-nav .nav-link {
    color: var(--vesc-text);
    border-radius: var(--vesc-radius);
    padding: 0.625rem 0.875rem;
    margin-bottom: 0.125rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.vesc-nav .nav-link:hover {
    background: rgba(var(--vesc-primary-rgb), 0.06);
}

.vesc-nav .nav-link.active {
    background: rgba(var(--vesc-primary-rgb), 0.12);
    color: var(--vesc-primary);
    font-weight: 600;
}

.vesc-main {
    flex: 1;
    min-width: 0;
    padding: 1.25rem 1rem;
}

@media (min-width: 768px) {
    .vesc-main {
        padding: 2rem;
    }
}

.vesc-skip:focus {
    position: absolute;
    z-index: 2000;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--vesc-surface);
    border-radius: var(--vesc-radius);
}

/* ======================================================================
   Área do cliente (mobile first)
   ====================================================================== */
.vesc-customer-top {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.5rem 0;
}

.vesc-customer-top .vesc-brand {
    text-decoration: none;
    font-size: 1.15rem;
}

.vesc-top-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--vesc-radius);
}

.vesc-top-link:hover,
.vesc-top-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.vesc-contract-bar {
    background: rgba(0, 0, 0, 0.15);
    padding: 0.375rem 0;
    margin-top: 0.5rem;
    color: #fff;
}

.vesc-contract-form .form-select {
    max-width: 420px;
}

html.js .vesc-js-hide {
    display: none;
}

.vesc-customer-main {
    padding-top: 1.25rem;
    /* espaço para a barra inferior no celular */
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
}

@media (min-width: 992px) {
    .vesc-customer-main {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }
}

.vesc-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    background: var(--vesc-surface);
    border-top: 1px solid rgba(var(--vesc-secondary-rgb), 0.12);
    padding-bottom: env(safe-area-inset-bottom);
}

.vesc-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
    min-height: 56px;
    justify-content: center;
    font-size: 0.72rem;
    color: var(--vesc-muted);
    text-decoration: none;
}

.vesc-bottom-nav a.active {
    color: var(--vesc-primary);
    font-weight: 600;
}

/* Ícones monocromáticos via máscara (herdam a cor do texto) */
.vesc-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-color: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.vesc-icon-home { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.vesc-icon-invoice { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h9l5 5v15H6z'/%3E%3Cpath d='M14 2v6h6M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.vesc-icon-wifi { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8.8a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16.1a5 5 0 0 1 7 0'/%3E%3Ccircle cx='12' cy='19.5' r='1'/%3E%3C/svg%3E"); }
.vesc-icon-user { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }

.vesc-shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 96px;
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--vesc-primary);
    background: var(--vesc-surface);
    border: 1px solid rgba(var(--vesc-secondary-rgb), 0.08);
    border-radius: var(--vesc-radius);
    text-decoration: none;
}

.vesc-shortcut:hover {
    background: rgba(var(--vesc-primary-rgb), 0.06);
}

.vesc-shortcut .vesc-icon {
    width: 2rem;
    height: 2rem;
}

.vesc-card-alert {
    border-left: 4px solid var(--bs-danger);
}

.vesc-card-active {
    border: 2px solid var(--vesc-primary);
}

.vesc-tabs .nav-link {
    border-radius: var(--vesc-radius);
    color: var(--vesc-text);
}

.vesc-tabs .nav-link.active {
    background: var(--vesc-primary);
}

.vesc-count {
    background: rgba(0, 0, 0, 0.12);
    color: inherit;
}

.vesc-invoice-list .list-group-item {
    min-height: 64px;
}

.vesc-chevron {
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid var(--vesc-muted);
    border-top: 2px solid var(--vesc-muted);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.vesc-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8rem;
    word-break: break-all;
}

.vesc-qr {
    max-width: 240px;
    margin: 0 auto;
}

.vesc-copied {
    --bs-btn-bg: var(--bs-success);
    --bs-btn-border-color: var(--bs-success);
    --bs-btn-color: #fff;
}

.vesc-dl dt {
    font-weight: 400;
    color: var(--vesc-muted);
    font-size: 0.85rem;
}

.vesc-dl dd {
    margin-bottom: 0.75rem;
}

.vesc-offscreen {
    position: fixed;
    left: -9999px;
    top: 0;
}

/* Chamados */
.vesc-icon-chat { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20.5l1.4-4.9A8 8 0 1 1 21 12z'/%3E%3C/svg%3E"); }

.min-w-0 { min-width: 0; }

.vesc-choice {
    min-height: 64px;
    border-radius: var(--vesc-radius);
}

.btn-check:checked + .vesc-choice .vesc-choice-help {
    color: rgba(255, 255, 255, 0.85);
}

.vesc-choice-help {
    color: var(--vesc-muted);
    font-weight: 400;
}

.vesc-thread {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.vesc-msg {
    max-width: 92%;
    padding: 0.75rem 1rem;
    border-radius: var(--vesc-radius);
    background: var(--vesc-surface);
    border: 1px solid rgba(var(--vesc-secondary-rgb), 0.1);
    overflow-wrap: anywhere;
}

.vesc-msg-mine {
    align-self: flex-end;
    background: rgba(var(--vesc-primary-rgb), 0.08);
    border-color: rgba(var(--vesc-primary-rgb), 0.2);
}

.vesc-msg-internal {
    background: #fff8e1;
    border-color: #f4d58d;
}

.vesc-msg-meta {
    color: var(--vesc-muted);
    margin-bottom: 0.25rem;
}

.vesc-thumb {
    max-width: 180px;
    max-height: 140px;
    border-radius: calc(var(--vesc-radius) / 2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .vesc-bottom-nav a { font-size: 0.68rem; }
}

/* Botões de contorno também seguem a cor da marca (tema configurável) */
.btn-outline-primary {
    --bs-btn-color: var(--vesc-primary);
    --bs-btn-border-color: var(--vesc-primary);
    --bs-btn-hover-bg: var(--vesc-primary);
    --bs-btn-hover-border-color: var(--vesc-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--vesc-primary-hover);
    --bs-btn-active-border-color: var(--vesc-primary-hover);
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-color: var(--vesc-primary);
    --bs-btn-disabled-border-color: var(--vesc-primary);
    --bs-btn-focus-shadow-rgb: var(--vesc-primary-rgb);
    border-radius: var(--vesc-radius);
}

.btn-check:checked + .btn-outline-primary {
    background-color: var(--vesc-primary);
    border-color: var(--vesc-primary);
    color: #fff;
}

/* ======================================================================
   Chat (cliente, visitante e atendente)
   ====================================================================== */
.vesc-chat-box {
    display: flex;
    flex-direction: column;
    /* Altura útil da tela descontando cabeçalho e barra inferior no celular */
    height: calc(100dvh - 12rem);
    min-height: 420px;
    overflow: hidden;
}

.vesc-agent .vesc-chat-box {
    height: calc(100dvh - 9rem);
}

.vesc-chat-head {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(var(--vesc-secondary-rgb), 0.1);
    flex-shrink: 0;
}

.vesc-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--vesc-bg);
    overscroll-behavior: contain;
}

.vesc-chat-msg {
    max-width: 85%;
    padding: 0.5rem 0.75rem;
    border-radius: var(--vesc-radius);
    background: var(--vesc-surface);
    border: 1px solid rgba(var(--vesc-secondary-rgb), 0.1);
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.vesc-chat-client,
.vesc-chat-mine-agent {
    align-self: flex-end;
    background: rgba(var(--vesc-primary-rgb), 0.1);
    border-color: rgba(var(--vesc-primary-rgb), 0.25);
}

/* No painel do atendente, a mensagem do cliente fica à esquerda */
.vesc-agent .vesc-chat-client {
    align-self: flex-start;
    background: var(--vesc-surface);
    border-color: rgba(var(--vesc-secondary-rgb), 0.1);
}

.vesc-chat-system {
    align-self: center;
    max-width: 95%;
    background: transparent;
    border: 0;
    color: var(--vesc-muted);
    font-size: 0.85rem;
    text-align: center;
    white-space: normal;
}

.vesc-chat-meta {
    font-size: 0.72rem;
    color: var(--vesc-muted);
    margin-bottom: 0.125rem;
    white-space: normal;
}

.vesc-chat-composer {
    padding: 0.75rem;
    border-top: 1px solid rgba(var(--vesc-secondary-rgb), 0.1);
    background: var(--vesc-surface);
    flex-shrink: 0;
}

.vesc-chat-composer textarea {
    resize: none;
    min-height: 44px;
}

.vesc-attach {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.vesc-chat-composer .btn[type="submit"] {
    min-height: 44px;
}

.vesc-chat-ended {
    border-top: 1px solid rgba(var(--vesc-secondary-rgb), 0.1);
    background: var(--vesc-surface);
}

.vesc-star {
    min-width: 44px;
    min-height: 44px;
}

.vesc-agent-lists .list-group-item {
    min-height: 56px;
    border-radius: calc(var(--vesc-radius) / 2);
}

.vesc-agent-lists .list-group-item.active {
    background: rgba(var(--vesc-primary-rgb), 0.12);
    color: var(--vesc-text);
    border-color: transparent;
}

.vesc-chat-page {
    max-width: 900px;
}

/* Na Área do Cliente (celular/tablet) desconta a barra inferior fixa para o campo de mensagem ficar visível */
@media (max-width: 991.98px) {
    .vesc-customer .vesc-chat-box {
        height: calc(100dvh - 16rem - env(safe-area-inset-bottom));
        min-height: 360px;
    }
}

.vesc-logo {
    max-height: 32px;
    max-width: 160px;
    width: auto;
    vertical-align: middle;
}

.vesc-nav-section {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--vesc-muted);
    margin: 1rem 0.875rem 0.25rem;
}

/* Painel */
.vesc-chart-wrap {
    position: relative;
    height: 280px;
}

.vesc-chart-sm {
    height: 240px;
}

.vesc-kpi .h3 a {
    color: inherit;
}

.vesc-maxw-sm {
    max-width: 360px;
}

.vesc-brand-preview img {
    max-height: 64px;
    max-width: 100%;
    background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 50% / 16px 16px;
    padding: 4px;
    border-radius: calc(var(--vesc-radius) / 2);
}

.vesc-audit-data pre {
    max-width: 420px;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.75rem;
}

.vesc-prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ======================================================================
   Fase 9: notificações, PWA e verificação em duas etapas
   ====================================================================== */
.vesc-icon-bell { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E"); }
.vesc-icon-wifi-off { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l20 20M8.5 16.4a5 5 0 0 1 7 0M5 12.9a10 10 0 0 1 5.2-2.8M19 12.9a10 10 0 0 0-2.3-1.7M2 8.8a15 15 0 0 1 4.2-2.6M22 8.8A15 15 0 0 0 11 4.9'/%3E%3Ccircle cx='12' cy='20' r='1'/%3E%3C/svg%3E"); }

.vesc-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.vesc-bell .vesc-icon { width: 1.25rem; height: 1.25rem; }
.vesc-bell-count {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: var(--vesc-accent);
    color: #1f2937;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.15rem;
    text-align: center;
}

.vesc-notif-list { display: grid; gap: 0.5rem; }
.vesc-notif-link {
    display: flex;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: var(--vesc-radius);
    background: var(--vesc-surface);
    border: 1px solid rgba(var(--vesc-secondary-rgb), 0.08);
    color: var(--vesc-text);
    text-decoration: none;
}
.vesc-notif-link:hover { border-color: rgba(var(--vesc-primary-rgb), 0.35); color: var(--vesc-text); }
.vesc-notif-dot { flex: none; width: 0.6rem; height: 0.6rem; margin-top: 0.45rem; border-radius: 50%; background: transparent; }
.vesc-notif.is-unread .vesc-notif-dot { background: var(--vesc-primary); }
.vesc-notif.is-unread .vesc-notif-link { background: rgba(var(--vesc-primary-rgb), 0.04); }
.vesc-notif-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.vesc-notif-text span { color: var(--vesc-muted); overflow-wrap: anywhere; }
.vesc-notif-text small { color: var(--vesc-muted); font-size: 0.78rem; }

.vesc-push-icon {
    flex: none;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: rgba(var(--vesc-primary-rgb), 0.1);
    position: relative;
}
.vesc-push-icon::after {
    content: "";
    position: absolute;
    inset: 0.65rem;
    background-color: var(--vesc-primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

.vesc-otp { letter-spacing: 0.3em; font-variant-numeric: tabular-nums; font-weight: 700; }
.vesc-qr { padding: 0.5rem; background: #fff; border-radius: var(--vesc-radius); border: 1px solid rgba(var(--vesc-secondary-rgb), 0.12); }
.vesc-qr img { display: block; width: 180px; height: 180px; image-rendering: pixelated; }
.vesc-secret { font-size: 1rem; word-break: break-all; }
.vesc-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.35rem; list-style: none; padding: 0; }
.vesc-codes code { font-size: 0.95rem; color: inherit; }

.vesc-offline-icon {
    display: inline-block;
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--vesc-primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l20 20M8.5 16.4a5 5 0 0 1 7 0M5 12.9a10 10 0 0 1 5.2-2.8M19 12.9a10 10 0 0 0-2.3-1.7M2 8.8a15 15 0 0 1 4.2-2.6M22 8.8A15 15 0 0 0 11 4.9'/%3E%3Ccircle cx='12' cy='20' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l20 20M8.5 16.4a5 5 0 0 1 7 0M5 12.9a10 10 0 0 1 5.2-2.8M19 12.9a10 10 0 0 0-2.3-1.7M2 8.8a15 15 0 0 1 4.2-2.6M22 8.8A15 15 0 0 0 11 4.9'/%3E%3Ccircle cx='12' cy='20' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Cabeçalho do painel no celular: marca, sino e menu na mesma linha */
.vesc-admin .vesc-topbar > .container-fluid { flex-wrap: nowrap; gap: 0.25rem; }
.vesc-admin .vesc-topbar .navbar-brand { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 0; }
@media (max-width: 575.98px) {
    .vesc-admin .vesc-topbar .navbar-brand small { display: none; }
}
