:root {
    --bg: #f5f7fb;
    --panel: #fff;
    --ink: #182334;
    --muted: #6d7787;
    --line: #e6eaf0;
    --primary: #2563eb;
    --primary2: #1d4ed8;
    --green: #16a085;
    --nav: #101827;
    --radius: 16px;
    --card-gap: 12px;
    --card-pad: 16px 20px;
}

* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--nav) #edf1f7;
}

iconify-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

*::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

*::-webkit-scrollbar-track {
    background: #edf1f7;
}

*::-webkit-scrollbar-thumb {
    border: 1px solid #edf1f7;
    border-radius: 999px;
    background: var(--nav);
}

*::-webkit-scrollbar-thumb:hover {
    background: #263246;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
}

.brand-logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -.04em;
    color: var(--primary);
}

.brand-logo span {
    color: var(--green);
}

.brand-image {
    display: block;
    width: 310px;
    max-width: 100%;
    height: auto;
}

.brand-image-light {
    width: 330px;
}

.login-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    background: #fff;
}

.login-art {
    background: linear-gradient(145deg, #0f1d33, #1d4ed8 60%, #16a085);
    color: #fff;
    padding-block: 58px;
    padding-inline: clamp(64px, 11%, 144px);
    position: relative;
    overflow: hidden;
}

.login-art-content {
    position: absolute;
    z-index: 1;
    top: 45%;
    left: clamp(64px, 11%, 144px);
    right: clamp(64px, 11%, 144px);
    transform: translateY(-50%);
}

.login-art-content>.brand-image {
    margin-bottom: 72px;
}

.login-art::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 80px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
    right: -180px;
    bottom: -190px;
}

.login-art .brand-logo {
    color: #fff;
    position: relative;
    z-index: 1;
}

.login-art .brand-logo span {
    color: #bdf8e7;
}

.login-art h1 {
    font-size: clamp(42px, 2.55vw, 50px);
    line-height: 1.08;
    letter-spacing: -1.2px;
    max-width: 680px;
    margin: 104px 0 22px;
    text-wrap: balance;
}

.login-art-copy h1 {
    margin-top: 0;
}

.login-art h1.has-eyebrow {
    margin-top: 14px;
}

.login-art h1>span,
.login-art h1>strong {
    display: block;
}

.login-art h1>span {
    font-weight: 520;
}

.login-art h1>strong {
    color: #79ead8;
    font-weight: 820;
}

.login-art-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-top: 0;
    color: #a7f3e6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1;
    text-transform: uppercase;
}

.login-art-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    margin-right: 10px;
    border-radius: 999px;
    background: currentColor;
}

.login-art p {
    max-width: 590px;
    color: #d8e2f1;
    font-size: 17px;
    line-height: 1.55;
    text-wrap: pretty;
}

.login-art p strong {
    color: #f1f6ff;
    font-weight: 650;
}

.login-panel {
    display: grid;
    place-items: center;
    padding: 40px;
}

.login-card {
    width: min(430px, 100%);
}

.login-card h2 {
    font-size: 28px;
    margin: 30px 0 6px;
}

.muted {
    color: var(--muted);
}

.field {
    margin-top: 13px;
}

.field label {
    display: block;
    color: #586576;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #dfe4eb;
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    padding: 11px 12px;
    outline: none;
}

.field input[type="checkbox"] {
    width: auto;
    padding: 0;
    margin-right: 8px;
    accent-color: #487fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px #eaf1ff;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 18px;
    height: 18px;
    color: #8793a3;
    transform: translateY(-50%);
    pointer-events: none;
}

.input-with-icon .input-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.input-with-icon input {
    padding-left: 40px;
}

.onboarding-cnpj-lookup input {
    padding-right: 48px
}

.onboarding-cnpj-lookup > button {
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    display: grid;
    width: 44px;
    place-items: center;
    border: 0;
    border-left: 1px solid #dfe4eb;
    border-radius: 0 9px 9px 0;
    background: #fff;
    color: var(--primary);
    cursor: pointer;
    z-index: 3
}

.onboarding-cnpj-lookup > button.is-loading {
    color: transparent;
    cursor: wait
}

.onboarding-cnpj-lookup > button > svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round
}

.onboarding-cnpj-lookup > button.is-loading::after {
    position: absolute;
    width: 17px;
    height: 17px;
    border: 2px solid #c8d4e8;
    border-top-color: var(--primary);
    border-radius: 50%;
    content: "";
    animation: cnpjLookupSpin .7s linear infinite
}

@keyframes cnpjLookupSpin {
    to { transform: rotate(360deg) }
}

.autocomplete-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 50;
    max-height: 230px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(24, 35, 52, .14);
}

.autocomplete-menu::-webkit-scrollbar {
    display: none;
}

.autocomplete-option {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #f0f2f5;
    background: #fff;
    padding: 11px 13px;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.autocomplete-option:last-child {
    border-bottom: 0;
}

.autocomplete-option:hover,
.autocomplete-option.is-active {
    background: #eef4ff;
    color: var(--primary2);
}

.autocomplete-empty {
    padding: 16px 13px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.autocomplete-empty strong {
    display: block;
    color: #344054;
    font-size: 13px;
}

.autocomplete-empty small {
    display: block;
    margin-top: 4px;
    color: #7c879c;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.system-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    min-width: 300px;
    max-width: 400px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease;
}

.system-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.system-toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 12px;
}

.system-toast-icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.system-toast-message {
    flex: 1;
    color: #1e293b;
    font-size: .9rem;
}

.system-toast-close {
    border: 0;
    background: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
}

.system-toast-bar {
    width: 100%;
    height: 3px;
    transition-property: width;
    transition-timing-function: linear;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 13px;
}

.span2 {
    grid-column: span 2;
}

.btn {
    box-sizing: border-box;
    height: 42px;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-weight: 750;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

/* Tamanho único global: btn-sm não encolhe mais. */
.btn-sm {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    gap: 7px;
}

.btn.primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn.danger {
    background: #d92d20;
    border-color: #d92d20;
    color: #fff;
}

.btn.danger:hover {
    background: #b42318;
    border-color: #b42318;
    color: #fff;
}

.btn.primary:hover,
.btn-primary:hover {
    background: color-mix(in srgb, var(--primary, #487fff) 82%, #000);
    border-color: color-mix(in srgb, var(--primary, #487fff) 82%, #000);
    color: #fff;
}

.btn.is-submit-loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
}

.submit-spinner {
    position: absolute;
    inset: 0;
    width: 18px;
    height: 18px;
    margin: auto;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    color: var(--primary);
    animation: submit-spin .7s linear infinite;
}

.btn.primary .submit-spinner,
.btn.danger .submit-spinner {
    color: #fff;
}

@keyframes submit-spin {
    to {
        transform: rotate(360deg);
    }
}

.w-full {
    width: 100%;
}

.actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin: 12px 0 18px;
    font-size: 13px;
}

.link {
    color: var(--primary);
    font-weight: 600;
}

.center {
    text-align: center;
}

.flash {
    border-radius: 11px;
    padding: 11px 13px;
    margin: 16px 0;
    font-size: 12px;
    line-height: 1.45;
}

.flash.error {
    color: #a33434;
    border: 1px solid #ffd2d2;
    background: #fff6f6;
}

.flash.success {
    color: #0c725d;
    border: 1px solid #bcebdc;
    background: #effcf8;
}

.wizard {
    display: flex;
    gap: 8px;
    margin: 26px 0 22px;
}

.wizard .w {
    flex: 1;
}

.wizard .line {
    height: 5px;
    background: #e9edf2;
    border-radius: 6px;
}

.wizard .done .line,
.wizard .active .line {
    background: var(--primary);
}

.wizard small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

.code-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(42px, 1fr));
    gap: 9px;
}

.field .code-digit {
    min-width: 0;
    padding: 12px 4px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
}

.field .code-digit:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px #eaf1ff;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--card-pad);
}

.dashboard {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.dashboard .card {
    width: min(620px, 100%);
}

.dashboard h1 {
    margin-top: 0;
}

.check {
    display: flex;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.check:last-child {
    border: 0;
}

.check p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.success-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #e8faf5;
    color: #0c8469;
    font-size: 28px;
    font-weight: 900;
    margin-top: 24px;
}

.footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #98a2b2;
    font-size: 12px;
    margin-top: 28px;
    text-align: center;
}

.footer-note-icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    color: #8291a8;
}

.footer-note-icon svg {
    width: 100%;
    height: 100%;
}

/* Aplicação autenticada */
.app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px 1fr;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    width: 270px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 14px;
    background: linear-gradient(180deg, var(--brand-primary, var(--nav)), var(--brand-secondary, #0c1422));
    color: #c7d0dd;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.brand {
    display: flex;
    align-items: center;
    padding: 2px 10px 18px;
}

.brand img {
    width: 198px;
}

.tenant {
    margin: 0 6px 18px;
    padding: 12px;
    border: 1px solid #26344b;
    border-radius: 14px;
    background: #172236;
}

.tenant small {
    display: block;
    margin-bottom: 4px;
    color: #8996aa;
}

.tenant b {
    display: block;
    color: #fff;
    font-size: 14px;
}

.tenant-status {
    margin-top: 8px;
}

.nav-group {
    margin: 18px 0 6px;
    padding: 0 12px;
    color: #6f7e93;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 3px 0;
    padding: 10px 12px;
    border-radius: 11px;
    color: #b9c4d2;
    font-size: 14px;
}

.nav a:hover,
.nav a.active {
    background: #1d2a40;
    color: #fff;
}

.nav .ico {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.nav .ico svg {
    width: 20px;
    height: 20px;
}

.main {
    grid-column: 2;
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0 28px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: -28px;
    margin-left: -28px;
    padding-right: 28px;
    padding-left: 28px;
    border-bottom: 1px solid rgba(230, 234, 240, .75);
    background: rgba(245, 247, 251, .9);
    backdrop-filter: blur(10px);
}

.topbar-start,
.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-search-wrap {
    position: relative;
    flex: 1 1 auto;
    max-width: 420px;
    margin: 0 16px;
    min-width: 0;
}

.topbar-search {
    position: relative;
    display: flex;
    align-items: center;
}

.topbar-search-icon {
    position: absolute;
    left: 14px;
    color: #98a2b3;
    font-size: 18px;
    pointer-events: none;
}

.topbar-search input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 40px;
    border: 1px solid #e4e9f1;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font-size: 13px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.topbar-search input::placeholder {
    color: #98a2b3;
}

.topbar-search input:focus {
    border-color: var(--brand-primary, #487fff);
    box-shadow: 0 0 0 3px rgba(72, 127, 255, .12);
}

.nav-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 40;
    max-height: 360px;
    overflow: auto;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
}

.nav-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    color: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.nav-search-item:last-child {
    border-bottom: 0;
}

.nav-search-item:hover {
    background: #eff6ff;
}

.nav-search-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(72, 127, 255, .1);
    color: var(--brand-primary, #487fff);
    flex-shrink: 0;
}

.nav-search-item-icon iconify-icon {
    font-size: 16px;
}

.nav-search-item-info {
    min-width: 0;
    flex: 1;
}

.nav-search-item-label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-search-item-type {
    font-size: 11px;
    color: #7c879c;
}

.nav-search-empty,
.nav-search-loading {
    padding: 14px;
    text-align: center;
    font-size: 13px;
    color: #7c879c;
}

.crumb {
    color: var(--muted);
    font-size: 13px;
}

.crumb b {
    color: var(--ink);
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 22px;
    cursor: pointer;
}

.icon-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid #e5e8ed;
    border-radius: 50%;
    background: #eef0f3;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.icon-btn .badge,
.icon-btn .badge.red {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #e33d4f;
    color: #fff;
    font-size: 8px;
}

.icon-btn::-webkit-details-marker,
.user-menu-trigger::-webkit-details-marker {
    display: none;
}

.icon-btn>svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-dropdown,
.user-menu {
    position: relative;
}

.nav-dropdown[open] .icon-btn {
    border-color: #cddcf7;
    background: #eef4ff;
    color: var(--primary);
}

.nav-dropdown-panel {
    position: absolute;
    top: 53px;
    right: 0;
    z-index: 45;
    width: min(425px, calc(100vw - 28px));
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(24, 35, 52, .18);
}

.nav-dropdown-panel::before,
.user-menu-popover::before {
    content: "";
    position: absolute;
    top: -9px;
    right: 14px;
    width: 0;
    height: 0;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #dfe4eb;
    border-left: 9px solid transparent;
}

.nav-dropdown-panel::after,
.user-menu-popover::after {
    content: "";
    position: absolute;
    top: -8px;
    right: 14px;
    width: 0;
    height: 0;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #fff;
    border-left: 9px solid transparent;
}

.message-dropdown {
    width: min(390px, calc(100vw - 28px));
}

.dropdown-heading {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 15px 8px;
    padding: 12px 15px;
    border-radius: 10px;
    background: #f0f2f5;
}

.dropdown-heading strong {
    font-size: 16px;
}

.dropdown-heading form {
    flex-shrink: 0;
}

.dropdown-heading button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    text-decoration: underline;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.dropdown-items {
    max-height: 330px;
    overflow-y: auto;
    padding: 8px 15px 0;
}

.dropdown-item-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-height: 68px;
    padding: 11px 10px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.dropdown-item-row:hover {
    background: #f6f8fb;
}

.dropdown-item-row.is-unread {
    background: #f0f5ff;
}

.dropdown-item-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e5e8ed;
}

.dropdown-item-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dropdown-item-copy {
    min-width: 0;
    flex: 1;
}

.dropdown-item-copy strong,
.dropdown-item-copy small {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dropdown-item-copy strong {
    font-size: 12px;
}

.dropdown-item-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.dropdown-item-row time {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 10px;
    white-space: nowrap;
}

.dropdown-empty {
    margin: 0;
    padding: 30px 12px;
    color: var(--muted);
    text-align: center;
    font-size: 12px;
}

.dropdown-footer {
    display: block;
    padding: 13px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}

.dropdown-footer:hover {
    background: #f6f8fb;
    color: var(--primary);
}

.bell-icon {
    transform-origin: top center;
}

.bell-ringing {
    animation: bell-ring 2.5s ease-in-out infinite;
}

@keyframes bell-ring {

    0%,
    30%,
    100% {
        transform: rotate(0);
    }

    5% {
        transform: rotate(18deg);
    }

    10% {
        transform: rotate(-15deg);
    }

    15% {
        transform: rotate(12deg);
    }

    20% {
        transform: rotate(-9deg);
    }

    25% {
        transform: rotate(5deg);
    }
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 4px 2px 2px;
    border-radius: 999px;
    cursor: pointer;
    list-style: none;
}

.dropdown-arrow {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #263244;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

.user-menu[open] .dropdown-arrow {
    transform: rotate(180deg);
}

.avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--green));
    color: #fff;
    font-weight: 800;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    display: block;
}

.user-menu-popover {
    position: absolute;
    top: 52px;
    right: 0;
    z-index: 40;
    width: 290px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(24, 35, 52, .15);
}

.user-menu-popover b,
.user-menu-popover small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu-popover small {
    margin-top: 3px;
    color: var(--muted);
}

.user-menu-head {
    margin: -5px -5px 10px;
    padding: 14px;
    border-radius: 10px;
    background: #eef0f2;
}

.user-menu-head b {
    text-transform: uppercase;
    font-size: 15px;
}

.user-menu-popover a,
.user-menu-popover button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 5px;
    border: 0;
    background: none;
    color: var(--ink);
    text-align: left;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.user-menu-popover a:hover {
    color: var(--primary);
}

.user-menu-popover a>iconify-icon,
.user-menu-popover button>iconify-icon {
    width: 20px;
    flex: 0 0 20px;
    font-size: 16px;
    text-align: center;
}

.user-menu-popover hr {
    margin: 13px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.user-menu-popover button {
    color: #c53636;
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 26px 0 20px;
}

.page-head h1 {
    margin: 0 0 5px;
    font-size: 26px;
}

.page-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.grid {
    display: grid;
    gap: var(--card-gap);
}

.g2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.g3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi {
    position: relative;
    overflow: hidden;
}

.kpi .label {
    color: var(--muted);
    font-size: 12px;
}

.kpi .value {
    margin: 6px 0;
    font-size: 29px;
    font-weight: 800;
}

.kpi .delta {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
}

.kpi .bubble {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #eef4ff;
}

.kpi-icon {
    position: absolute;
    top: 15px;
    right: 16px;
    z-index: 1;
    width: 23px;
    height: 23px;
    color: var(--primary);
}

.kpi-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.kpi.green .kpi-icon {
    color: var(--green);
}

.kpi.amber .kpi-icon {
    color: #d48a00;
}

.kpi.red .kpi-icon {
    color: #d94040;
}

.kpi.green .bubble {
    background: #e9fbf6;
}

.kpi.amber .bubble {
    background: #fff7e8;
}

.kpi.red .bubble {
    background: #fff0f0;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.section-title h2 {
    margin: 0 0 1px;
    color: #172033;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.section-title h2 span {
    font-weight: 400;
}

.small {
    font-size: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf2f7;
    color: #526071;
    font-size: 11px;
    font-weight: 800;
}

.badge.blue {
    background: #eaf1ff;
    color: #245bd3;
}

.badge.green {
    background: #e8faf5;
    color: #0c8469;
}

.badge.amber {
    background: #fff4db;
    color: #9b6700;
}

.badge.red {
    background: #ffeaea;
    color: #bd3030;
}

.badge.purple {
    background: #f1ebff;
    color: #6741c7;
}

.table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.table-responsive {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 761px) {
    .table-responsive>.table {
        min-width: 720px;
    }
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 12px;
}

.table th {
    padding: 11px 13px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
    color: #687586;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: capitalize;
}

.table td {
    padding: 12px 13px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

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

.table .strong {
    font-size: 12.5px;
    font-weight: 750;
}

.table-empty,
.side-empty {
    padding: 28px 12px;
    color: var(--muted);
    text-align: center;
}

.dash-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px 16px;
    text-align: center;
}

.dash-empty__icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.dash-empty__icon svg {
    width: 29px;
    height: 29px;
}

.dash-empty__icon--blue {
    background: rgba(72, 127, 255, .08);
    color: #487fff;
}

.dash-empty__icon--green {
    background: rgba(69, 179, 105, .08);
    color: #2ca873;
}

.dash-empty__title {
    margin: 0 0 2px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.dash-empty__sub {
    max-width: 470px;
    margin: -10px 0 0;
    color: #929bad;
    font-size: 12px;
    line-height: 1.5;
}

.dash-empty--compact {
    padding: 24px 10px;
}

.dash-empty--compact .dash-empty__icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
}

.dash-empty--compact .dash-empty__icon svg {
    width: 25px;
    height: 25px;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
    gap: var(--card-gap);
}

.content-spacer {
    height: var(--card-gap);
}

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--card-gap);
}

.pipeline-grid h2 {
    margin: 10px 0;
}

.progress {
    height: 7px;
    overflow: hidden;
    border-radius: 10px;
    background: #edf1f5;
}

.progress i {
    display: block;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary), #4b7bec);
}

.timeline {
    position: relative;
    padding-left: 22px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 6px;
    width: 2px;
    background: #e2e7ef;
}

.timeline-item {
    position: relative;
    padding: 0 0 17px 14px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 4px;
    left: -21px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px #eaf1ff;
}

.timeline-item.done::before {
    background: var(--green);
    box-shadow: 0 0 0 4px #e8faf5;
}

.timeline-item b {
    font-size: 12.5px;
}

.timeline-item p {
    margin: 3px 0;
    color: var(--muted);
    font-size: 11px;
}

.confidence {
    display: flex;
    align-items: center;
    gap: 8px;
}

.confidence .bar {
    width: 80px;
    height: 6px;
    overflow: hidden;
    border-radius: 10px;
    background: #e8edf3;
}

.confidence .bar i {
    display: block;
    height: 100%;
    background: var(--green);
}

.btn.soft {
    border-color: #dbe7ff;
    background: #eef4ff;
    color: #1f5fda;
}

/* Centro de Comando */
.command-page-head {
    margin-bottom: 20px;
}

.command-page-head h1 {
    font-size: 21px;
    font-weight: 700;
}

.command-page-head h1 span {
    font-weight: 400;
}

.command-primary-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.command-primary-action iconify-icon {
    font-size: 18px;
}

.command-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, 1fr);
    gap: var(--card-gap);
}

.command-hero {
    position: relative;
    min-height: 214px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 30px 34px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 18% 15%, rgba(255, 255, 255, .13) 0 1px, transparent 2px),
        radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .12) 0 1px, transparent 2px),
        linear-gradient(125deg, #123b7c 0%, #1765c5 55%, #3d8cf1 100%);
    background-size: 70px 70px, 105px 105px, auto;
    color: #fff;
    box-shadow: 0 12px 30px rgba(34, 102, 199, .18);
}

.command-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -110px;
    width: 300px;
    height: 230px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.command-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 62%;
}

.command-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 13px;
    color: #d9eaff;
    font-size: 11px;
    font-weight: 700;
}

.command-hero-kicker iconify-icon {
    font-size: 16px;
}

.command-hero h2 {
    margin: 0 0 6px;
    font-size: 24px;
}

.command-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
}

.command-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.command-hero-stats span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: #d9eaff;
    font-size: 9px;
    backdrop-filter: blur(4px);
}

.command-hero-stats iconify-icon {
    font-size: 14px;
}

.command-hero-stats b {
    margin-right: 3px;
    color: #fff;
    font-size: 14px;
}

.command-hero-visual {
    position: absolute;
    right: 22px;
    top: 12px;
    z-index: 1;
    width: 190px;
    height: 190px;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
}

.orbit-one {
    inset: 8px;
}

.orbit-two {
    inset: 35px;
}

.orbit-runner {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    animation: hero-orbit-spin 14s linear infinite;
}

.orbit-runner--counter {
    inset: 35px;
    animation-duration: 10s;
    animation-direction: reverse;
}

.orbit-runner i {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #a9c7ff;
    box-shadow: 0 0 0 6px rgba(100, 153, 255, .18), 0 0 15px rgba(141, 181, 255, 1);
}

.orbit-runner i:first-child {
    top: -3px;
    left: calc(50% - 3px);
}

.orbit-runner i:last-child {
    right: 10%;
    bottom: 12%;
    width: 5px;
    height: 5px;
}

.orbit-runner--counter i:first-child {
    top: 18%;
    left: -2px;
}

.orbit-runner--counter i:last-child {
    right: -2px;
    bottom: 22%;
}

.hero-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 24px;
    background: rgba(255, 255, 255, .15);
    box-shadow: 0 16px 35px rgba(5, 27, 68, .23);
    transform: translate(-50%, -50%);
    backdrop-filter: blur(8px);
}

.hero-core iconify-icon {
    color: #fff;
    font-size: 43px;
    animation: hero-core-float 4.8s ease-in-out infinite;
}

.hero-satellite {
    position: absolute;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(8, 35, 78, .25);
}

.hero-satellite iconify-icon {
    font-size: 20px;
}

.satellite-one {
    top: 13px;
    right: 8px;
    animation: hero-satellite-float 4.8s ease-in-out infinite;
}

.satellite-two {
    bottom: 12px;
    left: 4px;
    color: var(--green);
    animation: hero-satellite-float 5.2s ease-in-out -.9s infinite;
}

.satellite-three {
    right: 2px;
    bottom: 15px;
    color: #7656d6;
    animation: hero-satellite-float 5.5s ease-in-out -1.7s infinite;
}

.satellite-four {
    top: 14px;
    left: 5px;
    color: #d48a00;
    animation: hero-satellite-float 5s ease-in-out -2.3s infinite;
}

@keyframes hero-orbit-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hero-satellite-float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-5px) rotate(3deg);
    }
}

@keyframes hero-core-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.period-card {
    padding: 20px;
}

.period-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.period-header h2 {
    margin: 0 0 1px;
    color: #172033;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.period-header h2 span {
    font-weight: 400;
}

.period-header p {
    margin: 0;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
}

.section-title>div>p {
    margin: 0;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
}

.section-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf4ff;
    color: var(--primary);
}

.section-icon iconify-icon {
    font-size: 20px;
}

.period-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.period-metric {
    position: relative;
    min-height: 106px;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    gap: 4px;
    padding: 12px 12px 48px;
    border: 1px solid #dbe7ff;
    border-radius: 12px;
    background: #f3f7ff;
}

.period-metric strong {
    color: #172033;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
}

.period-metric span {
    color: #7c879c;
    font-size: 10px;
    font-weight: 600;
}

.period-metric.green {
    border-color: #d4f2e4;
    background: #f1fbf7;
}

.period-metric.amber {
    border-color: #f6dfbd;
    background: #fff8ee;
}

.period-metric-chart {
    position: absolute;
    right: 10px;
    bottom: 4px;
    left: 10px;
    height: 42px;
}

.period-metric-chart svg {
    display: block;
    width: 100%;
    height: 100%;
}

.operation-health-card {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 10px 20px;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    background: linear-gradient(90deg, #fff 0%, #fbfcff 100%);
    box-shadow: 0 4px 14px rgba(15, 23, 42, .035);
    color: #172033;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.operation-health-card:hover {
    border-color: #cfd7e5;
    box-shadow: 0 7px 20px rgba(15, 23, 42, .07);
    color: #172033;
    transform: translateY(-1px);
}

.operation-health-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf4ff;
    color: var(--primary);
}

.operation-health-icon iconify-icon {
    font-size: 20px;
}

.operation-health-copy {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.operation-health-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.operation-health-heading>span {
    font-weight: 400;
}

.operation-health-heading b {
    padding: 3px 7px;
    border-radius: 999px;
    background: #fff1e8;
    color: #d55b28;
    font-size: 9px;
}

.operation-health-copy small {
    overflow: hidden;
    color: #7c879c;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.operation-health-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-size: 10px;
    font-weight: 700;
}

.operation-health-action iconify-icon {
    font-size: 14px;
}

.process-structure {
    overflow: hidden;
    margin-top: 12px;
    padding: 0;
    border-color: #e4e9f1;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .045);
}

.process-structure-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 20px 0;
}

.process-structure-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
}

.process-structure-title-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border: 1px solid #dfe4ec;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 8px rgba(15, 23, 42, .06);
    color: #344054;
}

.process-structure-title-icon iconify-icon {
    font-size: 22px;
}

.process-structure-title h2 {
    margin: 0 0 1px;
    color: #172033;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.process-structure-title h2 span {
    font-weight: 400;
}

.process-structure-title p {
    margin: 0;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
}

.process-structure-manage {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-size: 11px;
    font-weight: 700;
}

.process-structure-manage:hover {
    border-color: #bdc5d2;
    color: #172033;
}

.process-stage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 20px 20px;
}

.process-stage {
    --stage-color: #487fff;
    --stage-rgb: 72, 127, 255;
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e9edf5;
    border-radius: 12px;
    background: #fff;
    color: #172033;
    transition: background .16s ease;
}

.process-stage:hover {
    background: rgba(var(--stage-rgb), .055);
    color: #172033;
}

.process-stage::after {
    position: absolute;
    right: 20px;
    bottom: 0;
    left: 20px;
    height: 2px;
    content: "";
    border-radius: 2px 2px 0 0;
    background: var(--stage-color);
    opacity: .65;
    transform: scaleX(.28);
    transform-origin: left;
    transition: transform .18s ease, opacity .18s ease;
}

.process-stage:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.process-stage-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(var(--stage-rgb), .11);
    color: var(--stage-color);
}

.process-stage-icon iconify-icon {
    font-size: 21px;
}

.process-stage-content {
    min-width: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 7px;
}

.process-stage-content>span {
    grid-column: 1 / -1;
    overflow: hidden;
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.process-stage-content b {
    color: #172033;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.process-stage-content small {
    align-self: end;
    padding-bottom: 3px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 600;
}

.process-stage-arrow {
    margin-left: auto;
    color: var(--stage-color);
    font-size: 15px;
    opacity: .55;
}

.process-stage.purple {
    --stage-color: #8252e9;
    --stage-rgb: 130, 82, 233;
}

.process-stage.amber {
    --stage-color: #f4941e;
    --stage-rgb: 244, 148, 30;
}

.process-stage.red {
    --stage-color: #ef4f4f;
    --stage-rgb: 239, 79, 79;
}

.process-stage.green {
    --stage-color: #45b369;
    --stage-rgb: 69, 179, 105;
}

.command-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--card-gap);
    margin-top: var(--card-gap);
}

.signal-card {
    min-height: 285px;
    overflow: hidden;
    padding: 0;
}

.coverage-command-card {
    min-height: 285px;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.signal-card>.section-title {
    margin: 0;
    padding: 20px 20px 0;
}

.signal-board {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 20px;
}

.signal-tile {
    position: relative;
    min-height: 122px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 14px;
    border: 1px solid #eef0f7;
    border-radius: 12px;
    color: #64748b;
}

.signal-tile span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
}

.signal-tile span iconify-icon {
    font-size: 19px;
}

.signal-tile small {
    color: #64748b;
    font-size: 10px;
}

.signal-tile strong {
    display: block;
    margin-top: 7px;
    color: #1e293b;
    font-size: 28px;
    line-height: 1;
}

.signal-tile.purple,
.signal-tile.red {
    align-items: flex-end;
    text-align: right;
}

.signal-tile.purple span,
.signal-tile.red span {
    flex-direction: row-reverse;
}

.signal-tile.blue {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    -webkit-mask: radial-gradient(circle 86px at calc(100% + 5px) calc(100% + 5px), transparent 85px, #000 86px);
    mask: radial-gradient(circle 86px at calc(100% + 5px) calc(100% + 5px), transparent 85px, #000 86px);
}

.signal-tile.purple {
    background: linear-gradient(225deg, #faf5ff, #ede9fe);
    -webkit-mask: radial-gradient(circle 86px at -5px calc(100% + 5px), transparent 85px, #000 86px);
    mask: radial-gradient(circle 86px at -5px calc(100% + 5px), transparent 85px, #000 86px);
}

.signal-tile.amber {
    background: linear-gradient(45deg, #fffbeb, #fef3c7);
    -webkit-mask: radial-gradient(circle 86px at calc(100% + 5px) -5px, transparent 85px, #000 86px);
    mask: radial-gradient(circle 86px at calc(100% + 5px) -5px, transparent 85px, #000 86px);
}

.signal-tile.red {
    background: linear-gradient(315deg, #fff1f2, #ffe4e6);
    -webkit-mask: radial-gradient(circle 86px at -5px -5px, transparent 85px, #000 86px);
    mask: radial-gradient(circle 86px at -5px -5px, transparent 85px, #000 86px);
}

.signal-tile.blue iconify-icon {
    color: #16a34a;
}

.signal-tile.purple iconify-icon {
    color: #7c5cfc;
}

.signal-tile.amber iconify-icon {
    color: #f59e0b;
}

.signal-tile.red iconify-icon {
    color: #ef4f4f;
}

.signal-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 154px;
    height: 154px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 10px solid transparent;
    border-radius: 50%;
    background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from -45deg, #487fff, #7c5cfc, #45b369, #487fff) border-box;
    box-shadow: 0 8px 24px rgba(30, 58, 138, .14);
    color: #64748b;
    line-height: 1.05;
    text-align: center;
    transform: translate(-50%, -50%);
}

.signal-center strong {
    color: #1e293b;
    font-size: 24px;
}

.signal-center span {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.signal-center small {
    max-width: 104px;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
}

.signal-minis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 16px 20px 20px;
    border-top: 1px solid #eef0f7;
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
}

.signal-mini {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.signal-mini-ring {
    --pct: 0;
    --ring: #487fff;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 7px solid transparent;
    border-radius: 50%;
    background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from -90deg, var(--ring) calc(var(--pct) * 1%), #e8edf5 0) border-box;
    box-shadow: 0 4px 14px rgba(30, 58, 138, .08);
}

.signal-mini-ring strong {
    color: #1e293b;
    font-size: 13px;
}

.signal-mini b {
    color: #1e293b;
    font-size: 12px;
}

.signal-mini small {
    max-width: 100%;
    overflow: hidden;
    color: #94a3b8;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coverage-visual {
    position: relative;
    min-height: 280px;
    flex: 1;
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    gap: 30px;
    overflow: hidden;
    margin-bottom: 16px;
    padding: 28px;
    border: 1px solid #edf1f6;
    border-radius: 14px;
    background:
        radial-gradient(circle at 12% 22%, rgba(72, 127, 255, .09), transparent 28%),
        linear-gradient(135deg, #fbfcff 0%, #f7faff 100%);
}

.coverage-visual::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(72, 127, 255, .09);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(72, 127, 255, .025), 0 0 0 70px rgba(72, 127, 255, .018);
}

.coverage-ring {
    --coverage: 0;
    position: relative;
    z-index: 1;
    width: 168px;
    height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 50%;
    background: radial-gradient(circle at center, #fff 57%, transparent 58%), conic-gradient(var(--primary) calc(var(--coverage) * 1%), #e6ebf3 0);
    box-shadow: 0 10px 26px rgba(30, 58, 138, .08);
}

.coverage-ring strong {
    font-size: 31px;
}

.coverage-ring span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.coverage-copy {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.coverage-copy h3 {
    margin: 14px 0 7px;
    font-size: 16px;
}

.coverage-copy h3 span {
    font-weight: 400;
}

.coverage-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.coverage-track {
    height: 8px;
    margin-top: 19px;
    overflow: hidden;
    border-radius: 10px;
    background: #e4e9f1;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .05);
}

.coverage-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), #2ab58a);
}

.coverage-footer-panel {
    margin: auto -20px -20px;
    padding: 16px 20px 20px;
    border-top: 1px solid #eef0f7;
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
}

.coverage-breakdown {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.coverage-breakdown>div {
    min-width: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 8px;
    padding: 10px;
    border: 1px solid #edf0f5;
    border-radius: 10px;
    background: #fafbfc;
}

.coverage-breakdown strong {
    color: #172033;
    font-size: 16px;
    line-height: 1;
}

.coverage-breakdown small {
    grid-column: 1 / -1;
    margin-top: 6px;
    overflow: hidden;
    color: #7c879c;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coverage-stat-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.coverage-stat-icon iconify-icon {
    font-size: 15px;
}

.coverage-stat-icon.green {
    background: #e8faf5;
    color: var(--green);
}

.coverage-stat-icon.amber {
    background: #fff4db;
    color: #d48a00;
}

.coverage-stat-icon.blue {
    background: #eaf1ff;
    color: var(--primary);
}

.coverage-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f2f6ff;
    color: #526071;
    font-size: 10px;
}

.coverage-card-action span,
.coverage-card-action b {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.coverage-card-action b {
    flex-shrink: 0;
    color: var(--primary);
    font-size: 10px;
}

.coverage-card-action iconify-icon {
    font-size: 15px;
}

@media (min-width: 1101px) {
    .command-main-grid {
        align-items: stretch;
    }

    .signal-card,
    .coverage-command-card {
        min-height: 0;
        height: 100%;
        display: grid;
        grid-template-rows: 72px 296px minmax(0, 1fr);
        padding: 0;
    }

    .signal-card>.section-title,
    .coverage-command-card>.section-title {
        height: 72px;
        margin: 0;
        padding: 20px;
    }

    .signal-board {
        height: 296px;
    }

    .coverage-visual {
        width: auto;
        height: 280px;
        min-height: 0;
        margin: 0 20px 16px;
    }

    .signal-minis,
    .coverage-footer-panel {
        min-height: 0;
    }

    .coverage-footer-panel {
        margin: 0;
    }
}

.daily-summary {
    width: 100%;
    display: flex;
    align-items: stretch;
    margin: 12px 0;
    padding: 16px 18px;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.daily-summary-intro,
.daily-summary-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.daily-summary-intro {
    flex: 1.25 1 205px;
    padding-right: 18px;
}

.daily-summary-item {
    flex: 1 1 150px;
    padding: 0 18px;
    border-left: 1px solid #edf0f5;
    color: inherit;
    transition: background-color .15s ease;
}

.daily-summary-item:hover {
    color: inherit;
    background: #fafbff;
}

.daily-summary-intro>div,
.daily-summary-item>div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.daily-summary strong {
    overflow: hidden;
    color: #172033;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.daily-summary small {
    overflow: hidden;
    color: #7c879c;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.daily-summary-item.green small {
    color: #15966a;
}

.daily-summary-item.blue small {
    color: #487fff;
}

.daily-summary-item.amber small {
    color: #d48a00;
}

.daily-summary-item.purple small {
    color: #7656d6;
}

.daily-summary-item.red small {
    color: #d94040;
}

.summary-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.summary-icon iconify-icon {
    font-size: 22px;
}

.summary-icon.green,
.list-icon.green {
    background: #e8faf5;
    color: var(--green);
}

.summary-icon.blue,
.list-icon.blue {
    background: #eaf1ff;
    color: var(--primary);
}

.summary-icon.amber,
.list-icon.amber {
    background: #fff4db;
    color: #d48a00;
}

.summary-icon.purple,
.list-icon.purple {
    background: #f1ebff;
    color: #7451cf;
}

.summary-icon.red,
.list-icon.red {
    background: #ffeaea;
    color: #d94040;
}

.command-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--card-gap);
    margin-bottom: var(--card-gap);
}

.command-list-card {
    min-height: 275px;
    padding: var(--card-pad);
}

.command-list {
    display: flex;
    flex-direction: column;
}

.command-list>a,
.command-list>div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 8px 3px;
    border-bottom: 1px solid #edf0f4;
    color: var(--ink);
}

.command-list>a:last-child,
.command-list>div:last-child {
    border-bottom: 0;
}

.command-list>a:hover b {
    color: var(--primary);
}

.list-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.list-icon iconify-icon {
    font-size: 15px;
}

.command-list b,
.command-list small {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.command-list b {
    font-size: 10px;
}

.command-list small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 8px;
}

.command-list time {
    color: var(--muted);
    font-size: 8px;
    white-space: nowrap;
}

.dash-empty__icon iconify-icon {
    font-size: 29px;
}

.dash-empty--compact .dash-empty__icon iconify-icon {
    font-size: 25px;
}

.app-footer {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: auto;
    max-width: none;
    margin: auto -28px 0;
    padding: 24px 28px 16px;
    border-top: 1px solid #e4e9f1;
    background: #f7f7f7;
    box-shadow: none;
    color: #7c8797;
    font-size: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

.app-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1500px;
    min-width: 0;
    margin-inline: auto;
    padding: 0 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
}

/* Separação estrutural global: não depende da margem do último componente. */
.app-footer-spacer {
    width: 100%;
    min-height: 40px;
    flex: 0 0 40px;
    pointer-events: none;
}

.app-footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(150px, 1fr));
    gap: 48px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.app-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
    text-align: left;
}

.app-footer-logo {
    display: block;
    height: 36px;
    width: auto;
    max-width: min(100%, 220px);
    margin: 0;
    padding: 0;
}

.app-footer-eyebrow {
    margin: 0;
    padding: 0;
    color: color-mix(in srgb, var(--brand-primary, #487fff) 68%, #667085);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.app-footer-desc {
    margin: 0;
    padding: 0;
    max-width: 300px;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.app-footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    align-items: flex-start;
    text-align: left;
}

/* Footer padrão original restaurado. */
.app-footer {
    margin: auto -28px 0;
    padding: 22px 28px 18px;
    border-top: 1px solid var(--line);
    background: #f7f7f7;
    box-shadow: none;
    overflow: hidden;
}

.app-footer-inner {
    gap: 22px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.app-footer-grid {
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, .72fr)) minmax(0, 1.15fr);
    gap: 24px 20px;
    align-items: start;
}

.app-footer-grid>* {
    padding: 0;
    border-left: 0 !important
}

.app-footer-brand {
    align-items: flex-start;
    gap: 8px;
    text-align: left
}

.app-footer-desc {
    max-width: 300px;
    text-align: left
}

.app-footer-col {
    align-items: flex-start;
    gap: 10px;
    text-align: left
}

.app-footer-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.2;
}

.app-footer-list {
    align-items: flex-start;
    gap: 9px
}

.app-footer-list a:hover {
    transform: none
}

.app-footer-social {
    justify-content: flex-start;
    gap: 10px
}

.app-footer-social-link {
    width: 24px;
    height: 24px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
}

.app-footer-social-link:hover {
    opacity: .85;
    transform: none
}

.app-footer-social-link svg {
    width: 20px;
    height: 20px
}

.app-footer-col-contact {
    width: auto;
    justify-self: stretch
}

.app-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0
}

.app-footer-contact-card {
    gap: 10px;
    min-height: 24px
}

.app-footer-contact-ico {
    width: 20px;
    height: 20px;
    flex-basis: 20px
}

.app-footer-contact-ico iconify-icon {
    width: 20px;
    height: 20px;
    font-size: 20px
}

.app-footer-contact-copy {
    align-items: stretch;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    flex: 1 1 auto
}

.app-footer-bottom {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 12px;
    padding-top: 16px
}

.app-footer-bottom small {
    text-align: left
}

.page-dashboard .app-footer,
.main:has(.vrx-dashboard)>.app-footer,
.dashboard-layout .app-footer {
    margin-right: -24px;
    margin-left: -24px;
    padding: 22px 24px 16px;
    border-top: 1px solid #e7ebf2;
    background: #f7f7f7;
}

.dashboard-layout .app-footer-inner,
.page-dashboard .app-footer-inner,
.main:has(.vrx-dashboard)>.app-footer .app-footer-inner {
    max-width: 100%;
    margin: 0;
    padding: 0
}

@media(max-width:1100px) {
    .app-footer {
        margin-right: -18px;
        margin-left: -18px;
        padding: 22px 18px 18px
    }

    .app-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px
    }

    .app-footer-brand,
    .app-footer-col-contact {
        grid-column: 1/-1
    }
}

@media(max-width:760px) {

    .app-footer,
    .dashboard-layout .app-footer {
        margin-right: -14px;
        margin-left: -14px;
        padding: 20px 14px 88px
    }

    .app-footer-inner {
        gap: 16px;
        padding: 0
    }

    .app-footer-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .app-footer-brand,
    .app-footer-col-contact {
        grid-column: auto
    }

    .app-footer-bottom {
        align-items: flex-start;
        flex-direction: column
    }
}

@media (min-width: 1101px) {
    .app-footer-grid>* {
        padding: 0;
    }

    .app-footer-grid> :not(:first-child) {
        border-left: 0;
    }
}

.app-footer-title {
    margin: 0;
    padding: 0;
    color: var(--ink);
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -.015em;
    text-transform: none;
    line-height: 1.25;
}

.app-footer-title::after {
    content: none;
}

.app-footer-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: flex-start;
}

.app-footer-list a {
    display: inline-block;
    color: #667085;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.35;
    transition: color .15s ease, transform .15s ease;
}

.app-footer-list a:hover {
    color: var(--brand-primary, #487fff);
    transform: translateY(-1px);
}

.app-footer-social {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.app-footer-social-link {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 0;
    text-decoration: none;
    vertical-align: middle;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.app-footer-social-link:hover {
    opacity: 1;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: translateY(-1px);
}

.app-footer-social-link svg {
    display: block;
    width: 17px;
    height: 17px;
    margin: 0;
    padding: 0;
    overflow: visible;
}

/* Home: faixa branca full-bleed (igual topbar), sem gutter cinza nas laterais */
.page-dashboard .app-footer,
.main:has(.vrx-dashboard)>.app-footer {
    margin-right: -28px;
    margin-left: -28px;
    padding: 24px 28px 16px;
    background: #f7f7f7;
}

.app-footer-support {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 20px;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.app-footer-contact-card {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease;
}

.app-footer-contact-card:hover {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.app-footer-contact-ico {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 0;
}

.app-footer-contact-ico iconify-icon {
    display: block;
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 1;
    color: inherit;
}

.app-footer-contact-ico.is-whatsapp {
    color: #25d366 !important;
}

.app-footer-contact-ico.is-mail {
    color: #1877f2 !important;
}

.app-footer-contact-ico.is-phone {
    color: #1877f2 !important;
}

.app-footer-contact-copy {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    flex: 0 1 auto;
}

.app-footer-contact-card em {
    color: var(--ink);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1.2;
}

.app-footer-contact-card strong {
    color: #667085;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.app-footer-contact-card:hover strong {
    color: var(--brand-primary, #487fff);
}

.app-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding-top: 17px;
    border-top: 1px solid #edf0f5;
}

.app-footer-bottom small {
    color: #98a2b2;
    font-size: 12px;
    min-width: 0;
    text-align: center;
    flex: 0 1 auto;
}


@media (max-width: 1100px) {
    .app-footer {
        margin-right: -18px;
        margin-left: -18px;
        padding: 22px 18px 18px;
    }

    .page-dashboard .app-footer,
    .main:has(.vrx-dashboard)>.app-footer {
        margin-right: -18px;
        margin-left: -18px;
        padding: 22px 18px 18px;
    }

    .app-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }

    .app-footer-brand {
        grid-column: 1 / -1;
    }

    .app-footer-bottom {
        justify-content: center;
        flex-direction: column;
    }

    .app-footer-support {
        justify-content: center;
        width: 100%;
    }
}

.auth-legal-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #eef2f6;
}

.auth-legal-links a {
    color: #667085;
    font-size: 12px;
    font-weight: 600;
}

.auth-legal-links a:hover {
    color: var(--brand-primary, #487fff);
}

.legal-page {
    margin: 0;
    min-height: 100vh;
    background: #f5f7fb;
    color: #182334;
    font-family: inherit;
}

.legal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    background: #fff;
    border-bottom: 1px solid #e6eaf0;
}

.legal-top img {
    display: block;
    height: 36px;
    width: auto;
}

.legal-top nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.legal-top nav a {
    color: #667085;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
}

.legal-top nav a.is-active,
.legal-top nav a:hover {
    background: #eef4ff;
    color: #487fff;
}

.legal-main {
    max-width: 820px;
    margin: 24px auto;
    padding: 28px 32px;
}

.legal-main h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.legal-main h2 {
    margin: 22px 0 8px;
    font-size: 16px;
}

.legal-main p,
.legal-main li {
    color: #475467;
    line-height: 1.55;
    font-size: 14px;
}

.legal-main ul {
    padding-left: 18px;
}

.legal-meta {
    margin: 0 0 20px;
    color: #98a2b3;
    font-size: 12px;
}

.legal-back {
    margin-top: 28px;
    font-size: 13px;
}

.legal-foot {
    text-align: center;
    padding: 18px;
    color: #98a2b2;
    font-size: 11px;
}

.module-placeholder {
    padding: 55px 24px;
    text-align: center;
}

.module-placeholder-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 18px;
    background: #eef4ff;
    color: var(--primary);
    font-size: 25px;
}

.profile-card {
    padding: 0;
    overflow: hidden;
}

.profile-card-head {
    padding: 17px 22px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}

.profile-card-head h2 {
    margin: 0 0 3px;
    font-size: 16px;
}

.profile-card-head p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.profile-card-body {
    padding: 22px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.password-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 18px;
}

.avatar-upload {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 22px;
}

.avatar-preview {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--green));
    box-shadow: 0 0 0 1px var(--line);
    color: #fff;
    font-size: 27px;
    font-weight: 800;
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload p {
    margin: 7px 0 0;
}

.field-help {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
}

.profile-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.mobile-nav {
    display: none;
}

@media (max-width: 1100px) and (min-width: 761px) {
    .app {
        grid-template-columns: 230px 1fr;
    }

    .sidebar {
        width: 230px;
    }

    .main {
        grid-column: 2;
    }

    .g4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split {
        grid-template-columns: 1fr;
    }

    .profile-grid,
    .password-grid {
        grid-template-columns: 1fr;
    }

    .command-overview,
    .command-main-grid {
        grid-template-columns: 1fr;
    }

    .process-stage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .command-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .command-bottom-grid> :last-child {
        grid-column: 1 / -1;
    }

    .daily-summary {
        flex-wrap: wrap;
        padding: 14px;
    }

    .daily-summary-intro {
        flex-basis: 100%;
        padding: 0 4px 14px;
    }

    .daily-summary-item {
        flex-basis: calc(50% - 8px);
        padding: 12px;
        border-top: 1px solid #edf0f5;
    }
}

@media (max-width: 760px) {
    .login-wrap {
        grid-template-columns: 1fr;
    }

    .login-art {
        display: none;
    }

    .login-panel {
        padding: 28px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .span2 {
        grid-column: auto;
    }

    .system-toast {
        left: 16px;
        right: 16px;
        min-width: 0;
        max-width: none;
    }

    .code-grid {
        gap: 6px;
        grid-template-columns: repeat(6, minmax(36px, 1fr));
    }

    .app {
        display: block;
    }

    .sidebar {
        width: min(285px, 86vw);
        transform: translateX(-105%);
        transition: transform .25s ease;
        box-shadow: 12px 0 35px rgba(0, 0, 0, .2);
    }

    .sidebar.is-open {
        transform: translateX(0);
    }

    .main {
        padding: 0 14px 88px;
    }

    .topbar {
        height: 58px;
    }

    .menu-toggle {
        display: block;
    }

    .crumb {
        display: none;
    }

    .topbar-search-wrap {
        max-width: none;
        margin: 0 8px;
        flex: 1 1 auto;
    }

    .topbar-search input {
        height: 36px;
        font-size: 12px;
    }

    .dashboard-topbar-brand {
        display: none;
    }

    .page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .g2,
    .g3,
    .g4,
    .pipeline-grid {
        grid-template-columns: 1fr;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .command-overview,
    .command-main-grid,
    .command-bottom-grid {
        grid-template-columns: 1fr;
    }

    .command-page-head .command-primary-action {
        width: 100%;
        justify-content: center;
    }

    .operation-health-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .operation-health-copy {
        padding-top: 4px;
    }

    .operation-health-action {
        width: 100%;
        justify-content: center;
    }

    .command-hero {
        min-height: 245px;
        padding: 25px 22px;
    }

    .command-hero-copy {
        max-width: 100%;
    }

    .command-hero-visual {
        right: -45px;
        opacity: .4;
    }

    .command-hero-stats {
        max-width: 240px;
    }

    .period-metrics {
        grid-template-columns: 1fr;
    }

    .period-metric {
        min-height: 92px;
    }

    .period-card,
    .coverage-command-card,
    .command-list-card {
        padding: 16px;
    }

    .signal-card>.section-title {
        padding: 16px 16px 0;
    }

    .signal-board {
        padding: 16px;
    }

    .process-structure-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 16px 0;
    }

    .process-structure-manage {
        width: 100%;
        justify-content: center;
    }

    .process-stage-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .coverage-visual {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .coverage-command-card {
        min-height: 420px;
    }

    .coverage-footer-panel {
        margin-right: -16px;
        margin-bottom: -16px;
        margin-left: -16px;
        padding-right: 16px;
        padding-bottom: 16px;
        padding-left: 16px;
    }

    .coverage-breakdown {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .coverage-card-action {
        align-items: flex-start;
        flex-direction: column;
    }

    .signal-board {
        grid-template-columns: 1fr;
    }

    .signal-center {
        display: none;
    }

    .signal-tile,
    .signal-tile.blue,
    .signal-tile.purple,
    .signal-tile.amber,
    .signal-tile.red {
        min-height: 82px;
        align-items: flex-start;
        text-align: left;
        -webkit-mask: none;
        mask: none;
    }

    .signal-tile.purple span,
    .signal-tile.red span {
        flex-direction: row;
    }

    .signal-minis {
        gap: 8px;
        padding: 14px 12px 16px;
    }

    .signal-mini-ring {
        width: 62px;
        height: 62px;
    }

    .daily-summary {
        flex-wrap: wrap;
        padding: 14px;
    }

    .daily-summary-intro {
        flex-basis: 100%;
        padding: 0 4px 14px;
    }

    .daily-summary-item {
        flex-basis: 100%;
        padding: 12px;
        border-top: 1px solid #edf0f5;
        border-left: 0;
    }

    .command-bottom-grid> :last-child {
        grid-column: auto;
    }

    .mobile-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 25;
        display: flex;
        justify-content: space-around;
        padding: 9px;
        border-top: 1px solid var(--line);
        background: #fff;
    }

    .mobile-nav a {
        color: var(--muted);
        text-align: center;
        font-size: 10px;
    }

    .mobile-nav a.active {
        color: var(--primary);
    }

    .mobile-ico {
        width: 20px;
        height: 20px;
        display: block;
        margin: 0 auto 2px;
        font-size: 20px;
    }

    .mobile-ico svg {
        width: 20px;
        height: 20px;
    }

    .app-footer {
        margin-right: -14px;
        margin-left: -14px;
        padding: 22px 14px 82px;
    }

    .page-dashboard .app-footer,
    .main:has(.vrx-dashboard)>.app-footer {
        margin-right: -14px;
        margin-left: -14px;
        padding: 22px 14px 82px;
    }

    .app-footer-inner {
        gap: 18px;
        padding: 0;
    }

    .app-footer-spacer {
        min-height: 28px;
        flex-basis: 28px;
    }

    .app-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 14px;
    }

    .app-footer-brand {
        grid-column: 1 / -1;
    }

    .app-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-footer-support {
        justify-content: flex-start;
        width: 100%;
    }

    body.sidebar-open::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 24;
        background: rgba(5, 12, 24, .45);
    }
}

/* Clientes — padrão visual da Base de Pessoas do Campanha */
.client-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.client-list-card {
    width: 100%;
    height: auto;
    min-height: 0;
    min-width: 0;
    display: flex;
    overflow: visible;
    padding: 0;
    border-color: #e4e9f1;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, .04);
    flex-direction: column;
}

.client-list-card>.client-table-wrap {
    min-height: 0;
    flex: 0 1 auto;
    overflow-x: hidden;
    overflow-y: hidden;
}

.client-list-card>.client-empty-panel {
    min-height: 0;
    flex: 1 1 auto;
}

.client-summary-shell {
    margin-bottom: var(--card-gap);
}

.client-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--card-gap);
}

.client-summary-card {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: var(--card-pad);
    border: 1px solid #eaecf0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.client-summary-card>div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.client-summary-card small {
    overflow: hidden;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.client-summary-card strong {
    overflow: hidden;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-summary-card strong.is-text {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
}

.client-summary-card strong .client-summary-limit {
    color: #98a2b3;
    font-size: 14px;
    font-weight: 500;
}

.client-summary-card.blue strong {
    color: #487fff;
}

.client-summary-card.green strong {
    color: #16a085;
}

.client-summary-card.purple strong {
    color: #7c5cfc;
}

.client-summary-card.amber strong {
    color: #d48a00;
}

.client-summary-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.client-summary-icon iconify-icon {
    font-size: 30px;
}

.client-summary-card.blue .client-summary-icon {
    background: #eaf1ff;
    color: #487fff;
}

.client-summary-card.green .client-summary-icon {
    background: #e8faf5;
    color: #16a085;
}

.client-summary-card.purple .client-summary-icon {
    background: #f2edff;
    color: #7c5cfc;
}

.client-summary-card.amber .client-summary-icon {
    background: #fff4db;
    color: #d48a00;
}

.client-summary-bar {
    margin-top: 2px;
    max-width: 140px;
    height: 5px;
    border-radius: 99px;
    background: #eef2f7;
    overflow: hidden;
}

.client-summary-bar i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: currentColor;
}

.client-summary-card.blue .client-summary-bar {
    color: #487fff;
}

.client-summary-card.green .client-summary-bar {
    color: #16a085;
}

.client-summary-card.purple .client-summary-bar {
    color: #7c5cfc;
}

.client-summary-card.amber .client-summary-bar {
    color: #d48a00;
}

.client-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 24px;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
}

.client-list-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-list-title-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(72, 127, 255, .14);
    color: #487fff;
}

.client-list-title-icon iconify-icon {
    font-size: 22px;
}

.client-list-head h2 {
    margin: 0 0 2px;
    color: #172033;
    font-size: 16px;
    font-weight: 750;
}

.client-list-head h2 span {
    font-weight: 400;
}

.client-list-head p {
    margin: 0;
    color: #7c879c;
    font-size: 14px;
}

.client-empty-panel {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    padding: 48px 24px;
    background: #fff;
    text-align: center;
}

.client-empty-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 3px;
    border-radius: 50%;
    background: #edf3ff;
    color: #487fff;
}

.client-empty-icon iconify-icon {
    font-size: 25px;
}

.client-empty-panel strong {
    color: #344054;
    font-size: 14px;
}

.client-empty-panel small {
    max-width: 520px;
    color: #98a2b3;
    font-size: 12px;
    line-height: 1.5;
}

.client-search-form {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto auto auto;
    align-items: end;
    gap: 12px;
    padding: 24px 24px 16px;
    background: #fff;
    overflow: visible;
}

.client-create-button,
.client-filter-toggle,
.client-export-button,
.client-import-button {
    box-sizing: border-box;
    height: 42px !important;
    min-height: 42px !important;
    gap: 7px;
    padding: 0 14px;
    white-space: nowrap;
}

.client-empty-panel .btn {
    margin-top: 12px;
}

.client-search-field {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
}

.client-search-control {
    height: 42px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.client-search-control:focus-within {
    border-color: #94b4ff;
    box-shadow: 0 0 0 3px rgba(72, 127, 255, .1);
}

.client-search-control input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172033;
    font: inherit;
    font-size: 14px;
}

.client-search-control button {
    position: relative;
    width: 44px;
    height: 100%;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-left: 1px solid #dfe4ec;
    background: #fff;
    color: #487fff;
    cursor: pointer;
}

.client-search-control button:hover {
    background: #edf3ff;
}

.client-search-control button.is-submit-loading {
    color: transparent !important;
    pointer-events: none;
}

.client-search-control button .submit-spinner {
    color: #487fff;
}

.client-search-control iconify-icon {
    font-size: 19px;
}

.client-search-field .autocomplete-menu {
    top: calc(100% + 4px);
    z-index: 60;
}

.client-filter-toggle,
.client-export-button {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
}

.client-filter-toggle.is-active {
    border-color: #487fff;
    background: #487fff;
    color: #fff;
}

.client-filter-chevron {
    transition: transform .18s ease;
}

.client-filter-toggle.is-active .client-filter-chevron {
    transform: rotate(180deg);
}

.client-export-menu {
    position: relative;
}

.client-export-menu>summary {
    list-style: none;
    cursor: pointer;
}

.client-export-menu>summary::-webkit-details-marker,
.client-row-menu>summary::-webkit-details-marker {
    display: none;
}

.client-export-button {
    border-color: #45b369;
    background: #45b369;
    color: #fff;
}

.client-export-button:hover,
.client-export-menu[open] .client-export-button {
    border-color: #359a58;
    background: #359a58;
    color: #fff;
}

.client-export-button iconify-icon {
    font-size: 17px;
}

.client-export-options {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    z-index: 30;
    min-width: 190px;
    overflow: hidden;
    padding: 6px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
}

.client-export-options a,
.client-export-options button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #344054;
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.client-export-options a:hover,
.client-export-options button:hover {
    background: #f1f5f9;
    color: #172033;
}

.client-export-options iconify-icon {
    font-size: 18px;
    color: #487fff;
}

.client-advanced-filters {
    grid-column: 1 / -1;
    margin-top: 0;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
}

.client-advanced-filters[hidden] {
    display: none;
}

.client-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.client-filter-heading strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 6px;
    background: #487fff;
    color: #fff;
    font-size: 12px;
}

.client-filter-heading a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #487fff;
    font-size: 13px;
    font-weight: 600;
}

.client-filter-heading iconify-icon {
    font-size: 16px;
}

.client-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.client-filter-grid label {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
}

.client-filter-grid select,
.client-filter-grid input,
.client-search-form>.client-search-field>select {
    width: 100%;
    height: 38px;
    padding: 6px 12px;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: #344054;
    font: inherit;
    font-size: 14px;
}

.client-filter-grid select:focus,
.client-filter-grid input:focus,
.client-search-form>.client-search-field>select:focus {
    border-color: #94b4ff;
    box-shadow: 0 0 0 3px rgba(72, 127, 255, .08);
}

.client-search-form>.client-search-field>select {
    height: 42px;
}

.client-results-meta {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 24px 14px;
    color: #667085;
    font-size: 13px;
}

.client-results-meta strong {
    color: #344054;
}

.client-filtered-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf3ff;
    color: #356ee8;
    font-size: 12px;
    font-weight: 700;
}

.client-table-wrap {
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    min-width: 0;
    margin: 0 24px;
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.client-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

.client-table th,
.client-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #475467;
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
    overflow-wrap: anywhere;
    word-break: normal;
}

.client-table th {
    background: #f8fafc;
    color: #344054;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    white-space: normal;
}

.coverage-table th {
    padding: 12px 10px;
    font-size: 12px;
    line-height: 1.25;
}

.coverage-table td {
    padding: 12px 10px;
    font-size: 12px;
}

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

.client-table tbody tr:hover td {
    background: #fbfcff;
}

.row-details-section {
    margin-bottom: 18px;
}

.row-details-section:last-child {
    margin-bottom: 0;
}

.row-details-section__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #172033;
    font-size: 14px;
    font-weight: 800;
}

.row-details-section__title iconify-icon {
    font-size: 18px;
    color: #487fff;
}

.row-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.row-details-field {
    padding: 12px 14px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #f8fafc;
}

.row-details-field span {
    display: block;
    color: #7c879c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.row-details-field strong {
    display: block;
    color: #172033;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}

@media (max-width: 760px) {
    .row-details-grid {
        grid-template-columns: 1fr;
    }
}

.client-check-cell {
    width: 48px;
    text-align: center !important;
}

.client-check-cell input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #487fff;
    cursor: pointer;
}

.client-identity {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf1f6;
    color: #475467;
    font-size: 12px;
    font-weight: 800;
    overflow: hidden;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.client-avatar.is-logo {
    border-radius: 10px;
}

.client-sheet-upload {
    margin: 4px 0 8px;
}

.client-sheet-upload .avatar-preview.is-logo {
    border-radius: 16px;
}

/* Foto upload — padrão Campanha (círculo + arquivo) */
.foto-upload-title {
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted, #6b7280);
}

.foto-upload {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 24px;
}

.foto-upload-circle {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid var(--line, #e5e7eb);
    background: #f3f4f6;
    color: #9ca3af;
    position: relative;
}

.foto-upload-circle.is-logo {
    border-radius: 16px;
}

.foto-upload-circle [hidden],
.foto-upload-circle .is-hidden {
    display: none !important;
}

.foto-upload-circle img,
.foto-upload-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.foto-upload-placeholder {
    font-size: 28px;
    color: #9ca3af;
    z-index: 0;
}

.foto-upload-fallback {
    font-size: 18px;
    font-weight: 700;
    color: #6b7280;
    z-index: 0;
}

.foto-upload-fields {
    flex: 1;
    min-width: 0;
}

.foto-upload-file-label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text, #111827);
}

.foto-upload-input {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 8px;
    background: #fff;
    color: var(--text, #111827);
}

.foto-upload-help {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--muted, #6b7280);
}

.cep-lookup {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-width: 0;
}

.cep-lookup input {
    flex: 1 1 auto;
    min-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.cep-lookup-btn {
    position: relative;
    flex: 0 0 42px;
    display: inline-grid;
    place-items: center;
    margin: 0;
    border: 1px solid var(--line, #e6eaf0);
    border-left: 0;
    border-radius: 0 12px 12px 0;
    background: #fff;
    color: var(--primary, #2563eb);
    cursor: pointer;
}

.cep-lookup-btn:hover {
    background: #f8fafc;
}

.cep-lookup-btn iconify-icon {
    font-size: 18px;
}

.cep-lookup-btn>iconify-icon,
.cep-lookup-btn>.submit-spinner {
    grid-area: 1 / 1;
}

.cep-lookup.is-loading input {
    opacity: .55;
}

.cep-lookup-btn.is-submit-loading,
.cep-lookup-btn.is-submit-loading iconify-icon {
    color: transparent !important;
}

.cep-lookup-btn .submit-spinner {
    color: var(--primary, #2563eb);
}

.cep-lookup-btn.is-submit-loading>iconify-icon {
    visibility: hidden
}

.cep-lookup-btn.is-submit-loading>.submit-spinner {
    position: absolute;
    inset: 0;
    display: block;
    width: 18px;
    height: 18px;
    margin: auto;
    color: var(--primary, #2563eb) !important;
    visibility: visible
}

/* Ações primárias e de cadastro acompanham a identidade escolhida no menu. */
.btn.primary,
.client-create-button.primary,
.client-create-button.btn-primary,
.vr-sheet-panel .btn.primary,
.btn.btn-primary {
    border-color: var(--brand-primary, var(--primary, #487fff));
    background: linear-gradient(135deg,
            var(--brand-primary, var(--primary, #487fff)),
            var(--brand-secondary, var(--primary2, #764ba2)));
    color: #fff;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--brand-primary, var(--primary, #487fff)) 20%, transparent);
}

.btn.primary:hover,
.client-create-button.primary:hover,
.client-create-button.btn-primary:hover,
.vr-sheet-panel .btn.primary:hover,
.btn.btn-primary:hover {
    border-color: color-mix(in srgb, var(--brand-primary, var(--primary, #487fff)) 82%, #000);
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--brand-primary, var(--primary, #487fff)) 88%, #000),
            color-mix(in srgb, var(--brand-secondary, var(--primary2, #764ba2)) 88%, #000));
    color: #fff;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--brand-primary, var(--primary, #487fff)) 28%, transparent);
}

/* Formulários de cadastro/edição — espaçamento equivalente ao Campanha. */
.vr-sheet-panel {
    width: min(720px, 94vw)
}

/* Orientação do fluxo regulatório: Projeto > Diagnóstico > Caso > Execução. */
.vr-flow-guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid #dfe6f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(16, 24, 40, .04)
}

.vr-flow-guide>a,
.vr-flow-guide>button {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 11px;
    padding: 10px 12px;
    background: #f8faff;
    color: #344054;
    text-align: left;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease
}

.vr-flow-guide>a:hover,
.vr-flow-guide>button:hover {
    background: #eef3ff;
    transform: translateY(-1px)
}

.vr-flow-guide b {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary, #487fff), var(--brand-secondary, #764ba2));
    color: #fff;
    font-size: 12px
}

.vr-flow-guide span,
.vr-flow-guide strong,
.vr-flow-guide small {
    display: block;
    min-width: 0
}

.vr-flow-guide strong {
    font-size: 12px
}

.vr-flow-guide small {
    margin-top: 2px;
    color: #7c879c;
    font-size: 10px;
    line-height: 1.3
}

.vr-flow-guide>i {
    display: grid;
    place-items: center;
    color: #a8b2c2;
    font-style: normal
}

.process-origin-help {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
    border: 1px solid #cfdcff;
    border-radius: 10px;
    padding: 10px;
    background: #f5f8ff;
    color: #526079;
    font-size: 11px;
    line-height: 1.45
}

.process-origin-help>iconify-icon {
    color: var(--brand-primary, #487fff);
    font-size: 18px
}

.process-origin-help strong {
    color: #344054
}

.process-origin-help>a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    color: var(--brand-primary, #487fff);
    font-weight: 800
}

@media(max-width:900px) {
    .vr-flow-guide {
        grid-template-columns: 1fr 1fr
    }

    .vr-flow-guide>i {
        display: none
    }
}

@media(max-width:560px) {
    .vr-flow-guide {
        grid-template-columns: 1fr
    }

    .process-origin-help {
        grid-template-columns: 20px 1fr
    }

    .process-origin-help>a {
        grid-column: 2
    }
}

/* Index: alinhamento único para texto + seta em todos os links de ação. */
.vrx-dashboard .vrx-command-links>a,
.vrx-dashboard .vrx-focus>a,
.vrx-dashboard .vrx-base-summary>header>a,
.vrx-dashboard .vrx-panel>header>a,
.vrx-dashboard .vrx-quality>a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}

.vrx-dashboard .vrx-command-links>a>iconify-icon,
.vrx-dashboard .vrx-focus>a>iconify-icon,
.vrx-dashboard .vrx-base-summary>header>a>iconify-icon,
.vrx-dashboard .vrx-panel>header>a>iconify-icon,
.vrx-dashboard .vrx-quality>a>iconify-icon {
    width: 1em;
    height: 1em;
    flex: 0 0 1em;
    margin: 0;
    align-self: center;
    vertical-align: middle;
}

.vr-sheet-body {
    padding: 24px
}

.vr-sheet .form-grid {
    column-gap: 16px;
    row-gap: 18px
}

.vr-sheet .field {
    min-width: 0;
    margin-top: 0
}

.vr-sheet .field label {
    margin-bottom: 7px;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35
}

.vr-sheet .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.vr-sheet .field select {
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px
}

.vr-sheet .field textarea {
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5
}

.vr-sheet .vr-sheet-section {
    margin: 28px 0 12px;
    font-size: 14px;
    line-height: 1.3
}

.vr-sheet .vr-sheet-section:first-child {
    margin-top: 0
}

.vr-sheet .form-grid+.vr-sheet-section {
    margin-top: 30px
}

.vr-sheet .field:has(>label>input[type="checkbox"]) {
    display: flex;
    min-height: 44px;
    align-items: flex-end
}

.vr-sheet .field>label:has(input[type="checkbox"]) {
    display: flex;
    min-height: 44px;
    margin: 0;
    align-items: center;
    gap: 9px
}

.vr-sheet .field>small,
.vr-sheet .field>.muted {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.45
}

@media(max-width:760px) {
    .vr-sheet-panel {
        width: 100%
    }

    .vr-sheet-body {
        padding: 20px 16px
    }

    .vr-sheet .form-grid {
        row-gap: 16px
    }

    .vr-sheet .vr-sheet-section {
        margin-top: 24px
    }

    .vr-sheet .form-grid+.vr-sheet-section {
        margin-top: 26px
    }
}

.client-identity>span:last-child,
.client-contact {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.client-identity strong {
    max-width: 100%;
    overflow: hidden;
    color: #172033;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-identity small,
.client-contact small {
    max-width: 100%;
    overflow: hidden;
    color: #7c879c;
    font-size: 12px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-type-badge {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef0f3;
    color: #526071;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.client-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}

.client-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.client-status.is-active {
    color: #12826b;
}

.client-status.is-active i {
    background: #20b486;
}

.client-status.is-inactive {
    color: #7c879c;
}

.client-status.is-inactive i {
    background: #b8c0cc;
}

.client-actions-cell {
    width: 124px;
    min-width: 112px;
    background: #fff !important;
    text-align: center !important;
    overflow: visible;
}

.client-table th.client-actions-cell {
    z-index: 4;
    background: #f8fafc !important;
}

.client-table tbody tr:has(.client-row-menu[open]) {
    position: relative;
    z-index: 30;
}

.vr-acoes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.btn-acoes-edit,
.btn-acoes-details,
.btn-acoes-dots,
.client-row-action {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 8px;
    background: transparent !important;
    color: #475569 !important;
    box-shadow: none !important;
    cursor: pointer;
    list-style: none;
}

.btn-acoes-edit:hover,
.btn-acoes-details:hover,
.btn-acoes-dots:hover,
.client-row-action:hover,
.client-row-menu[open] .client-row-action,
.client-row-menu[open] .btn-acoes-dots {
    background: #edf1f6 !important;
    color: #334155 !important;
}

.btn-acoes-edit iconify-icon {
    font-size: 18px;
    color: #487fff;
}

.btn-acoes-dots iconify-icon,
.client-row-action iconify-icon {
    font-size: 18px;
    color: #475569;
}

.client-row-menu {
    position: relative;
    display: inline-block;
}

.client-row-menu>div {
    position: absolute;
    top: calc(100% + 8px);
    right: -10px;
    z-index: 40;
    min-width: 190px;
    padding: 8px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 13px 30px 10px rgba(46, 45, 116, .08), 0 0 0 1px rgba(15, 23, 42, .06);
}

.client-row-menu>div.is-fixed {
    position: fixed;
    z-index: 2200;
}

/* Setinha padrão Campanha (balão abaixo do botão) */
.client-row-menu>div::before,
.client-row-menu>div::after {
    content: "";
    position: absolute;
    right: 18px;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
}

.client-row-menu>div::after {
    top: -9px;
    border-width: 0 8px 8px 8px;
    border-color: transparent transparent rgba(0, 0, 0, .12) transparent;
    z-index: 0;
}

.client-row-menu>div::before {
    top: -8px;
    border-width: 0 8px 8px 8px;
    border-color: transparent transparent #fff transparent;
    z-index: 1;
}

/* Se abrir pra cima (pouco espaço embaixo) */
.client-row-menu>div.is-up::after {
    top: auto;
    bottom: -9px;
    border-width: 8px 8px 0 8px;
    border-color: rgba(0, 0, 0, .12) transparent transparent transparent;
}

.client-row-menu>div.is-up::before {
    top: auto;
    bottom: -8px;
    border-width: 8px 8px 0 8px;
    border-color: #fff transparent transparent transparent;
}

.client-row-menu a,
.client-row-menu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #344054;
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
}

.client-row-menu a:hover,
.client-row-menu button:hover {
    background: #f1f5f9;
}

.client-row-menu iconify-icon {
    flex: 0 0 auto;
    font-size: 17px;
    color: #487fff;
}

.client-row-menu .vr-acoes-sep {
    height: 1px;
    margin: 4px 6px;
    background: #eef2f6;
}

.client-table-empty {
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.client-table-empty>span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf3ff;
    color: #487fff;
}

.client-table-empty iconify-icon {
    font-size: 27px;
}

.client-table-empty strong {
    color: #344054;
    font-size: 15px;
}

.client-table-empty small {
    color: #7c879c;
    font-size: 13px;
}

.client-bulk-delete {
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.client-bulk-delete[hidden] {
    display: none !important;
}

.auth-login-options {
    align-items: center;
    min-height: 20px;
}

.auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text, #172033);
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

.auth-remember input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--primary, #2563eb);
    cursor: pointer;
}

.auth-login-options .link {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    line-height: 18px;
}

.auth-terms-check {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 15px 0 18px;
    color: #667085;
    font-size: 13px;
    line-height: 1.4;
}

.auth-terms-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 16px;
    accent-color: var(--primary, #2563eb);
}

/* Estado vazio unificado: uma lista sem dados não mantém a estrutura da tabela visível. */
.vr-list-empty-state {
    min-height: 250px;
    margin: 16px 24px 24px;
    padding: 38px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    border: 1px dashed #d8e1f0;
    border-radius: 14px;
    background: linear-gradient(145deg, #fbfdff 0%, #f7f9fd 100%);
}

.vr-list-empty-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 15px;
    border: 1px solid #dbe6ff;
    border-radius: 18px;
    color: #487fff;
    background: #edf3ff;
    box-shadow: 0 8px 20px rgba(72, 127, 255, .10);
}

.vr-list-empty-icon iconify-icon {
    font-size: 29px;
}

.vr-list-empty-state strong {
    color: #16223a;
    font-size: 16px;
    line-height: 1.35;
}

.vr-list-empty-state p {
    max-width: 520px;
    margin: 7px 0 0;
    color: #7c879c;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 680px) {
    .vr-list-empty-state {
        min-height: 210px;
        margin: 12px 14px 18px;
        padding: 30px 18px;
    }
}

.client-pagination {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding: 18px 24px;
}

.client-pagination a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #e2e6ed;
    border-radius: 50%;
    background: #fff;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.client-pagination a:hover {
    border-color: #b9ceff;
    color: #487fff;
}

.client-pagination a.is-current {
    border-color: var(--nav);
    background: var(--nav);
    color: #fff;
}

.client-pagination a.is-disabled {
    pointer-events: none;
    opacity: .4;
}

.client-pagination iconify-icon {
    font-size: 16px;
}

/* Reserva a área antes do SVG e evita deslocamento visual na navegação. */
.module-rail iconify-icon,
.module-subnav iconify-icon,
.mobile-nav iconify-icon {
    display: inline-block;
    min-width: 1em;
    min-height: 1em;
    contain: layout paint;
}

@media (max-width: 1100px) {
    .client-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-search-form {
        grid-template-columns: 1fr auto;
    }

    .client-search-field {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .client-page-head {
        margin-bottom: 16px;
    }

    .client-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--card-gap);
    }

    .client-summary-card {
        padding: 14px;
    }

    .client-summary-card small {
        font-size: 10px;
    }

    .client-summary-card strong {
        font-size: 24px;
    }

    .client-summary-card strong.is-text {
        font-size: 21px;
    }

    .client-summary-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .client-summary-icon iconify-icon {
        font-size: 24px;
    }

    .client-list-head {
        padding: 16px;
    }

    .client-list-head p {
        font-size: 12px;
    }

    .client-search-form {
        grid-template-columns: 1fr 1fr;
        padding: 16px;
    }

    .client-search-field {
        grid-column: 1 / -1;
    }

    .client-filter-toggle,
    .client-export-menu,
    .client-export-button {
        width: 100%;
    }

    .client-filter-grid {
        grid-template-columns: 1fr;
    }

    .client-results-meta {
        padding-right: 16px;
        padding-left: 16px;
    }

    .client-table-wrap {
        width: calc(100% - 32px);
        margin-right: 16px;
        margin-left: 16px;
        overflow-x: hidden;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .client-table {
        min-width: 0;
    }

    .client-table th,
    .client-table td {
        padding: 12px 8px;
    }

    .client-avatar {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }
}

@media print {

    .sidebar,
    .topbar,
    .mobile-nav,
    .app-footer,
    .client-page-head,
    .client-summary-shell,
    .client-list-head,
    .bi-card-head,
    .client-search-form,
    .client-results-meta,
    .client-pagination,
    .client-check-cell,
    .client-actions-cell {
        display: none !important;
    }

    .app,
    .main {
        display: block;
        margin: 0;
        padding: 0;
    }

    .client-list-card {
        border: 0;
        box-shadow: none;
    }

    .client-table-wrap {
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow: visible;
        border: 0;
    }

    .client-table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

    .client-table th,
    .client-table td {
        padding: 8px;
        font-size: 10px;
    }

    .client-table .is-extra {
        display: table-cell !important;
    }
}

/* Navegação modular — padrão Campanha */
.app {
    display: block;
}

.sidebar {
    width: 78px;
    padding: 10px;
    overflow: visible;
    background: linear-gradient(180deg, var(--brand-primary, var(--nav)), var(--brand-secondary, #0c1422));
}

.sidebar .brand {
    width: 58px;
    height: 66px;
    display: block;
    overflow: hidden;
    padding: 9px 7px;
}

.sidebar .brand img {
    width: 200px;
    max-width: none;
    height: 48px;
    object-fit: none;
    object-position: left center;
}

.module-rail {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 7px;
    padding-top: 8px;
}

.module-rail a {
    position: relative;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    color: #bac5d4;
}

.module-rail a:hover,
.module-rail a.active {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.module-rail a span {
    display: none;
}

.module-rail .ico {
    width: 26px;
    height: 26px;
    font-size: 26px;
}

#sidebar-stip-box {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: .3rem .65rem;
    border-radius: 6px;
    background: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    color: #fff;
    font-size: .75rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s ease;
}

#sidebar-stip-box::before {
    position: absolute;
    top: 50%;
    right: 100%;
    border: 5px solid transparent;
    border-right-color: #1e293b;
    content: "";
    transform: translateY(-50%);
}

#sidebar-stip-box.is-bottom::before {
    top: auto;
    bottom: 100%;
    left: 50%;
    right: auto;
    border: 5px solid transparent;
    border-bottom-color: #1e293b;
    transform: translateX(-50%);
}

.module-subnav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 78px;
    z-index: 25;
    width: 280px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-right: 0;
    background: #fff;
}

.module-subnav-profile {
    height: 72px;
    flex: 0 0 72px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    border-bottom: 1px solid #e6eaf0;
}

.module-subnav-brand {
    display: flex;
    align-items: center;
}

.module-subnav-brand img {
    display: block;
    width: 290px;
    max-width: none;
    height: auto;
}

.module-subnav-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--green));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.module-subnav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.module-subnav-profile>span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.module-subnav-profile strong,
.module-subnav-profile small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.module-subnav-profile strong {
    color: #344054;
    font-size: 15px;
    text-transform: capitalize;
}

.module-subnav-profile small {
    color: #667085;
    font-size: 13px;
}

.module-subnav-inner {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 24px 20px;
    scrollbar-width: none;
}

.module-subnav-inner::-webkit-scrollbar {
    display: none;
}

.module-subnav-inner h2 {
    margin: 20px 10px 8px;
    color: #172033;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.3;
}

.module-subnav-inner h2:first-child {
    margin-top: 0;
}

.module-subnav-inner h2 span {
    font-weight: 400;
}

.module-subnav-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.module-subnav-menu a {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 7px;
    color: #526071;
    font-size: 14px;
    font-weight: 500;
}

.module-subnav-menu a:hover {
    color: #487fff;
}

.module-subnav-menu a.active {
    background: rgba(72, 127, 255, .11);
    color: #487fff;
    font-weight: 700;
}

.module-subnav-menu a iconify-icon {
    flex: 0 0 auto;
    font-size: 18px;
}

.module-subnav-menu a span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main {
    grid-column: auto;
    margin-left: 78px;
}

.main.has-module-subnav {
    margin-left: 358px;
}

.dashboard-topbar {
    background: rgba(255, 255, 255, .96);
}

.dashboard-topbar-brand {
    display: flex;
    align-items: center;
}

.dashboard-topbar-brand img {
    display: block;
    width: 292px;
    height: auto;
}

@media (max-width: 1100px) and (min-width: 761px) {
    .app {
        display: block;
    }

    .sidebar {
        width: 78px;
    }

    .main {
        grid-column: auto;
        margin-left: 78px;
    }

    .main.has-module-subnav {
        margin-left: 358px;
    }
}

@media (max-width: 760px) {
    .sidebar {
        width: 72px;
        padding: 8px;
    }

    .sidebar .brand {
        width: 56px;
    }

    .module-rail a {
        width: 52px;
        height: 52px;
    }

    #sidebar-stip-box {
        display: none !important;
    }

    .module-subnav {
        left: 72px;
        width: min(280px, calc(100vw - 72px));
        z-index: 29;
        transform: translateX(calc(-100% - 72px));
        transition: transform .25s ease;
    }

    body.sidebar-open .module-subnav {
        transform: translateX(0);
    }

    .main,
    .main.has-module-subnav {
        margin-left: 0;
    }

    .topbar {
        margin-right: -14px;
        margin-left: -14px;
        padding-right: 14px;
        padding-left: 14px;
    }
}

section.card+section.card,
section.card+.grid,
section.card+.split,
section.card+.mail-app,
.grid+section.card,
.split+section.card,
.client-summary-shell+.grid,
.client-summary-shell+.split,
.client-list-card+.mail-app,
.command-bottom-grid+section.card {
    margin-top: var(--card-gap);
}

.card .client-list-title+.grid,
.card .client-list-title+.command-list,
.card .client-list-title+.card-body-copy,
.card-body-copy {
    margin-top: var(--card-gap);
}

.mail-page-head h1 {
    margin-bottom: 2px;
}

.mail-breadcrumb {
    margin: 0;
    color: #7c879c;
    font-size: 13px;
}

.mail-app {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    height: calc(100vh - 168px);
    min-height: 560px;
    overflow: hidden;
    padding: 0;
}

.mail-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 14px;
    border-right: 1px solid #eaecf0;
    background: #fbfcfe;
    overflow: auto;
}

.mail-compose-btn {
    width: 100%;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border-radius: 10px;
    font-weight: 700;
}

.mail-folder-list,
.mail-label-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mail-folder-list a,
.mail-label-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 10px;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
}

.mail-folder-list a iconify-icon {
    font-size: 18px;
    color: #667085;
}

.mail-folder-list a span {
    flex: 1;
}

.mail-folder-list a em {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #487fff;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.mail-folder-list a em.is-amber {
    background: #f59e0b;
}

.mail-folder-list a.is-current,
.mail-folder-list a:hover,
.mail-label-list a.is-current,
.mail-label-list a:hover {
    background: #edf3ff;
    color: #487fff;
}

.mail-folder-list a.is-current iconify-icon {
    color: #487fff;
}

.mail-label-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 4px 4px;
    color: #98a2b3;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mail-label-list a i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #98a2b3;
}

.mail-label-list a i.is-green {
    background: #12b76a;
}

.mail-label-list a i.is-pink {
    background: #ee46bc;
}

.mail-label-list a i.is-blue {
    background: #487fff;
}

.mail-label-list a i.is-amber {
    background: #f59e0b;
}

.mail-label-list a small {
    margin-left: auto;
    color: #98a2b3;
    font-weight: 700;
}

.mail-sync-box {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mail-sync-box .btn {
    width: 100%;
    justify-content: center;
    gap: 8px;
}

.mail-sync-box small {
    color: #7c879c;
    font-size: 11px;
    line-height: 1.4;
}

.mail-workspace {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.mail-toolbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    /* left = mail-row padding(14) + border-left(2) → checkbox na mesma coluna */
    padding: 12px 14px 12px 16px;
    border-bottom: 1px solid #eaecf0;
}

.mail-toolbar-actions,
.mail-toolbar-meta,
.mail-bulk-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mail-toolbar-search {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    width: 100%;
}

.mail-toolbar-meta {
    margin-left: auto;
}

.mail-toolbar-meta span {
    color: #7c879c;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.mail-bulk-count {
    color: #487fff !important;
}

.mail-bulk-bar {
    padding: 2px 4px;
    border-radius: 8px;
    background: #edf3ff;
}

.mail-bulk-bar[hidden] {
    display: none !important;
}

.mail-select-all {
    width: 16px;
    min-width: 16px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 3px;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.mail-select-all:hover {
    background: transparent;
}

.mail-select-all input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #487fff;
    cursor: pointer;
}

.mail-tool-btn {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #667085;
    cursor: pointer;
    line-height: 0;
    padding: 0;
    flex-shrink: 0;
}

.mail-tool-btn iconify-icon {
    display: block;
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 18px;
}

.mail-tool-btn:hover {
    background: #f2f4f7;
    color: #487fff;
}

.mail-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    background: #f8fafc;
    color: #667085;
}

.mail-search input {
    width: 100%;
    border: 0;
    background: transparent;
    color: #172033;
    font: inherit;
    font-size: 13px;
    outline: 0;
}

.mail-split {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    flex: 1;
}

.mail-app.has-selection .mail-split {
    grid-template-columns: minmax(320px, 1.05fr) minmax(0, 1.2fr);
}

.mail-list {
    min-height: 0;
    overflow: auto;
    border-right: 0;
}

.mail-app.has-selection .mail-list {
    border-right: 1px solid #eaecf0;
}

.mail-app:not(.has-selection) .mail-read {
    display: none;
}

.mail-row {
    display: grid;
    grid-template-columns: 16px 22px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f2f5;
    color: inherit;
    border-left: 2px solid transparent;
}

.mail-row:hover {
    background: #f8fafc;
}

.mail-row.is-selected {
    background: #edf3ff;
    border-left-color: #487fff;
}

.mail-row.is-unread .mail-row-from,
.mail-row.is-unread .mail-row-copy b {
    font-weight: 800;
}

.mail-row-check-wrap {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.mail-row-check {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #487fff;
    cursor: pointer;
}

.mail-row.is-checked {
    background: #f0f5ff;
}

.mail-row-star {
    border: 0;
    background: transparent;
    color: #d0d5dd;
    font-size: 15px;
    padding: 0;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
    position: relative;
    z-index: 2;
}

.mail-row-star:hover,
.mail-row-star.is-on {
    color: #f59e0b;
}

.mail-row-star-form {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.mail-row-link {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.mail-read-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.mail-tool-btn.is-on {
    color: #f59e0b;
}

.mail-avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.mail-avatar.is-blue {
    background: #487fff;
}

.mail-avatar.is-green {
    background: #12b76a;
}

.mail-avatar.is-purple {
    background: #7a5af8;
}

.mail-avatar.is-amber {
    background: #f59e0b;
}

.mail-avatar.is-pink {
    background: #ee46bc;
}

.mail-row-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mail-row-from {
    overflow: hidden;
    color: #172033;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-row-copy {
    overflow: hidden;
    color: #7c879c;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-row-copy b {
    color: #344054;
    font-weight: 700;
}

.mail-row-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.mail-row-meta time {
    color: #7c879c;
    font-size: 11px;
    white-space: nowrap;
}

.mail-pill {
    display: inline-flex;
    align-items: center;
    max-width: 110px;
    overflow: hidden;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-pill.is-blue {
    background: #edf3ff;
    color: #487fff;
}

.mail-pill.is-green {
    background: #ecfdf3;
    color: #039855;
}

.mail-pill.is-amber {
    background: #fffaeb;
    color: #dc6803;
}

.mail-pill.is-purple {
    background: #f4f3ff;
    color: #6938ef;
}

.mail-pill.is-pink {
    background: #fdf2fa;
    color: #c11574;
}

.mail-read {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.mail-read-head {
    padding: 16px 20px 12px;
    border-bottom: 1px solid #eaecf0;
}

.mail-read-head h2 {
    margin: 0;
    color: #172033;
    font-size: 18px;
    font-weight: 750;
}

.mail-read-head p {
    margin: 4px 0 0;
    color: #7c879c;
    font-size: 13px;
}

.mail-back {
    display: none;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    color: #487fff;
    font-size: 13px;
    font-weight: 700;
}

.mail-thread {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mail-message {
    border: 1px solid #eaecf0;
    border-radius: 12px;
    background: #fff;
}

.mail-message.is-out {
    background: #f8fbff;
}

.mail-message-head {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 16px 0;
}

.mail-message-head>div {
    min-width: 0;
    flex: 1;
}

.mail-message-head strong {
    display: block;
    color: #172033;
    font-size: 14px;
}

.mail-message-head p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 3px 0 0;
    color: #7c879c;
    font-size: 12px;
}

.mail-message-head time {
    color: #7c879c;
    font-size: 12px;
    white-space: nowrap;
}

.mail-message-body {
    padding: 12px 16px 16px;
    color: #344054;
    font-size: 14px;
    line-height: 1.55;
}

.mail-reply {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 20px 16px;
    border-top: 1px solid #eaecf0;
    background: #fbfcfe;
}

.mail-reply label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #475467;
    font-size: 12px;
    font-weight: 700;
}

.mail-reply input,
.mail-reply textarea {
    width: 100%;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font: inherit;
    padding: 10px 12px;
    outline: 0;
}

.mail-reply textarea {
    min-height: 96px;
    resize: vertical;
}

.mail-reply input:focus,
.mail-reply textarea:focus {
    border-color: #94b4ff;
    box-shadow: 0 0 0 3px rgba(72, 127, 255, .08);
}

.mail-reply-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mail-reply-actions small {
    color: #7c879c;
}

.mail-closed {
    padding: 16px 20px;
    color: #7c879c;
    font-size: 13px;
}

@media (max-width: 1180px) {
    .mail-app {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .mail-app.has-selection .mail-split {
        grid-template-columns: minmax(280px, .95fr) minmax(0, 1.2fr);
    }
}

@media (max-width: 960px) {
    .mail-app {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }

    .mail-nav {
        border-right: 0;
        border-bottom: 1px solid #eaecf0;
    }

    .mail-folder-list,
    .mail-label-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .mail-sync-box {
        margin-top: 8px;
    }

    .mail-split {
        grid-template-columns: 1fr;
        min-height: 520px;
    }

    .mail-app.has-selection .mail-split {
        grid-template-columns: 1fr;
    }

    .mail-app.has-selection .mail-list {
        display: none;
        border-right: 0;
    }

    .mail-app:not(.has-selection) .mail-read {
        display: none;
    }

    .mail-back {
        display: inline-flex;
    }

    .mail-toolbar {
        flex-wrap: wrap;
    }

    .mail-toolbar-search {
        flex: 1 1 100%;
        order: 3;
    }

    .mail-toolbar-meta {
        justify-content: flex-end;
        margin-left: auto;
    }
}

/* Modal lateral — padrão Campanha (right sheet, slide suave) */
body.vr-sheet-open {
    overflow: hidden;
}

.vr-sheet {
    position: fixed;
    inset: 0;
    z-index: 80;
    visibility: hidden;
    pointer-events: none;
}

.vr-sheet[hidden] {
    display: none !important;
}

.vr-sheet.is-open,
.vr-sheet.is-closing {
    visibility: visible;
    pointer-events: auto;
}

.vr-sheet-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(5, 12, 24, .45);
    opacity: 0;
    transition: opacity .5s linear;
}

.vr-sheet.is-open .vr-sheet-backdrop {
    opacity: 1;
}

.vr-sheet.is-closing .vr-sheet-backdrop {
    opacity: 0;
    transition: opacity .18s linear;
}

.vr-sheet-panel {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: min(700px, 88vw);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: -12px 0 40px rgba(15, 23, 42, .18);
    transform: translateX(100%);
    transition: transform .18s ease-in;
    will-change: transform;
}

.vr-sheet.is-open .vr-sheet-panel {
    transform: translateX(0);
    transition: transform .5s ease-out;
}

.vr-sheet.is-closing .vr-sheet-panel {
    transform: translateX(100%);
    transition: transform .18s ease-in;
}

.vr-sheet-panel>form {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.vr-sheet-head,
.vr-sheet-foot {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid #eaecf0;
    background: #fff;
}

.vr-sheet-foot {
    align-items: stretch;
    border-bottom: 0;
    border-top: 1px solid #eaecf0;
    gap: 8px;
}

.vr-sheet-head-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf1ff;
    color: #487fff;
}

.vr-sheet-head-icon iconify-icon {
    font-size: 20px;
}

.vr-sheet-head>div {
    min-width: 0;
    flex: 1;
}

.vr-sheet-head h2 {
    margin: 0;
    color: #172033;
    font-size: 18px;
    font-weight: 700;
}

.vr-sheet-head h2 span {
    font-weight: 400;
}

.vr-sheet-head p {
    margin: 4px 0 0;
    color: #7c879c;
    font-size: 12px;
}

.vr-sheet-close {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    margin-left: auto;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #667085;
    cursor: pointer;
}

.vr-sheet-close:hover {
    background: #f1f5f9;
    color: #172033;
}

.vr-sheet-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 24px;
    scrollbar-width: none;
}

.vr-sheet-body::-webkit-scrollbar {
    display: none;
}

.vr-sheet-section {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 18px 0 8px;
    color: #487fff;
    font-size: 13px;
    font-weight: 700;
}

.vr-sheet-section:first-child {
    margin-top: 0;
}

.vr-sheet-foot .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

.vr-sheet .form-grid {
    gap: 0 16px;
}

.vr-sheet .field {
    margin-top: 12px;
}

.vr-sheet .field label span {
    color: #d92d20;
}

.vr-confirm {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
}

.vr-confirm.is-open {
    display: block;
}

.vr-confirm-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(5, 12, 24, .45);
    cursor: pointer;
}

.vr-confirm-card {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: min(420px, calc(100vw - 32px));
    padding: 28px 24px 20px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .22);
    text-align: center;
    transform: translate(-50%, -50%);
}

.vr-confirm-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #fee4e2;
    color: #d92d20;
}

.vr-confirm-icon iconify-icon {
    font-size: 24px;
}

.vr-confirm-card strong {
    display: block;
    color: #172033;
    font-size: 18px;
}

.vr-confirm-card p {
    margin: 8px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.45;
}

.vr-confirm-actions {
    display: flex;
    gap: 8px;
    margin-top: 22px;
}

.vr-confirm-actions .btn {
    flex: 1;
}

.client-row-menu a.is-danger,
.client-row-menu button.is-danger {
    color: #d92d20;
}

.client-row-menu a.is-danger iconify-icon,
.client-row-menu button.is-danger iconify-icon {
    color: #d92d20;
}

/* legado — regras principais ficam junto de .client-actions-cell */

.cfg-org-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 22px 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cfg-cp, var(--brand-primary, #1d4ed8)) 0%, var(--cfg-cs, var(--brand-secondary, #487fff)) 100%);
    color: #fff;
}

.cfg-org-hero-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.cfg-org-avatar {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    font-size: 20px;
    font-weight: 800;
}

.cfg-org-hero h2 {
    margin: 0;
    font-size: 22px;
}

.cfg-org-hero p {
    margin: 4px 0 8px;
    opacity: .9;
    font-size: 13px;
}

.cfg-org-hero .client-status {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.cfg-org-hero .client-status i {
    background: #86efac;
}

.cfg-org-hero .btn {
    background: #fff;
    color: #1d4ed8;
    border-color: #fff;
}

.cfg-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cfg-row-list {
    padding: 4px 18px 16px;
}

.cfg-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: 13px;
}

.cfg-row:last-child {
    border-bottom: 0;
}

.cfg-row span {
    color: #7c879c;
}

.cfg-row strong {
    color: #172033;
    text-align: right;
}

.cfg-mail-card .cfg-help,
.cfg-mail-card .cfg-mail-form,
.cfg-mail-card .cfg-mail-test {
    padding: 0 20px 18px;
}

.cfg-acc-body .cfg-help {
    margin: 0 0 14px;
}

.cfg-acc-body .cfg-alert {
    margin: 0 0 12px;
}

.cfg-acc-body .cfg-mail-form,
.cfg-acc-body .cfg-mail-test {
    padding: 0 0 12px;
}

.cfg-acc-body .cfg-mail-test {
    border-top: 1px solid #eaecf0;
    padding-top: 14px !important;
    margin-top: 8px;
}

.cfg-acc-body .cfg-mail-actions {
    gap: 8px;
    flex-wrap: wrap;
}

.cfg-acc {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cfg-acc-item {
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(46, 45, 116, .05);
    overflow: hidden;
}

.cfg-acc-item[open] {
    border-color: var(--brand-primary, #487fff);
}

.cfg-acc-head {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    user-select: none;
}

.cfg-acc-head::-webkit-details-marker {
    display: none;
}

.cfg-acc-head::after {
    content: "";
    width: 18px;
    height: 18px;
    margin-left: auto;
    flex: 0 0 18px;
    background: no-repeat center / 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    transition: transform .18s ease;
}

.cfg-acc-item[open]>.cfg-acc-head::after {
    transform: rotate(180deg);
}

.cfg-acc-ico {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.15rem;
}

.cfg-acc-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cfg-acc-copy strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.cfg-acc-copy .fw-light {
    font-weight: 300;
}

.cfg-acc-copy small {
    color: #98a2b3;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cfg-acc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.cfg-acc-badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: block;
}

.cfg-acc-badge.is-ok {
    background: #ecfdf3;
    color: #027a48;
}

.cfg-acc-badge.is-ok i {
    background: #12b76a;
}

.cfg-acc-badge.is-off {
    background: #fef3f2;
    color: #b42318;
}

.cfg-acc-badge.is-off i {
    background: #f04438;
}

.cfg-acc-badge.is-info {
    background: #eef4ff;
    color: #487fff;
}

.cfg-acc-badge.is-info i {
    background: #487fff;
}

.cfg-acc-body {
    padding: 4px 18px 20px;
    border-top: 1px solid #f0f2f5;
}

.cfg-acc-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 10px;
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.cfg-acc-sub iconify-icon {
    color: var(--brand-primary, #487fff);
    font-size: 18px;
}

.cfg-acc-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 28px 16px;
}

.cfg-acc-soon-ico {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.cfg-acc-soon strong {
    color: #0f172a;
    font-size: 15px;
}

.cfg-acc-soon p {
    margin: 0;
    max-width: 420px;
    color: #7c879c;
    font-size: 13px;
    line-height: 1.45;
}

.cfg-acc-soon .btn {
    margin-top: 8px;
}

.cfg-sec-head {
    margin: 8px 4px 12px;
}

.cfg-sec-head h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.cfg-sec-head p {
    margin: 0;
    color: #667085;
    font-size: 13px;
}

.cfg-sec-head.mt-24 {
    margin-top: 28px;
}

.cfg-warn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fffaeb;
    color: #93370d;
    border: 1px solid #fef0c7;
}

.cfg-warn>iconify-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.cfg-warn strong {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.cfg-warn ol {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.cfg-warn ol li {
    margin-bottom: 4px;
}

.cfg-warn ol li:last-child {
    margin-bottom: 0;
}

.cfg-warn-close {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.cfg-int-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 16px;
    align-items: stretch;
}

.cfg-int-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cfg-int-panel {
    border: 1px solid #eaecf0;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.cfg-int-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    min-height: 180px;
}

.cfg-int-center strong {
    color: #0f172a;
    font-size: 15px;
}

.cfg-int-center p {
    margin: 0;
    color: #7c879c;
    font-size: 13px;
    line-height: 1.4;
}

.cfg-muted {
    color: #98a2b3 !important;
    font-size: 12px !important;
}

.cfg-int-label {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #98a2b3;
}

.cfg-int-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.cfg-int-meta>div {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.cfg-int-meta>div:nth-child(even) {
    padding-left: 12px;
}

.cfg-int-meta>div:nth-last-child(-n+2) {
    border-bottom: 0;
}

.cfg-int-meta span {
    display: block;
    font-size: 11px;
    color: #98a2b3;
}

.cfg-int-meta strong {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #344054;
    word-break: break-word;
}

.cfg-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #344054;
    cursor: pointer;
}

.cfg-switch input {
    width: 40px;
    height: 22px;
    accent-color: var(--brand-primary, #487fff);
}

.field-help {
    display: block;
    margin-top: 6px;
    color: #98a2b3;
    font-size: 12px;
}

@media (max-width: 900px) {
    .cfg-int-grid {
        grid-template-columns: 1fr;
    }
}

.cfg-google-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr);
    gap: 16px;
    align-items: stretch;
}

.cfg-google-panel {
    border: 1px solid #eaecf0;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.cfg-google-side {
    border: 1px solid #eaecf0;
    border-radius: 12px;
    padding: 24px 16px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

.cfg-google-side strong {
    color: #0f172a;
    font-size: 15px;
}

.cfg-google-side p {
    margin: 0;
    color: #7c879c;
    font-size: 13px;
    line-height: 1.4;
}

.cfg-google-hint {
    margin: 10px 0 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
    word-break: break-all;
}

@media (max-width: 900px) {
    .cfg-google-grid {
        grid-template-columns: 1fr;
    }
}

#formNotificacoes .tgl {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 46px;
    height: 20px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

#formNotificacoes .tgl input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

#formNotificacoes .tgl-track {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: #ef4444;
    transition: background .2s;
}

#formNotificacoes .tgl-track::after {
    content: 'Não';
    position: absolute;
    left: 20px;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

#formNotificacoes .tgl-knob {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    transition: left .2s;
    z-index: 1;
    pointer-events: none;
}

#formNotificacoes .tgl input:checked~.tgl-track {
    background: #22c55e;
}

#formNotificacoes .tgl input:checked~.tgl-track::after {
    content: 'Sim';
    left: 2px;
    right: 20px;
}

#formNotificacoes .tgl input:checked~.tgl-knob {
    left: 28px;
}

#formNotificacoes .tgl:has(input:disabled) {
    cursor: not-allowed !important;
}

#formNotificacoes .tgl input:disabled~.tgl-track {
    background: #9ca3af !important;
}

#formNotificacoes .tgl input:disabled~.tgl-knob {
    background: #e5e7eb !important;
    box-shadow: none !important;
}

#formNotificacoes .notif-row.inativa {
    opacity: .55;
}

#formNotificacoes .dias-input {
    width: 64px;
    height: 28px;
    padding: 2px 6px;
    font-size: 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-align: center;
    background: #fff;
    flex-shrink: 0;
}

#formNotificacoes .dias-slot {
    width: 64px;
    height: 28px;
    flex-shrink: 0;
}

#formNotificacoes .canal-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 120px;
}

#formNotificacoes .notif-table th {
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 10px;
    white-space: nowrap;
}

#formNotificacoes .notif-table td {
    padding: 10px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

#formNotificacoes .notif-grupo td {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding-top: 16px;
    padding-bottom: 6px;
    border-bottom-color: #e5e7eb;
    background: transparent;
}

#formNotificacoes .notif-label {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

#formNotificacoes .notif-off {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 10px;
    font-weight: 600;
    vertical-align: middle;
}

.cfg-help {
    margin: 0 20px 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fffaeb;
    color: #93370d;
    font-size: 13px;
    line-height: 1.45;
}

.cfg-help.is-warn {
    background: #fef3f2;
    color: #b42318;
}

.cfg-help ol {
    margin: 8px 0 0;
    padding-left: 18px;
}

.cfg-alert {
    margin: 0 20px 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.cfg-alert.is-ok {
    background: #ecfdf3;
    color: #027a48;
}

.cfg-alert.is-err {
    background: #fef3f2;
    color: #b42318;
}

.cfg-mail-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.cfg-mail-test {
    border-top: 1px solid #eaecf0;
    padding-top: 16px !important;
}

.cfg-mail-test-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cfg-mail-test-row input {
    flex: 1;
    height: 40px;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    padding: 0 12px;
    font: inherit;
}

@media (max-width: 900px) {
    .cfg-card-grid {
        grid-template-columns: 1fr;
    }

    .cfg-mail-test-row {
        flex-direction: column;
        align-items: stretch;
    }
}

.cfg-identity-block {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eaecf0;
}

.cfg-identity-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--brand-primary, #487fff);
    font-size: 13px;
    font-weight: 700;
}

.cfg-identity-sub,
.cfg-identity-label {
    margin: 6px 0 10px;
    color: #7c879c;
    font-size: 12px;
}

.cfg-identity-label {
    margin-top: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 11px;
}

.cfg-paletas {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.cfg-paleta-card {
    position: relative;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.cfg-paleta-card:hover {
    transform: translateY(-1px);
    border-color: #d0d5dd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .05);
}

.cfg-paleta-card.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, .35);
}

.cfg-paleta-card.active::after {
    content: '\2713';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.cfg-paleta-colors {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.cfg-paleta-colors i {
    flex: 1;
    height: 28px;
    border-radius: 4px;
}

.cfg-paleta-name {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.cfg-color-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
}

.cfg-color-picker-wrapper {
    text-align: center;
}

.cfg-color-picker-label {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.cfg-color-picker-box {
    width: 100%;
    height: 44px;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.cfg-color-picker-box input[type="color"] {
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: transparent;
}

.cfg-color-picker-hex {
    margin-top: 6px;
    color: #7c879c;
    font-size: 12px;
    font-family: ui-monospace, monospace;
}

.cfg-color-picker-desc {
    color: #98a2b3;
    font-size: 11px;
}

.cfg-preview {
    border: 1px solid #eaecf0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.cfg-preview__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px;
    padding: 16px 18px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #3b82f6 100%);
}

.cfg-preview__avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    font-size: 20px;
}

.cfg-preview__head-txt {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.cfg-preview__title {
    font-weight: 700;
    font-size: 15px;
}

.cfg-preview__sub {
    font-size: 12px;
    opacity: .85;
}

.cfg-preview__body {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px;
}

.cfg-preview__btn,
.cfg-preview__btn-outline {
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: default;
}

.cfg-preview__btn {
    border: 1px solid #0f172a;
    background: #0f172a;
    color: #fff;
}

.cfg-preview__btn-outline {
    border: 1px solid #0f172a;
    background: transparent;
    color: #0f172a;
}

.cfg-preview__badge {
    background: rgba(15, 23, 42, .12);
    color: #0f172a;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
}

.cfg-preview__link {
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 760px) {
    .vr-sheet-panel {
        width: 100%;
    }

    .client-create-button {
        width: 100%;
    }

    .cfg-paletas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Planos — vitrine estilo Campanha */
.planos-kpi-gap {
    height: 40px;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
    width: min(100%, 1240px);
    margin-inline: auto;
    padding-top: 18px;
    /* espaço p/ badge “Plano atual / Mais popular” */
}

.plano-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px 22px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .08);
    transition: transform .35s ease, box-shadow .35s ease;
}

.plano-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .12);
}

.plano-card.is-highlight {
    border: 2px solid var(--plano-btn);
    box-shadow: 0 20px 50px -10px var(--plano-shadow);
    transform: scale(1.02);
    z-index: 2;
}

.plano-card.is-highlight:hover {
    transform: scale(1.02) translateY(-6px);
}

.plano-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 30px;
    background: var(--plano-btn);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 6px 15px var(--plano-shadow);
}

.plano-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.plano-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--plano-btn), var(--plano-secondary));
    box-shadow: 0 8px 20px var(--plano-shadow);
    font-size: 22px;
}

.plano-card-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.plano-card-head h3 .fw-light {
    font-weight: 300;
}

.plano-card-head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.planos-periodo-toggle {
    display: inline-flex;
    align-self: center;
    margin: 0 auto 14px;
    padding: 2px;
    border: 1px solid #eef2f7;
    border-radius: 999px;
    background: #f8fafc;
}

.planos-periodo-btn {
    border: 0;
    background: transparent;
    padding: 5px 12px;
    border-radius: 999px;
    color: #94a3b8;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.planos-periodo-btn.is-active {
    background: #fff;
    color: #334155;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

.planos-periodo-badge {
    margin-left: 3px;
    font-size: 11px;
    color: #059669;
}

.plano-price {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    margin-bottom: 6px;
}

.plano-currency {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.plano-amount {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -.02em;
}

.plano-period {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 4px;
}

.plano-economy {
    margin-bottom: 12px;
    color: #64748b;
    font-size: 12px;
}

.plano-economy strong {
    color: #059669;
}

/* Um preço por vez — padrão Campanha via data-periodo */
.plano-card[data-periodo="anual"] .planos-preco-mensal {
    display: none !important;
}

.plano-card[data-periodo="mensal"] .planos-preco-anual,
.plano-card[data-periodo="mensal"] .plano-economy {
    display: none !important;
}

.plano-card[data-periodo="anual"] .planos-preco-anual {
    display: flex !important;
}

.plano-card[data-periodo="anual"] .plano-economy {
    display: block !important;
}

/* Avaliação comercial e modo somente consulta */
.trial-access-banner {
    margin: 16px 24px 0;
    padding: 12px 16px;
    border: 1px solid #dbe5ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7f9ff;
    color: #17233f
}

.trial-access-banner>span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #e7efff;
    color: #487fff;
    font-size: 20px
}

.trial-access-banner>div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0
}

.trial-access-banner strong {
    font-size: 14px
}

.trial-access-banner small {
    font-size: 12px;
    color: #64748b
}

.trial-access-banner>a {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #315eea;
    white-space: nowrap
}

.trial-access-banner.is-expired {
    border-color: #fed7aa;
    background: #fffaf3
}

.trial-access-banner.is-expired>span {
    background: #ffedd5;
    color: #ea580c
}

.trial-expired-page {
    margin: 24px;
    display: grid;
    gap: 18px
}

.trial-expired-hero {
    padding: 32px;
    border: 1px solid #dfe6f2;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff 0%, #f5f8ff 100%);
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: 0 16px 44px rgba(30, 48, 90, .08)
}

.trial-expired-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #eaf0ff;
    color: #487fff;
    font-size: 34px
}

.trial-expired-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #487fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em
}

.trial-expired-hero h1 {
    margin: 0 0 7px;
    font-size: 28px;
    color: #111827
}

.trial-expired-hero p {
    margin: 0;
    max-width: 760px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6
}

.trial-expired-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

.trial-expired-grid article {
    min-height: 150px;
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    display: flex;
    gap: 14px
}

.trial-expired-grid article>span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #f0f4ff;
    color: #487fff;
    font-size: 22px
}

.trial-expired-grid h2 {
    margin: 2px 0 8px;
    font-size: 16px
}

.trial-expired-grid p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55
}

.trial-expired-action {
    padding: 20px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1d3474, #487fff);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 18px
}

.trial-expired-action>div {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.trial-expired-action span {
    font-size: 13px;
    opacity: .84
}

.trial-expired-action .btn {
    margin-left: auto;
    background: #fff !important;
    color: #315eea !important;
    border-color: #fff !important
}

@media(max-width:767px) {
    .trial-access-banner {
        margin: 12px 14px 0;
        align-items: flex-start;
        flex-wrap: wrap
    }

    .trial-access-banner>a {
        width: 100%;
        margin: 2px 0 0 50px
    }

    .trial-expired-page {
        margin: 14px
    }

    .trial-expired-hero {
        padding: 22px;
        align-items: flex-start
    }

    .trial-expired-icon {
        width: 54px;
        height: 54px;
        font-size: 27px
    }

    .trial-expired-hero h1 {
        font-size: 22px
    }

    .trial-expired-grid {
        grid-template-columns: 1fr
    }

    .trial-expired-action {
        align-items: flex-start;
        flex-direction: column
    }

    .trial-expired-action .btn {
        margin: 0;
        width: 100%;
        justify-content: center
    }
}

/* Avisos comerciais contextuais: aparecem somente na véspera, no último dia,
   após a expiração ou quando a assinatura exige regularização. */
.access-block-card {
    border: 1px solid #fecaca;
    border-radius: 14px;
    background: #fff7f7;
    color: #172033;
    padding: 16px;
    box-shadow: 0 8px 22px rgba(185, 28, 28, .06)
}

.access-block-card.is-sidebar {
    margin-top: 24px
}

.access-block-card-heading {
    display: flex;
    align-items: center;
    gap: 10px
}

.access-block-card-heading>span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #fee2e2;
    color: #dc2626;
    font-size: 17px
}

.access-block-card-heading strong {
    font-size: 15px;
    line-height: 1.25
}

.access-block-card p {
    margin: 12px 0;
    color: #536079;
    font-size: 12.5px;
    line-height: 1.48
}

.access-block-card ul {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none
}

.access-block-card li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35
}

.access-block-card li iconify-icon {
    flex: 0 0 auto;
    margin-top: 1px;
    color: #dc2626;
    font-size: 14px
}

.access-block-card>a {
    min-height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: #dc2626;
    color: #fff;
    font-size: 12.5px;
    font-weight: 750;
    text-align: center;
    transition: background .2s ease, transform .2s ease
}

.access-block-card>a:hover {
    background: #b91c1c;
    transform: translateY(-1px)
}

.access-block-card.is-banner {
    margin: 16px 24px 0;
    display: grid;
    grid-template-columns: auto minmax(240px, 1fr) auto;
    align-items: center;
    column-gap: 14px;
    padding: 13px 15px
}

.access-block-card.is-banner .access-block-card-heading {
    grid-column: 1
}

.access-block-card.is-banner>p {
    grid-column: 2;
    grid-row: 1;
    margin: 0
}

.access-block-card.is-banner>ul {
    display: none
}

.access-block-card.is-banner>a {
    grid-column: 3;
    grid-row: 1;
    white-space: nowrap;
    padding-inline: 18px
}

@media(max-width:767px) {
    .access-block-card.is-banner {
        margin: 12px 14px 0;
        grid-template-columns: 1fr;
        gap: 10px
    }

    .access-block-card.is-banner .access-block-card-heading,
    .access-block-card.is-banner>p,
    .access-block-card.is-banner>a {
        grid-column: 1;
        grid-row: auto
    }

    .access-block-card.is-banner>a {
        width: 100%
    }
}

/* Importação em lote — mesmo fluxo guiado usado no Campanha. */
.client-import-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    min-height: 42px;
    border: 1px solid #d8e0ed;
    background: #fff;
    color: #334155;
    font-weight: 700
}

.client-empty-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px
}

.client-import-button:hover {
    border-color: var(--brand-primary, #487fff);
    color: var(--brand-primary, #487fff);
    background: #f7f9ff
}

.import-sheet .vr-sheet-panel {
    width: min(720px, 100%)
}

.import-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 22px
}

.import-steps span {
    border-bottom: 3px solid #e7ebf2;
    padding: 0 4px 10px;
    color: #98a2b3;
    font-size: 12px;
    font-weight: 750
}

.import-steps span.is-active {
    border-color: var(--brand-primary, #487fff);
    color: var(--brand-primary, #487fff)
}

.import-guide {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid #dbe5ff;
    border-radius: 12px;
    background: #f7f9ff
}

.import-guide>iconify-icon {
    flex: 0 0 auto;
    color: var(--brand-primary, #487fff);
    font-size: 22px
}

.import-guide strong {
    display: block;
    font-size: 14px
}

.import-guide p {
    margin: 4px 0 8px;
    color: #667085;
    font-size: 12.5px;
    line-height: 1.45
}

.import-guide a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-primary, #487fff);
    font-size: 12.5px;
    font-weight: 750
}

.import-dropzone {
    min-height: 210px;
    border: 1.5px dashed #a9c1ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 24px;
    background: #f8faff;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease
}

.import-dropzone:hover {
    border-color: var(--brand-primary, #487fff);
    background: #f2f6ff
}

.import-dropzone>iconify-icon {
    margin-bottom: 10px;
    color: var(--brand-primary, #487fff);
    font-size: 38px
}

.import-dropzone strong {
    font-size: 14px
}

.import-dropzone small {
    margin-top: 5px;
    color: #8490a5;
    font-size: 12px
}

.import-dropzone input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none
}

.import-file-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px
}

.import-file-name>iconify-icon {
    color: var(--brand-primary, #487fff);
    font-size: 24px
}

.import-file-name span {
    display: flex;
    min-width: 0;
    flex-direction: column
}

.import-file-name strong {
    overflow: hidden;
    font-size: 12.5px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.import-file-name small {
    color: #8490a5;
    font-size: 11px
}

.import-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px
}

.import-stats article {
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    padding: 12px;
    background: #fff
}

.import-stats small {
    display: block;
    color: #667085;
    font-size: 11px
}

.import-stats strong {
    display: block;
    margin-top: 5px;
    font-size: 22px
}

.import-stats .is-valid strong {
    color: #0f9f79
}

.import-stats .is-error strong {
    color: #dc2626
}

.import-feedback p {
    margin: 0 0 12px;
    border-radius: 9px;
    padding: 10px 12px;
    font-size: 12px
}

.import-feedback .is-success {
    background: #ecfdf5;
    color: #087a5b
}

.import-feedback .is-warning {
    background: #fff7ed;
    color: #b45309
}

.import-preview-wrap {
    max-width: 100%;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 10px
}

.import-preview-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11.5px
}

.import-preview-wrap th,
.import-preview-wrap td {
    max-width: 190px;
    padding: 9px 10px;
    border-bottom: 1px solid #edf0f5;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap
}

.import-preview-wrap th {
    background: #f8fafc;
    color: #475467;
    text-transform: capitalize
}

.import-error-list {
    margin-top: 14px
}

.import-error-list h4 {
    margin: 0 0 8px;
    font-size: 13px
}

.import-error-list p {
    display: grid;
    grid-template-columns: 70px minmax(80px, 1fr) 2fr;
    gap: 8px;
    margin: 0;
    padding: 8px 10px;
    border-top: 1px solid #fee2e2;
    background: #fff8f8;
    font-size: 11.5px
}

.import-error-list small {
    color: #b42318
}

.import-result {
    display: flex;
    min-height: 350px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center
}

.import-result>span {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e8faf5;
    color: #0f9f79;
    font-size: 36px
}

.import-result h3 {
    margin: 16px 0 5px;
    font-size: 20px
}

.import-result p {
    margin: 0;
    color: #667085;
    font-size: 13px
}

@media(max-width:600px) {
    .import-steps span {
        font-size: 10px
    }

    .import-stats {
        grid-template-columns: 1fr
    }

    .import-dropzone {
        min-height: 180px
    }

    .import-error-list p {
        grid-template-columns: 1fr
    }

    .client-import-button {
        width: 100%;
        justify-content: center
    }
}

/* Importador no padrão visual do ViaRegula; o Campanha é referência apenas do fluxo. */
.import-sheet [hidden] {
    display: none !important
}

.import-sheet .vr-sheet-panel {
    width: min(720px, 100%)
}

.import-progress {
    padding: 18px 24px 0;
    background: #fff
}

.import-progress-track {
    display: flex;
    align-items: center;
    gap: 9px
}

.import-progress-track span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #e8edf5;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
    transition: background .2s ease, color .2s ease
}

.import-progress-track span.is-active {
    background: var(--brand-primary, #487fff);
    color: #fff
}

.import-progress-track i {
    height: 2px;
    flex: 1;
    background: #e2e8f0;
    transition: background .25s ease
}

.import-progress-track i.is-active {
    background: var(--brand-primary, #487fff)
}

.import-progress-labels {
    display: flex;
    justify-content: space-between;
    padding: 8px 2px 16px;
    border-bottom: 1px solid #e8ecf2;
    color: #64748b;
    font-size: 12px
}

.import-upload-step {
    display: block
}

.import-upload-step .import-template-card,
.import-upload-step .import-requirements {
    margin-bottom: 16px
}

.import-template-card {
    display: flex;
    gap: 14px;
    border: 1px solid #cfe0ff;
    border-radius: 12px;
    padding: 17px;
    background: #f6f9ff
}

.import-template-card>span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #e7efff;
    color: var(--brand-primary, #487fff);
    font-size: 20px
}

.import-template-card strong {
    font-size: 14px
}

.import-template-card p {
    margin: 6px 0 11px;
    color: #667085;
    font-size: 12px;
    line-height: 1.5
}

.import-template-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 8px;
    padding: 9px 13px;
    background: var(--brand-primary, #487fff);
    color: #fff;
    font-size: 12px;
    font-weight: 750
}

.import-requirements {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    border: 1px solid #fedf89;
    border-radius: 11px;
    padding: 13px 15px;
    background: #fffaeb;
    color: #b54708
}

.import-requirements p {
    flex: 1;
    margin: 0;
    font-size: 12px;
    line-height: 1.5
}

.import-requirements button {
    border: 0;
    background: transparent;
    color: #b54708;
    font-size: 20px;
    cursor: pointer
}

.import-upload-card {
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    padding: 17px
}

.import-upload-card>strong {
    display: block;
    margin-bottom: 12px;
    font-size: 13px
}

.import-upload-card .import-dropzone>span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    background: #eaf0fa;
    color: #64748b;
    font-size: 22px
}

.import-sheet-foot [data-import-back],
.import-sheet-foot .import-cancel {
    margin-right: auto
}

.import-sheet-foot [data-import-analyze],
.import-sheet-foot [data-import-confirm],
.import-sheet-foot [data-import-finish] {
    margin-left: auto
}

.import-sheet-foot .primary:disabled {
    opacity: .5;
    cursor: not-allowed
}

@media(max-width:600px) {
    .import-progress {
        padding-inline: 16px
    }

    .import-template-card {
        padding: 14px
    }

    .import-sheet-foot .btn {
        width: auto;
        flex: 0 1 auto
    }
}

/* Transição global entre páginas */
.vr-page-loader[hidden] {
    display: none !important
}

.vr-page-loader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: transparent;
    opacity: 0;
    transition: opacity .08s ease
}

.vr-page-loader.is-visible {
    opacity: 1
}

.vr-page-loader-bar {
    position: fixed;
    z-index: 100002;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    overflow: hidden;
    background: color-mix(in srgb, var(--brand-primary, var(--primary, #487fff)) 16%, transparent);
    box-shadow: 0 1px 5px color-mix(in srgb, var(--brand-primary, var(--primary, #487fff)) 25%, transparent)
}

.vr-page-loader-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 34vw;
    min-width: 180px;
    background: linear-gradient(90deg, transparent 0%, var(--brand-primary, var(--primary, #487fff)) 28%, var(--brand-secondary, var(--primary2, #764ba2)) 72%, transparent 100%);
    filter: drop-shadow(0 0 4px color-mix(in srgb, var(--brand-primary, var(--primary, #487fff)) 75%, transparent));
    animation: vr-page-progress .82s linear infinite
}

.is-page-navigating body {
    cursor: progress
}

.is-page-navigating body>*:not(.vr-page-loader) {
    pointer-events: none
}

@keyframes vr-page-progress {
    0% {
        transform: translateX(-110%)
    }

    100% {
        transform: translateX(310vw)
    }
}

@media(prefers-reduced-motion:reduce) {
    .vr-page-loader {
        transition: none
    }

    .vr-page-loader-bar::after {
        animation-duration: 2.2s
    }
}

.plano-divider {
    height: 1px;
    margin: 8px 0 16px;
    background: #eef2f7;
}

.plano-features {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.plano-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #334155;
    font-size: 13px;
}

.plano-features li.is-off {
    color: #98a2b3;
    opacity: .7;
}

.pf-check,
.pf-x {
    display: inline-grid;
    place-items: center;
    font-size: 16px;
    margin-top: 1px;
}

.pf-check {
    color: #12b76a;
}

.pf-x {
    color: #d0d5dd;
}

.btn-plano {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--plano-btn);
    color: #fff;
    font: inherit;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 20px var(--plano-shadow);
}

.btn-plano:hover {
    filter: brightness(1.05);
    color: #fff;
}

.btn-plano>iconify-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    flex: 0 0 25px;
    padding: 5px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    vertical-align: middle;
}

.btn-plano:disabled,
.btn-plano.is-current {
    background: #f1f5f9;
    color: #475467;
    box-shadow: none;
    cursor: default;
    filter: none;
}

.btn-plano.is-current>iconify-icon {
    background: #fff;
    color: #667085;
}

@media (max-width: 1200px) {
    .planos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .planos-grid {
        grid-template-columns: 1fr;
    }

    .plano-card.is-highlight,
    .plano-card.is-highlight:hover,
    .plano-card:hover {
        transform: none;
    }
}

.planos-faq {
    margin-top: 72px;
    width: 100%;
    max-width: none;
}

.planos-faq-head {
    text-align: center;
    margin-bottom: 28px;
}

.planos-faq-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--brand-primary, #487fff);
    font-size: 13px;
    font-weight: 600;
}

.planos-faq-head h2 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.planos-faq-head .fw-light {
    font-weight: 300;
}

.planos-faq-head p {
    margin: 0;
    color: #7c879c;
    font-size: 14px;
    line-height: 1.5;
}

.planos-faq-list {
    width: 100%;
    gap: 10px;
}

.planos-faq-q {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

.planos-faq-q::after {
    flex-shrink: 0;
}

.planos-faq-a {
    color: #475467;
    font-size: 13px;
    line-height: 1.55;
}

.planos-faq-a strong {
    color: #0f172a;
}

.planos-faq-a a {
    color: var(--brand-primary, #487fff);
    font-weight: 600;
}

.planos-faq-a em {
    font-style: normal;
    font-weight: 600;
    color: #0f172a;
}

/* Assinatura — layout Campanha */
.assinatura-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pill, #64748b) 14%, #fff);
    color: var(--pill, #64748b);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.assinatura-shell {
    padding: 0;
    overflow: hidden;
}

.assinatura-item {
    color: var(--brand-primary, #487fff);
}

.assinatura-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.assinatura-badge.is-ok {
    background: #ecfdf3;
    color: #027a48;
}

.assinatura-badge.is-info {
    background: #eff6ff;
    color: #1d4ed8;
}

.assinatura-badge.is-warn {
    background: #fffaeb;
    color: #b54708;
}

.assinatura-badge.is-bad {
    background: #fef3f2;
    color: #b42318;
}

.assinatura-foot {
    margin: 16px 0 0;
    color: #7c879c;
    font-size: 13px;
}

.module-tab-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.module-tab-nav::-webkit-scrollbar {
    display: none;
}

.module-tab-nav .nav-pills {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    min-width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    border-radius: 10px;
    border: 1px solid #eaecf0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    background: #fff;
}

.module-tab-nav .nav-item {
    padding: 7px;
}

.module-tab-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    color: #7c879c;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

.module-tab-nav .nav-link iconify-icon {
    font-size: 1.05rem;
}

.module-tab-nav .nav-link.active {
    background: var(--brand-primary, #487fff);
    color: #fff;
}

.module-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: #e8edf5;
    color: #475467;
    font-size: 11px;
    font-weight: 700;
}

.module-tab-count.is-on {
    background: #fff;
    color: var(--brand-primary, #487fff);
}

.card-body.p-24 {
    padding: 24px;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-16 {
    margin-bottom: 16px !important;
}

.mb-24 {
    margin-bottom: 24px !important;
}

.mb-32 {
    margin-bottom: 32px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.mb-48 {
    margin-bottom: 48px !important;
}

.mb-56 {
    margin-bottom: 56px !important;
}

.mb-64 {
    margin-bottom: 64px !important;
}

.mb-72 {
    margin-bottom: 72px !important;
}

.mb-80 {
    margin-bottom: 80px !important;
}

.mb-88 {
    margin-bottom: 88px !important;
}

.mb-96 {
    margin-bottom: 96px !important;
}

.mb-104 {
    margin-bottom: 104px !important;
}

.mb-112 {
    margin-bottom: 112px !important;
}

.mb-120 {
    margin-bottom: 120px !important;
}

.mb-128 {
    margin-bottom: 128px !important;
}

.mb-136 {
    margin-bottom: 136px !important;
}

.mb-144 {
    margin-bottom: 144px !important;
}

.mb-152 {
    margin-bottom: 152px !important;
}

.mb-160 {
    margin-bottom: 160px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-4 {
    margin-top: 1rem !important;
}

.mt-24 {
    margin-top: 24px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-36 {
    margin-top: 36px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mt-48 {
    margin-top: 48px !important;
}

.mt-56 {
    margin-top: 56px !important;
}

.mt-64 {
    margin-top: 64px !important;
}

.mt-72 {
    margin-top: 72px !important;
}

.mt-80 {
    margin-top: 80px !important;
}

.mt-88 {
    margin-top: 88px !important;
}

.mt-96 {
    margin-top: 96px !important;
}

.mt-104 {
    margin-top: 104px !important;
}

.mt-112 {
    margin-top: 112px !important;
}

.mt-120 {
    margin-top: 120px !important;
}

.mt-128 {
    margin-top: 128px !important;
}

.mt-136 {
    margin-top: 136px !important;
}

.mt-144 {
    margin-top: 144px !important;
}

.mt-152 {
    margin-top: 152px !important;
}

.mt-160 {
    margin-top: 160px !important;
}

.mt-168 {
    margin-top: 168px !important;
}

.mt-176 {
    margin-top: 176px !important;
}

.mt-184 {
    margin-top: 184px !important;
}

.mt-192 {
    margin-top: 192px !important;
}

.mt-200 {
    margin-top: 200px !important;
}

.mt-208 {
    margin-top: 208px !important;
}

.mt-216 {
    margin-top: 216px !important;
}

.mt-224 {
    margin-top: 224px !important;
}

.mt-232 {
    margin-top: 232px !important;
}

.mt-240 {
    margin-top: 240px !important;
}

.mt-248 {
    margin-top: 248px !important;
}

.mt-256 {
    margin-top: 256px !important;
}

.mt-264 {
    margin-top: 264px !important;
}

.mt-272 {
    margin-top: 272px !important;
}

.mt-280 {
    margin-top: 280px !important;
}

.mt-288 {
    margin-top: 288px !important;
}

.mt-296 {
    margin-top: 296px !important;
}

.mt-304 {
    margin-top: 304px !important;
}

.mt-312 {
    margin-top: 312px !important;
}

.mt-320 {
    margin-top: 320px !important;
}

.mt-328 {
    margin-top: 328px !important;
}

.mt-336 {
    margin-top: 336px !important;
}

.mt-344 {
    margin-top: 344px !important;
}

.mt-352 {
    margin-top: 352px !important;
}

.mt-360 {
    margin-top: 360px !important;
}

.mt-368 {
    margin-top: 368px !important;
}

.mt-376 {
    margin-top: 376px !important;
}

.mt-384 {
    margin-top: 384px !important;
}

.mt-392 {
    margin-top: 392px !important;
}

.mt-400 {
    margin-top: 400px !important;
}

.mt-408 {
    margin-top: 408px !important;
}

.mt-416 {
    margin-top: 416px !important;
}

.py-64 {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

.px-20 {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.py-16 {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.text-sm {
    font-size: 13px !important;
}

.text-secondary-light {
    color: #7c879c !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.text-end {
    text-align: right;
}

.text-center {
    text-align: center;
}

/* Documentos — dropzone Campanha */
.docs-dropzone {
    position: relative;
    border: 1.5px dashed rgba(72, 127, 255, .35);
    background: rgba(72, 127, 255, .04);
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
}

.docs-dropzone iconify-icon {
    font-size: 2rem;
    color: var(--brand-primary, #487fff);
}

.docs-dropzone__title {
    margin: 8px 0 4px;
    font-weight: 700;
    color: #334155;
    font-size: 14px;
}

.docs-dropzone__hint {
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
}

.docs-dropzone.is-drag {
    border-color: var(--brand-primary, #487fff);
    background: rgba(72, 127, 255, .1);
}

.docs-dropzone.is-invalid {
    border-color: #ef4444;
    background: rgba(239, 68, 68, .04);
}

.docs-dropzone__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.docs-dropzone-error {
    margin-top: 8px;
    color: #ef4444;
    font-size: 12px;
}

.docs-dropzone-note {
    margin: 8px 0 0;
    color: #7c879c;
    font-size: 12px;
}

/* Compose e-mail — padrão Yahoo */
.mail-compose-panel .vr-sheet-body.mail-compose-body {
    padding: 16px 20px;
    background: #f7f9fc;
}

.mail-compose {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    gap: 14px;
}

.mail-compose-addresses {
    padding: 4px 14px;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}

.mail-compose-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    border-bottom: 1px solid #eaecf0;
    padding: 2px 0;
}

.mail-compose-row[hidden] {
    display: none !important;
}

.mail-compose-label {
    margin: 0;
    color: #667085;
    font-size: 13px;
    font-weight: 600;
}

.mail-compose-field {
    min-width: 0;
}

.mail-compose-field input,
.mail-compose-field select {
    width: 100%;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 8px 0;
    font-size: 14px;
    color: #101828;
    border-radius: 0;
}

.mail-compose-field input:focus,
.mail-compose-field select:focus {
    outline: none;
    box-shadow: none !important;
}

/* Select com busca — sem caixa (já tem linha do separador) */
.mail-compose-field .c360-ss-control {
    min-height: 36px;
    padding: 6px 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
}

.mail-compose-field .c360-ss-control:focus,
.mail-compose-field .c360-ss.open .c360-ss-control {
    border: 0 !important;
    box-shadow: none !important;
}

.mail-compose-cc-toggle {
    border: 0;
    background: transparent;
    color: var(--brand-primary, #487fff);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    padding: 6px 4px;
}

.mail-compose-cc-toggle:hover {
    text-decoration: underline;
}

.mail-compose-editor {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    min-height: 300px;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}

.mail-compose-row.is-invalid {
    border-bottom-color: #f04438;
    background: #fff8f7;
}

.mail-compose-editor.is-invalid {
    border-color: #f04438;
    box-shadow: 0 0 0 3px rgba(240, 68, 56, .08);
}

.mail-compose-editor.is-drag {
    outline: 2px dashed rgba(72, 127, 255, .45);
    outline-offset: 2px;
    background: rgba(72, 127, 255, .04);
}

.mail-compose-editor textarea {
    width: 100%;
    flex: 1;
    min-height: 220px;
    border: 0;
    resize: vertical;
    padding: 8px 2px;
    font-size: 14px;
    line-height: 1.5;
    color: #101828;
    background: transparent;
}

.mail-compose-editor textarea:focus {
    outline: none;
}

.mail-compose-editor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef1f5;
}

.mail-compose-editor-head label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #344054;
    font-size: 12px;
    font-weight: 750;
}

.mail-compose-editor-head label iconify-icon {
    color: var(--primary);
    font-size: 16px;
}

.mail-compose-editor-head span {
    color: #98a2b3;
    font-size: 10px;
    font-weight: 600;
}

.mail-compose-validation {
    padding: 9px 11px;
    border: 1px solid #fecdca;
    border-radius: 8px;
    background: #fef3f2;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
}

.mail-compose-validation[hidden] {
    display: none;
}

.mail-compose-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.mail-compose-foot {
    justify-content: space-between;
    padding: 14px 20px;
}

.mail-compose-foot .btn {
    flex: 0 0 auto;
}

.mail-compose-foot-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mail-compose-tool {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e4e7ec;
    background: #fff;
    color: #475467;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
}

.mail-compose-tool:hover {
    border-color: #98a2b3;
    color: #172033;
    background: #f9fafb;
}

.mail-compose-tool iconify-icon {
    font-size: 20px;
}

/* Anexos e-mail — padrão Yahoo (card horizontal + thumb) */
.mail-yahoo-attach {
    margin-top: 4px;
    padding-bottom: 4px;
}

.mail-yahoo-attach__count {
    margin: 0 0 10px;
    color: #172033;
    font-size: 13px;
    font-weight: 700;
}

.mail-yahoo-attach__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mail-yahoo-card {
    display: flex;
    gap: 12px;
    align-items: stretch;
    min-height: 72px;
    padding: 10px 32px 10px 10px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #fff;
    position: relative;
    min-width: 0;
}

.mail-yahoo-card__thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: #eef1f6;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
    color: #667085;
}

.mail-yahoo-card__thumb.is-image {
    cursor: zoom-in;
    background: #0f172a;
}

.mail-yahoo-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mail-yahoo-card__thumb iconify-icon {
    font-size: 26px;
}

.mail-yahoo-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 4px;
}

.mail-yahoo-card__name {
    display: block;
    color: #101828;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-yahoo-card__meta {
    color: #667085;
    font-size: 12px;
    font-weight: 500;
}

.mail-yahoo-card__actions {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.mail-yahoo-card__btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #475467;
    display: inline-grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
}

.mail-yahoo-card__btn:hover {
    border-color: #98a2b3;
    color: #172033;
    background: #f9fafb;
}

.mail-yahoo-card__btn iconify-icon {
    font-size: 14px;
}

.mail-yahoo-card__remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #98a2b3;
    display: inline-grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    z-index: 2;
}

.mail-yahoo-card__remove:hover {
    color: #b42318;
    background: #fef3f2;
}

.mail-yahoo-card__remove iconify-icon {
    font-size: 16px;
}

@media (max-width: 560px) {
    .mail-yahoo-attach__grid {
        grid-template-columns: 1fr;
    }
}

.docs-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(72, 127, 255, .18);
    background: rgba(72, 127, 255, .05);
    border-radius: 12px;
    width: calc(50% - 5px);
    box-sizing: border-box;
}

.docs-preview__media {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.docs-preview__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.docs-preview__media iconify-icon {
    font-size: 1.6rem;
    color: var(--brand-primary, #487fff);
}

.docs-preview__copy {
    min-width: 0;
    flex: 1;
}

.docs-preview__copy strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.docs-preview__copy small {
    display: block;
    margin-top: 2px;
    color: #7c879c;
    font-size: 12px;
}

.docs-preview__clear {
    border: 0;
    background: transparent;
    color: #ef4a00;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.ai-governance-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr);
    align-items: stretch;
    gap: 16px;
    margin: 16px 0;
}

.ai-summary-shell {
    padding: 12px;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    background: #fff;
}

.ai-summary-grid {
    gap: 10px;
}

.ai-summary-grid .client-summary-card {
    min-height: 66px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    justify-content: stretch;
    column-gap: 8px;
    row-gap: 3px;
    padding: 9px 11px;
    border-radius: 10px;
    box-shadow: none;
    background: #fbfcfe;
}

.ai-summary-grid .client-summary-card>div {
    display: contents;
}

.ai-summary-grid .client-summary-card .client-summary-icon {
    grid-column: 1;
    grid-row: 1;
    width: 28px;
    height: 28px;
}

.ai-summary-grid .client-summary-card .client-summary-icon iconify-icon {
    font-size: 14px;
}

.ai-summary-grid .client-summary-card strong {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    color: #101828;
    font-size: 17px;
}

.ai-summary-grid .client-summary-card small {
    grid-column: 1/-1;
    grid-row: 2;
    color: #7c879c;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.ai-context-card,
.ai-security-card {
    height: 100%;
    margin: 0;
    border: 1px solid #e3e9f3;
    box-shadow: 0 4px 18px rgba(30, 55, 90, .05);
}

.ai-context-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 18px;
    background: linear-gradient(145deg, #fff 55%, #f7f9fd 100%);
}

.ai-context-card::after {
    content: none;
}

.ai-context-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.ai-context-orb {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #487fff;
    background: #eaf1ff;
}

.ai-context-orb iconify-icon {
    font-size: 22px;
}

.ai-eyebrow,
.ai-security-head small {
    display: block;
    margin-bottom: 4px;
    color: #487fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.ai-context-head h2,
.ai-security-head h2 {
    margin: 0;
    color: #101828;
    font-size: 18px;
    line-height: 1.2;
}

.ai-context-head p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
}

.ai-ready-badge {
    align-self: start;
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 7px;
    background: #eafaf4;
    color: #12826b;
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.ai-ready-badge::before,
.ai-ready-badge::after {
    content: none !important;
    display: none !important;
}

.ai-context-metrics {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.ai-context-metrics article {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 58px;
    padding: 9px 10px;
    border: 1px solid #e9edf4;
    border-radius: 10px;
    background: rgba(255, 255, 255, .9);
}

.ai-context-metrics article>span {
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.ai-context-metrics article>span.blue {
    color: #487fff;
    background: #eaf1ff;
}

.ai-context-metrics article>span.green {
    color: #16a085;
    background: #e8faf5;
}

.ai-context-metrics article>span.purple {
    color: #7c5cfc;
    background: #f2edff;
}

.ai-context-metrics article>span.amber {
    color: #d48a00;
    background: #fff4db;
}

.ai-context-metrics article>span iconify-icon {
    font-size: 14px;
}

.ai-context-metrics article div {
    min-width: 0;
}

.ai-context-metrics small {
    display: block;
    overflow: hidden;
    color: #7c879c;
    font-size: 10px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-context-metrics strong {
    display: block;
    margin-top: 3px;
    color: #101828;
    font-size: 16px;
    line-height: 1;
}

.ai-context-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    margin-top: auto;
    padding: 8px 12px;
    border-radius: 9px;
    background: #f0f4ff;
    color: #52617a;
    font-size: 10px;
}

.ai-context-note span,
.ai-context-note a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ai-context-note span iconify-icon {
    color: #64748b;
    font-size: 14px;
}

.ai-context-note a {
    color: #487fff;
    font-weight: 750;
    white-space: nowrap;
}

.ai-context-note a iconify-icon {
    font-size: 14px;
}

.ai-security-card {
    padding: 22px;
    background: #fff;
}

.ai-security-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-security-head>span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eef2ff;
    color: #5b6cf9;
}

.ai-security-head>span iconify-icon {
    font-size: 22px;
}

.ai-security-head small {
    color: #7c5cfc;
}

.ai-security-card>p {
    margin: 16px 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
}

.ai-security-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-security-list li {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: #f8fafc;
}

.ai-security-list li>iconify-icon {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #487fff;
    font-size: 17px;
}

.ai-security-list li span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ai-security-list strong {
    color: #344054;
    font-size: 12px;
}

.ai-security-list small {
    margin-top: 2px;
    color: #7c879c;
    font-size: 10px;
    line-height: 1.35;
}

.ai-empty-state {
    min-height: 230px;
}

.ai-empty-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f6f8fc;
    color: #7c879c;
    font-size: 11px;
}

@media(max-width:1200px) {
    .ai-governance-grid {
        grid-template-columns: 1fr
    }

    .ai-context-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:760px) {
    .ai-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:620px) {

    .ai-context-card,
    .ai-security-card {
        padding: 16px
    }

    .ai-context-head {
        grid-template-columns: 44px 1fr
    }

    .ai-context-metrics {
        grid-template-columns: 1fr 1fr
    }

    .ai-context-metrics article {
        padding: 10px
    }

    .ai-context-metrics article>span {
        display: none
    }

    .ai-context-note {
        align-items: flex-start;
        flex-direction: column
    }
}

/* ── Tabelas padrão Campanha (bordered-table + resumo + busca) ── */
.radius-12 {
    border-radius: 12px !important;
}

.module-page-head h1,
.module-page-head h6 {
    margin: 0;
    color: #0f172a;
    font-size: 1.25rem;
    line-height: 1.3;
}

.module-page-head h1 {
    font-size: 1.35rem;
}

.module-page-head .text-muted,
.bi-card-head__sub,
.text-secondary-light {
    color: #7c879c !important;
}

.text-sm {
    font-size: 13px !important;
}

.fw-light {
    font-weight: 300 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.gap-2 {
    gap: 8px !important;
}

.gap-3 {
    gap: 12px !important;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 4px !important;
}

.mb-16 {
    margin-bottom: 16px !important;
}

.mb-24 {
    margin-bottom: 24px !important;
}

.mt-4 {
    margin-top: 8px !important;
}

.mt-16 {
    margin-top: 16px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.p-0 {
    padding: 0 !important;
}

.overflow-visible {
    overflow: visible !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

.p-24 {
    padding: 24px !important;
}

.px-20 {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.py-16 {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.py-40 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.py-64 {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

.g-3 {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
}

.g-12 {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
}

/* gap flex + % width quebra a linha — gutter via padding (padrão Bootstrap) */
.row.g-3,
.row.g-12 {
    margin-left: calc(var(--bs-gutter-x, 12px) / -2);
    margin-right: calc(var(--bs-gutter-x, 12px) / -2);
    gap: 0;
    row-gap: var(--bs-gutter-y, 12px);
}

.row.g-3>.col,
.row.g-12>.col {
    padding-left: calc(var(--bs-gutter-x, 12px) / 2);
    padding-right: calc(var(--bs-gutter-x, 12px) / 2);
    box-sizing: border-box;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.row-cols-2>.col {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .row-cols-sm-4>.col {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.resumo-cards-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    background: #f1f5f9;
    margin: 0 !important;
    padding: 16px 12px;
    flex-wrap: nowrap;
}

.resumo-cards-row>.col {
    flex: none !important;
    max-width: none !important;
    width: auto !important;
    padding: 0 !important;
    min-width: 0;
}

@media (max-width: 760px) {
    .resumo-cards-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.border-bottom {
    border-bottom: 1px solid #eaecf0 !important;
}

.d-flex {
    display: flex !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

.d-block {
    display: block !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-center {
    justify-content: center !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.gap-6 {
    gap: 6px !important;
}

.gap-8 {
    gap: 8px !important;
}

.gap-10 {
    gap: 10px !important;
}

.gap-12 {
    gap: 12px !important;
}

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

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-center {
    text-align: center !important;
}

.align-middle {
    vertical-align: middle !important;
}

.card.radius-12 {
    background: #fff;
    border: 1px solid #e4e9f1;
    box-shadow: 0 5px 20px rgba(15, 23, 42, .04);
}

.resumo-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eaecf0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    min-height: 88px;
}

.resumo-card__label {
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    color: #7c879c;
    margin-bottom: 6px;
}

.resumo-card__valor {
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 800;
}

.resumo-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.resumo-card__icon iconify-icon {
    font-size: 1.9rem;
}

.bi-card-head {
    padding: 16px 24px !important;
    background: #fff;
}

.bi-card-head__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.bi-card-head__main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.bi-card-head__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bi-card-head__icon iconify-icon {
    font-size: 1.35rem;
}

.bi-card-head__title {
    margin: 0 0 2px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
}

.bi-card-head__sub {
    margin: 0;
    font-size: 13px;
}

.c360-busca__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
}

.c360-busca__search {
    flex: 1 1 220px;
    min-width: 0;
}

.c360-busca .form-label,
.c360-busca-avancada .form-label {
    display: block;
    margin-bottom: 4px;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
}

.c360-busca .input-group {
    display: flex;
    align-items: stretch;
    height: 42px;
}

.c360-busca .form-control,
.c360-busca-avancada .form-control,
.c360-busca-avancada .form-select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font: inherit;
    font-size: 14px;
    outline: 0;
}

.c360-busca .input-group .form-control {
    border-radius: 8px 0 0 8px;
}

.c360-busca .input-group .btn {
    width: 44px;
    border: 1px solid #dfe4ec;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background: #fff;
    color: #487fff;
    display: grid;
    place-items: center;
}

.c360-busca__toggle,
.c360-busca__actions .btn,
.c360-busca__actions .client-export-menu>summary {
    box-sizing: border-box;
    height: 42px !important;
    min-height: 42px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px !important;
    font-size: 13px !important;
    font-weight: 700;
    white-space: nowrap;
}

.c360-busca__actions .client-import-button {
    height: 42px !important;
    min-height: 42px !important;
}

.c360-busca__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.btn-sm {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    gap: 7px;
}

.btn-outline-secondary {
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #475467;
    border-radius: 8px;
}

.btn-outline-secondary:hover {
    background: #f9fafb;
    border-color: #98a2b3;
    color: #344054;
}

.btn-outline-primary {
    border: 1px solid #94b4ff;
    background: #fff;
    color: #487fff;
    border-radius: 8px;
}

.btn-outline-primary:hover {
    background: #edf3ff;
    border-color: #487fff;
    color: #487fff;
}

.btn-outline-danger {
    border: 1px solid #ef4a00;
    background: #fff;
    color: #ef4a00;
    border-radius: 8px;
}

.btn-outline-danger:hover {
    background: #c5261c;
    border-color: #c5261c;
    color: #fff;
    box-shadow: 0 5px 14px rgba(197, 38, 28, .2);
}

.btn-outline-danger:active,
.btn-outline-danger:focus {
    background: #b42318;
    border-color: #b42318;
    color: #fff;
}

.btn-success {
    border: 1px solid #12b76a;
    background: #12b76a;
    color: #fff;
    border-radius: 8px;
}

.btn-primary {
    border: 1px solid var(--brand-primary, var(--primary, #487fff));
    background: var(--brand-primary, var(--primary, #487fff));
    color: #fff;
    border-radius: 8px;
}

.c360-busca__chevron {
    transition: transform .18s ease;
}

.c360-busca__toggle.is-open .c360-busca__chevron,
.c360-busca__toggle[aria-expanded="true"] .c360-busca__chevron {
    transform: rotate(180deg);
}

.c360-busca-avancada {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #f8fafc;
}

.c360-busca-avancada__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.c360-busca-avancada__head strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 6px;
    background: #487fff;
    color: #fff;
    font-size: 12px;
}

.c360-busca-avancada__head a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #487fff;
    font-size: 13px;
    font-weight: 600;
}

.vr-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.table-responsive.vr-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
}

@media (max-width: 560px) {
    .docs-preview {
        width: 100%;
    }
}

.docs-preview[hidden] {
    display: none !important;
}

.client-form-section-title {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 6px 0 2px;
    padding-top: 12px;
    border-top: 1px solid #eef1f5;
}

.client-form-section-title strong {
    color: #172033;
    font-size: 15px;
    line-height: 1.35;
}

.client-form-section-title small {
    color: #7c879c;
    font-size: 12px;
    line-height: 1.45;
}

.table.bordered-table {
    width: max-content;
    border-spacing: 0;
    border-collapse: separate;
    border: 0;
    min-width: 100%;
    table-layout: auto;
    vertical-align: middle;
    background: #fff;
}

.bordered-table thead tr th {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    padding: 16px !important;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: normal;
    text-align: left;
    white-space: nowrap;
}

.bordered-table thead tr th:first-child {
    border-top-left-radius: 8px;
}

.bordered-table thead tr th:last-child {
    border-top-right-radius: 8px;
}

.bordered-table tbody tr td {
    color: #475467;
    padding: 16px !important;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    vertical-align: middle;
    font-size: 14px;
}

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

.bordered-table tbody tr:hover td {
    background: #fbfcff;
}

.table-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf1f6;
    color: #475467;
    font-size: 12px;
    font-weight: 800;
    overflow: hidden;
}

.table-avatar.is-logo {
    border-radius: 10px;
}

.table-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.bg-primary-50 {
    background: #eff6ff !important;
}

.text-primary-600 {
    color: #487fff !important;
}

.bg-success-50 {
    background: #ecfdf3 !important;
}

.text-success-600 {
    color: #027a48 !important;
}

.bg-neutral-100 {
    background: #f2f4f7 !important;
}

.pessoas-td-acoes {
    background: #fff;
    min-width: 3.25rem;
}

.bordered-table thead th.client-actions-cell {
    background: #f8fafc !important;
}

.dash-empty {
    text-align: center;
}

.dash-empty__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(72, 127, 255, .12);
    color: #487fff;
}

.dash-empty__icon iconify-icon {
    font-size: 28px;
}

.dash-empty__title {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
}

.dash-empty__sub {
    margin: 6px 0 0;
    color: #7c879c;
    font-size: 13px;
}

.pes-chk-row,
.pes-chk-all,
[data-client-check],
[data-client-check-all] {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    cursor: pointer;
    accent-color: #487fff;
}

@media (max-width: 760px) {
    .client-list-card {
        height: auto;
        min-height: 560px;
    }

    .row-cols-2>.col {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .c360-busca__actions {
        width: 100%;
        margin-left: 0;
    }

    .c360-busca__actions .btn,
    .c360-busca__toggle {
        flex: 1;
        justify-content: center;
    }

    .table-responsive.vr-table-wrap {
        overflow-x: hidden;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .table.bordered-table {
        min-width: 0;
    }
}

/* -- Checkout planos (Asaas / padr�o Campanha) -- */
.vr-sheet-panel.is-checkout {
    max-width: 480px;
    display: flex;
    flex-direction: column;
}

.mc-btn-back {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #64748b;
    display: grid;
    place-items: center;
    border-radius: 8px;
    flex-shrink: 0;
    cursor: pointer;
}

.mc-btn-back.d-none {
    display: none !important;
}

.mc-btn-back:hover {
    background: #f1f5f9;
}

.mc-valor-banner {
    margin: 0 20px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #64748b;
}

.mc-valor-banner strong {
    color: #1e293b;
    font-size: 1.05rem;
}

.mc-checkout-body {
    flex: 1;
    overflow: auto;
}

.mc-section-label {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}

.mc-pay-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.mc-pay-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: .15s ease;
}

.mc-pay-opt:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.mc-pay-opt.active {
    border-color: #487fff;
    background: rgba(72, 127, 255, .04);
    box-shadow: 0 0 0 2px rgba(72, 127, 255, .12);
}

.mc-pay-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 22px;
    flex-shrink: 0;
}

.mc-pay-copy {
    flex: 1;
    min-width: 0;
}

.mc-pay-copy strong {
    display: block;
    font-size: .93rem;
    color: #1e293b;
}

.mc-pay-copy small {
    display: block;
    font-size: .79rem;
    color: #64748b;
    margin-top: 2px;
}

.mc-pay-check {
    font-size: 20px;
    color: #22c55e;
    display: none;
    flex-shrink: 0;
}

.mc-pay-opt.active .mc-pay-check {
    display: block;
}

.mc-termos {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    cursor: pointer;
}

.mc-termos input {
    margin-top: 3px;
    flex-shrink: 0;
}

.mc-termos a {
    color: #487fff;
    font-weight: 600;
    text-decoration: none;
}

.mc-sandbox-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fefce8;
    border: 1px solid #fde047;
    color: #92400e;
    font-size: .79rem;
    line-height: 1.5;
}

.mc-sandbox-alert iconify-icon {
    color: #ca8a04;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.mc-btn-confirm {
    width: 100%;
    margin-top: 4px;
}

.mc-btn-confirm:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.mc-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 280px;
    color: #64748b;
}

.mc-loading .spinner-border {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid #dbeafe;
    border-top-color: #487fff;
    border-radius: 50%;
    animation: mc-spin .7s linear infinite;
}

@keyframes mc-spin {
    to {
        transform: rotate(360deg);
    }
}

.mail-sync-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.mail-sync-status[hidden] {
    display: none;
}

.mail-sync-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid #dbe3ef;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: mc-spin .7s linear infinite;
}

#mailSyncButton.is-syncing iconify-icon {
    animation: mc-spin .7s linear infinite;
}

/* Dashboard operacional v2 — isolado para preservar os demais módulos */
.dashboard-v2 {
    --dv2-blue: #487fff;
    --dv2-line: #e6eaf2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 28px;
}

.dash-v2-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    border: 1px solid var(--dv2-line);
    border-radius: 14px;
    background: linear-gradient(120deg, #fff 60%, #f2f6ff);
}

.dash-v2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--dv2-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.dash-v2-head h1 {
    margin: 0;
    color: #101828;
    font-size: 28px;
    line-height: 1.15;
}

.dash-v2-head p {
    margin: 7px 0 0;
    color: #667085;
    font-size: 13px;
}

.dash-v2-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-v2-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #667085;
    font-size: 12px;
    white-space: nowrap;
}

.dash-v2-head-actions .btn {
    height: 42px;
    gap: 7px;
    white-space: nowrap;
}

.dash-v2-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.dash-v2-kpi {
    position: relative;
    min-width: 0;
    min-height: 90px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 11px;
    padding: 14px;
    border: 1px solid var(--dv2-line);
    border-radius: 12px;
    background: #fff;
    transition: border-color .18s, transform .18s, box-shadow .18s;
}

.dash-v2-kpi:hover {
    transform: translateY(-2px);
    border-color: #bfd0ff;
    box-shadow: 0 8px 20px rgba(31, 50, 81, .07);
}

.dash-v2-kpi-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 19px;
}

.dash-v2-kpi.blue .dash-v2-kpi-icon {
    color: #487fff;
    background: #eaf1ff
}

.dash-v2-kpi.amber .dash-v2-kpi-icon {
    color: #d48a00;
    background: #fff4db
}

.dash-v2-kpi.purple .dash-v2-kpi-icon {
    color: #7c5cfc;
    background: #f2edff
}

.dash-v2-kpi.green .dash-v2-kpi-icon {
    color: #119b7f;
    background: #e8faf5
}

.dash-v2-kpi>span:nth-child(2) {
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2px 8px;
}

.dash-v2-kpi small {
    overflow: hidden;
    color: #667085;
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.dash-v2-kpi strong {
    grid-row: 1/3;
    grid-column: 2;
    color: #101828;
    font-size: 23px;
    line-height: 1;
}

.dash-v2-kpi em {
    overflow: hidden;
    color: #98a2b3;
    font-size: 10px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-v2-arrow {
    color: #b0b8c7;
    font-size: 15px;
}

.dash-v2-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--dv2-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(16, 24, 40, .025);
}

.dash-v2-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.dash-v2-card-head>div {
    min-width: 0;
}

.dash-v2-card-head span {
    display: block;
    margin-bottom: 3px;
    color: #487fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.dash-v2-card-head h2 {
    margin: 0;
    color: #172033;
    font-size: 17px;
    line-height: 1.25;
}

.dash-v2-card-head p {
    margin: 4px 0 0;
    color: #7c879c;
    font-size: 11px;
}

.dash-v2-card-head>a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #487fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.dash-v2-primary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr);
    gap: 14px;
    align-items: stretch;
}

.dash-v2-pipeline {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
}

.dash-v2-pipeline .dash-v2-card-head {
    grid-column: 1/-1;
}

.dash-v2-pipeline-total {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-right: 1px solid #edf0f5;
}

.dash-v2-pipeline-total strong {
    color: #172033;
    font-size: 36px;
    line-height: 1;
}

.dash-v2-pipeline-total span {
    margin-top: 6px;
    color: #98a2b3;
    font-size: 10px;
    text-align: center;
}

.dash-v2-stages {
    display: grid;
    gap: 7px;
    padding-left: 18px;
}

.dash-v2-stages>a {
    min-width: 0;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 9px;
}

.dash-v2-stage-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 15px
}

.dash-v2-stages .blue .dash-v2-stage-icon {
    color: #487fff;
    background: #edf3ff
}

.dash-v2-stages .purple .dash-v2-stage-icon {
    color: #7c5cfc;
    background: #f3efff
}

.dash-v2-stages .amber .dash-v2-stage-icon {
    color: #d48a00;
    background: #fff5df
}

.dash-v2-stages .red .dash-v2-stage-icon {
    color: #d92d20;
    background: #fff0ef
}

.dash-v2-stages .green .dash-v2-stage-icon {
    color: #119b7f;
    background: #e9f9f5
}

.dash-v2-stage-copy {
    min-width: 0;
}

.dash-v2-stage-copy b {
    display: block;
    color: #475467;
    font-size: 11px;
}

.dash-v2-stage-copy small {
    display: block;
    height: 4px;
    margin-top: 5px;
    overflow: hidden;
    border-radius: 9px;
    background: #eef1f5;
}

.dash-v2-stage-copy i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #487fff
}

.dash-v2-stages .purple i {
    background: #7c5cfc
}

.dash-v2-stages .amber i {
    background: #e59a12
}

.dash-v2-stages .red i {
    background: #e25b52
}

.dash-v2-stages .green i {
    background: #1aaa8b
}

.dash-v2-stages>a>strong {
    color: #172033;
    font-size: 14px;
    text-align: right;
}

.dash-v2-list {
    display: flex;
    flex-direction: column;
}

.dash-v2-list>a,
.dash-v2-list>div {
    min-width: 0;
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eef1f5;
}

.dash-v2-list>*:last-child {
    border-bottom: 0;
}

.dash-v2-list b {
    display: block;
    overflow: hidden;
    color: #344054;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-v2-list small {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    color: #98a2b3;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-v2-list time {
    color: #7c879c;
    font-size: 9px;
    white-space: nowrap;
}

.dash-v2-priority {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f0b429
}

.dash-v2-priority.urgent {
    background: #d92d20;
    box-shadow: 0 0 0 4px #fff0ef
}

.dash-v2-priority.high {
    background: #f79009
}

.dash-v2-priority.low {
    background: #98a2b3
}

.dash-v2-empty {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: #98a2b3;
    text-align: center;
}

.dash-v2-empty>span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-bottom: 4px;
    border-radius: 50%;
    background: #edf3ff;
    color: #487fff;
    font-size: 20px
}

.dash-v2-empty b {
    color: #475467;
    font-size: 12px
}

.dash-v2-empty small {
    font-size: 10px
}

.dash-v2-empty.compact {
    min-height: 150px
}

.dash-v2-secondary-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr .8fr;
    gap: 14px;
}

.dash-v2-base-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.dash-v2-base-grid a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border: 1px solid #edf0f5;
    border-radius: 10px;
    background: #fbfcfe
}

.dash-v2-base-grid>a>iconify-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #edf3ff;
    color: #487fff;
    font-size: 15px
}

.dash-v2-base-grid span {
    min-width: 0
}

.dash-v2-base-grid strong,
.dash-v2-base-grid small {
    display: block
}

.dash-v2-base-grid strong {
    color: #172033;
    font-size: 16px
}

.dash-v2-base-grid small {
    color: #7c879c;
    font-size: 9px
}

.dash-v2-quality-list {
    display: grid;
    gap: 11px
}

.dash-v2-quality-list>div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 10px
}

.dash-v2-quality-list b,
.dash-v2-quality-list small {
    display: block
}

.dash-v2-quality-list b {
    color: #475467;
    font-size: 10px
}

.dash-v2-quality-list small {
    margin-top: 2px;
    color: #98a2b3;
    font-size: 8px
}

.dash-v2-quality-list strong {
    color: #344054;
    font-size: 12px
}

.dash-v2-quality-list>div>i {
    grid-column: 1/-1;
    display: block;
    height: 5px;
    overflow: hidden;
    border-radius: 10px;
    background: #eef1f5
}

.dash-v2-quality-list u {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #487fff
}

.dash-v2-quality-list i.amber u {
    background: #e59a12
}

.dash-v2-quality-list i.green u {
    background: #1aaa8b
}

.dash-v2-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px
}

.dash-v2-results-grid>div {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 8px 3px;
    border-right: 1px solid #edf0f5;
    text-align: center
}

.dash-v2-results-grid>div:last-child {
    border: 0
}

.dash-v2-results-grid span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-bottom: 7px;
    border-radius: 50%;
    font-size: 14px
}

.dash-v2-results-grid span.blue {
    color: #487fff;
    background: #edf3ff
}

.dash-v2-results-grid span.purple {
    color: #7c5cfc;
    background: #f3efff
}

.dash-v2-results-grid span.green {
    color: #119b7f;
    background: #e9f9f5
}

.dash-v2-results-grid strong {
    color: #172033;
    font-size: 17px
}

.dash-v2-results-grid small {
    margin-top: 2px;
    color: #7c879c;
    font-size: 8px
}

.dash-v2-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.dash-v2-list-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #edf3ff;
    color: #487fff;
    font-size: 14px
}

.dash-v2-list.compact>a,
.dash-v2-list.compact>div {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    padding: 8px 0
}

@media(max-width:1200px) {
    .dash-v2-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .dash-v2-primary-grid {
        grid-template-columns: 1fr
    }

    .dash-v2-secondary-grid {
        grid-template-columns: 1fr 1fr
    }

    .dash-v2-secondary-grid>:last-child {
        grid-column: 1/-1
    }

    .dash-v2-results-grid>div {
        align-items: center;
        flex-direction: row;
        gap: 7px;
        justify-content: center
    }

    .dash-v2-results-grid span {
        margin: 0
    }
}

@media(max-width:760px) {
    .dash-v2-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px
    }

    .dash-v2-head h1 {
        font-size: 23px
    }

    .dash-v2-head-actions {
        width: 100%;
        justify-content: space-between
    }

    .dash-v2-date {
        font-size: 10px
    }

    .dash-v2-kpis,
    .dash-v2-secondary-grid,
    .dash-v2-bottom-grid {
        grid-template-columns: 1fr
    }

    .dash-v2-secondary-grid>:last-child {
        grid-column: auto
    }

    .dash-v2-pipeline {
        grid-template-columns: 1fr
    }

    .dash-v2-pipeline-total {
        padding-bottom: 14px;
        border-right: 0;
        border-bottom: 1px solid #edf0f5
    }

    .dash-v2-stages {
        padding: 14px 0 0
    }

    .dash-v2-card {
        padding: 15px
    }
}

.mc-pix-qr-wrap {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.mc-pix-qr-wrap img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: contain;
}

.mc-field-label {
    display: block;
    margin: 0 0 6px;
    font-size: .8rem;
    font-weight: 600;
    color: #64748b;
}

.mc-copy-row {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.mc-copy-row input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-size: .78rem;
}

.mc-info-blue {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 12px;
    margin-bottom: 14px;
    border-radius: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: .8rem;
}

.mc-payment-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: .82rem;
    margin-bottom: 14px;
}

.mc-payment-status--boleto {
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.mc-result {
    text-align: center;
    padding: 28px 12px;
}

.mc-result-ico {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 40px;
}

.mc-result-ico.is-err {
    background: #fef2f2;
    color: #ef4444;
}

.mc-result-ico.is-ok {
    background: #ecfdf5;
    color: #22c55e;
}

.mc-result strong {
    display: block;
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.mc-result p {
    color: #64748b;
    font-size: .87rem;
    margin: 0 0 20px;
}

.mc-checkout-foot {
    flex-direction: column !important;
    gap: 4px !important;
    align-items: center !important;
    justify-content: center !important;
}

.mc-checkout-foot p {
    margin: 0;
    font-size: .77rem;
    color: #94a3b8;
    text-align: center;
}

.mc-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mc-secure iconify-icon {
    color: #22c55e;
    font-size: 14px;
}

.mc-termos-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(15, 23, 42, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.mc-termos-overlay[hidden] {
    display: none !important;
}

.mc-termos-dialog {
    background: #fff;
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .18);
}

.mc-termos-head {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.mc-termos-head h3 {
    margin: 0;
    font-size: 1.05rem;
    color: #0f172a;
}

.mc-termos-head p {
    margin: 4px 0 0;
    font-size: .78rem;
    color: #64748b;
}

.mc-termos-head button {
    border: 0;
    background: transparent;
    font-size: 1.4rem;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
}

.mc-termos-body {
    overflow: auto;
    padding: 24px;
    font-size: .875rem;
    color: #334155;
    line-height: 1.7;
}

.mc-termos-note {
    padding: 10px 12px;
    background: #eff6ff;
    border-radius: 8px;
}

.mc-termos-body h4 {
    margin: 16px 0 8px;
    color: #0f172a;
}

.mc-termos-foot {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
}

/* Perfil � padr�o Campanha */
.form-label {
    display: block;
    margin: 0 0 6px;
    color: #344054;
    font-size: 13px;
}

.fw-medium {
    font-weight: 600 !important;
}

.text-danger-main {
    color: #ef4444 !important;
}

.text-muted {
    color: #94a3b8 !important;
    font-size: 12px;
}

.bg-light {
    background: #f8fafc !important;
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #dfe4eb;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-primary, #487fff);
    box-shadow: 0 0 0 3px rgba(72, 127, 255, .12);
}

.form-control:disabled,
.form-control[disabled] {
    background: #f8fafc;
    color: #667085;
    cursor: not-allowed;
}

.radius-8 {
    border-radius: 8px !important;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: calc(var(--bs-gutter-x, 12px) / 2);
    padding-right: calc(var(--bs-gutter-x, 12px) / 2);
}

.col-md-4,
.col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: calc(var(--bs-gutter-x, 12px) / 2);
    padding-right: calc(var(--bs-gutter-x, 12px) / 2);
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.btn-outline-success {
    border: 1px solid #12b76a;
    background: #fff;
    color: #12b76a;
    border-radius: 8px;
}

.btn-outline-success:hover {
    background: #ecfdf3;
}

.btn-danger {
    border: 0;
    background: #f04438;
    color: #fff;
    border-radius: 8px;
}

.btn-danger:hover {
    background: #d92d20;
}

.perfil-pass-wrap {
    position: relative;
}

.perfil-pass-wrap .form-control {
    padding-right: 42px;
}

.perfil-pass-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #98a2b3;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.perfil-pass-toggle:hover {
    color: #475467;
}

.perfil-pass-toggle iconify-icon {
    font-size: 18px;
}

.perfil-lgpd-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    padding: 20px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #fff;
}

.perfil-lgpd-ico {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.perfil-lgpd-ico iconify-icon {
    font-size: 20px;
}

.perfil-lgpd-ico.is-green {
    background: rgba(69, 179, 105, .14);
    color: #45b369;
}

.perfil-lgpd-ico.is-red {
    background: rgba(239, 68, 68, .12);
    color: #ef4444;
}

.perfil-lgpd-copy {
    min-width: 0;
    flex: 1;
}

.perfil-lgpd-copy h6 {
    margin: 0 0 4px;
    color: #101828;
    font-size: 14px;
    font-weight: 700;
}

.perfil-lgpd-copy p {
    margin: 0 0 12px;
    color: #7c879c;
    font-size: 12px;
    line-height: 1.45;
}

.perfil-lgpd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.perfil-lgpd-actions .btn,
.perfil-lgpd-delete-row .btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
}

.perfil-lgpd-delete-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.perfil-lgpd-delete-row .form-control {
    max-width: 180px;
    min-height: 38px;
}

.perfil-legal-meta {
    border-top: 1px solid #eaecf0;
    padding-top: 14px;
}

/* Index regulatória — arquitetura integral v5 */
.reg-home {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    padding-bottom: 32px
}

.reg-home-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px
}

.reg-home-head span {
    color: var(--brand-primary, #487fff);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase
}

.reg-home-head h1 {
    margin: 5px 0 0;
    color: #101828;
    font-size: 26px;
    letter-spacing: -.03em
}

.reg-home-head p {
    margin: 5px 0 0;
    color: #7c879c;
    font-size: 11px
}

.reg-home-head .btn {
    height: 42px;
    gap: 7px
}

.reg-priority {
    min-height: 140px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(390px, .7fr);
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(90deg, var(--brand-primary, var(--nav)), var(--brand-secondary, #0c1422));
    color: #fff;
    box-shadow: 0 10px 26px color-mix(in srgb, var(--brand-primary, #487fff) 20%, transparent)
}

.reg-priority-main {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 25px 28px
}

.reg-priority-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    font-size: 26px
}

.reg-priority-main small {
    color: rgba(255, 255, 255, .72);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase
}

.reg-priority-main h2 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 19px
}

.reg-priority-main p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 10px
}

.reg-priority-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    background: rgba(8, 20, 48, .2);
    backdrop-filter: blur(6px)
}

.reg-priority-side>div {
    padding: 18px;
    text-align: center
}

.reg-priority-side>div+div {
    border-left: 1px solid rgba(255, 255, 255, .13)
}

.reg-priority-side strong,
.reg-priority-side span {
    display: block
}

.reg-priority-side strong {
    font-size: 24px
}

.reg-priority-side span {
    margin-top: 4px;
    color: rgba(255, 255, 255, .7);
    font-size: 8px
}

.reg-priority-side>a {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: #fff;
    font-size: 9px;
    font-weight: 700
}

.reg-pulse {
    display: grid;
    grid-template-columns: 190px repeat(6, 1fr);
    min-height: 84px;
    overflow: hidden;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(16, 24, 40, .04)
}

.reg-pulse>header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 18px;
    background: #f8fafc
}

.reg-pulse>header>iconify-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #eaf1ff;
    color: #487fff;
    font-size: 17px
}

.reg-pulse header b,
.reg-pulse header small {
    display: block
}

.reg-pulse header b {
    color: #344054;
    font-size: 10px
}

.reg-pulse header small {
    margin-top: 3px;
    color: #98a2b3;
    font-size: 8px
}

.reg-pulse>a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 7px;
    border-left: 1px solid #edf0f4
}

.reg-pulse>a>iconify-icon {
    color: #98a2b3;
    font-size: 15px
}

.reg-pulse>a span strong,
.reg-pulse>a span small {
    display: block
}

.reg-pulse>a strong {
    color: #172033;
    font-size: 15px
}

.reg-pulse>a small {
    margin-top: 2px;
    color: #7c879c;
    font-size: 8px
}

.reg-panel {
    min-width: 0;
    padding: 19px;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(16, 24, 40, .04)
}

.reg-panel>header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px
}

.reg-panel>header small {
    display: block;
    color: var(--brand-primary, #487fff);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase
}

.reg-panel>header h2 {
    margin: 4px 0 0;
    color: #172033;
    font-size: 16px
}

.reg-panel>header p {
    margin: 4px 0 0;
    color: #7c879c;
    font-size: 9px
}

.reg-panel>header>a {
    padding: 6px 9px;
    border-radius: 7px;
    background: #f2f5fc;
    color: var(--brand-primary, #487fff);
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap
}

.reg-panel>header em {
    padding: 5px 8px;
    border-radius: 99px;
    background: #f3f5f8;
    color: #7c879c;
    font-size: 8px;
    font-style: normal
}

.reg-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, .65fr);
    gap: 16px
}

.reg-workspace>.reg-panel {
    height: 460px;
    overflow: hidden
}

.reg-map-body {
    height: 375px
}

.reg-map-body .dash-real-map {
    height: 340px;
    border-radius: 9px
}

.reg-map-body>footer {
    height: 35px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 7px
}

.reg-map-body>footer span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #7c879c;
    font-size: 8px
}

.reg-map-body>footer i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e59a12
}

.reg-map-body>footer i.verified {
    background: #12a384
}

.reg-map-body>footer i.mapped {
    background: #487fff
}

.reg-map-body>footer b {
    margin-left: auto;
    color: #475467;
    font-size: 9px
}

.reg-journey-line {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0
}

.reg-journey-line::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 18px;
    width: 2px;
    background: #e8ecf2
}

.reg-journey-line>a {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 10px 0
}

.reg-journey-line>a>span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #edf3ff;
    color: #487fff;
    box-shadow: 0 0 0 1px #dce5f7;
    font-size: 15px
}

.reg-journey-line .step-1>span {
    background: #f2edff;
    color: #7c5cfc
}

.reg-journey-line .step-2>span {
    background: #fff4db;
    color: #d48a00
}

.reg-journey-line .step-3>span {
    background: #fff0ef;
    color: #d92d20
}

.reg-journey-line .step-4>span {
    background: #e8faf5;
    color: #119b7f
}

.reg-journey-line b,
.reg-journey-line small {
    display: block
}

.reg-journey-line b {
    color: #344054;
    font-size: 10px
}

.reg-journey-line small {
    margin-top: 3px;
    color: #98a2b3;
    font-size: 8px
}

.reg-journey-line>a>strong {
    color: #172033;
    font-size: 13px
}

.reg-journey-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 9px;
    border-radius: 8px;
    background: #f1f5ff;
    color: #487fff;
    font-size: 9px;
    font-weight: 700
}

.reg-insights {
    display: grid;
    grid-template-columns: .75fr 1fr 1fr;
    gap: 16px
}

.reg-insights>.reg-panel {
    height: 302px;
    overflow: hidden
}

.reg-quality>div {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 5px
}

.reg-quality section>span {
    display: flex;
    justify-content: space-between
}

.reg-quality section b {
    color: #475467;
    font-size: 9px
}

.reg-quality section strong {
    color: #344054;
    font-size: 10px
}

.reg-quality section i {
    display: block;
    height: 7px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef1f5
}

.reg-quality section u {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand-primary, #487fff), var(--brand-secondary, #764ba2))
}

.reg-quality>a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 17px;
    padding: 8px;
    border-radius: 8px;
    background: #f5f7fb;
    color: #487fff;
    font-size: 9px;
    font-weight: 700
}

.reg-feed {
    display: flex;
    flex-direction: column
}

.reg-feed>a,
.reg-feed>div {
    min-width: 0;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 9px 0;
    border-bottom: 1px solid #edf0f4
}

.reg-feed>*:last-child {
    border: 0
}

.reg-feed>a>span,
.reg-feed>div>span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #edf3ff;
    color: #487fff;
    font-size: 14px
}

.reg-feed .tone-1>span {
    background: #f2edff;
    color: #7c5cfc
}

.reg-feed .tone-2>span {
    background: #fff4db;
    color: #d48a00
}

.reg-feed .tone-3>span {
    background: #e8faf5;
    color: #119b7f
}

.reg-feed .tone-4>span {
    background: #fff0ef;
    color: #d92d20
}

.reg-feed b,
.reg-feed small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.reg-feed b {
    color: #344054;
    font-size: 9px
}

.reg-feed small {
    margin-top: 3px;
    color: #98a2b3;
    font-size: 8px
}

.reg-feed time {
    color: #7c879c;
    font-size: 8px;
    white-space: nowrap
}

.reg-empty {
    min-height: 205px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center
}

.reg-empty>iconify-icon {
    width: 44px;
    height: 44px;
    padding: 11px;
    border-radius: 50%;
    background: #edf3ff;
    color: #487fff;
    font-size: 22px
}

.reg-empty b {
    margin-top: 9px;
    color: #475467;
    font-size: 10px
}

.reg-empty small {
    margin-top: 4px;
    color: #98a2b3;
    font-size: 8px
}

@media(max-width:1200px) {
    .reg-pulse {
        grid-template-columns: 150px repeat(3, 1fr)
    }

    .reg-pulse>a:nth-of-type(n+4) {
        border-top: 1px solid #edf0f4
    }

    .reg-workspace {
        grid-template-columns: 1fr
    }

    .reg-workspace>.reg-panel {
        height: auto
    }

    .reg-map-panel {
        min-height: 460px
    }

    .reg-journey {
        min-height: 420px
    }

    .reg-insights {
        grid-template-columns: 1fr 1fr
    }

    .reg-insights>:last-child {
        grid-column: 1/-1
    }
}

@media(max-width:760px) {
    .reg-home {
        gap: 12px;
        margin-top: 14px
    }

    .reg-home-head {
        align-items: flex-start;
        flex-direction: column
    }

    .reg-priority {
        grid-template-columns: 1fr
    }

    .reg-priority-main {
        padding: 20px
    }

    .reg-priority-side {
        min-height: 105px
    }

    .reg-pulse {
        grid-template-columns: 1fr 1fr
    }

    .reg-pulse>header {
        grid-column: 1/-1
    }

    .reg-pulse>a {
        justify-content: flex-start
    }

    .reg-panel {
        padding: 16px
    }

    .reg-map-body .dash-real-map {
        height: 320px
    }

    .reg-insights {
        grid-template-columns: 1fr
    }

    .reg-insights>:last-child {
        grid-column: auto
    }

    .reg-insights>.reg-panel {
        height: auto;
        min-height: 285px
    }
}

/* Home premium v3 — estrutura limpa e independente */
.home-premium-v3 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    padding-bottom: 32px
}

.home3-welcome {
    min-height: 150px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--brand-primary, var(--nav)), var(--brand-secondary, #0c1422));
    color: #fff;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--brand-primary, #487fff) 22%, transparent)
}

.home3-welcome>div:first-child>span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase
}

.home3-welcome h1 {
    margin: 13px 0 0;
    font-size: 31px;
    line-height: 1.1;
    letter-spacing: -.03em
}

.home3-welcome p {
    margin: 9px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 13px
}

.home3-welcome-actions {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 9px
}

.home3-welcome-actions .btn {
    order: 1;
    height: 42px;
    border-color: #fff;
    background: #fff;
    color: var(--brand-primary, #487fff)
}

.home3-welcome-actions small {
    order: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .78);
    font-size: 10px
}

.home3-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: -48px;
    padding: 0 18px
}

.home3-metric {
    position: relative;
    z-index: 2;
    min-width: 0;
    height: 102px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e3e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .09);
    transition: transform .18s
}

.home3-metric:hover {
    transform: translateY(-3px)
}

.home3-metric>span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #edf3ff;
    color: #487fff;
    font-size: 20px
}

.home3-metric.amber>span {
    background: #fff4db;
    color: #d48a00
}

.home3-metric.purple>span {
    background: #f2edff;
    color: #7c5cfc
}

.home3-metric.green>span {
    background: #e8faf5;
    color: #119b7f
}

.home3-metric div {
    min-width: 0
}

.home3-metric small,
.home3-metric strong {
    display: block
}

.home3-metric small {
    overflow: hidden;
    color: #667085;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap
}

.home3-metric strong {
    margin-top: 7px;
    color: #172033;
    font-size: 23px;
    line-height: 1
}

.home3-metric>iconify-icon {
    color: #b2bac7;
    font-size: 14px
}

.home3-card {
    min-width: 0;
    padding: 21px;
    border: 1px solid #e4e9f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(16, 24, 40, .045)
}

.home3-card>header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 17px
}

.home3-card>header span {
    display: block;
    margin-bottom: 4px;
    color: var(--brand-primary, #487fff);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase
}

.home3-card>header h2 {
    margin: 0;
    color: #172033;
    font-size: 18px;
    letter-spacing: -.015em
}

.home3-card>header p {
    margin: 5px 0 0;
    color: #7c879c;
    font-size: 10px
}

.home3-card>header>a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 8px;
    background: #f1f5ff;
    color: var(--brand-primary, #487fff);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap
}

.home3-card>header em {
    padding: 5px 8px;
    border-radius: 99px;
    background: #f4f6f9;
    color: #7c879c;
    font-size: 8px;
    font-style: normal;
    font-weight: 700
}

.home3-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, .65fr);
    gap: 16px
}

.home3-main-grid>.home3-card {
    height: 480px;
    overflow: hidden
}

.home3-map-shell {
    height: 389px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 14px
}

.home3-map-shell .dash-real-map {
    height: 100%;
    border-radius: 13px
}

.home3-map-shell>aside {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 13px;
    border: 1px solid #e7ebf2;
    border-radius: 13px;
    background: #fafbfc
}

.home3-map-total strong,
.home3-map-total span {
    display: block
}

.home3-map-total strong {
    color: #172033;
    font-size: 28px;
    line-height: 1
}

.home3-map-total span {
    margin-top: 5px;
    color: #667085;
    font-size: 10px;
    font-weight: 700
}

.home3-map-legend {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 12px 0;
    border-top: 1px solid #e7ebf2;
    border-bottom: 1px solid #e7ebf2
}

.home3-map-legend span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #7c879c;
    font-size: 9px
}

.home3-map-legend i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e59a12
}

.home3-map-legend i.verified {
    background: #12a384
}

.home3-map-legend i.mapped {
    background: #487fff
}

.home3-map-shell aside>p {
    margin: 0;
    color: #98a2b3;
    font-size: 9px;
    line-height: 1.5
}

.home3-map-shell aside>a {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px;
    border-radius: 10px;
    background: #fff4db;
    color: #9a6700
}

.home3-map-shell aside>a>iconify-icon {
    font-size: 19px
}

.home3-map-shell aside>a b,
.home3-map-shell aside>a small {
    display: block
}

.home3-map-shell aside>a b {
    font-size: 9px
}

.home3-map-shell aside>a small {
    margin-top: 2px;
    font-size: 7px
}

.home3-list {
    display: flex;
    flex-direction: column
}

.home3-list>a,
.home3-list>div {
    min-width: 0;
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px 1px;
    border-bottom: 1px solid #edf0f4
}

.home3-list>*:last-child {
    border: 0
}

.home3-list i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f0a719
}

.home3-list i.urgent {
    background: #d92d20
}

.home3-list i.high {
    background: #f79009
}

.home3-list i.low {
    background: #98a2b3
}

.home3-list b,
.home3-list small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.home3-list b {
    color: #344054;
    font-size: 10px
}

.home3-list small {
    margin-top: 3px;
    color: #98a2b3;
    font-size: 8px
}

.home3-list time {
    color: #7c879c;
    font-size: 8px;
    white-space: nowrap
}

.home3-empty {
    min-height: 335px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center
}

.home3-empty>iconify-icon {
    width: 48px;
    height: 48px;
    padding: 12px;
    border-radius: 50%;
    background: #eaf7f3;
    color: #119b7f;
    font-size: 24px
}

.home3-empty b {
    margin-top: 10px;
    color: #475467;
    font-size: 11px
}

.home3-empty small {
    margin-top: 4px;
    color: #98a2b3;
    font-size: 9px
}

.home3-empty.compact {
    min-height: 180px
}

.home3-pipeline {
    padding-bottom: 17px
}

.home3-stage-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px
}

.home3-stage-grid>a {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e9edf3;
    border-radius: 11px;
    background: #fbfcfe
}

.home3-stage-grid>a>span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #edf3ff;
    color: #487fff;
    font-size: 16px
}

.home3-stage-grid .purple>span {
    background: #f2edff;
    color: #7c5cfc
}

.home3-stage-grid .amber>span {
    background: #fff4db;
    color: #d48a00
}

.home3-stage-grid .red>span {
    background: #fff0ef;
    color: #d92d20
}

.home3-stage-grid .green>span {
    background: #e8faf5;
    color: #119b7f
}

.home3-stage-grid small,
.home3-stage-grid strong {
    display: block
}

.home3-stage-grid small {
    overflow: hidden;
    color: #667085;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.home3-stage-grid strong {
    margin-top: 5px;
    color: #172033;
    font-size: 17px
}

.home3-pipeline-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 8px 11px;
    border-radius: 8px;
    background: #f5f7fb;
    color: #7c879c;
    font-size: 9px
}

.home3-pipeline-hint a {
    color: var(--brand-primary, #487fff);
    font-weight: 700
}

.home3-bottom-grid {
    display: grid;
    grid-template-columns: .8fr 1fr 1fr;
    gap: 16px
}

.home3-bottom-grid>.home3-card {
    height: 300px;
    overflow: hidden
}

.home3-quality {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 8px
}

.home3-quality>div>span {
    display: flex;
    justify-content: space-between;
    gap: 8px
}

.home3-quality b {
    color: #475467;
    font-size: 9px
}

.home3-quality strong {
    color: #344054;
    font-size: 10px
}

.home3-quality i {
    display: block;
    height: 7px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef1f5
}

.home3-quality u {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #487fff
}

.home3-quality u.amber {
    background: #e59a12
}

.home3-quality u.green {
    background: #12a384
}

.home3-list-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #edf3ff;
    color: #487fff;
    font-size: 14px
}

.home3-bottom-grid .home3-list>a,
.home3-bottom-grid .home3-list>div {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    padding: 9px 1px
}

.home3-activity .tone-0 .home3-list-icon {
    background: #edf3ff;
    color: #487fff
}

.home3-activity .tone-1 .home3-list-icon {
    background: #f2edff;
    color: #7c5cfc
}

.home3-activity .tone-2 .home3-list-icon {
    background: #fff4db;
    color: #d48a00
}

.home3-activity .tone-3 .home3-list-icon {
    background: #e8faf5;
    color: #119b7f
}

.home3-activity .tone-4 .home3-list-icon {
    background: #fff0ef;
    color: #d92d20
}

@media(max-width:1200px) {
    .home3-metrics {
        grid-template-columns: 1fr 1fr
    }

    .home3-main-grid {
        grid-template-columns: 1fr
    }

    .home3-main-grid>.home3-card {
        height: auto
    }

    .home3-map-card {
        min-height: 480px
    }

    .home3-alerts {
        min-height: 320px
    }

    .home3-empty {
        min-height: 210px
    }

    .home3-stage-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .home3-bottom-grid {
        grid-template-columns: 1fr 1fr
    }

    .home3-bottom-grid>:last-child {
        grid-column: 1/-1
    }
}

@media(max-width:760px) {
    .home-premium-v3 {
        gap: 12px;
        margin-top: 14px
    }

    .home3-welcome {
        min-height: 250px;
        align-items: flex-start;
        flex-direction: column;
        padding: 23px 20px 88px
    }

    .home3-welcome h1 {
        font-size: 27px
    }

    .home3-welcome-actions {
        align-items: flex-start
    }

    .home3-metrics {
        grid-template-columns: 1fr;
        margin-top: -72px;
        padding: 0 10px
    }

    .home3-metric {
        height: 92px
    }

    .home3-card {
        padding: 17px;
        border-radius: 13px
    }

    .home3-map-shell {
        height: auto;
        grid-template-columns: 1fr
    }

    .home3-map-shell .dash-real-map {
        height: 330px
    }

    .home3-map-shell>aside {
        min-height: 145px
    }

    .home3-stage-grid {
        grid-template-columns: 1fr 1fr
    }

    .home3-stage-grid>a:last-child {
        grid-column: 1/-1
    }

    .home3-bottom-grid {
        grid-template-columns: 1fr
    }

    .home3-bottom-grid>:last-child {
        grid-column: auto
    }

    .home3-bottom-grid>.home3-card {
        height: auto;
        min-height: 280px
    }
}

/* Home v4 — composição alinhada ao dashboard Campanha */
.home-premium-v3 {
    gap: 16px;
    margin-top: 20px
}

.home3-welcome {
    min-height: 118px;
    align-items: center;
    padding: 22px 28px;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--brand-primary, var(--nav)) 0%, color-mix(in srgb, var(--brand-primary, var(--nav)) 70%, var(--brand-secondary, #0c1422)) 48%, var(--brand-secondary, #0c1422) 100%);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--brand-primary, #487fff) 22%, transparent)
}

.home3-welcome-profile {
    display: flex;
    align-items: center;
    gap: 18px
}

.home3-welcome-orb {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    display: grid !important;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 29px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .16)
}

.home3-welcome-profile>div>span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .78);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase
}

.home3-welcome h1 {
    margin-top: 7px;
    font-size: 24px
}

.home3-welcome p {
    margin-top: 5px;
    font-size: 11px
}

.home3-welcome-actions .btn {
    height: 38px;
    padding: 0 14px;
    font-size: 11px
}

.home3-metrics {
    gap: 16px;
    margin-top: 0;
    padding: 0
}

.home3-metric {
    height: 86px;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(16, 24, 40, .045)
}

.home3-metric:hover {
    transform: none;
    border-color: #cbd7ee
}

.home3-metric>span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 18px
}

.home3-metric small {
    font-size: 9px
}

.home3-metric strong {
    margin-top: 6px;
    font-size: 20px
}

.home3-card {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(16, 24, 40, .04)
}

.home3-card>header {
    margin-bottom: 15px
}

.home3-card>header h2 {
    font-size: 16px
}

.home3-card>header p {
    font-size: 10px
}

.home3-main-grid {
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 16px
}

.home3-main-grid>.home3-card {
    height: 430px
}

.home3-map-shell {
    height: 340px;
    grid-template-columns: minmax(0, 1fr) 165px
}

.home3-map-shell .dash-real-map {
    border-radius: 10px
}

.home3-pipeline {
    padding: 18px 20px
}

.home3-stage-grid>a {
    padding: 10px;
    border-radius: 9px
}

.home3-bottom-grid {
    gap: 16px
}

.home3-bottom-grid>.home3-card {
    height: 292px
}

@media(max-width:1200px) {
    .home3-main-grid {
        grid-template-columns: 1fr
    }

    .home3-main-grid>.home3-card {
        height: auto
    }

    .home3-map-card {
        min-height: 430px
    }
}

@media(max-width:760px) {
    .home-premium-v3 {
        margin-top: 14px
    }

    .home3-welcome {
        min-height: 220px;
        align-items: flex-start;
        padding: 20px;
        flex-direction: column
    }

    .home3-welcome-profile {
        align-items: flex-start
    }

    .home3-welcome-orb {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        font-size: 23px
    }

    .home3-welcome-actions {
        align-items: flex-start
    }

    .home3-metrics {
        grid-template-columns: 1fr
    }

    .home3-map-shell {
        height: auto;
        grid-template-columns: 1fr
    }

    .home3-map-shell .dash-real-map {
        height: 320px
    }

    .home3-bottom-grid {
        grid-template-columns: 1fr
    }

    .home3-bottom-grid>:last-child {
        grid-column: auto
    }

    .home3-bottom-grid>.home3-card {
        height: auto;
        min-height: 280px
    }
}

/* Cartograma nacional de cobertura */
.dashboard-premium .dash-coverage-map-card {
    padding: 26px 28px;
    background: linear-gradient(145deg, #fff 62%, #f6f8ff);
}

.dash-coverage-map-layout {
    display: grid;
    grid-template-columns: minmax(520px, 1.35fr) minmax(300px, .65fr);
    gap: 32px;
    align-items: center;
}

.dash-real-map {
    position: relative;
    min-width: 0;
    height: 430px;
    overflow: hidden;
    border: 1px solid #dfe5ee;
    border-radius: 16px;
    background: #e9eef3;
    cursor: grab;
    touch-action: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}

.dash-real-map.is-dragging {
    cursor: grabbing;
}

.dash-map-tiles,
.dash-map-markers {
    position: absolute;
    inset: 0;
}

.dash-map-tiles img {
    position: absolute;
    width: 256px;
    height: 256px;
    max-width: none;
    user-select: none;
}

.dash-map-marker {
    position: absolute;
    z-index: 3;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: #98a2b3;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .28);
    cursor: pointer;
    transform: translate(-50%, -100%) rotate(-45deg);
    transition: transform .16s;
}

.dash-map-marker::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #fff;
}

.dash-map-marker:hover {
    z-index: 5;
    transform: translate(-50%, -100%) rotate(-45deg) scale(1.18);
}

.dash-map-marker.is-verified {
    background: #12b895
}

.dash-map-marker.is-mapped {
    background: #e59a12
}

.dash-map-marker.is-unmapped {
    background: #e05252
}

.dash-map-controls {
    position: absolute;
    z-index: 7;
    top: 14px;
    left: 14px;
    display: flex;
    overflow: hidden;
    border: 1px solid #d8dee8;
    border-radius: 10px;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .12);
}

.dash-map-controls button {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #e3e7ed;
    background: #fff;
    color: #344054;
    font-size: 20px;
    line-height: 1;
    cursor: pointer
}

#mc-btn-pagar-cartao {
    display: flex;
    width: min(100%, 280px);
    margin: 24px auto 0;
}

.mc-boleto-barcode-visual {
    width: 100%;
    margin: 7px 0 10px;
    padding: 12px 10px;
    overflow: hidden;
    border: 1px solid #e1e7f0;
    border-radius: 10px;
    background: #fff;
}

.mc-boleto-barcode-visual svg {
    display: block;
    width: 100%;
    height: 72px;
}

.mc-boleto-payment-card {
    margin-bottom: 18px;
    padding: 15px;
    border: 1px solid #e3e8f1;
    border-radius: 13px;
    background: #fbfcfe;
}

.mc-boleto-payment-card .mc-copy-row {
    margin-bottom: 16px;
}

.mc-boleto-read-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #7b879b;
    font-size: 11px;
    text-align: center;
}

.mc-boleto-read-help iconify-icon {
    flex: 0 0 auto;
    color: var(--primary, #487fff);
    font-size: 15px;
}

.mc-boleto-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.mc-boleto-actions .btn {
    min-width: 142px;
}

@media (max-width: 520px) {
    .mc-boleto-actions {
        flex-direction: column;
    }

    .mc-boleto-actions .btn {
        width: 100%;
    }
}

.dash-real-map:fullscreen {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
    background: #d8e6ef
}

.dash-real-map:fullscreen .dash-map-controls {
    top: 22px;
    left: 22px
}

.dash-real-map:fullscreen .dash-map-popup {
    z-index: 12
}

.dash-map-controls [data-map-fullscreen] iconify-icon {
    font-size: 15px
}

.dash-map-controls button:last-child {
    border: 0
}

.dash-map-controls button:hover {
    background: #f3f6fb;
    color: #487fff
}

.dash-map-attribution {
    position: absolute;
    z-index: 6;
    right: 5px;
    bottom: 4px;
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .85);
    color: #526071;
    font-size: 8px;
    display: none;
}

.dash-map-popup {
    position: absolute;
    z-index: 9;
    width: min(320px, calc(100% - 24px));
    padding: 0;
    border: 1px solid #dfe5ee;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .2);
    pointer-events: auto;
}

.dash-map-popup::after {
    content: "";
    position: absolute;
    left: var(--popup-arrow-left, 109px);
    bottom: -7px;
    width: 12px;
    height: 12px;
    border-right: 1px solid #dfe5ee;
    border-bottom: 1px solid #dfe5ee;
    background: #fff;
    transform: rotate(45deg)
}

.dash-map-popup.is-below::after {
    top: -7px;
    bottom: auto;
    border: 0;
    border-top: 1px solid #dfe5ee;
    border-left: 1px solid #dfe5ee;
}

.dash-map-popup-heading {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 26px;
    gap: 11px;
    align-items: start;
    padding: 16px 17px 13px;
}

.dash-map-popup-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: #fff0ef;
    color: #dc3545;
    font-size: 24px;
}

.dash-map-popup-icon.is-residential {
    background: #eef4ff;
    color: #3157ee;
}

.dash-map-popup-icon.is-commercial {
    background: #fff0ef;
    color: #dc3545;
}

.dash-map-popup-icon.is-other {
    background: #eefaf7;
    color: #0a8f78;
}

.dash-map-popup-heading strong {
    display: block;
    color: #172033;
    font-size: 14px;
    line-height: 1.35;
}

.dash-map-popup-heading>div>span {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-top: 5px;
    color: #7c879c;
    font-size: 10.5px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.dash-map-popup-heading>div>span iconify-icon {
    flex: 0 0 auto;
    margin-top: 1px;
    font-size: 12px;
}

.dash-map-popup-close {
    display: grid;
    width: 26px;
    height: 26px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #667085;
    cursor: pointer;
}

.dash-map-popup-close:hover {
    background: #f2f4f7;
    color: #172033;
}

.dash-map-popup-content {
    padding: 0 17px 15px;
}

.dash-map-popup-label {
    display: block;
    margin-bottom: 3px;
    color: #8a96aa;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dash-map-popup-address,
.dash-map-popup-region {
    margin: 0;
    color: #4f5d73;
    font-size: 10.5px;
    line-height: 1.45;
}

.dash-map-popup-region {
    margin-top: 4px;
}

.dash-map-popup-region strong {
    color: #344054;
}

.dash-map-popup-content>small {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff0ef;
    color: #c62828;
    box-shadow: inset 0 0 0 1px rgba(216, 66, 66, .14);
    font-size: 9px;
    font-weight: 750;
}

.dash-map-popup-content>small i {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: currentColor;
}

.dash-map-popup-content>small.is-verified {
    background: #e8faf5;
    color: #087a63;
    box-shadow: inset 0 0 0 1px rgba(18, 184, 149, .16)
}

.dash-map-popup-content>small.is-mapped {
    background: #fff4db;
    color: #a56800;
    box-shadow: inset 0 0 0 1px rgba(229, 154, 18, .18)
}

.dash-map-popup-content>p:last-child {
    margin: 9px 0 0;
    color: #596579;
    font-size: 10.5px;
    line-height: 1.5;
}

.dash-map-popup-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 17px 14px;
    border-top: 1px solid #e8ecf2;
    background: #fbfcfe;
    border-radius: 0 0 15px 15px;
}

.dash-map-popup-actions>a,
.dash-map-popup-actions>button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 7px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--brand-primary, #487fff);
    font-size: 9px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}

.dash-map-popup-actions>a.is-primary {
    flex: 1 1 0;
    min-height: 34px;
    padding: 0 16px;
    background: var(--brand-primary, #487fff);
    color: #fff;
    box-shadow: 0 5px 12px rgba(49, 87, 238, .2);
}

.dash-map-popup-actions>a.is-maps {
    flex: 1 1 0;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #dfe5ee;
    color: #344054;
}

.dash-map-popup-actions>button {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #dfe5ee;
    color: #344054;
}

.dash-map-popup-actions>a.is-primary:hover {
    background: var(--brand-primary-dark, #2449d8);
    color: #fff;
}

.dash-map-popup-actions>a.is-maps:hover,
.dash-map-popup-actions>button:hover {
    background: #f5f7fb;
}

.ai-analysis-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 20px 22px;
}

.ai-analysis-action>div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ai-analysis-action small,
.ai-generated-result .ai-eyebrow {
    color: #667eea;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ai-analysis-action h2 {
    margin: 3px 0 4px;
    color: #172033;
    font-size: 16px;
}

.ai-analysis-action p {
    margin: 0;
    color: #758098;
    font-size: 11px;
}

.ai-analysis-action form {
    flex: 0 0 auto;
}

.ai-generated-result {
    margin-bottom: 18px;
    padding: 20px 22px;
    border-left: 3px solid var(--brand-primary, #487fff);
}

.ai-generated-result>div:last-child {
    margin-top: 10px;
    color: #46536a;
    font-size: 12px;
    line-height: 1.7;
}

.ai-case-summary {
    margin-bottom: 18px;
    padding: 20px 22px;
}

.ai-case-summary>header,
.ai-requirement-result>header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ai-case-summary h2,
.ai-requirement-result h2 {
    margin: 3px 0 4px;
    color: #172033;
    font-size: 16px;
}

.ai-case-summary header small,
.ai-requirement-result header small {
    color: #667eea;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ai-case-summary header p {
    margin: 0;
    color: #758098;
    font-size: 11px;
}

.ai-case-summary>.ai-generated-result {
    margin: 16px 0 0;
    padding: 16px 18px;
    background: #f8faff;
}

.ai-case-summary>.ai-generated-result small {
    display: block;
    margin-top: 10px;
    color: #8a96aa;
}

.ai-requirement-result {
    margin-bottom: 18px;
    padding: 20px 22px;
    border-left: 3px solid #7c5cff;
}

.ai-requirement-result>div {
    margin-top: 14px;
    color: #46536a;
    font-size: 12px;
    line-height: 1.7;
}

.client-row-menu form {
    margin: 0;
}

.client-row-menu form button {
    width: 100%;
}

@media (max-width: 760px) {
    .ai-analysis-action {
        align-items: stretch;
        flex-direction: column;
    }

    .ai-analysis-action form .btn {
        width: 100%;
    }

    .ai-case-summary>header,
    .ai-requirement-result>header {
        align-items: stretch;
        flex-direction: column;
    }
}

.dash-map-point-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 2px
}

.dash-map-point-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #667085;
    font-size: 9px
}

.dash-map-point-legend i {
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #e59a12;
    box-shadow: 0 0 0 1px #d6dce6
}

.dash-map-point-legend i.verified {
    background: #12a384
}

.dash-map-point-legend i.mapped {
    background: #487fff
}

.dash-map-location-summary {
    padding: 15px;
    border: 1px solid #e6ebf3;
    border-radius: 13px;
    background: #fff
}

.dash-map-location-summary strong,
.dash-map-location-summary span {
    display: block
}

.dash-map-location-summary strong {
    color: #172033;
    font-size: 24px
}

.dash-map-location-summary span {
    margin-top: 2px;
    color: #475467;
    font-size: 10px;
    font-weight: 700
}

.dash-map-location-summary p {
    margin: 7px 0 0;
    color: #98a2b3;
    font-size: 9px;
    line-height: 1.45
}

.dash-map-empty-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: #fff6e6;
    color: #a56800
}

.dash-map-empty-action>iconify-icon {
    font-size: 20px
}

.dash-map-empty-action span b,
.dash-map-empty-action span small {
    display: block
}

.dash-map-empty-action span b {
    font-size: 10px
}

.dash-map-empty-action span small {
    margin-top: 2px;
    font-size: 8px
}

.dash-brazil-map {
    min-width: 0;
    min-height: 390px;
    display: grid;
    grid-template-columns: repeat(11, minmax(38px, 1fr));
    grid-template-rows: repeat(8, 42px);
    gap: 6px;
    align-content: center;
    padding: 8px 16px;
    border-right: 1px solid #e8ecf3;
}

.dash-brazil-map>a {
    grid-row: var(--map-row);
    grid-column: var(--map-column);
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid #e3e8f0;
    border-radius: 10px;
    background: #f3f5f8;
    color: #98a2b3;
    box-shadow: 0 2px 4px rgba(16, 24, 40, .03);
    transition: transform .18s, box-shadow .18s, border-color .18s;
}

.dash-brazil-map>a:hover {
    z-index: 2;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 18px rgba(16, 24, 40, .13);
}

.dash-brazil-map b {
    font-size: 11px;
    line-height: 1;
}

.dash-brazil-map small {
    margin-top: 3px;
    font-size: 7px;
    opacity: .8;
}

.dash-brazil-map>a.level-1 {
    border-color: #cbd9ff;
    background: #eaf0ff;
    color: #386ee8;
}

.dash-brazil-map>a.level-2 {
    border-color: #91aeff;
    background: #bcd0ff;
    color: #1e4fbf;
}

.dash-brazil-map>a.level-3 {
    border-color: var(--brand-primary, #487fff);
    background: var(--brand-primary, #487fff);
    color: #fff;
    box-shadow: 0 5px 12px color-mix(in srgb, var(--brand-primary, #487fff) 24%, transparent);
}

.dash-coverage-map-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.dash-coverage-map-score {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e6ebf3;
    border-radius: 14px;
    background: #fff;
}

.dash-coverage-map-score>span {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    display: grid;
    place-items: center;
    border: 7px solid transparent;
    border-radius: 50%;
    background: linear-gradient(#fff, #fff) padding-box, conic-gradient(var(--brand-primary, #487fff) calc(var(--coverage)*1%), #e9edf4 0) border-box
}

.dash-coverage-map-score>span strong {
    color: #172033;
    font-size: 15px
}

.dash-coverage-map-score div b,
.dash-coverage-map-score div small {
    display: block
}

.dash-coverage-map-score div b {
    color: #344054;
    font-size: 12px
}

.dash-coverage-map-score div small {
    margin-top: 4px;
    color: #7c879c;
    font-size: 9px;
    line-height: 1.45
}

.dash-coverage-map-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    padding: 0 3px
}

.dash-coverage-map-legend span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #7c879c;
    font-size: 9px
}

.dash-coverage-map-legend i {
    width: 10px;
    height: 10px;
    border: 1px solid #e3e8f0;
    border-radius: 3px;
    background: #f3f5f8
}

.dash-coverage-map-legend span:nth-child(2) i {
    border-color: #cbd9ff;
    background: #eaf0ff
}

.dash-coverage-map-legend span:nth-child(3) i {
    border-color: #91aeff;
    background: #bcd0ff
}

.dash-coverage-map-legend span:nth-child(4) i {
    border-color: var(--brand-primary, #487fff);
    background: var(--brand-primary, #487fff)
}

.dash-coverage-state-list {
    padding-top: 14px;
    border-top: 1px solid #e8ecf3
}

.dash-coverage-state-list>strong {
    display: block;
    margin-bottom: 7px;
    color: #475467;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .06em
}

.dash-coverage-state-list>p {
    margin: 0;
    padding: 15px;
    border-radius: 10px;
    background: #f7f9fc;
    color: #98a2b3;
    font-size: 10px;
    line-height: 1.5
}

.dash-coverage-state-list>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 4px;
    border-bottom: 1px solid #eef1f5
}

.dash-coverage-state-list>a:last-child {
    border: 0
}

.dash-coverage-state-list span b,
.dash-coverage-state-list span small {
    display: block
}

.dash-coverage-state-list span b {
    color: #344054;
    font-size: 10px
}

.dash-coverage-state-list span small {
    margin-top: 2px;
    color: #98a2b3;
    font-size: 8px
}

.dash-coverage-state-list>a>strong {
    color: var(--brand-primary, #487fff);
    font-size: 12px
}

@media(max-width:1100px) {
    .dash-coverage-map-layout {
        grid-template-columns: 1fr
    }

    .dash-brazil-map {
        border-right: 0;
        border-bottom: 1px solid #e8ecf3
    }

    .dash-coverage-map-info {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .dash-coverage-state-list {
        grid-column: 1/-1
    }
}

@media(max-width:760px) {
    .dashboard-premium .dash-coverage-map-card {
        padding: 19px
    }

    .dash-real-map {
        height: 340px
    }

    .dash-brazil-map {
        min-height: 320px;
        grid-template-columns: repeat(11, minmax(24px, 1fr));
        grid-template-rows: repeat(8, 33px);
        gap: 3px;
        padding: 4px 0
    }

    .dash-brazil-map>a {
        min-width: 24px;
        border-radius: 6px
    }

    .dash-brazil-map b {
        font-size: 8px
    }

    .dash-brazil-map small {
        display: none
    }

    .dash-coverage-map-info {
        display: flex
    }

    .dash-coverage-map-score>span {
        width: 58px;
        height: 58px;
        flex-basis: 58px
    }

    .dash-coverage-map-legend {
        grid-template-columns: 1fr 1fr
    }
}

/* Dashboard premium — direção visual final */
.dashboard-premium {
    gap: 20px;
    margin-top: 20px;
    padding: 0 0 36px;
}

.dashboard-premium .dash-v2-head {
    position: relative;
    min-height: 210px;
    align-items: flex-start;
    overflow: hidden;
    padding: 36px 38px 78px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, var(--brand-primary, var(--nav)), var(--brand-secondary, #0c1422));
    box-shadow: 0 18px 45px rgba(30, 58, 138, .2);
}

.dashboard-premium .dash-v2-head::before {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -210px;
    width: 470px;
    height: 470px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 65px rgba(255, 255, 255, .035), 0 0 0 130px rgba(255, 255, 255, .025);
    pointer-events: none;
}

.dashboard-premium .dash-v2-head::after {
    content: "";
    position: absolute;
    top: 0;
    right: 24%;
    width: 1px;
    height: 100%;
    background: linear-gradient(transparent, rgba(255, 255, 255, .14), transparent);
    transform: rotate(22deg);
    pointer-events: none;
}

.dashboard-premium .dash-v2-head>div {
    position: relative;
    z-index: 1;
}

.dashboard-premium .dash-v2-eyebrow {
    margin-bottom: 14px;
    color: #bfdbfe;
    font-size: 11px;
    letter-spacing: .12em;
}

.dashboard-premium .dash-v2-head h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 750;
    letter-spacing: -.035em;
}

.dashboard-premium .dash-v2-head p {
    max-width: 590px;
    margin-top: 11px;
    color: #dbeafe;
    font-size: 14px;
    line-height: 1.6;
}

.dashboard-premium .dash-v2-head-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 9px;
}

.dashboard-premium .dash-v2-head-actions .btn {
    order: 1;
}

.dashboard-premium .dash-v2-date {
    order: 2;
    color: #dbeafe;
    font-size: 12px;
}

.dashboard-premium .dash-v2-head-actions .btn {
    height: 42px;
    padding: 0 17px;
    border-color: #fff;
    background: #fff;
    color: #1d4ed8;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .15);
}

.dashboard-premium .dash-v2-kpis {
    position: relative;
    z-index: 3;
    gap: 14px;
    margin: -78px 22px 0;
}

.dashboard-premium .dash-v2-kpi {
    height: 122px;
    grid-template-columns: 46px minmax(0, 1fr) 18px;
    gap: 14px;
    padding: 20px;
    border-color: #e3e8f2;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, .1);
}

.dashboard-premium .dash-v2-kpi:hover {
    transform: translateY(-4px);
    box-shadow: 0 17px 34px rgba(16, 24, 40, .13);
}

.dashboard-premium .dash-v2-kpi-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 22px;
}

.dashboard-premium .dash-v2-kpi>span:nth-child(2) {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
}

.dashboard-premium .dash-v2-kpi small {
    order: 1;
    color: #667085;
    font-size: 10px;
    letter-spacing: .045em;
}

.dashboard-premium .dash-v2-kpi strong {
    order: 2;
    color: #101828;
    font-size: 28px;
    line-height: 1.05;
}

.dashboard-premium .dash-v2-kpi em {
    order: 3;
    color: #98a2b3;
    font-size: 10px;
}

.dashboard-premium .dash-v2-card {
    padding: 24px;
    border-color: #e4e9f1;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(16, 24, 40, .055);
}

.dashboard-premium .dash-v2-card-head {
    margin-bottom: 22px;
}

.dashboard-premium .dash-v2-card-head span {
    margin-bottom: 6px;
    font-size: 10px;
    letter-spacing: .12em;
}

.dashboard-premium .dash-v2-card-head h2 {
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -.02em;
}

.dashboard-premium .dash-v2-card-head p {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
}

.dashboard-premium .dash-v2-card-head>a {
    padding: 7px 10px;
    border-radius: 8px;
    background: #f1f5ff;
    font-size: 11px;
}

.dashboard-premium .dash-v2-primary-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(340px, .72fr);
    gap: 20px;
}

.dashboard-premium .dash-v2-primary-grid>.dash-v2-card {
    height: 390px;
}

.dashboard-premium .dash-v2-pipeline {
    grid-template-columns: 155px minmax(0, 1fr);
}

.dashboard-premium .dash-v2-pipeline.is-empty {
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #fff 55%, #f7f9ff);
}

.dashboard-premium .dash-v2-pipeline-empty {
    flex: 1;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid #e6ebf5;
    border-radius: 15px;
    background: rgba(255, 255, 255, .86);
}

.dashboard-premium .dash-v2-pipeline-empty-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: linear-gradient(145deg, #e8efff, #f2edff);
    color: #487fff;
    font-size: 29px;
    box-shadow: inset 0 0 0 1px rgba(72, 127, 255, .08);
}

.dashboard-premium .dash-v2-pipeline-empty h3 {
    margin: 0;
    color: #172033;
    font-size: 17px;
}

.dashboard-premium .dash-v2-pipeline-empty p {
    max-width: 570px;
    margin: 7px 0 0;
    color: #7c879c;
    font-size: 11px;
    line-height: 1.55;
}

.dashboard-premium .dash-v2-pipeline-empty .btn {
    height: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.dashboard-premium .dash-v2-pipeline-preview {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
}

.dashboard-premium .dash-v2-pipeline-preview span {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 5px;
    border-radius: 8px;
    background: #f7f9fc;
    color: #7c879c;
    font-size: 9px;
    white-space: nowrap;
}

.dashboard-premium .dash-v2-pipeline-preview iconify-icon {
    color: #487fff;
    font-size: 13px;
}

.dashboard-premium .dash-v2-pipeline-preview .purple iconify-icon {
    color: #7c5cfc
}

.dashboard-premium .dash-v2-pipeline-preview .amber iconify-icon {
    color: #d48a00
}

.dashboard-premium .dash-v2-pipeline-preview .red iconify-icon {
    color: #d92d20
}

.dashboard-premium .dash-v2-pipeline-preview .green iconify-icon {
    color: #119b7f
}

.dashboard-premium .dash-v2-pipeline-total strong {
    font-size: 46px;
    letter-spacing: -.05em;
}

.dashboard-premium .dash-v2-pipeline-total span {
    max-width: 90px;
    font-size: 11px;
    line-height: 1.45;
}

.dashboard-premium .dash-v2-stages {
    align-content: center;
    gap: 12px;
    padding-left: 26px;
}

.dashboard-premium .dash-v2-stages>a {
    grid-template-columns: 38px minmax(0, 1fr) 34px;
    gap: 12px;
}

.dashboard-premium .dash-v2-stage-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 18px;
}

.dashboard-premium .dash-v2-stage-copy b {
    font-size: 12px;
}

.dashboard-premium .dash-v2-stage-copy small {
    height: 6px;
    margin-top: 7px;
}

.dashboard-premium .dash-v2-stages>a>strong {
    font-size: 16px;
}

.dashboard-premium .dash-v2-attention {
    overflow: hidden;
}

.dashboard-premium .dash-v2-list {
    overflow: auto;
    max-height: 285px;
    padding-right: 3px;
}

.dashboard-premium .dash-v2-list>a,
.dashboard-premium .dash-v2-list>div {
    grid-template-columns: 12px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 13px 2px;
}

.dashboard-premium .dash-v2-list b {
    font-size: 12px;
}

.dashboard-premium .dash-v2-list small {
    margin-top: 4px;
    font-size: 10px;
}

.dashboard-premium .dash-v2-list time {
    font-size: 10px;
}

.dashboard-premium .dash-v2-empty {
    min-height: 240px;
}

.dashboard-premium .dash-v2-empty>span {
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
    font-size: 25px;
}

.dashboard-premium .dash-v2-empty b {
    font-size: 13px;
}

.dashboard-premium .dash-v2-empty small {
    font-size: 11px;
}

.dashboard-premium .dash-v2-secondary-grid {
    grid-template-columns: 1.05fr 1.2fr .85fr;
    gap: 20px;
}

.dashboard-premium .dash-v2-secondary-grid>.dash-v2-card {
    height: 300px;
}

.dashboard-premium .dash-v2-base-grid {
    gap: 10px;
}

.dashboard-premium .dash-v2-base-grid a {
    min-height: 78px;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: #fafbfe;
}

.dashboard-premium .dash-v2-base-grid>a>iconify-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 18px;
}

.dashboard-premium .dash-v2-base-grid strong {
    font-size: 19px;
}

.dashboard-premium .dash-v2-base-grid small {
    margin-top: 3px;
    font-size: 10px;
}

.dashboard-premium .dash-v2-quality-list {
    gap: 17px;
}

.dashboard-premium .dash-v2-quality-list b {
    font-size: 11px;
}

.dashboard-premium .dash-v2-quality-list small {
    margin-top: 3px;
    font-size: 9px;
}

.dashboard-premium .dash-v2-quality-list strong {
    font-size: 13px;
}

.dashboard-premium .dash-v2-quality-list>div>i {
    height: 7px;
    margin-top: 4px;
}

.dashboard-premium .dash-v2-results-grid {
    height: 145px;
    align-items: center;
}

.dashboard-premium .dash-v2-results-grid span {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    font-size: 18px;
}

.dashboard-premium .dash-v2-results-grid strong {
    font-size: 22px;
}

.dashboard-premium .dash-v2-results-grid small {
    margin-top: 4px;
    font-size: 9px;
}

.dashboard-premium .dash-v2-bottom-grid {
    gap: 20px;
}

.dashboard-premium .dash-v2-bottom-grid>.dash-v2-card {
    height: 390px;
    overflow: hidden;
}

.dashboard-premium .dash-v2-bottom-grid .dash-v2-list {
    max-height: 292px;
}

.dashboard-premium .dash-v2-list-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 16px;
}

.dashboard-premium .dash-v2-list.compact>a,
.dashboard-premium .dash-v2-list.compact>div {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    padding: 11px 2px;
}

.dashboard-premium .dash-v2-audit-limit {
    align-self: center;
    padding: 6px 9px;
    border-radius: 999px;
    background: #f4f6fa;
    color: #7c879c;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-premium .dash-v2-audit-list {
    max-height: none !important;
    overflow: hidden;
}

.dashboard-premium .dash-v2-audit-list>div {
    min-height: 55px;
}

.dashboard-premium .dash-v2-audit-list .activity-tone-0 .dash-v2-list-icon {
    color: #487fff;
    background: #eaf1ff;
}

.dashboard-premium .dash-v2-audit-list .activity-tone-1 .dash-v2-list-icon {
    color: #7c5cfc;
    background: #f2edff;
}

.dashboard-premium .dash-v2-audit-list .activity-tone-2 .dash-v2-list-icon {
    color: #d48a00;
    background: #fff4db;
}

.dashboard-premium .dash-v2-audit-list .activity-tone-3 .dash-v2-list-icon {
    color: #119b7f;
    background: #e8faf5;
}

.dashboard-premium .dash-v2-audit-list .activity-tone-4 .dash-v2-list-icon {
    color: #d92d20;
    background: #fff0ef;
}

@media(max-width:1250px) {
    .dashboard-premium .dash-v2-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: -64px
    }

    .dashboard-premium .dash-v2-primary-grid {
        grid-template-columns: 1fr
    }

    .dashboard-premium .dash-v2-primary-grid>.dash-v2-card {
        height: auto;
        min-height: 390px
    }

    .dashboard-premium .dash-v2-secondary-grid {
        grid-template-columns: 1fr 1fr
    }

    .dashboard-premium .dash-v2-secondary-grid>:last-child {
        grid-column: 1/-1;
        height: 240px
    }
}

@media(max-width:760px) {
    .dashboard-premium {
        gap: 14px;
        margin-top: 14px
    }

    .dashboard-premium .dash-v2-head {
        min-height: 280px;
        padding: 26px 22px 104px;
        border-radius: 15px
    }

    .dashboard-premium .dash-v2-head h1 {
        font-size: 29px
    }

    .dashboard-premium .dash-v2-head-actions {
        width: 100%;
        align-items: flex-start;
        flex-direction: column
    }

    .dashboard-premium .dash-v2-kpis {
        grid-template-columns: 1fr;
        margin: -82px 12px 0;
        gap: 10px
    }

    .dashboard-premium .dash-v2-kpi {
        height: 106px
    }

    .dashboard-premium .dash-v2-card {
        padding: 19px;
        border-radius: 14px
    }

    .dashboard-premium .dash-v2-primary-grid>.dash-v2-card,
    .dashboard-premium .dash-v2-secondary-grid>.dash-v2-card,
    .dashboard-premium .dash-v2-bottom-grid>.dash-v2-card {
        height: auto;
        min-height: 320px
    }

    .dashboard-premium .dash-v2-pipeline {
        grid-template-columns: 1fr
    }

    .dashboard-premium .dash-v2-pipeline-empty {
        grid-template-columns: 48px 1fr;
        padding: 14px
    }

    .dashboard-premium .dash-v2-pipeline-empty-icon {
        width: 48px;
        height: 48px;
        font-size: 22px
    }

    .dashboard-premium .dash-v2-pipeline-empty .btn {
        grid-column: 1/-1;
        justify-content: center
    }

    .dashboard-premium .dash-v2-pipeline-preview {
        grid-template-columns: 1fr 1fr
    }

    .dashboard-premium .dash-v2-pipeline-preview span:last-child {
        grid-column: 1/-1
    }

    .dashboard-premium .dash-v2-secondary-grid,
    .dashboard-premium .dash-v2-bottom-grid {
        grid-template-columns: 1fr
    }

    .dashboard-premium .dash-v2-secondary-grid>:last-child {
        grid-column: auto
    }

    .dashboard-premium .dash-v2-results-grid {
        height: auto
    }

    .dashboard-premium .dash-v2-bottom-grid .dash-v2-list {
        max-height: none
    }
}

/* Dashboard executivo premium — arquitetura integral v6 */
.vrx-dashboard {
    --vrx-ink: #101828;
    --vrx-muted: #667085;
    --vrx-line: #e7ebf2;
    display: grid;
    gap: 20px;
    padding: 26px 28px 38px;
    background: #f5f7fb;
    color: var(--vrx-ink)
}

.vrx-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 0 2px 4px
}

.vrx-head>div:first-child>span,
.vrx-eyebrow {
    display: block;
    color: var(--primary, #4776f6);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em
}

.vrx-head h1 {
    margin: 6px 0 3px;
    font-size: 29px;
    line-height: 1.15;
    letter-spacing: -.035em
}

.vrx-head p {
    margin: 0;
    color: var(--vrx-muted);
    font-size: 13px
}

.vrx-head-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.vrx-head-actions .btn {
    height: 42px;
    min-height: 42px;
    gap: 7px;
    border-radius: 11px;
    padding-inline: 17px
}

.vrx-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(310px, .95fr);
    gap: 18px
}

.vrx-command {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) 180px;
    min-height: 330px;
    padding: 28px 34px 96px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--sidebar-start, #203b91) 0%, var(--sidebar-end, #536fe5) 100%);
    box-shadow: 0 20px 45px rgba(29, 55, 135, .18);
    color: #fff
}

.vrx-command:before,
.vrx-command:after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%
}

.vrx-command:before {
    width: 470px;
    height: 470px;
    right: -230px;
    top: -290px
}

.vrx-command:after {
    width: 330px;
    height: 330px;
    right: -145px;
    top: -205px
}

.vrx-command-copy {
    position: relative;
    z-index: 1;
    max-width: 560px
}

.vrx-command .vrx-eyebrow {
    color: #b9cbff
}

.vrx-command h2 {
    margin: 15px 0 12px;
    font-size: 31px;
    font-weight: 500;
    line-height: 1.13;
    letter-spacing: -.045em
}

.vrx-command h2 strong {
    font-weight: 800
}

.vrx-command-copy>p {
    max-width: 530px;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.65
}

.vrx-command-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 25px
}

.vrx-command-links a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 12px;
    font-weight: 700
}

.vrx-command-links a:first-child {
    padding: 11px 15px;
    border-radius: 10px;
    background: #fff;
    color: #2449b4
}

.vrx-score {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center
}

.vrx-score-ring {
    display: grid;
    width: 132px;
    height: 132px;
    padding: 9px;
    border-radius: 50%;
    background: conic-gradient(#5eead4 calc(var(--score)*1%), rgba(255, 255, 255, .13) 0)
}

.vrx-score-ring:before {
    content: "";
    grid-area: 1/1;
    border-radius: 50%;
    background: #274bba
}

.vrx-score-ring span {
    z-index: 1;
    grid-area: 1/1;
    display: grid;
    place-content: center;
    text-align: center
}

.vrx-score-ring strong {
    font-size: 35px;
    line-height: 1
}

.vrx-score-ring small {
    margin-top: 5px;
    color: #c6d3ff;
    font-size: 10px
}

.vrx-score>b {
    margin-top: 14px;
    font-size: 12px
}

.vrx-score>small {
    margin-top: 4px;
    color: #b9c8ed;
    font-size: 10px
}

.vrx-command-metrics {
    position: absolute;
    right: 34px;
    bottom: 22px;
    left: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .16)
}

.vrx-command-metrics div {
    padding: 17px 18px 0 0
}

.vrx-command-metrics div+div {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, .16)
}

.vrx-command-metrics small {
    display: block;
    color: #b9c8ed;
    font-size: 10px
}

.vrx-command-metrics strong {
    display: block;
    margin-top: 5px;
    font-size: 19px
}

.vrx-focus,
.vrx-panel,
.vrx-stat-rail {
    border: 1px solid var(--vrx-line);
    background: #fff;
    box-shadow: 0 8px 26px rgba(16, 24, 40, .045)
}

.vrx-focus {
    display: flex;
    min-height: 330px;
    padding: 25px;
    flex-direction: column;
    border-radius: 22px
}

.vrx-focus header {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.vrx-focus-state {
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    margin-top: 18px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800
}

.vrx-focus-state.success {
    background: #ecfdf3;
    color: #027a48
}

.vrx-focus-state.warning {
    background: #fff4e5;
    color: #b54708
}

.vrx-focus>h2 {
    max-width: 330px;
    margin: 14px 0 8px;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -.025em
}

.vrx-focus>p,
.vrx-focus>time {
    margin: 0;
    color: var(--vrx-muted);
    font-size: 12px
}

.vrx-focus>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f2f5ff;
    color: #315bea;
    font-size: 11px;
    font-weight: 800
}

.vrx-focus footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 15px;
    border-top: 1px solid var(--vrx-line)
}

.vrx-focus footer div+div {
    padding-left: 18px;
    border-left: 1px solid var(--vrx-line)
}

.vrx-focus footer strong {
    display: block;
    font-size: 18px
}

.vrx-focus footer small {
    color: #98a2b3;
    font-size: 10px
}

.vrx-stat-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 16px;
    overflow: hidden
}

.vrx-stat-rail>a {
    display: grid;
    grid-template-columns: 38px 1fr 18px;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 14px 19px;
    color: inherit
}

.vrx-stat-rail>a+a {
    border-left: 1px solid var(--vrx-line)
}

.vrx-stat-rail>a>iconify-icon:first-child {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: #edf3ff;
    color: #4776f6;
    font-size: 19px
}

.vrx-stat-rail>a:nth-child(2)>iconify-icon:first-child {
    background: #eafaf6;
    color: #0ca789
}

.vrx-stat-rail>a:nth-child(3)>iconify-icon:first-child {
    background: #fff5df;
    color: #dc8a00
}

.vrx-stat-rail>a:nth-child(4)>iconify-icon:first-child {
    background: #f3edff;
    color: #7c4dff
}

.vrx-stat-rail span small {
    display: block;
    color: #8791a5;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase
}

.vrx-stat-rail span strong {
    display: block;
    margin-top: 3px;
    font-size: 18px
}

.vrx-stat-rail>a>iconify-icon:last-child {
    color: #bdc5d2
}

.vrx-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, .8fr);
    gap: 18px
}

.vrx-panel {
    min-width: 0;
    border-radius: 18px
}

.vrx-panel>header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 23px;
    border-bottom: 1px solid var(--vrx-line)
}

.vrx-panel h2 {
    margin: 5px 0 0;
    font-size: 17px;
    letter-spacing: -.02em
}

.vrx-panel header p {
    margin: 5px 0 0;
    color: var(--vrx-muted);
    font-size: 11px
}

.vrx-panel header a,
.vrx-quality>a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #315bea;
    font-size: 10px;
    font-weight: 800
}

.vrx-map-canvas {
    position: relative;
    height: 388px;
    padding: 14px
}

.vrx-map-canvas .dash-real-map {
    height: 100%;
    border: 0;
    border-radius: 13px
}

.vrx-map-overlay {
    position: absolute;
    top: 31px;
    right: 31px;
    display: flex;
    width: 150px;
    padding: 15px;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 12px;
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 12px 30px rgba(16, 24, 40, .12);
    backdrop-filter: blur(9px)
}

.vrx-map-overlay>strong {
    width: 100%;
    font-size: 21px;
    text-align: center
}

.vrx-map-overlay>span {
    width: 100%;
    margin-bottom: 12px;
    color: #8791a5;
    font-size: 9px;
    text-align: center
}

.vrx-map-overlay i {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: #667085;
    font-size: 9px;
    font-style: normal
}

.vrx-map-overlay i b {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d0d5dd
}

.vrx-map-overlay i:first-of-type b {
    background: #12b895
}

.vrx-map-overlay i:nth-of-type(2) b {
    background: #e59a12
}

.vrx-map-overlay i:nth-of-type(3) b {
    background: #e05252
}

.vrx-journey {
    padding-bottom: 20px
}

.vrx-journey-total {
    padding: 22px 23px 8px
}

.vrx-journey-total strong {
    display: block;
    font-size: 29px
}

.vrx-journey-total span {
    color: #8791a5;
    font-size: 10px
}

.vrx-journey-list {
    padding: 4px 15px
}

.vrx-journey-list a {
    display: grid;
    grid-template-columns: 36px 1fr 25px;
    align-items: center;
    gap: 10px;
    padding: 9px;
    color: inherit
}

.vrx-journey-list a>span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: #edf3ff;
    color: #4776f6
}

.vrx-journey-list a:nth-child(2)>span {
    background: #f4edff;
    color: #805ad5
}

.vrx-journey-list a:nth-child(3)>span {
    background: #fff4dd;
    color: #cc8300
}

.vrx-journey-list a:nth-child(4)>span {
    background: #ffeded;
    color: #e5484d
}

.vrx-journey-list a:nth-child(5)>span {
    background: #e7faf5;
    color: #0ca789
}

.vrx-journey-list b {
    font-size: 11px
}

.vrx-journey-list i {
    display: block;
    height: 4px;
    margin-top: 7px;
    overflow: hidden;
    border-radius: 99px;
    background: #eef1f5
}

.vrx-journey-list u {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #4776f6
}

.vrx-journey-list strong {
    text-align: right;
    font-size: 12px
}

.vrx-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.vrx-bottom-grid>.vrx-panel {
    min-height: 310px
}

.vrx-quality {
    padding-bottom: 19px
}

.vrx-quality>header {
    display: block
}

.vrx-quality>div {
    padding: 12px 23px 0
}

.vrx-quality>div span {
    display: flex;
    justify-content: space-between
}

.vrx-quality>div b,
.vrx-quality>div strong {
    font-size: 10px
}

.vrx-quality>div i {
    display: block;
    height: 5px;
    margin-top: 8px;
    border-radius: 99px;
    background: #eef1f5
}

.vrx-quality>div u {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #4776f6, #20c5ac)
}

.vrx-quality>a {
    margin: 22px 23px 0
}

.vrx-feed {
    padding: 8px 15px
}

.vrx-feed>a,
.vrx-feed>div {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px;
    color: inherit
}

.vrx-feed span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: #edf3ff;
    color: #4776f6
}

.vrx-feed .tone-1 span {
    background: #e9faf5;
    color: #0ca789
}

.vrx-feed .tone-2 span {
    background: #fff4df;
    color: #d78b00
}

.vrx-feed .tone-3 span {
    background: #f4edff;
    color: #805ad5
}

.vrx-feed .tone-4 span {
    background: #ffeded;
    color: #e5484d
}

.vrx-feed b {
    display: block;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.vrx-feed small,
.vrx-feed time {
    color: #98a2b3;
    font-size: 9px
}

.vrx-audit header em {
    color: #98a2b3;
    font-size: 9px;
    font-style: normal
}

.vrx-empty {
    display: flex;
    min-height: 210px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center
}

.vrx-empty>iconify-icon {
    display: grid;
    width: 43px;
    height: 43px;
    margin-bottom: 10px;
    place-items: center;
    border-radius: 13px;
    background: #edf3ff;
    color: #4776f6;
    font-size: 21px
}

.vrx-empty b {
    font-size: 11px
}

.vrx-empty small {
    margin-top: 4px;
    color: #98a2b3;
    font-size: 9px
}

@media(max-width:1180px) {

    .vrx-top-grid,
    .vrx-main-grid {
        grid-template-columns: 1fr
    }

    .vrx-bottom-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .vrx-audit {
        grid-column: 1/-1
    }

    .vrx-command {
        min-height: 320px
    }
}

@media(max-width:760px) {
    .vrx-dashboard {
        padding: 18px 13px
    }

    .vrx-head {
        align-items: flex-start;
        flex-direction: column
    }

    .vrx-head-actions {
        width: 100%;
        justify-content: space-between
    }

    .vrx-head h1 {
        font-size: 24px
    }

    .vrx-command {
        grid-template-columns: 1fr;
        padding: 25px 23px 125px
    }

    .vrx-command h2 {
        font-size: 25px
    }

    .vrx-score {
        display: none
    }

    .vrx-command-metrics {
        right: 23px;
        left: 23px
    }

    .vrx-command-metrics div {
        padding-right: 8px
    }

    .vrx-command-metrics div+div {
        padding-left: 8px
    }

    .vrx-command-metrics strong {
        font-size: 15px
    }

    .vrx-stat-rail {
        grid-template-columns: 1fr 1fr
    }

    .vrx-stat-rail>a:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--vrx-line)
    }

    .vrx-stat-rail>a:nth-child(4) {
        border-top: 1px solid var(--vrx-line)
    }

    .vrx-bottom-grid {
        grid-template-columns: 1fr
    }

    .vrx-audit {
        grid-column: auto
    }

    .vrx-map-overlay {
        display: none
    }
}

/* O destaque principal herda exatamente o gradiente configurado para o menu. */
.vrx-command {
    background: linear-gradient(180deg, var(--brand-primary, var(--nav)), var(--brand-secondary, #0c1422));
    box-shadow: 0 20px 45px color-mix(in srgb, var(--brand-primary, var(--nav)) 20%, transparent);
}

.vrx-score-ring:before {
    background: color-mix(in srgb, var(--brand-primary, var(--nav)) 72%, var(--brand-secondary, #0c1422))
}

.vrx-command-links a:first-child {
    color: var(--brand-primary, var(--primary, #487fff))
}

.dash-map-empty {
    position: absolute;
    z-index: 8;
    top: 50%;
    left: 50%;
    display: flex;
    width: min(310px, calc(100% - 40px));
    padding: 18px;
    align-items: center;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 14px;
    background: rgba(255, 255, 255, .93);
    box-shadow: 0 14px 35px rgba(16, 24, 40, .16);
    text-align: center;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(10px)
}

.dash-map-empty>span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 11px;
    background: #edf3ff;
    color: var(--brand-primary, #487fff);
    font-size: 20px
}

.dash-map-empty strong {
    margin-top: 10px;
    font-size: 11px
}

.dash-map-empty small {
    max-width: 245px;
    margin-top: 5px;
    color: #7c879c;
    font-size: 9px;
    line-height: 1.5
}

.dash-map-empty a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--brand-primary, #487fff);
    color: #fff;
    font-size: 9px;
    font-weight: 800
}

.vrx-head-actions {
    align-items: center;
    flex-direction: row;
    gap: 10px
}

@media(max-width:760px) {
    .vrx-head-actions {
        width: auto;
        align-self: flex-end;
        align-items: center
    }
}

/* Linguagem visual da index: todos os ícones de contexto usam invólucro circular. */
.vrx-stat-rail>a>iconify-icon:first-child,
.vrx-journey-list a>span,
.vrx-feed span,
.vrx-empty>iconify-icon,
.dash-map-empty>span {
    border-radius: 50%
}

/* Resumo da base no padrão estrutural do Campanha. */
.vrx-base-summary {
    padding: 18px 20px 20px;
    border: 1px solid var(--vrx-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(16, 24, 40, .045)
}

.vrx-base-summary>header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px
}

.vrx-base-title {
    display: flex;
    align-items: center;
    gap: 13px
}

.vrx-base-title>span {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 50%;
    background: #eaf1ff;
    color: #487fff;
    font-size: 22px
}

.vrx-base-title h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -.025em
}

.vrx-base-title p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 10px
}

.vrx-base-summary>header>a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    color: #344054;
    font-size: 9px;
    font-weight: 800
}

.vrx-base-summary .vrx-stat-rail {
    gap: 11px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible
}

.vrx-base-summary .vrx-stat-rail>a {
    position: relative;
    min-height: 80px;
    padding: 12px 16px;
    border: 1px solid #e1e6ef !important;
    border-radius: 11px;
    overflow: hidden;
    background: #fff
}

.vrx-base-summary .vrx-stat-rail>a:hover {
    border-color: #cbd5e6 !important;
    box-shadow: 0 7px 18px rgba(16, 24, 40, .06)
}

.vrx-base-summary .vrx-stat-rail span small {
    font-size: 9px;
    text-transform: none
}

.vrx-base-summary .vrx-stat-rail span b {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 3px;
    color: #8791a5;
    font-size: 9px;
    font-weight: 500
}

.vrx-base-summary .vrx-stat-rail span strong {
    margin: 0;
    color: #101828;
    font-size: 19px
}

.vrx-base-summary .vrx-stat-rail>a>i {
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 88px;
    height: 2px;
    background: #6f96ff
}

.vrx-base-summary .vrx-stat-rail>a:nth-child(2)>i {
    background: #48c7a8
}

.vrx-base-summary .vrx-stat-rail>a:nth-child(3)>i {
    background: #f2ad46
}

.vrx-base-summary .vrx-stat-rail>a:nth-child(4)>i {
    background: #9b78ff
}

@media(max-width:760px) {
    .vrx-base-summary {
        padding: 15px
    }

    .vrx-base-summary>header {
        align-items: flex-start
    }

    .vrx-base-summary>header>a {
        padding: 8px;
        font-size: 0
    }

    .vrx-base-summary>header>a iconify-icon {
        font-size: 16px
    }

    .vrx-base-summary .vrx-stat-rail {
        grid-template-columns: 1fr
    }

    .vrx-base-summary .vrx-stat-rail>a {
        min-height: 76px
    }
}

.vrx-section-head {
    min-height: 82px
}

.vrx-section-title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px
}

.vrx-section-title>span {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 50%;
    background: #eaf1ff;
    color: #487fff;
    font-size: 21px
}

.vrx-section-title>div {
    min-width: 0
}

.vrx-section-title h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 500
}

.vrx-section-title p {
    overflow: hidden;
    margin: 4px 0 0 !important;
    color: #667085 !important;
    font-size: 9px !important;
    text-overflow: ellipsis;
    white-space: nowrap
}

.vrx-section-head>a {
    flex: 0 0 auto
}

.vrx-journey .vrx-section-title>span {
    background: #f2edff;
    color: #7c5cfc
}

.vrx-quality .vrx-section-title>span {
    background: #e8faf5;
    color: #16a085
}

.vrx-today .vrx-section-title>span {
    background: #fff4db;
    color: #d48a00
}

.vrx-audit .vrx-section-title>span {
    background: #f2edff;
    color: #7c5cfc
}

@media(max-width:760px) {
    .vrx-section-head {
        align-items: flex-start !important
    }

    .vrx-section-title p {
        white-space: normal
    }

    .vrx-section-head>a {
        font-size: 0 !important
    }

    .vrx-section-head>a iconify-icon {
        font-size: 15px
    }
}

/* Refinamento dos três painéis operacionais inferiores. */
.vrx-bottom-grid>.vrx-panel {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(16, 24, 40, .055);
    transition: border-color .2s, box-shadow .2s, transform .2s
}

.vrx-bottom-grid>.vrx-panel:hover {
    border-color: #d8deea;
    box-shadow: 0 16px 38px rgba(16, 24, 40, .075);
    transform: translateY(-2px)
}

.vrx-bottom-grid>.vrx-panel:before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 22px;
    left: 22px;
    height: 2px;
    border-radius: 0 0 99px 99px;
    background: linear-gradient(90deg, transparent, #25bda4, transparent);
    opacity: .75
}

.vrx-bottom-grid>.vrx-today:before {
    background: linear-gradient(90deg, transparent, #e9a229, transparent)
}

.vrx-bottom-grid>.vrx-audit:before {
    background: linear-gradient(90deg, transparent, #805ad5, transparent)
}

.vrx-bottom-grid .vrx-section-head {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #fff, #fcfdff)
}

.vrx-quality {
    display: flex;
    flex-direction: column
}

.vrx-quality>div {
    margin: 10px 17px 0;
    padding: 11px 13px;
    border: 1px solid #edf0f5;
    border-radius: 10px;
    background: #fbfcfe
}

.vrx-quality>div+div {
    margin-top: 7px
}

.vrx-quality>div span {
    align-items: center
}

.vrx-quality>div b {
    color: #475467;
    font-size: 9px
}

.vrx-quality>div strong {
    min-width: 30px;
    color: #344054;
    text-align: right
}

.vrx-quality>div i {
    height: 6px;
    margin-top: 9px;
    background: #e9edf3;
    overflow: hidden
}

.vrx-quality>div u {
    box-shadow: 0 0 12px rgba(32, 197, 172, .22)
}

.vrx-quality>a {
    width: max-content;
    margin: auto 22px 18px;
    padding: 8px 11px;
    border-radius: 8px;
    background: #f1f5ff
}

.vrx-today {
    display: flex;
    flex-direction: column
}

.vrx-today .vrx-empty {
    position: relative;
    min-height: 0;
    margin: 17px;
    flex: 1;
    border: 1px dashed #dce3ef;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 25%, rgba(72, 127, 255, .08), transparent 38%), #fbfcff
}

.vrx-today .vrx-empty:before,
.vrx-today .vrx-empty:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: #edf3ff
}

.vrx-today .vrx-empty:before {
    width: 7px;
    height: 7px;
    top: 24px;
    left: 23%
}

.vrx-today .vrx-empty:after {
    width: 5px;
    height: 5px;
    right: 25%;
    bottom: 28px
}

.vrx-today .vrx-empty>iconify-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
    border: 1px solid #dce7ff;
    background: #fff;
    box-shadow: 0 8px 20px rgba(72, 127, 255, .11);
    font-size: 24px
}

.vrx-today .vrx-empty b {
    font-size: 12px
}

.vrx-today .vrx-empty small {
    font-size: 9px
}

.vrx-audit {
    display: flex;
    flex-direction: column
}

.vrx-audit .vrx-feed {
    position: relative;
    padding: 10px 15px 13px;
    flex: 1
}

.vrx-audit .vrx-feed:before {
    content: "";
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 39px;
    width: 1px;
    background: linear-gradient(#dbe4f2, #edf1f6)
}

.vrx-audit .vrx-feed>div {
    position: relative;
    z-index: 1;
    min-height: 48px;
    padding: 10px 7px;
    border-radius: 9px;
    transition: background .18s
}

.vrx-audit .vrx-feed>div+div {
    margin-top: 6px
}

.vrx-audit .vrx-feed>div:hover {
    background: #f7f9fc
}

.vrx-audit .vrx-feed span {
    width: 34px;
    height: 34px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #e8edf4
}

.vrx-audit .vrx-feed b {
    font-size: 9px
}

.vrx-audit .vrx-feed time {
    padding: 4px 7px;
    border-radius: 99px;
    background: #f5f7fa;
    white-space: nowrap
}

.vrx-audit header em {
    padding: 5px 8px;
    border-radius: 99px;
    background: #f5f2ff;
    color: #7654c4;
    font-weight: 700
}

@media(max-width:760px) {
    .vrx-bottom-grid>.vrx-panel {
        min-height: 320px
    }

    .vrx-bottom-grid>.vrx-panel:hover {
        transform: none
    }
}

/* Interação dos indicadores no mesmo comportamento do Campanha. */
.vrx-base-summary .vrx-stat-rail>a {
    transform: translateY(0);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease, background .22s ease
}

.vrx-base-summary .vrx-stat-rail>a:hover,
.vrx-base-summary .vrx-stat-rail>a:focus-visible {
    z-index: 2;
    border-color: #9bb5ff !important;
    background: linear-gradient(180deg, #fff, #f8faff);
    box-shadow: 0 12px 24px rgba(72, 127, 255, .13);
    transform: translateY(-4px);
    outline: 0
}

.vrx-base-summary .vrx-stat-rail>a:nth-child(2):hover,
.vrx-base-summary .vrx-stat-rail>a:nth-child(2):focus-visible {
    border-color: #83d9c5 !important;
    box-shadow: 0 12px 24px rgba(22, 160, 133, .12)
}

.vrx-base-summary .vrx-stat-rail>a:nth-child(3):hover,
.vrx-base-summary .vrx-stat-rail>a:nth-child(3):focus-visible {
    border-color: #f0c77c !important;
    box-shadow: 0 12px 24px rgba(212, 138, 0, .12)
}

.vrx-base-summary .vrx-stat-rail>a:nth-child(4):hover,
.vrx-base-summary .vrx-stat-rail>a:nth-child(4):focus-visible {
    border-color: #bca5ff !important;
    box-shadow: 0 12px 24px rgba(124, 92, 252, .12)
}

.vrx-base-summary .vrx-stat-rail>a>iconify-icon:first-child {
    transition: transform .22s ease, box-shadow .22s ease
}

.vrx-base-summary .vrx-stat-rail>a:hover>iconify-icon:first-child,
.vrx-base-summary .vrx-stat-rail>a:focus-visible>iconify-icon:first-child {
    box-shadow: 0 6px 13px rgba(72, 127, 255, .16);
    transform: scale(1.08)
}

.vrx-base-summary .vrx-stat-rail>a>iconify-icon:nth-of-type(2) {
    transition: color .22s ease, transform .22s ease
}

.vrx-base-summary .vrx-stat-rail>a:hover>iconify-icon:nth-of-type(2),
.vrx-base-summary .vrx-stat-rail>a:focus-visible>iconify-icon:nth-of-type(2) {
    color: #487fff;
    transform: translate(3px, -3px)
}

.vrx-base-summary .vrx-stat-rail>a>i {
    right: 20px;
    width: auto;
    overflow: hidden;
    transform: scaleX(.28);
    transform-origin: left center;
    transition: transform 2s linear
}

.vrx-base-summary .vrx-stat-rail>a>i:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
    transform: translateX(-110%)
}

.vrx-base-summary .vrx-stat-rail>a:hover>i,
.vrx-base-summary .vrx-stat-rail>a:focus-visible>i {
    width: auto;
    transform: scaleX(1)
}

.vrx-base-summary .vrx-stat-rail>a:hover>i:after,
.vrx-base-summary .vrx-stat-rail>a:focus-visible>i:after {
    animation: vrx-line-run 1.85s .12s linear both
}

@keyframes vrx-line-run {
    to {
        transform: translateX(110%)
    }
}

@media(prefers-reduced-motion:reduce) {

    .vrx-base-summary .vrx-stat-rail>a,
    .vrx-base-summary .vrx-stat-rail>a>i,
    .vrx-base-summary .vrx-stat-rail>a>iconify-icon {
        transition: none
    }
}

.vrx-base-summary .vrx-stat-rail span b {
    align-items: center;
    line-height: 1
}

.vrx-base-summary .vrx-stat-rail span strong {
    display: inline-flex;
    align-items: center;
    line-height: 1
}

.vrx-base-summary .vrx-stat-rail>a>span {
    align-self: center
}

/* Efeito copiado do .dash-team-role do Campanha. */
.vrx-base-summary .vrx-stat-rail>a {
    transition: background .16s ease;
    transform: none
}

.vrx-base-summary .vrx-stat-rail>a:hover,
.vrx-base-summary .vrx-stat-rail>a:focus-visible {
    border-color: #e1e6ef !important;
    background: rgba(72, 127, 255, .055);
    box-shadow: none;
    transform: none
}

.vrx-base-summary .vrx-stat-rail>a:nth-child(2):hover,
.vrx-base-summary .vrx-stat-rail>a:nth-child(2):focus-visible {
    border-color: #e1e6ef !important;
    background: rgba(22, 160, 133, .055);
    box-shadow: none
}

.vrx-base-summary .vrx-stat-rail>a:nth-child(3):hover,
.vrx-base-summary .vrx-stat-rail>a:nth-child(3):focus-visible {
    border-color: #e1e6ef !important;
    background: rgba(212, 138, 0, .055);
    box-shadow: none
}

.vrx-base-summary .vrx-stat-rail>a:nth-child(4):hover,
.vrx-base-summary .vrx-stat-rail>a:nth-child(4):focus-visible {
    border-color: #e1e6ef !important;
    background: rgba(124, 92, 252, .055);
    box-shadow: none
}

.vrx-base-summary .vrx-stat-rail>a:hover>iconify-icon:first-child,
.vrx-base-summary .vrx-stat-rail>a:focus-visible>iconify-icon:first-child {
    box-shadow: none;
    transform: none
}

.vrx-base-summary .vrx-stat-rail>a:hover>iconify-icon:nth-of-type(2),
.vrx-base-summary .vrx-stat-rail>a:focus-visible>iconify-icon:nth-of-type(2) {
    transform: none
}

.vrx-base-summary .vrx-stat-rail>a>i {
    right: 20px;
    width: auto;
    opacity: .65;
    transform: scaleX(.28);
    transform-origin: left;
    transition: transform .18s ease, opacity .18s ease
}

.vrx-base-summary .vrx-stat-rail>a>i:after {
    display: none
}

.vrx-base-summary .vrx-stat-rail>a:hover>i,
.vrx-base-summary .vrx-stat-rail>a:focus-visible>i {
    width: auto;
    opacity: 1;
    transform: scaleX(1)
}

/* Legibilidade da index em telas desktop. */
.vrx-head p {
    font-size: 14px;
    line-height: 1.5
}

.vrx-command-copy>p {
    font-size: 14px
}

.vrx-command-metrics small {
    font-size: 11px
}

.vrx-command-links a {
    font-size: 12px
}

.vrx-score>small {
    font-size: 11px
}

.vrx-focus>p,
.vrx-focus>time {
    font-size: 13px
}

.vrx-focus>a {
    font-size: 12px
}

.vrx-focus footer small {
    font-size: 11px
}

.vrx-base-title p {
    font-size: 11px
}

.vrx-base-summary>header>a {
    font-size: 10px
}

.vrx-base-summary .vrx-stat-rail span small {
    font-size: 10px
}

.vrx-base-summary .vrx-stat-rail span b {
    font-size: 10px
}

.vrx-section-title p {
    font-size: 10.5px !important;
    line-height: 1.45
}

.vrx-panel header a,
.vrx-quality>a {
    font-size: 11px
}

.vrx-journey-total span {
    font-size: 11px
}

.vrx-journey-list b {
    font-size: 12px
}

.vrx-journey-list strong {
    font-size: 13px
}

.vrx-quality>div b,
.vrx-quality>div strong {
    font-size: 11px
}

.vrx-feed b,
.vrx-audit .vrx-feed b {
    font-size: 11px
}

.vrx-feed small,
.vrx-feed time {
    font-size: 10px
}

.vrx-audit .vrx-feed time {
    font-size: 9.5px
}

.vrx-audit header em {
    font-size: 10px
}

.vrx-empty b,
.vrx-today .vrx-empty b {
    font-size: 12px
}

.vrx-empty small,
.vrx-today .vrx-empty small {
    font-size: 10px
}

.vrx-map-overlay>span,
.vrx-map-overlay i {
    font-size: 10px
}

.dash-map-empty strong {
    font-size: 12px
}

.dash-map-empty small {
    font-size: 10px
}

.vrx-quality>header.vrx-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.vrx-bottom-grid {
    align-items: stretch
}

.vrx-bottom-grid>.vrx-panel {
    height: 100%;
    align-self: stretch
}

.vrx-quality {
    height: 100%
}

.vrx-quality>div {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    justify-content: center
}

.vrx-quality>div:last-child {
    margin-bottom: 16px
}

.vrx-today .vrx-empty {
    min-height: 0
}

.vrx-audit .vrx-feed {
    min-height: 0
}

.vrx-quality>div+div {
    margin-top: 11px
}

.vrx-quality {
    display: grid;
    grid-template-rows: auto repeat(3, minmax(0, 1fr));
    gap: 11px;
    padding-bottom: 16px
}

.vrx-quality>div,
.vrx-quality>div+div,
.vrx-quality>div:last-child {
    height: auto;
    margin: 0 17px;
    flex: none
}

.vrx-quality>header {
    margin-bottom: 0
}

.vrx-quality>header {
    margin-bottom: 6px
}

/* Movimento orbital inspirado no site Campanha. */
.vrx-score {
    isolation: isolate
}

.vrx-score-ring {
    position: relative;
    animation: vrx-score-float 5.5s ease-in-out infinite
}

.vrx-score-ring:after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -13px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-top-color: rgba(94, 234, 212, .9);
    border-right-color: rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, .035);
    animation: vrx-score-orbit 9s linear infinite
}

.vrx-score-ring span:after {
    content: "";
    position: absolute;
    top: -13px;
    left: 50%;
    width: 7px;
    height: 7px;
    border: 2px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    background: #5eead4;
    box-shadow: 0 0 12px rgba(94, 234, 212, .9);
    transform: translateX(-50%);
    animation: vrx-score-dot 9s linear infinite;
    transform-origin: 3px 79px
}

@keyframes vrx-score-orbit {
    to {
        transform: rotate(360deg)
    }
}

@keyframes vrx-score-dot {
    from {
        transform: translateX(-50%) rotate(0)
    }

    to {
        transform: translateX(-50%) rotate(360deg)
    }
}

@keyframes vrx-score-float {

    0%,
    100% {
        translate: 0 0;
        filter: drop-shadow(0 8px 14px rgba(15, 23, 42, .08))
    }

    50% {
        translate: 0 -5px;
        filter: drop-shadow(0 14px 20px rgba(94, 234, 212, .18))
    }
}

@media(prefers-reduced-motion:reduce) {

    .vrx-score-ring,
    .vrx-score-ring:after,
    .vrx-score-ring span:after {
        animation: none
    }
}

/* Compatibilidade e visibilidade da animação orbital. */
.vrx-score-ring:after {
    z-index: 2;
    border-width: 2px;
    border-style: dashed;
    border-color: rgba(255, 255, 255, .18);
    border-top-color: #5eead4;
    border-right-color: rgba(94, 234, 212, .65);
    pointer-events: none
}

.vrx-score-ring span {
    z-index: 3
}

.vrx-score-ring span:after {
    z-index: 4;
    pointer-events: none
}

@keyframes vrx-score-float {

    0%,
    100% {
        transform: translateY(0);
        filter: drop-shadow(0 8px 14px rgba(15, 23, 42, .08))
    }

    50% {
        transform: translateY(-5px);
        filter: drop-shadow(0 14px 20px rgba(94, 234, 212, .22))
    }
}

.vrx-score-ring span:before {
    content: "";
    position: absolute;
    z-index: 4;
    top: -11px;
    left: 50%;
    width: 4px;
    height: 4px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, .8);
    transform: translateX(-50%);
    transform-origin: 2px 77px;
    animation: vrx-score-dot 9s -4.5s linear infinite;
    pointer-events: none
}

@media(prefers-reduced-motion:reduce) {
    .vrx-score-ring span:before {
        animation: none;
        transform: translate(-50%, 154px)
    }
}

.vrx-score-ring span:before,
.vrx-score-ring span:after {
    display: none
}

.vrx-orbit-dots {
    position: absolute;
    z-index: 5;
    inset: -13px;
    border-radius: 50%;
    animation: vrx-score-orbit 5s linear infinite !important;
    pointer-events: none
}

.vrx-orbit-dots b {
    position: absolute;
    display: block;
    border-radius: 50%
}

.vrx-orbit-dots b:first-child {
    top: -4px;
    left: 50%;
    width: 9px;
    height: 9px;
    border: 2px solid rgba(255, 255, 255, .9);
    background: #5eead4;
    box-shadow: 0 0 12px rgba(94, 234, 212, .95);
    transform: translateX(-50%)
}

.vrx-orbit-dots b:last-child {
    right: 50%;
    bottom: -2px;
    width: 5px;
    height: 5px;
    border: 1px solid rgba(255, 255, 255, .9);
    background: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, .85);
    transform: translateX(50%)
}

.vrx-score>b {
    margin-top: 29px
}

.vrx-score>b {
    margin-top: 35px
}

/* Formulários laterais: mesmas métricas dos modais do Campanha.
   Mantido no fim do arquivo para não ser anulado pelas regras-base do sheet. */
.vr-sheet .form-grid {
    column-gap: 16px;
    row-gap: 16px;
}

.vr-sheet .field {
    margin-top: 0;
}

.vr-sheet .field>label,
.vr-sheet .field>span:first-child {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.vr-sheet .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.vr-sheet .field select {
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 8px;
}

.vr-sheet .field textarea {
    padding: 10px 14px;
    border-radius: 8px;
}

/* Busca de CEP: input e ação formam um único controle em todos os sheets. */
.vr-sheet .field .cep-lookup {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid #dfe4eb;
    border-radius: 8px;
    background: #fff;
}

.vr-sheet .field .cep-lookup:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px #eaf1ff;
}

.vr-sheet .field .cep-lookup>input[data-cep-input] {
    flex: 1 1 auto;
    width: calc(100% - 44px);
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.vr-sheet .field .cep-lookup>.cep-lookup-btn {
    flex: 0 0 44px;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    border-left: 1px solid #dfe4eb;
    border-radius: 0;
}

.vr-sheet .vr-sheet-section {
    margin: 24px 0 16px;
}

.vr-sheet .vr-sheet-section:first-child {
    margin-top: 0;
}

.vr-sheet .form-grid+.vr-sheet-section {
    margin-top: 24px;
}

.vr-sheet .field:has(>input[type="checkbox"]),
.vr-sheet .field:has(>input[type="radio"]) {
    align-content: center;
    min-height: 44px;
}

/* A foto pertence à seção de identificação, como no formulário Campanha. */
.vr-sheet .vr-sheet-section+.foto-upload-title {
    margin-top: 16px;
}

.vr-sheet .foto-upload-title {
    margin-bottom: 16px;
}

.vr-sheet .foto-upload {
    gap: 16px;
    margin-bottom: 24px;
}

.vr-sheet .foto-upload+.form-grid {
    margin-top: 16px;
}

.vr-sheet .foto-upload-file-label {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.vr-sheet .foto-upload-input {
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.vr-sheet .foto-upload-help {
    margin-top: 6px;
    font-size: 12px;
}


/* Respiro entre uma linha concluída e os títulos da linha seguinte. */
.vr-sheet .form-grid {
    row-gap: 24px;
}

/* Hover único para todos os botões de cancelamento em painéis e confirmações. */
.vr-sheet-foot .btn[data-sheet-close]:hover,
.vr-sheet-foot .btn-outline-danger[data-sheet-close]:hover,
.vr-confirm-card .btn-outline-danger[data-confirm-close]:hover {
    background: #c5261c;
    border-color: #c5261c;
    color: #fff;
    box-shadow: 0 5px 14px rgba(197, 38, 28, .2);
    transform: none;
}

.vr-sheet-foot .btn-outline-secondary[data-sheet-close]:hover {
    background: #f8fafc;
    border-color: #b8c1ce;
    color: #344054;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .05);
    transform: none;
}

/* Dashboard — composição fiel à referência executiva, com contenção responsiva. */
.vrx-attention-board {
    overflow: hidden;
    border: 1px solid #e3e8ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .045);
}

.vrx-attention-board>header {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 18px;
    border-bottom: 1px solid #edf0f5;
}

.vrx-attention-board>header>div {
    display: flex;
    align-items: center;
    gap: 11px;
}

.vrx-attention-board>header>div>span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    background: #eef4ff;
    color: #487fff;
    font-size: 19px;
    place-items: center;
}

.vrx-attention-board h2 {
    margin: 0 0 2px;
    font-size: 15px;
}

.vrx-attention-board header p {
    margin: 0;
    color: #667085;
    font-size: 11px;
}

.vrx-attention-board header>em {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 99px;
    background: #ecfdf3;
    color: #087a55;
    font-size: 10px;
    font-style: normal;
    font-weight: 750;
    white-space: nowrap;
}

.vrx-attention-board header>em.has-pending {
    background: #fff4ed;
    color: #b54708;
}

.vrx-attention-board header>em i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.vrx-action-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.vrx-action-kpis>a {
    --kpi-color: #667085;
    --kpi-soft: #f2f4f7;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    min-height: 118px;
    align-items: center;
    gap: 16px;
    padding: 19px 18px;
    overflow: hidden;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    background: #fff;
    color: #101828;
    box-shadow: 0 2px 6px rgba(16, 24, 40, .045);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.vrx-action-kpis>a::before {
    display: none;
}

.vrx-action-kpis>a:hover,
.vrx-action-kpis>a:focus-visible {
    z-index: 1;
    transform: translateY(-1px);
    border-color: #d5dbe6;
    background: #fff;
    box-shadow: 0 7px 16px rgba(16, 24, 40, .065);
}

.vrx-action-icon {
    display: grid;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--kpi-soft);
    color: var(--kpi-color);
    place-items: center;
}

.vrx-action-icon iconify-icon {
    font-size: 25px;
}

.vrx-action-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.vrx-action-content>small {
    overflow: hidden;
    max-width: 100%;
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .025em;
    line-height: 1.25;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.vrx-action-content strong {
    color: var(--kpi-color);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.035em;
}

.vrx-action-content em {
    overflow: hidden;
    max-width: 100%;
    color: #667085;
    font-size: 10px;
    font-style: normal;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vrx-action-kpis>a.is-clear .vrx-action-content em {
    color: #159570;
    font-weight: 650;
}

.vrx-action-kpis .is-danger {
    --kpi-color: #d92d20;
    --kpi-soft: #fff0f1;
}

.vrx-action-kpis .is-warning {
    --kpi-color: #dc8705;
    --kpi-soft: #fff7e8;
}

.vrx-action-kpis .is-purple {
    --kpi-color: #7a5af8;
    --kpi-soft: #f5f0ff;
}

.vrx-action-kpis .is-blue {
    --kpi-color: #487fff;
    --kpi-soft: #eef4ff;
}

.vrx-action-kpis .is-neutral {
    --kpi-color: #667085;
    --kpi-soft: #f2f4f7;
}

.vrx-dashboard {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    gap: 16px;
    padding: 20px 24px 30px;
    overflow: hidden;
}

.vrx-head {
    min-height: 62px;
    align-items: center;
    padding: 0;
}

.vrx-head h1 {
    margin: 0 0 5px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.vrx-head h1 span {
    font-size: 19px
}

.vrx-head p {
    font-size: 12px
}

.vrx-head-actions {
    align-items: center;
    flex-direction: row;
    gap: 10px;
}

.vrx-head-actions .btn {
    height: 42px;
    min-height: 42px;
    gap: 7px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 11px;
}

.vrx-top-grid {
    grid-template-columns: minmax(0, 1.9fr) minmax(310px, .92fr);
    gap: 16px;
}

.vrx-command {
    grid-template-columns: minmax(0, 1.3fr) 175px;
    min-height: 316px;
    padding: 22px 30px 91px;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--brand-primary, var(--sidebar-start, #2446b4)), var(--brand-secondary, var(--sidebar-end, #6d36bb)));
    box-shadow: 0 14px 32px rgba(42, 58, 155, .2);
}

.vrx-command:before {
    width: 340px;
    height: 340px;
    top: -235px;
    right: -120px
}

.vrx-command:after {
    width: 230px;
    height: 230px;
    top: -135px;
    right: -65px
}

.vrx-command .vrx-eyebrow {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px
}

.vrx-command-date {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: calc(31% + 39%);
    right: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 99px;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .9);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
    transform: translateX(-100%);
}

.vrx-command-date iconify-icon {
    font-size: 14px;
    color: #9ef0e2
}

.vrx-command h2 {
    margin: 12px 0 8px;
    font-size: 28px
}

.vrx-command-copy>p {
    max-width: 455px;
    font-size: 11px;
    line-height: 1.5
}

.vrx-command-links {
    gap: 18px;
    margin-top: 18px
}

.vrx-command-links a {
    font-size: 10px
}

.vrx-command-links a:first-child {
    padding: 9px 12px;
    border-radius: 7px
}

.vrx-trend {
    position: absolute;
    z-index: 0;
    left: 31%;
    bottom: 76px;
    width: 39%;
    height: 104px;
    opacity: .78;
    filter: drop-shadow(0 0 7px rgba(94, 234, 212, .28));
    pointer-events: none;
}

.vrx-score {
    justify-content: flex-start;
    padding-top: 10px;
    text-align: center
}

.vrx-score-ring {
    width: 112px;
    height: 112px
}

.vrx-score-ring strong {
    font-size: 31px
}

.vrx-score>b {
    margin-top: 30px !important;
    font-size: 10px
}

.vrx-score>small {
    font-size: 8px;
    line-height: 1.45
}

.vrx-command-metrics {
    right: 30px;
    bottom: 16px;
    left: 30px
}

.vrx-command-metrics div {
    padding-top: 12px
}

.vrx-command-metrics small {
    font-size: 9px
}

.vrx-command-metrics strong {
    margin-top: 2px;
    font-size: 18px
}

.vrx-command-metrics em {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, .52);
    font-size: 8px;
    font-style: normal
}

.vrx-focus {
    position: relative;
    min-height: 316px;
    padding: 22px 24px;
    overflow: hidden;
    border-radius: 16px;
}

.vrx-focus-state {
    margin-top: 14px;
    padding: 5px 8px;
    font-size: 9px
}

.vrx-focus>h2 {
    margin: 10px 0 4px;
    font-size: 18px
}

.vrx-focus>p {
    font-size: 10px
}

.vrx-focus ul {
    z-index: 1;
    margin: 17px 0 12px;
    padding: 0;
    list-style: none
}

.vrx-focus li {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: #667085;
    font-size: 9px;
    font-weight: 600
}

.vrx-focus li iconify-icon {
    color: #12b895;
    font-size: 14px
}

.vrx-focus-art {
    position: absolute;
    right: 22px;
    bottom: 73px;
    display: grid;
    width: 94px;
    height: 112px;
    place-items: center;
    color: #78a4ff;
    opacity: .3;
    font-size: 86px;
    transform: rotate(-4deg);
}

.vrx-focus>a {
    z-index: 1;
    width: max-content;
    margin: auto 0 0;
    padding: 10px 13px;
    font-size: 9px
}

.vrx-base-summary {
    padding: 14px 16px 16px;
    border-radius: 14px
}

.vrx-base-summary>header {
    margin-bottom: 12px
}

.vrx-base-title>span {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 18px
}

.vrx-base-title h2 {
    font-size: 16px
}

.vrx-base-title p {
    font-size: 9px
}

.vrx-base-summary .vrx-stat-rail>a {
    min-height: 68px;
    padding: 10px 13px
}

.vrx-base-summary .vrx-stat-rail>a>iconify-icon:first-child {
    width: 34px;
    height: 34px
}

.vrx-main-grid {
    grid-template-columns: minmax(0, 1.95fr) minmax(310px, .92fr);
    gap: 16px
}

.vrx-panel {
    border-radius: 14px
}

.vrx-panel>header {
    min-height: 68px;
    padding: 14px 17px
}

.vrx-section-title>span {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 18px
}

.vrx-section-title h2 {
    font-size: 15px
}

.vrx-map-canvas {
    height: 320px;
    padding: 10px
}

.vrx-map-overlay {
    top: 23px;
    right: 23px;
    width: 132px;
    padding: 12px
}

.vrx-journey {
    padding-bottom: 12px
}

.vrx-journey-total {
    padding: 14px 18px 4px
}

.vrx-journey-total strong {
    font-size: 25px
}

.vrx-journey-list {
    padding: 2px 11px
}

.vrx-journey-list a {
    grid-template-columns: 31px 1fr 24px;
    padding: 6px
}

.vrx-journey-list a>span {
    width: 31px;
    height: 31px;
    border-radius: 50%
}

.vrx-bottom-grid {
    /* A 3ª coluna replica a proporção 1.95/.92 da vrx-main-grid.
     As duas primeiras dividem, com o mesmo gap, a largura ocupada pelo mapa. */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(310px, calc(32.055749% - 5.13px));
    gap: 16px;
}

.vrx-bottom-grid>.vrx-panel {
    min-height: 248px
}

.vrx-quality {
    grid-template-rows: 68px repeat(3, minmax(0, 1fr));
    gap: 8px
}

.vrx-quality>div,
.vrx-quality>div+div,
.vrx-quality>div:last-child {
    position: relative;
    margin: 0 13px
}

.vrx-quality>div>a {
    position: absolute;
    right: 0;
    bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #487fff;
    font-size: 9px;
    font-weight: 750;
    text-decoration: none;
}

.vrx-quality>div>a iconify-icon {
    font-size: 12px;
}

.vrx-quality>div:has(>a)>i {
    margin-bottom: 15px;
}

.vrx-quality .quality-good>i>u {
    background: #20b99a;
}

.vrx-quality .quality-attention>i>u {
    background: #e9a23b;
}

.vrx-quality .quality-critical>i>u {
    background: #e35d6a;
}

.vrx-bottom-grid .vrx-panel header p {
    font-size: 10px;
}

.vrx-bottom-grid .vrx-panel>header>a {
    font-size: 10px;
}

.vrx-audit .vrx-feed time {
    min-width: 58px;
    font-size: 9px;
    text-align: right;
}

/* Refinamento dos painéis operacionais: mantém a estrutura e melhora a leitura. */
.vrx-bottom-grid>.vrx-panel {
    min-height: 270px;
}

.vrx-quality>div,
.vrx-quality>div+div,
.vrx-quality>div:last-child {
    padding: 10px 12px;
    border-color: #e8edf4;
    background: #fff;
}

.vrx-quality>div>span {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
}

.vrx-quality>div>span>iconify-icon {
    display: grid;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #eef4ff;
    color: #487fff;
    font-size: 14px;
    place-items: center;
}

.vrx-quality>div.quality-good>span>iconify-icon {
    background: #e9faf5;
    color: #0ca789;
}

.vrx-quality>div.quality-attention>span>iconify-icon {
    background: #fff5e6;
    color: #d98a00;
}

.vrx-quality>div.quality-critical>span>iconify-icon {
    background: #fff0f1;
    color: #d92d20;
}

.vrx-quality>div>span>b {
    font-size: 10px;
}

.vrx-quality>div>span>strong {
    font-size: 12px;
    font-weight: 800;
}

.vrx-quality>div>i {
    height: 5px;
    margin: 8px 0 0;
}

.vrx-quality>div:has(>footer)>i {
    margin-bottom: 0;
}

.vrx-quality>div>footer {
    display: flex;
    min-height: 16px;
    margin-top: 6px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.vrx-quality>div>footer small {
    color: #98a2b3;
    font-size: 8px;
    font-weight: 650;
}

.vrx-quality>div.quality-good>footer small {
    color: #159570;
}

.vrx-quality>div.quality-attention>footer small {
    color: #b87500;
}

.vrx-quality>div.quality-critical>footer small {
    color: #c4323d;
}

.vrx-quality>div>footer>a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #487fff;
    font-size: 8px;
    font-weight: 750;
    text-decoration: none;
}

.vrx-quality>div>footer>a iconify-icon {
    font-size: 11px;
}

/* Topbar contínua com o fundo branco da área da marca. */
.topbar,
.dashboard-layout .topbar {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: #e6eaf0;
}

/* Footer da aplicação: compacto e operacional, sem repetir a navegação principal. */
.app-footer-spacer:has(+ .app-footer-contextual) {
    min-height: 24px;
    flex-basis: 24px;
}

.app-footer.app-footer-contextual,
.dashboard-layout .app-footer.app-footer-contextual,
.page-dashboard .app-footer.app-footer-contextual,
.main:has(.vrx-dashboard)>.app-footer.app-footer-contextual {
    min-height: 64px;
    margin: auto -28px 0;
    padding: 13px 28px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    align-items: center;
    gap: 24px;
    border-top: 1px solid #e4e9f1;
    background: #fff;
    color: #667085;
    overflow: visible;
}

.app-footer-contextual-main {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.app-footer-contextual-main div {
    min-width: 0;
}

.app-footer-contextual-main small {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    color: #98a2b3;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-footer-contextual-main small iconify-icon {
    flex: 0 0 auto;
    color: var(--brand-primary, #487fff);
    font-size: 21px;
}

.app-footer-contextual-main small strong {
    overflow: hidden;
    color: #344054;
    font-size: inherit;
    font-weight: 700;
    text-overflow: ellipsis;
}

.app-footer-contextual-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.app-footer-contextual-links a {
    color: #667085;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.app-footer-contextual-links a:hover {
    color: var(--brand-primary, #487fff);
}

.app-footer-contextual-copy {
    padding-left: 24px;
    border-left: 1px solid #eaecf0;
    color: #98a2b3;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 900px) {

    .app-footer.app-footer-contextual,
    .dashboard-layout .app-footer.app-footer-contextual,
    .page-dashboard .app-footer.app-footer-contextual,
    .main:has(.vrx-dashboard)>.app-footer.app-footer-contextual {
        margin-right: -18px;
        margin-left: -18px;
        padding: 14px 18px;
        grid-template-columns: 1fr auto;
        gap: 12px 18px;
    }

    .app-footer-contextual-copy {
        grid-column: 1 / -1;
        padding: 0;
        border: 0;
    }
}

@media (max-width: 600px) {

    .app-footer.app-footer-contextual,
    .dashboard-layout .app-footer.app-footer-contextual {
        margin-right: -14px;
        margin-left: -14px;
        padding: 15px 14px 84px;
        grid-template-columns: 1fr;
    }

    .app-footer-contextual-links {
        gap: 16px;
    }
}

.vrx-today .vrx-empty {
    margin: 13px;
    border: 0;
    background: linear-gradient(145deg, #f8faff, #f3f6fb);
}

.vrx-today .vrx-empty>iconify-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border: 1px solid #dfe7f5;
    background: #fff;
    box-shadow: 0 7px 16px rgba(72, 127, 255, .1);
}

.vrx-empty-status {
    display: inline-flex;
    margin-bottom: 7px;
    padding: 4px 8px;
    align-items: center;
    gap: 5px;
    border-radius: 99px;
    background: #e9faf5;
    color: #087a55;
    font-size: 8px;
    font-weight: 750;
}

.vrx-empty-status>i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #12b895;
}

.vrx-today .vrx-empty>b {
    font-size: 12px;
}

.vrx-today .vrx-empty>small {
    font-size: 9px;
}

.vrx-audit .vrx-feed {
    padding: 8px 14px 12px;
}

.vrx-audit .vrx-feed>div {
    min-height: 46px;
    padding: 6px 7px;
    border-radius: 9px;
    transition: background .16s ease;
}

.vrx-audit .vrx-feed>div:hover {
    background: #f8faff;
}

.vrx-audit .vrx-feed b {
    font-size: 10px;
}

.vrx-audit .vrx-feed small {
    font-size: 9px;
}

.vrx-results {
    display: flex;
    flex-direction: column;
}

.vrx-results-list {
    display: grid;
    gap: 12px;
    padding: 12px 14px 14px;
}

.vrx-results-list>a {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto 14px;
    min-height: 48px;
    padding: 7px 10px;
    align-items: center;
    gap: 10px;
    border: 1px solid #e9edf4;
    border-radius: 10px;
    background: #fbfcfe;
    color: #101828;
    text-decoration: none;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.vrx-results-list>a:hover {
    transform: translateX(2px);
    border-color: #d8e0ed;
    background: #fff;
}

.vrx-results-list>a>span {
    display: grid;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef4ff;
    color: #487fff;
    font-size: 18px;
    place-items: center;
}

.vrx-results-list>a.is-purple>span {
    background: #f3edff;
    color: #7a5af8;
}

.vrx-results-list>a.is-green>span {
    background: #e9faf5;
    color: #0ca789;
}

.vrx-results-list>a.is-amber>span {
    background: #fff5e6;
    color: #d98a00;
}

.vrx-results-list>a>div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.vrx-results-list b {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vrx-results-list small {
    color: #98a2b3;
    font-size: 8px;
}

.vrx-results-list>a>strong {
    min-width: 24px;
    color: #101828;
    font-size: 20px;
    text-align: right;
}

.vrx-results-list>a>iconify-icon:last-child {
    color: #98a2b3;
    font-size: 13px;
}

.vrx-regulatory-impact {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto auto;
    min-height: 86px;
    padding: 16px 18px;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    border: 1px solid #f0dca8;
    border-radius: 14px;
    background: linear-gradient(100deg, #fff9ea, #fff 72%);
    box-shadow: 0 7px 20px rgba(120, 83, 13, .06);
}

.vrx-regulatory-impact>span {
    display: grid;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #fff0c9;
    color: #b87500;
    font-size: 22px;
    place-items: center;
}

.vrx-regulatory-impact>div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.vrx-regulatory-impact small {
    color: #a36b00;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .1em;
}

.vrx-regulatory-impact h2 {
    margin: 0;
    overflow: hidden;
    color: #29200f;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vrx-regulatory-impact p {
    margin: 0;
    color: #77694f;
    font-size: 10px;
}

.vrx-regulatory-impact time {
    color: #927c53;
    font-size: 9px;
    white-space: nowrap;
}

.vrx-regulatory-impact>a {
    display: inline-flex;
    min-height: 34px;
    padding: 0 12px;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    background: #a96e00;
    color: #fff;
    font-size: 9px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.vrx-regulatory-impact>a:hover {
    background: #875900;
}

@media(max-width:760px) {
    .vrx-regulatory-impact {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 14px;
    }

    .vrx-regulatory-impact>span {
        width: 42px;
        height: 42px;
    }

    .vrx-regulatory-impact time {
        grid-column: 2;
    }

    .vrx-regulatory-impact>a {
        grid-column: 1 / -1;
        justify-content: center;
    }
}


.vrx-today .vrx-empty {
    margin: 12px
}

.vrx-audit .vrx-feed {
    padding-top: 6px
}

@media(max-width:1280px) {
    .vrx-action-kpis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vrx-dashboard {
        padding-inline: 18px
    }

    .vrx-command {
        grid-template-columns: minmax(0, 1fr) 150px;
        padding-inline: 24px
    }

    .vrx-command-metrics {
        right: 24px;
        left: 24px
    }

    .vrx-focus-art {
        opacity: .18
    }
}

@media(max-width:1080px) {

    .vrx-top-grid,
    .vrx-main-grid {
        grid-template-columns: 1fr
    }

    .vrx-command {
        min-height: 310px
    }

    .vrx-focus {
        min-height: 280px
    }

    .vrx-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .vrx-audit {
        grid-column: 1/-1
    }
}

@media(max-width:760px) {
    .vrx-action-kpis {
        display: flex;
        gap: 9px;
        margin-inline: -11px;
        padding: 0 11px 5px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .vrx-action-kpis>a {
        min-width: 230px;
        scroll-snap-align: start;
    }

    .vrx-dashboard {
        gap: 13px;
        padding: 14px 11px 24px;
        overflow: visible
    }

    .vrx-head {
        align-items: flex-start
    }

    .vrx-head-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .vrx-head-actions .btn {
        padding-inline: 8px;
        white-space: nowrap
    }

    .vrx-command {
        grid-template-columns: 1fr;
        min-height: 360px;
        padding: 23px 20px 115px
    }

    .vrx-command-date {
        top: 14px;
        left: calc(39% + 55%);
        right: auto;
        transform: translateX(-100%);
        max-width: min(280px, 70vw)
    }

    .vrx-command h2 {
        font-size: 25px
    }

    .vrx-command-copy>p {
        max-width: 100%
    }

    .vrx-score {
        display: none
    }

    .vrx-trend {
        left: 39%;
        bottom: 83px;
        width: 55%;
        height: 90px
    }

    .vrx-command-metrics {
        right: 20px;
        left: 20px
    }

    .vrx-command-metrics div {
        padding-right: 5px
    }

    .vrx-command-metrics div+div {
        padding-left: 7px
    }

    .vrx-command-metrics em {
        display: none
    }

    .vrx-focus-art {
        right: 12px
    }

    .vrx-base-summary>header {
        align-items: center
    }

    .vrx-base-summary .vrx-stat-rail {
        grid-template-columns: 1fr
    }

    .vrx-main-grid,
    .vrx-bottom-grid {
        grid-template-columns: 1fr
    }

    .vrx-audit {
        grid-column: auto
    }

    .vrx-map-canvas {
        height: 300px
    }
}

/* A index da referência usa somente a faixa de navegação recolhida. */
body.dashboard-layout {
    background: #f5f7fb;
}

.dashboard-layout .sidebar {
    width: 4px;
    padding: 0;
    overflow: hidden;
    transition: width .22s ease, padding .22s ease;
}

.dashboard-layout .sidebar.is-open {
    width: 78px;
    padding: 10px;
    overflow: visible;
    box-shadow: 12px 0 28px rgba(15, 23, 42, .14);
}

.dashboard-layout .main,
.dashboard-layout .main.has-module-subnav {
    margin-left: 4px;
    padding: 0 24px;
}

.dashboard-layout .dashboard-topbar {
    height: 58px;
    margin-right: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
    background: #fff;
}

.dashboard-layout .dashboard-topbar-brand {
    display: none
}

.dashboard-layout .topbar-search-wrap {
    max-width: 390px
}

.dashboard-layout .topbar-search input {
    height: 34px;
    font-size: 11px
}

.dashboard-layout .menu-toggle {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center
}

.dashboard-layout .app-footer {
    margin: 0 -24px;
    padding: 24px 24px 16px;
    border-top: 1px solid #e4e9f1;
    background: #f7f7f7;
    font-size: 12px;
}

.dashboard-layout .app-footer-inner {
    max-width: 1920px;
    margin-inline: auto;
    padding-inline: 24px;
}

.page-dashboard .app-footer-inner,
.main:has(.vrx-dashboard)>.app-footer .app-footer-inner {
    max-width: 1920px;
    margin-inline: auto;
    padding-inline: 24px;
}

.dashboard-layout .app-footer-spacer {
    min-height: 24px;
    flex-basis: 24px
}

@media(max-width:1280px) and (min-width:761px) {

    .dashboard-layout .app-footer-inner,
    .page-dashboard .app-footer-inner,
    .main:has(.vrx-dashboard)>.app-footer .app-footer-inner {
        padding-inline: 18px
    }
}

.vrx-base-summary .vrx-stat-rail>a>em {
    position: absolute;
    top: 13px;
    right: 13px;
    color: #12a37f;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
    text-align: right;
}

.vrx-base-summary .vrx-stat-rail>a>em.is-down {
    color: #e5484d
}

.vrx-base-summary .vrx-stat-rail>a>em small {
    display: block;
    margin-top: 3px;
    color: #98a2b3;
    font-size: 7px;
    font-weight: 500;
}

.vrx-today .vrx-empty>a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 7px 10px;
    border-radius: 7px;
    background: var(--brand-primary, #487fff);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.vrx-today .vrx-empty>a iconify-icon {
    font-size: 12px
}

.vrx-trend {
    left: 28%;
    bottom: 77px;
    width: 45%;
    height: 118px;
    opacity: .92;
}

.vrx-command-date {
    left: calc(28% + 45%);
    transform: translateX(-100%);
}

.vrx-trend-bars {
    opacity: .72
}

.vrx-focus-art {
    right: 18px;
    bottom: 59px;
    width: 112px;
    height: 132px;
    color: inherit;
    opacity: 1;
    font-size: 0;
    transform: none;
}

.vrx-focus-art svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible
}

.vrx-focus-art .sheet {
    fill: #f8fbff;
    stroke: #cfe0ff;
    stroke-width: 6;
}

.vrx-focus-art .clip {
    fill: #fff;
    stroke: #cfe0ff;
    stroke-width: 6;
    stroke-linejoin: round;
}

.vrx-focus-art .line {
    fill: none;
    stroke: #cfe0ff;
    stroke-width: 6;
    stroke-linecap: round;
}

.vrx-focus-art .checks circle {
    fill: #effcf8;
    stroke: #73dec4;
    stroke-width: 4;
}

.vrx-focus-art .checks path {
    fill: none;
    stroke: #35c7a5;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Legibilidade definitiva da index: compacta no layout, não na tipografia. */
.vrx-head p {
    font-size: 13px
}

.vrx-command .vrx-eyebrow {
    font-size: 10px
}

.vrx-command-date {
    font-size: 11px;
    padding: 6px 11px
}

.vrx-command-date iconify-icon {
    font-size: 15px
}

.vrx-command-copy>p {
    font-size: 13px;
    line-height: 1.55
}

.vrx-command-links a {
    font-size: 11px
}

.vrx-command-metrics small {
    font-size: 11px
}

.vrx-command-metrics em {
    font-size: 9px
}

.vrx-score>b {
    font-size: 11px
}

.vrx-score>small {
    font-size: 9px
}

.vrx-focus-state {
    font-size: 10px
}

.vrx-focus>p,
.vrx-focus>time {
    font-size: 12px
}

.vrx-focus li {
    font-size: 11px
}

.vrx-focus>a {
    font-size: 10px
}

.vrx-base-title p {
    font-size: 11px
}

.vrx-base-summary>header>a {
    font-size: 10px
}

.vrx-base-summary .vrx-stat-rail span small {
    font-size: 11px
}

.vrx-base-summary .vrx-stat-rail span b {
    font-size: 11px
}

.vrx-base-summary .vrx-stat-rail>a>em {
    font-size: 9px
}

.vrx-base-summary .vrx-stat-rail>a>em {
    font-size: 12px;
    line-height: 1.1;
}

.vrx-base-summary .vrx-stat-rail>a>em small {
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.2;
}

.vrx-section-title h2 {
    font-size: 17px
}

.vrx-section-title p {
    font-size: 11px !important;
    line-height: 1.4
}

.vrx-panel header a,
.vrx-quality>a {
    font-size: 11px
}

.vrx-map-overlay>span,
.vrx-map-overlay i {
    font-size: 10px
}

.vrx-journey-total span {
    font-size: 11px
}

.vrx-journey-list b {
    font-size: 12px
}

.vrx-journey-list strong {
    font-size: 13px
}

.vrx-quality>div b,
.vrx-quality>div strong {
    font-size: 12px
}

.vrx-empty b,
.vrx-today .vrx-empty b {
    font-size: 13px
}

.vrx-empty small,
.vrx-today .vrx-empty small {
    font-size: 11px
}

.vrx-feed b,
.vrx-audit .vrx-feed b {
    font-size: 12px
}

.vrx-feed small,
.vrx-feed time {
    font-size: 11px
}

.vrx-audit .vrx-feed time {
    font-size: 10px
}

.vrx-audit header em {
    font-size: 10px
}

.vrx-focus-art {
    right: 14px;
    bottom: -10px;
    width: 170px;
    height: 160px;
    background: url('../img/01.jpg') right bottom/contain no-repeat;
}

.vrx-focus ul {
    max-width: calc(100% - 190px)
}

.vrx-focus-art svg {
    display: none
}

.vrx-bottom-grid {
    align-items: stretch;
    grid-auto-rows: 366px;
}

.vrx-bottom-grid>.vrx-panel {
    width: 100%;
    height: 366px !important;
    min-height: 366px;
    max-height: 366px;
    margin: 0;
    align-self: stretch;
}

.vrx-quality {
    grid-template-rows: 68px repeat(3, minmax(0, 1fr));
    align-content: stretch;
    gap: 12px;
    padding-bottom: 12px;
}

.vrx-today,
.vrx-audit {
    display: flex;
    min-height: 0;
    flex-direction: column
}

.vrx-today>.vrx-empty,
.vrx-audit>.vrx-feed {
    min-height: 0;
    flex: 1
}

.vrx-bottom-grid .vrx-results-list,
.vrx-bottom-grid .vrx-today>.vrx-feed,
.vrx-bottom-grid .vrx-audit>.vrx-feed {
    padding-top: 18px;
    padding-bottom: 18px;
}

@media(max-width:760px) {
    .vrx-bottom-grid {
        grid-auto-rows: auto
    }

    .vrx-bottom-grid>.vrx-panel {
        height: auto !important;
        min-height: 320px;
        max-height: none;
    }

    .dashboard-layout .sidebar {
        width: 0
    }

    .dashboard-layout .sidebar.is-open {
        width: 72px;
        padding: 8px
    }

    .dashboard-layout .main,
    .dashboard-layout .main.has-module-subnav {
        margin-left: 0;
        padding: 0 14px
    }

    .dashboard-layout .dashboard-topbar {
        margin-right: -14px;
        margin-left: -14px;
        padding-right: 14px;
        padding-left: 14px
    }

    .dashboard-layout .app-footer {
        margin: 0 -14px;
        padding: 20px 14px 16px
    }

    .dashboard-layout .app-footer-inner {
        padding-inline: 11px
    }

    .page-dashboard .app-footer-inner,
    .main:has(.vrx-dashboard)>.app-footer .app-footer-inner {
        padding-inline: 11px
    }

    .dashboard-layout .app-footer-spacer {
        min-height: 20px;
        flex-basis: 20px
    }
}

/* Responsividade sistêmica — contenção final para tablet e celular. */
html,
body {
    max-width: 100%;
    overflow-x: clip
}

html {
    scrollbar-gutter: stable
}

img,
svg,
video,
canvas {
    max-width: 100%
}

.main,
.main>*,
.card,
.client-list-card,
.vr-sheet-panel,
.mail-app,
.cfg-card,
.bi-card,
.vrx-panel,
.vrx-focus,
.vrx-command {
    min-width: 0
}

.table-responsive,
.client-table-wrap,
.vr-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch
}

/* Listagens nativas cabem no card: sem barra horizontal. */
.client-list-card>.client-table-wrap {
    overflow-x: hidden;
}

.client-list-card .client-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.client-list-card .client-table td,
.client-list-card .client-table th {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.client-list-card .client-table .client-check-cell {
    width: 42px;
}

.client-list-card .client-table .client-actions-cell {
    width: 64px;
    text-align: center;
}

.properties-table th:nth-child(2) {
    width: 17%;
}

.properties-table th:nth-child(3) {
    width: 16%;
}

.properties-table th:nth-child(4) {
    width: 9%;
}

.properties-table th:nth-child(5) {
    width: 8%;
}

.properties-table th:nth-child(6) {
    width: 12%;
}

.properties-table th:nth-child(7) {
    width: 8%;
}

.properties-table th:nth-child(8) {
    width: 12%;
}

.properties-table th:nth-child(9) {
    width: 9%;
}

@media(max-width:1100px) {
    .client-list-card .client-table .col-extra {
        display: none;
    }
}

@media(max-width:720px) {
    .client-list-card .client-table .client-check-cell {
        display: none;
    }

    .client-list-card .client-table th,
    .client-list-card .client-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
}

@media(max-width:1100px) {
    .main {
        padding-right: 18px;
        padding-left: 18px
    }

    .topbar {
        margin-right: -18px;
        margin-left: -18px;
        padding-right: 18px;
        padding-left: 18px
    }

    .app-footer {
        margin-right: -18px;
        margin-left: -18px;
        padding: 22px 18px 18px
    }

    .page-head,
    .client-page-head,
    .client-list-head,
    .bi-card-head,
    .cfg-card-head {
        flex-wrap: wrap;
        gap: 12px
    }

    .page-head>*,
    .client-page-head>*,
    .client-list-head>*,
    .bi-card-head>*,
    .cfg-card-head>* {
        min-width: 0
    }

    .client-page-actions,
    .page-head-actions,
    .bi-card-actions {
        margin-left: auto;
        flex-wrap: wrap
    }

    .resumo-cards-row,
    .client-summary-grid,
    .ai-summary-grid,
    .cfg-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .ai-governance-grid,
    .cfg-int-grid,
    .cfg-google-grid {
        grid-template-columns: 1fr
    }

    .mail-compose-panel {
        width: min(100%, 700px)
    }
}

@media(max-width:760px) {

    .main,
    .main.has-module-subnav {
        width: 100%;
        max-width: 100%;
        padding-right: 14px;
        padding-left: 14px
    }

    .topbar {
        gap: 6px;
        margin-right: -14px;
        margin-left: -14px;
        padding-right: 10px;
        padding-left: 10px
    }

    .topbar-start,
    .top-actions {
        gap: 4px;
        flex: 0 0 auto
    }

    .topbar-search-wrap {
        min-width: 0;
        margin: 0 4px
    }

    .topbar-search input {
        min-width: 0;
        padding-right: 8px;
        padding-left: 34px
    }

    .topbar-search-icon {
        left: 10px
    }

    .icon-btn,
    .menu-toggle {
        width: 36px;
        height: 36px;
        min-width: 36px
    }

    .app-footer {
        margin-right: -14px;
        margin-left: -14px;
        padding: 20px 14px 88px
    }

    .app-footer-inner {
        gap: 16px;
        padding: 0
    }

    .app-footer-spacer {
        min-height: 28px;
        flex-basis: 28px
    }

    .app-footer-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .app-footer-brand {
        grid-column: auto
    }

    .app-footer-bottom {
        align-items: center;
        flex-direction: column;
        text-align: center
    }

    .app-footer-support {
        justify-content: center;
        width: 100%
    }

    .page-head,
    .client-page-head,
    .client-list-head,
    .bi-card-head,
    .cfg-card-head {
        align-items: stretch;
        flex-direction: column
    }

    .client-page-actions,
    .page-head-actions,
    .bi-card-actions {
        width: 100%;
        margin-left: 0
    }

    .client-page-actions>.btn,
    .page-head-actions>.btn,
    .bi-card-actions>.btn {
        flex: 1 1 auto
    }

    .client-search-form {
        grid-template-columns: 1fr 1fr
    }

    .client-search-field {
        grid-column: 1/-1
    }

    .client-filter-toggle,
    .client-export-menu,
    .client-export-button,
    .client-create-button {
        max-width: 100%
    }

    .client-results-meta {
        flex-wrap: wrap;
        gap: 7px
    }

    .client-pagination {
        max-width: 100%;
        padding: 14px 8px;
        overflow-x: auto;
        justify-content: flex-start
    }

    .client-pagination a {
        flex: 0 0 36px
    }

    .vr-sheet-panel {
        width: 100%;
        max-width: 100vw;
        border-radius: 0
    }

    .vr-sheet-head,
    .vr-sheet-foot {
        padding-right: 16px;
        padding-left: 16px
    }

    .vr-sheet-body {
        padding: 20px 16px
    }

    .vr-sheet-foot {
        gap: 8px
    }

    .vr-sheet-foot .btn {
        white-space: normal;
        text-align: center
    }

    .foto-upload-fields {
        width: calc(100% - 80px)
    }

    .foto-upload-input {
        max-width: 100%
    }

    .mail-app,
    .mail-split,
    .mail-list,
    .mail-read {
        max-width: 100%
    }

    .mail-toolbar,
    .mail-reply-actions,
    .mail-message-head {
        flex-wrap: wrap
    }

    .mail-row,
    .mail-row-meta {
        min-width: 0
    }

    .mail-row-meta {
        overflow: hidden
    }

    .cfg-acc-head,
    .cfg-acc-actions,
    .cfg-help,
    .cfg-google-status {
        flex-wrap: wrap
    }

    .cfg-acc-actions {
        justify-content: flex-start
    }

    .cfg-paletas,
    .cfg-brand-grid,
    .cfg-profile-grid {
        grid-template-columns: 1fr 1fr
    }

    .ai-context-metrics {
        grid-template-columns: 1fr 1fr
    }

    .docs-preview-list,
    .mail-compose-attachments {
        max-width: 100%
    }

    .vrx-focus-art {
        right: 20px;
        bottom: -6px;
        width: 108px;
        height: 96px
    }

    .vrx-focus ul {
        max-width: calc(100% - 118px)
    }
}

@media(max-width:480px) {
    .topbar-search input::placeholder {
        color: transparent
    }

    .topbar-search-wrap {
        max-width: 96px
    }

    .top-actions .icon-btn {
        width: 34px;
        height: 34px;
        min-width: 34px
    }

    .avatar {
        width: 34px;
        height: 34px
    }

    .resumo-cards-row,
    .client-summary-grid,
    .ai-summary-grid,
    .cfg-card-grid,
    .cfg-paletas,
    .cfg-brand-grid,
    .cfg-profile-grid,
    .ai-context-metrics {
        grid-template-columns: 1fr
    }

    .client-search-form {
        grid-template-columns: 1fr
    }

    .client-search-field {
        grid-column: auto
    }

    .client-filter-toggle,
    .client-export-menu,
    .client-export-button,
    .client-create-button {
        width: 100%
    }

    .vr-sheet-head {
        align-items: flex-start
    }

    .vr-sheet-head-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px
    }

    .vr-sheet-head h2 {
        font-size: 17px
    }

    .vr-sheet-head p {
        white-space: normal
    }

    .vr-sheet-foot {
        flex-direction: column-reverse
    }

    .vr-sheet-foot .btn {
        width: 100%;
        flex-basis: auto
    }

    .foto-upload {
        align-items: flex-start
    }

    .foto-upload-circle {
        width: 56px;
        height: 56px;
        flex-basis: 56px
    }

    .foto-upload-fields {
        width: calc(100% - 72px)
    }

    .mail-folder-list,
    .mail-label-list {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .mail-toolbar-search {
        min-width: 100%
    }

    .docs-preview,
    .mail-compose-attachment {
        width: 100% !important
    }

    .vrx-head-actions {
        grid-template-columns: 1fr
    }

    .vrx-head-actions .btn {
        width: 100%;
        justify-content: center
    }

    .vrx-command {
        min-height: 390px
    }

    .vrx-command-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .vrx-command-metrics small {
        font-size: 9px
    }

    .vrx-focus {
        padding: 18px
    }

    .vrx-focus-art {
        right: 12px;
        bottom: 0;
        width: 88px;
        height: 78px;
        opacity: .72
    }

    .vrx-focus ul {
        max-width: 68%
    }

    .vrx-map-canvas {
        height: 270px
    }

    .vrx-map-overlay {
        display: none
    }
}

/* Consolidação final do footer padrão original. */
.app-footer {
    margin: auto -28px 0;
    padding: 22px 28px 18px;
    border-top: 1px solid var(--line);
    background: #f7f7f7;
    box-shadow: none;
    overflow: hidden
}

.app-footer-inner {
    gap: 22px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none
}

.app-footer-grid {
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, .72fr)) minmax(0, 1.15fr);
    gap: 24px 20px;
    align-items: start
}

.app-footer-grid>* {
    padding: 0;
    border-left: 0 !important
}

.app-footer-brand {
    align-items: flex-start;
    gap: 8px;
    text-align: left
}

.app-footer-desc {
    max-width: 300px;
    text-align: left
}

.app-footer-col {
    align-items: flex-start;
    gap: 10px;
    text-align: left
}

.app-footer-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.2
}

.app-footer-list {
    align-items: flex-start;
    gap: 9px
}

.app-footer-list a:hover {
    transform: none
}

.app-footer-social {
    justify-content: flex-start;
    gap: 10px
}

.app-footer-social-link {
    width: 24px;
    height: 24px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important
}

.app-footer-social-link:hover {
    opacity: .85;
    transform: none
}

.app-footer-social-link svg {
    width: 20px;
    height: 20px
}

.app-footer-col-contact {
    width: auto;
    justify-self: stretch
}

.app-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0
}

.app-footer-contact-card {
    gap: 10px;
    min-height: 24px
}

.app-footer-contact-ico {
    width: 20px;
    height: 20px;
    flex-basis: 20px
}

.app-footer-contact-ico iconify-icon {
    width: 20px;
    height: 20px;
    font-size: 20px
}

.app-footer-contact-copy {
    align-items: stretch;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    flex: 1 1 auto
}

.app-footer-bottom {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 12px;
    padding-top: 16px
}

.app-footer-bottom small {
    text-align: left
}

.page-dashboard .app-footer,
.main:has(.vrx-dashboard)>.app-footer,
.dashboard-layout .app-footer {
    margin-right: -24px;
    margin-left: -24px;
    padding: 22px 24px 16px;
    border-top: 1px solid #e7ebf2;
    background: #f7f7f7
}

.dashboard-layout .app-footer-inner,
.page-dashboard .app-footer-inner,
.main:has(.vrx-dashboard)>.app-footer .app-footer-inner {
    max-width: 100%;
    margin: 0;
    padding: 0
}

@media(max-width:1100px) {
    .app-footer {
        margin-right: -18px;
        margin-left: -18px;
        padding: 22px 18px 18px
    }

    .app-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px
    }

    .app-footer-brand,
    .app-footer-col-contact {
        grid-column: 1/-1
    }
}

@media(max-width:760px) {

    .app-footer,
    .dashboard-layout .app-footer {
        margin-right: -14px;
        margin-left: -14px;
        padding: 20px 14px 88px
    }

    .app-footer-inner {
        gap: 16px;
        padding: 0
    }

    .app-footer-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .app-footer-brand,
    .app-footer-col-contact {
        grid-column: auto
    }

    .app-footer-bottom {
        align-items: flex-start;
        flex-direction: column
    }
}

/* Footer original mínimo: logo à esquerda e copyright à direita. */
.app-footer.app-footer-minimal {
    padding-top: 16px;
    padding-bottom: 16px
}

.app-footer-minimal .app-footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.app-footer-minimal .app-footer-grid {
    display: none
}

.app-footer-minimal .app-footer-col {
    display: none
}

.app-footer-minimal .app-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.app-footer-minimal .app-footer-bottom small {
    display: block;
    color: #667085;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap
}

.app-footer-minimal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px
}

.app-footer-minimal-links a {
    padding: 6px 10px;
    border: 1px solid #e7ebf2;
    border-radius: 999px;
    background: #f8fafc;
    color: #667085;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease
}

.app-footer-minimal-links a:hover {
    border-color: color-mix(in srgb, var(--brand-primary, var(--nav, #487fff)) 28%, #e7ebf2);
    background: color-mix(in srgb, var(--brand-primary, var(--nav, #487fff)) 6%, #fff);
    color: var(--brand-primary, var(--nav, #487fff));
    transform: translateY(-1px)
}

@media(max-width:760px) {
    .app-footer.app-footer-minimal {
        padding-top: 14px;
        padding-bottom: 14px
    }

    .app-footer-minimal .app-footer-inner {
        flex-direction: column;
        gap: 8px
    }

    .app-footer-minimal .app-footer-bottom small {
        font-size: 12px;
        text-align: center;
        white-space: normal
    }

    .app-footer-minimal-links a {
        padding: 5px 8px;
        font-size: 10px
    }
}

/* Footer institucional — composição clara + faixa de confiança. */
.app-footer.app-footer-premium,
.page-dashboard .app-footer.app-footer-premium,
.main:has(.vrx-dashboard)>.app-footer.app-footer-premium,
.dashboard-layout .app-footer.app-footer-premium {
    margin-right: -28px;
    margin-left: -28px;
    padding: 0;
    border-top: 1px solid #e7ebf3;
    background: #f7f7f7;
    overflow: hidden;
}

.app-footer-premium .app-footer-inner {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0
}

.app-footer-premium .app-footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(140px, .78fr)) minmax(270px, 1.12fr);
    gap: 32px;
    align-items: start;
    padding: 42px 56px 38px;
    background: radial-gradient(circle at 8% 15%, color-mix(in srgb, var(--brand-primary, var(--nav, #487fff)) 5%, transparent), transparent 30%), #fff;
}

.app-footer-premium .app-footer-brand,
.app-footer-premium .app-footer-col {
    display: flex;
    align-items: flex-start;
    text-align: left
}

.app-footer-premium .app-footer-logo {
    height: 58px;
    max-width: 280px
}

.app-footer-premium .app-footer-eyebrow {
    margin-top: 8px;
    color: var(--brand-primary, var(--nav, #487fff));
    font-size: 10px
}

.app-footer-premium .app-footer-desc {
    max-width: 330px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.65;
    text-align: left
}

.app-footer-premium .app-footer-social {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 10px
}

.app-footer-premium .app-footer-brand .app-footer-social {
    display: flex
}

.app-footer-premium .app-footer-social-featured {
    display: flex;
    margin-top: 8px
}

.app-footer-premium .app-footer-social-link {
    width: 40px;
    height: 40px;
    border: 1px solid #dfe5ef !important;
    border-radius: 10px;
    background: #f7f7f7 !important;
    box-shadow: 0 3px 10px rgba(16, 24, 40, .035) !important
}

.app-footer-premium .app-footer-social-link svg {
    width: 19px;
    height: 19px
}

.app-footer-premium .app-footer-social-link:hover {
    opacity: 1;
    border-color: color-mix(in srgb, var(--brand-primary, var(--nav, #487fff)) 32%, #dfe5ef) !important;
    transform: translateY(-2px)
}

.app-footer-premium .app-footer-col {
    gap: 16px
}

.app-footer-premium .app-footer-title {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.02em;
    text-transform: none
}

.app-footer-premium .app-footer-title:after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    margin-top: 10px;
    border-radius: 2px;
    background: var(--brand-primary, var(--nav, #487fff))
}

.app-footer-premium .app-footer-list {
    align-items: flex-start;
    gap: 13px
}

.app-footer-premium .app-footer-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 0;
    font-size: 13px
}

.app-footer-premium .app-footer-list a:before {
    content: none
}

.app-footer-premium .app-footer-list a iconify-icon {
    display: block;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    color: var(--brand-primary, var(--nav, #487fff));
    font-size: 19px
}

.app-footer-premium .app-footer-list a:hover {
    transform: translateX(2px)
}

.app-footer-premium .app-footer-col-contact {
    min-height: 220px;
    padding-left: 34px !important;
    border-left: 0 !important
}

.app-footer-white-copyright {
    padding: 12px 28px;
    background: #f7f7f7;
    color: #98a2b3;
    font-size: 13px;
    text-align: center;
    border: 0;
}

.app-footer-help-icon {
    color: var(--brand-primary, var(--nav, #487fff));
    font-size: 42px
}

.app-footer-help-heading {
    display: flex;
    align-items: center;
    gap: 12px
}

.app-footer-help-heading .app-footer-help-icon {
    font-size: 30px
}

.app-footer-help-title {
    margin: 4px 0 0;
    color: var(--ink, #101828);
    font-size: 17px
}

.app-footer-help-heading .app-footer-help-title {
    margin: 0
}

.app-footer-help-copy {
    margin: 0;
    color: #667085;
    font-size: 13px
}

.app-footer-help-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 11px 14px;
    border: 1px solid color-mix(in srgb, var(--brand-primary, var(--nav, #487fff)) 42%, #dfe5ef);
    border-radius: 9px;
    color: var(--brand-primary, var(--nav, #487fff));
    font-size: 11px;
    font-weight: 750;
    transition: background .15s ease, transform .15s ease
}

.app-footer-help-button:hover {
    background: color-mix(in srgb, var(--brand-primary, var(--nav, #487fff)) 6%, #fff);
    transform: translateY(-1px)
}

.app-footer-premium .app-footer-bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(82px, auto);
    align-items: center;
    gap: 0;
    min-height: 120px;
    padding: 18px 56px;
    border: 0;
    background: #fff;
    color: var(--ink, #101828);
}

.app-footer-security,
.app-footer-copyright,
.app-footer-bottom-contact>a {
    min-width: 0;
    min-height: 82px;
    padding: 0 28px
}

.app-footer-security {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    gap: 15px
}

.app-footer-security>span {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--brand-secondary, #764ba2) 28%, transparent);
    color: #a785ff;
    font-size: 24px
}

.app-footer-security strong,
.app-footer-security small,
.app-footer-bottom-contact strong,
.app-footer-bottom-contact small {
    display: block
}

.app-footer-security strong {
    font-size: 12px
}

.app-footer-security small {
    max-width: 280px;
    margin-top: 6px;
    color: #667085;
    font-size: 11px;
    line-height: 1.55
}

.app-footer-copyright {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    min-height: 82px;
    margin: 0;
    padding: 0 28px;
    border-left: 1px solid rgba(16, 24, 40, .08);
    text-align: center
}

.app-footer-premium .app-footer-copyright small {
    color: #667085;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    text-align: center
}

.app-footer-bottom-contact {
    display: contents
}

.app-footer-bottom-contact a {
    position: relative;
    display: flex;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-left: 0;
    color: var(--ink, #101828)
}

.app-footer-bottom-contact a:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 48px;
    background: rgba(16, 24, 40, .08);
    transform: translateY(-50%)
}

.app-footer-bottom-contact a:first-child {
    grid-column: 2
}

.app-footer-bottom-contact a+a {
    grid-column: 3
}

.app-footer-bottom-contact>a+a {
    min-height: 82px;
    padding-left: 28px
}

.app-footer-bottom-contact>a>iconify-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 50%;
    font-size: 24px
}

.app-footer-bottom-contact .is-whatsapp {
    background: rgba(52, 215, 123, .12);
    color: #34d77b
}

.app-footer-bottom-contact .is-mail {
    background: rgba(47, 156, 255, .12);
    color: #2f9cff
}

.app-footer-bottom-contact strong {
    font-size: 12px
}

.app-footer-bottom-contact small {
    display: block;
    max-width: 260px;
    margin-top: 6px;
    color: #667085;
    font-size: 11px;
    line-height: 1.55;
    overflow-wrap: anywhere
}

@media(max-width:1200px) {
    .app-footer-premium .app-footer-grid {
        grid-template-columns: 1.3fr repeat(3, 1fr);
        padding-inline: 32px
    }

    .app-footer-premium .app-footer-col-contact {
        grid-column: 1/-1;
        min-height: 0;
        padding: 24px 0 0 !important;
        border-top: 1px solid #e5e9f1;
        border-left: 0 !important
    }

    .app-footer-premium .app-footer-bottom {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-inline: 32px
    }

    .app-footer-security {
        display: flex
    }

    .app-footer-copyright {
        border-left: 1px solid rgba(16, 24, 40, .08)
    }
}

@media(max-width:760px) {

    .app-footer.app-footer-premium,
    .dashboard-layout .app-footer.app-footer-premium {
        margin-right: -14px;
        margin-left: -14px;
        padding: 0
    }

    .app-footer-premium .app-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px 18px;
        padding: 30px 20px
    }

    .app-footer-premium .app-footer-brand,
    .app-footer-premium .app-footer-col-contact {
        grid-column: 1/-1
    }

    .app-footer-premium .app-footer-col-contact {
        align-items: flex-start;
        text-align: left
    }

    .app-footer-premium .app-footer-bottom {
        display: flex;
        min-height: 0;
        padding: 25px 20px;
        flex-direction: column;
        gap: 22px
    }

    .app-footer-security {
        width: 100%;
        padding: 0 0 20px;
        border-bottom: 1px solid rgba(16, 24, 40, .08)
    }

    .app-footer-copyright {
        width: 100%;
        padding: 0 0 20px;
        border-left: 0;
        border-bottom: 1px solid rgba(16, 24, 40, .08)
    }

    .app-footer-bottom-contact {
        display: flex;
        width: 100%;
        padding: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px
    }

    .app-footer-bottom-contact a {
        padding: 0;
        border-left: 0
    }

    .app-footer-bottom-contact a:before {
        content: none
    }

    .app-footer-bottom-contact>a+a {
        padding-left: 18px
    }
}

.app-footer-contact-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    width: 100%;
}

.app-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--ink, #101828);
}

.app-footer-contact-item>iconify-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    font-size: 19px;
}

.app-footer-contact-item .is-whatsapp {
    color: #18b968;
    background: rgba(24, 185, 104, .1);
}

.app-footer-contact-item .is-phone {
    color: var(--brand-primary, var(--nav, #487fff));
    background: color-mix(in srgb, var(--brand-primary, var(--nav, #487fff)) 10%, transparent);
}

.app-footer-contact-item span,
.app-footer-contact-item strong,
.app-footer-contact-item small {
    display: block;
}

.app-footer-contact-item strong {
    font-size: 12px;
    font-weight: 750;
}

.app-footer-contact-item small {
    margin-top: 3px;
    color: #667085;
    font-size: 12px;
}

@media (min-width: 1201px) {
    .app-footer-premium .app-footer-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        column-gap: 32px;
        justify-items: center;
        padding-right: 6px;
        padding-left: 106px;
    }

    .app-footer-premium .app-footer-brand,
    .app-footer-premium .app-footer-col {
        width: 100%;
        max-width: 240px;
    }

    .app-footer-premium .app-footer-col-contact {
        padding-left: 0 !important;
    }
}

@media (max-width: 520px) {
    .app-footer-premium .app-footer-logo {
        height: 52px;
        max-width: 250px;
    }

    .app-footer-premium .app-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .app-footer-premium .app-footer-brand,
    .app-footer-premium .app-footer-col,
    .app-footer-premium .app-footer-col-contact {
        grid-column: 1;
        width: 100%;
        min-width: 0;
    }

    .app-footer-contact-item {
        min-width: 0;
    }

    .app-footer-contact-item span {
        min-width: 0;
    }

    .app-footer-contact-item small,
    .app-footer-white-copyright {
        overflow-wrap: anywhere;
    }
}

/* Respiro antes do rodapé e scrollbar principal alinhada ao tema do menu. */
.app-footer-spacer,
.dashboard-layout .app-footer-spacer {
    min-height: 96px;
    flex-basis: 96px;
}

html,
body,
.main {
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb,
            var(--sidebar-start, var(--brand-primary, #487fff)) 52%,
            var(--sidebar-end, var(--brand-secondary, #764ba2))) #edf1f7;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.main::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.main::-webkit-scrollbar-track {
    background: #edf1f7;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.main::-webkit-scrollbar-thumb {
    border: 1px solid #edf1f7;
    border-radius: 999px;
    background-color: var(--sidebar-start, var(--brand-primary, #487fff)) !important;
    background-image: linear-gradient(180deg,
            var(--sidebar-start, var(--brand-primary, var(--nav, #487fff))),
            var(--sidebar-end, var(--brand-secondary, var(--primary2, #764ba2)))) !important;
    background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.main::-webkit-scrollbar-thumb:hover {
    background-color: var(--sidebar-start, var(--brand-primary, #487fff)) !important;
    background-image: linear-gradient(180deg,
            color-mix(in srgb, var(--sidebar-start, var(--brand-primary, var(--nav, #487fff))) 86%, #000),
            color-mix(in srgb, var(--sidebar-end, var(--brand-secondary, var(--primary2, #764ba2))) 86%, #000)) !important;
}

@media (max-width: 760px) {

    .app-footer-spacer,
    .dashboard-layout .app-footer-spacer {
        min-height: 60px;
        flex-basis: 60px;
    }
}

/* Central de ajuda */
.help-hero {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.2fr);
    align-items: center;
    gap: 34px;
    padding: 30px 34px;
    border: 1px solid color-mix(in srgb, var(--brand-primary, #487fff) 15%, #e5e9f1);
    border-radius: 16px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand-primary, #487fff) 8%, #fff), #fff 52%, color-mix(in srgb, var(--brand-secondary, #764ba2) 7%, #fff));
    box-shadow: 0 10px 30px rgba(16, 24, 40, .05)
}

.help-hero-copy {
    display: flex;
    align-items: center;
    gap: 16px
}

.help-hero-copy>span,
.help-support-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-primary, #487fff), var(--brand-secondary, #764ba2));
    box-shadow: 0 9px 20px color-mix(in srgb, var(--brand-primary, #487fff) 22%, transparent);
    color: #fff;
    font-size: 27px
}

.help-hero h2,
.help-section-head h2 {
    margin: 0;
    color: #101828;
    font-size: 22px;
    line-height: 1.25
}

.help-hero p,
.help-section-head p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.55
}

.help-search {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #dfe5ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(16, 24, 40, .05)
}

.help-search:focus-within {
    border-color: var(--brand-primary, #487fff);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary, #487fff) 13%, transparent)
}

.help-search>iconify-icon {
    color: var(--brand-primary, #487fff);
    font-size: 20px
}

.help-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #101828;
    font: inherit
}

.help-search kbd {
    padding: 4px 7px;
    border: 1px solid #e4e7ec;
    border-radius: 6px;
    background: #f8fafc;
    color: #98a2b3;
    font: 600 10px/1 Inter, sans-serif
}

.help-section {
    margin-top: 26px
}

.help-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px
}

.help-section-head>div>span {
    display: block;
    margin-bottom: 5px;
    color: var(--brand-primary, #487fff);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em
}

.help-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px
}

.help-quick-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 16px;
    border: 1px solid #e5e9f1;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(16, 24, 40, .035);
    transition: .18s ease
}

.help-quick-card:hover {
    border-color: color-mix(in srgb, var(--brand-primary, #487fff) 30%, #e5e9f1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 24, 40, .07)
}

.help-quick-card>span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    background: color-mix(in srgb, var(--brand-primary, #487fff) 9%, #fff);
    color: var(--brand-primary, #487fff);
    font-size: 21px
}

.help-quick-card strong,
.help-quick-card small {
    display: block
}

.help-quick-card strong {
    color: #101828;
    font-size: 13px
}

.help-quick-card small {
    margin-top: 4px;
    color: #667085;
    font-size: 11px;
    line-height: 1.4
}

.help-quick-card>iconify-icon {
    color: #98a2b3
}

.help-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 14px
}

.help-category-card {
    overflow: hidden;
    border: 1px solid #e5e9f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(16, 24, 40, .035)
}

.help-category-card[hidden] {
    display: none
}

.help-category-card>header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f5
}

.help-category-card>header>span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 11px;
    font-size: 21px
}

.help-category-card .blue {
    background: #edf3ff;
    color: #487fff
}

.help-category-card .purple {
    background: #f3efff;
    color: #805ad5
}

.help-category-card .amber {
    background: #fff5df;
    color: #d58a00
}

.help-category-card .green {
    background: #e9faf5;
    color: #12a47f
}

.help-category-card h3 {
    margin: 0;
    color: #101828;
    font-size: 15px
}

.help-category-card header p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 11px
}

.help-category-card nav a {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 11px;
    padding: 13px 20px;
    border-bottom: 1px solid #f0f2f6;
    transition: .15s ease
}

.help-category-card nav a:last-child {
    border-bottom: 0
}

.help-category-card nav a:hover {
    padding-left: 23px;
    background: color-mix(in srgb, var(--brand-primary, #487fff) 4%, #fff)
}

.help-category-card nav a>iconify-icon:first-child {
    color: var(--brand-primary, #487fff);
    font-size: 18px
}

.help-category-card nav a>iconify-icon:last-child {
    color: #b1b8c5
}

.help-category-card nav strong,
.help-category-card nav small {
    display: block
}

.help-category-card nav strong {
    color: #344054;
    font-size: 12px
}

.help-category-card nav small {
    margin-top: 3px;
    color: #7b8495;
    font-size: 10px;
    line-height: 1.4
}

.help-no-results {
    padding: 45px;
    text-align: center;
    color: #667085
}

.help-no-results iconify-icon {
    font-size: 32px
}

.help-no-results strong {
    display: block;
    margin-top: 9px;
    color: #344054
}

.help-no-results p {
    margin: 5px 0 0;
    font-size: 12px
}

.help-faq-support {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    gap: 16px
}

.help-faq,
.help-support-card {
    padding: 24px;
    border: 1px solid #e5e9f1;
    border-radius: 14px;
    background: #fff
}

.help-faq details {
    border-top: 1px solid #edf0f5
}

.help-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    list-style: none
}

.help-faq summary::-webkit-details-marker {
    display: none
}

.help-faq details[open] summary iconify-icon {
    transform: rotate(180deg)
}

.help-faq details p {
    margin: -3px 28px 16px 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.6
}

.help-support-card {
    background: linear-gradient(145deg, color-mix(in srgb, var(--brand-primary, #487fff) 7%, #fff), #fff)
}

.help-support-card h2 {
    margin: 17px 0 0;
    color: #101828;
    font-size: 18px
}

.help-support-card>p {
    margin: 8px 0 18px;
    color: #667085;
    font-size: 12px;
    line-height: 1.6
}

.help-support-card>div {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.help-support-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 13px;
    border: 1px solid color-mix(in srgb, var(--brand-primary, #487fff) 35%, #dfe5ef);
    border-radius: 9px;
    color: var(--brand-primary, #487fff);
    font-size: 11px;
    font-weight: 750
}

.help-support-card a.primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand-primary, #487fff), var(--brand-secondary, #764ba2));
    color: #fff
}

.help-support-card>small {
    display: block;
    margin-top: 14px;
    color: #98a2b3;
    font-size: 10px
}

@media(max-width:1100px) {
    .help-hero {
        grid-template-columns: 1fr
    }

    .help-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:760px) {
    .help-hero {
        gap: 20px;
        padding: 22px 18px
    }

    .help-search kbd {
        display: none
    }

    .help-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px
    }

    .help-quick-grid,
    .help-category-grid,
    .help-faq-support {
        grid-template-columns: 1fr
    }

    .help-quick-card {
        min-height: 82px
    }

    .help-category-card>header,
    .help-category-card nav a {
        padding-right: 15px;
        padding-left: 15px
    }
}

.help-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 20px 14px;
    border: 1px solid #e5e9f1;
    border-radius: 14px;
    background: #fff;
    list-style: none
}

.help-flow li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
    padding: 5px 16px
}

.help-flow li:not(:last-child):after {
    content: "";
    position: absolute;
    top: 25px;
    right: -8px;
    width: 16px;
    height: 1px;
    background: color-mix(in srgb, var(--brand-primary, #487fff) 25%, #e5e9f1)
}

.help-flow li>span {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 11px;
    background: color-mix(in srgb, var(--brand-primary, #487fff) 9%, #fff);
    color: var(--brand-primary, #487fff);
    font-size: 19px
}

.help-flow li>span b {
    position: absolute;
    top: -6px;
    right: -6px;
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--brand-primary, #487fff);
    color: #fff;
    font-size: 8px
}

.help-flow strong,
.help-flow small {
    display: block
}

.help-flow strong {
    margin-top: 2px;
    color: #344054;
    font-size: 12px
}

.help-flow small {
    margin-top: 4px;
    color: #667085;
    font-size: 10px;
    line-height: 1.45
}

.help-screen-guide {
    border-bottom: 1px solid #f0f2f6
}

.help-screen-guide:last-child {
    border-bottom: 0
}

.help-screen-guide summary {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 11px;
    padding: 13px 20px;
    cursor: pointer;
    list-style: none
}

.help-screen-guide summary::-webkit-details-marker {
    display: none
}

.help-screen-guide summary:hover {
    background: color-mix(in srgb, var(--brand-primary, #487fff) 4%, #fff)
}

.help-screen-guide summary>iconify-icon:first-child {
    color: var(--brand-primary, #487fff);
    font-size: 18px
}

.help-screen-guide summary>iconify-icon:last-child {
    color: #98a2b3;
    transition: transform .18s ease
}

.help-screen-guide[open] summary>iconify-icon:last-child {
    transform: rotate(180deg)
}

.help-screen-guide summary strong,
.help-screen-guide summary small {
    display: block
}

.help-screen-guide summary strong {
    color: #344054;
    font-size: 12px
}

.help-screen-guide summary small {
    margin-top: 3px;
    color: #7b8495;
    font-size: 10px;
    line-height: 1.4
}

.help-screen-guide>div {
    padding: 0 20px 17px 51px;
    background: #fbfcff
}

.help-screen-guide>div>b {
    color: #344054;
    font-size: 11px
}

.help-screen-guide ol {
    display: grid;
    gap: 6px;
    margin: 9px 0 13px;
    padding-left: 17px;
    color: #667085;
    font-size: 11px;
    line-height: 1.5
}

.help-screen-guide>div>a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-primary, #487fff);
    font-size: 11px;
    font-weight: 750
}

@media(max-width:1100px) {
    .help-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px
    }

    .help-flow li:not(:last-child):after {
        content: none
    }

    .help-flow li:last-child {
        grid-column: 1/-1
    }
}

@media(max-width:760px) {
    .help-flow {
        grid-template-columns: 1fr
    }

    .help-flow li:last-child {
        grid-column: auto
    }

    .help-screen-guide summary {
        padding-right: 15px;
        padding-left: 15px
    }

    .help-screen-guide>div {
        padding-right: 15px;
        padding-left: 46px
    }
}

.help-category-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch
}

.help-category-card {
    width: 100%
}

.dependency-help {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    margin-top: 8px;
    padding: 10px 11px;
    border: 1px solid #dbe6fa;
    border-radius: 9px;
    background: #f7faff;
    color: #475467
}

.dependency-help>iconify-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    background: #e9f1ff;
    color: var(--brand-primary, #487fff);
    font-size: 16px
}

.dependency-help strong,
.dependency-help small {
    display: block
}

.dependency-help strong {
    color: #344054;
    font-size: 11px
}

.dependency-help small {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.45
}

.dependency-help a {
    display: inline-flex;
    margin-top: 6px;
    color: var(--brand-primary, #487fff);
    font-size: 10px;
    font-weight: 800;
    text-decoration: none
}

.dependency-help a:hover {
    text-decoration: underline
}

.dependency-help+small {
    margin-top: 7px
}

.diagnostic-prerequisite-empty {
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 360px;
    padding: 40px 28px;
    text-align: center
}

.diagnostic-prerequisite-empty>span {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 18px;
    background: #edf3ff;
    color: var(--brand-primary, #487fff);
    font-size: 28px
}

.diagnostic-prerequisite-empty h3 {
    margin: 0;
    color: #172033;
    font-size: 18px
}

.diagnostic-prerequisite-empty p {
    max-width: 440px;
    margin: 8px auto 20px;
    color: #667085;
    font-size: 13px;
    line-height: 1.55
}

.vr-sheet[data-mode="create"] [data-task-status-field] {
    display: none
}

/* Governança de acessos e visita guiada */
.access-process-guide {
    margin: 22px 24px 16px;
    padding: 20px;
    border: 1px solid #dbe5f3;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fbff, #fff)
}

.access-process-intro {
    display: flex;
    gap: 13px;
    align-items: flex-start
}

.access-process-intro>span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eaf1ff;
    color: var(--primary);
    font-size: 22px;
    flex: 0 0 auto
}

.access-process-intro strong {
    display: block;
    color: #14213d;
    font-size: 16px
}

.access-process-intro p {
    margin: 4px 0 0;
    color: #687691;
    font-size: 13px
}

.access-process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 18px 0;
    padding: 0;
    list-style: none
}

.access-process-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px;
    border: 1px solid #e2e9f3;
    border-radius: 12px;
    background: #fff
}

.access-process-steps b {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff
}

.access-process-steps strong,
.access-process-steps small {
    display: block
}

.access-process-steps small {
    margin-top: 2px;
    color: #7a879e;
    font-size: 11px
}

.access-process-warning {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 0;
    padding: 11px 13px;
    border-radius: 10px;
    background: #fff6e7;
    color: #825610;
    font-size: 12px
}

.access-process-warning iconify-icon {
    font-size: 18px
}

.access-role-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0 24px 22px
}

.access-role-grid article {
    display: flex;
    gap: 10px;
    padding: 14px;
    border: 1px solid #e1e8f2;
    border-radius: 12px
}

.access-role-grid article>span {
    color: var(--primary);
    font-size: 20px
}

.access-role-grid strong,
.access-role-grid small {
    display: block
}

.access-role-grid small {
    margin-top: 4px;
    color: #748198;
    font-size: 11px;
    line-height: 1.45
}

.access-assignment-help {
    margin: 0 0 8px;
    color: #66758f;
    font-size: 12px
}

.access-role-option {
    display: flex !important;
    gap: 9px;
    align-items: flex-start;
    margin: 0 0 8px;
    padding: 9px;
    border: 1px solid #e4eaf3;
    border-radius: 9px;
    cursor: pointer
}

.access-role-option input {
    margin-top: 3px
}

.access-role-option span,
.access-role-option strong,
.access-role-option small {
    display: block
}

.access-role-option small {
    margin-top: 2px;
    color: #7b879d;
    font-size: 10px;
    line-height: 1.35
}

.access-role-alert {
    display: flex;
    gap: 6px;
    margin: 8px 0;
    padding: 8px;
    border-radius: 8px;
    background: #fff4e5;
    color: #895b13;
    font-size: 11px;
    line-height: 1.4
}

.help-tour-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px 22px;
    border: 1px solid #dce5f2;
    border-radius: 16px;
    background: linear-gradient(120deg, #f4f8ff, #fff);
    box-shadow: 0 8px 24px rgba(34, 55, 90, .05)
}

.help-tour-card>span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #e8efff;
    color: var(--primary);
    font-size: 25px
}

.help-tour-card>div {
    flex: 1
}

.help-tour-card small {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: .08em
}

.help-tour-card h2 {
    margin: 3px 0;
    font-size: 18px
}

.help-tour-card p {
    margin: 0;
    color: #6f7d94;
    font-size: 13px
}

.help-tour-card button {
    display: flex;
    align-items: center;
    gap: 7px
}

.team-access-explainer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid #dce5f1;
    border-radius: 14px;
    background: #f8fbff
}

.team-access-explainer>span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #e8f0ff;
    color: var(--primary);
    font-size: 21px
}

.team-access-explainer>div {
    flex: 1
}

.team-access-explainer strong {
    color: #1d2b45
}

.team-access-explainer p {
    margin: 3px 0 0;
    color: #718098;
    font-size: 12px
}

.team-access-explainer a {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap
}

.team-invite-note {
    display: flex;
    gap: 9px;
    margin: 0 0 18px;
    padding: 11px 12px;
    border-radius: 10px;
    background: #eef5ff;
    color: #405675;
    font-size: 12px;
    line-height: 1.45
}

.team-invite-note iconify-icon {
    margin-top: 2px;
    color: var(--primary);
    font-size: 18px
}

.product-tour-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(11, 22, 42, .64);
    backdrop-filter: blur(1px)
}

.product-tour-focus {
    position: relative !important;
    z-index: 10002 !important;
    border-radius: 10px;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .95), 0 0 0 9px var(--primary) !important
}

.product-tour-card {
    position: fixed;
    z-index: 10003;
    padding: 22px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(3, 13, 33, .3)
}

.product-tour-progress {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.product-tour-progress span {
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em
}

.product-tour-progress b {
    color: #8995a8;
    font-size: 11px
}

.product-tour-card h2 {
    margin: 12px 0 7px;
    color: #14213d;
    font-size: 20px
}

.product-tour-card p {
    margin: 0;
    color: #66758d;
    font-size: 13px;
    line-height: 1.55
}

.product-tour-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px
}

.product-tour-actions>div {
    display: flex;
    gap: 8px
}

.product-tour-actions button {
    padding: 9px 13px;
    border: 1px solid #dbe3ee;
    border-radius: 9px;
    background: #fff;
    color: #34425a;
    font-weight: 700;
    cursor: pointer
}

.product-tour-actions .product-tour-skip {
    padding-left: 0;
    border: 0;
    color: #7e8ba0
}

.product-tour-actions .product-tour-next {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff
}

.vr-assistant-fab {
    position: fixed;
    right: 25px;
    bottom: 88px;
    z-index: 9200;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: #fff;
    box-shadow: 0 14px 34px rgba(35, 55, 110, .32);
    cursor: pointer;
    perspective: 700px
}

.vr-assistant-halo {
    position: absolute;
    inset: -6px;
    border: 2px solid color-mix(in srgb, var(--primary) 45%, transparent);
    border-radius: 50%;
    animation: vr-assistant-pulse 2.4s ease-out infinite
}

.vr-assistant-flip {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform .48s cubic-bezier(.2, .75, .25, 1.15)
}

.vr-assistant-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 27px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden
}

.vr-assistant-face-back {
    transform: rotateY(180deg)
}

.vr-assistant-fab.is-open .vr-assistant-flip {
    transform: rotateY(180deg)
}

.vr-assistant-fab.is-open .vr-assistant-halo {
    animation: none;
    opacity: 0
}

.vr-assistant-fab:hover .vr-assistant-flip {
    filter: brightness(1.08)
}

.vr-assistant-panel {
    position: fixed;
    right: 25px;
    bottom: 158px;
    z-index: 9199;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    width: min(440px, calc(100vw - 32px));
    height: min(700px, calc(100vh - 190px));
    overflow: hidden;
    border: 1px solid #e1e7f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(22, 33, 58, .25);
    opacity: 0;
    transform: translateY(14px) scale(.97);
    transition: .2s ease
}

.vr-assistant-panel.is-open {
    visibility: visible;
    opacity: 1;
    transform: none
}

.vr-assistant-panel>header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 18px;
    border-bottom: 1px solid #e8edf4
}

.vr-assistant-panel>header>span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #e9efff;
    color: var(--primary);
    font-size: 22px
}

.vr-assistant-panel>header>div {
    flex: 1
}

.vr-assistant-panel h2 {
    margin: 0;
    color: #202b42;
    font-size: 21px
}

.vr-assistant-panel h2 i {
    font-style: normal;
    font-weight: 400
}

.vr-assistant-panel header p {
    margin: 2px 0 0;
    color: #697791;
    font-size: 11px
}

.vr-assistant-panel header button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #dbe3ee;
    border-radius: 9px;
    background: #fff;
    color: #52617a;
    font-size: 18px;
    cursor: pointer
}

.vr-assistant-log {
    flex: 1;
    overflow: auto;
    padding: 20px;
    background: linear-gradient(#fff, #fbfcff)
}

.vr-assistant-welcome {
    text-align: center
}

.vr-assistant-welcome>span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 2px auto 10px;
    border-radius: 18px;
    background: #f0eaff;
    color: #7653ec;
    font-size: 29px
}

.vr-assistant-welcome strong {
    display: block;
    color: #33415f
}

.vr-assistant-welcome p {
    margin: 5px auto 16px;
    max-width: 300px;
    color: #748098;
    font-size: 12px;
    line-height: 1.5
}

.vr-assistant-suggestions {
    display: grid;
    gap: 8px;
    text-align: left
}

.vr-assistant-suggestions button {
    padding: 10px 12px;
    border: 1px solid #dfe6f1;
    border-radius: 10px;
    background: #fff;
    color: #3e4d69;
    font-size: 12px;
    text-align: left;
    cursor: pointer
}

.vr-assistant-suggestions button:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f8faff
}

.vr-assistant-bubble {
    max-width: 88%;
    margin: 8px 0;
    padding: 11px 13px;
    border-radius: 13px;
    font-size: 12px;
    line-height: 1.55
}

.vr-assistant-bubble.is-user {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px
}

.vr-assistant-bubble.is-assistant {
    border: 1px solid #e0e7f1;
    background: #fff;
    color: #3b4963;
    border-bottom-left-radius: 4px
}

.vr-assistant-bubble.is-loading {
    color: #738199;
    background: #f1f4f8
}

.vr-assistant-bubble.is-error {
    color: #b42318;
    background: #fff0ee
}

.vr-assistant-bubble p {
    margin: 0 0 7px
}

.vr-assistant-bubble p:last-child {
    margin-bottom: 0
}

.vr-assistant-bubble ul {
    margin: 5px 0;
    padding-left: 18px
}

.vr-assistant-panel>form {
    padding: 13px 15px 15px;
    border-top: 1px solid #e5eaf2;
    background: #fff
}

.vr-assistant-panel>form>label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0)
}

.vr-assistant-panel>form>div {
    display: grid;
    grid-template-columns: 25px 1fr 40px;
    align-items: end;
    gap: 5px;
    padding: 7px;
    border: 1px solid #b9c7dd;
    border-radius: 13px;
    box-shadow: 0 0 0 3px #f1f4fa
}

.vr-assistant-panel textarea {
    width: 100%;
    min-height: 40px;
    max-height: 92px;
    padding: 5px;
    border: 0;
    outline: 0;
    resize: none;
    font: inherit;
    font-size: 12px
}

.vr-assistant-panel form>div>iconify-icon {
    align-self: center;
    color: #77859b
}

.vr-assistant-panel form button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: #fff;
    font-size: 20px;
    cursor: pointer
}

.vr-assistant-panel form button:disabled {
    opacity: .55
}

.vr-assistant-panel form small {
    display: block;
    margin-top: 8px;
    color: #919db0;
    font-size: 10px
}

@keyframes vr-assistant-pulse {
    0% {
        transform: scale(.92);
        opacity: .75
    }

    75%,
    100% {
        transform: scale(1.25);
        opacity: 0
    }
}

@media(max-width:600px) {
    .vr-assistant-fab {
        right: 16px;
        bottom: 78px
    }

    .vr-assistant-panel {
        right: 16px;
        bottom: 145px;
        height: calc(100vh - 170px)
    }
}

@media(prefers-reduced-motion:reduce) {
    .vr-assistant-flip {
        transition: none
    }

    .vr-assistant-halo {
        animation: none
    }
}

/* Mesma troca de faces usada pelo Assistente 360 do Campanha */
.vr-assistant-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border: 1px solid rgba(255, 255, 255, .18);
    isolation: isolate;
    perspective: 640px;
    transition: transform .22s ease, box-shadow .22s ease, background .35s ease, border-color .35s ease
}

.vr-assistant-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px color-mix(in srgb, var(--primary) 45%, transparent), 0 3px 8px rgba(15, 23, 42, .2)
}

.vr-assistant-fab:active {
    transform: translateY(-1px) scale(.96)
}

.vr-assistant-halo {
    inset: -5px;
    z-index: -1;
    border-width: 1px;
    pointer-events: none;
    transition: opacity .25s ease
}

.vr-assistant-flip {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    inset: auto;
    transform: rotate(0);
    transform-style: flat;
    transition: transform .55s cubic-bezier(.4, 0, .2, 1)
}

.vr-assistant-face {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transition: opacity .22s ease, scale .55s cubic-bezier(.4, 0, .2, 1)
}

.vr-assistant-face iconify-icon {
    display: block;
    color: #fff;
    font-size: 1.85rem;
    line-height: 1
}

.vr-assistant-face-front {
    opacity: 1;
    scale: 1
}

.vr-assistant-face-front iconify-icon {
    filter: drop-shadow(0 0 6px color-mix(in srgb, #bfdbfe 80%, transparent));
    animation: vr-assistant-robot-pulse 1.4s ease-in-out infinite
}

.vr-assistant-face-back {
    opacity: 0;
    scale: .35;
    transform: rotate(180deg)
}

.vr-assistant-face-back iconify-icon {
    font-size: 2.05rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35))
}

.vr-assistant-fab.is-open {
    border-color: rgba(255, 255, 255, .28);
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .45), 0 0 0 3px rgba(148, 163, 184, .25)
}

.vr-assistant-fab.is-open:hover {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    transform: translateY(-3px)
}

.vr-assistant-fab.is-open .vr-assistant-flip {
    transform: rotate(180deg)
}

.vr-assistant-fab.is-open .vr-assistant-face-front {
    opacity: 0;
    scale: .35
}

.vr-assistant-fab.is-open .vr-assistant-face-front iconify-icon {
    animation: none
}

.vr-assistant-fab.is-open .vr-assistant-face-back {
    opacity: 1;
    scale: 1
}

@keyframes vr-assistant-robot-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(191, 219, 254, .55))
    }

    50% {
        transform: scale(1.09);
        filter: drop-shadow(0 0 9px rgba(191, 219, 254, .9))
    }
}

@media(prefers-reduced-motion:reduce) {
    .vr-assistant-flip {
        transition: none
    }

    .vr-assistant-face {
        transition: none
    }

    .vr-assistant-face-front iconify-icon {
        animation: none
    }
}

.comando-360-fab {
    position: fixed;
    right: 25px;
    bottom: 65px;
    z-index: 9200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary2, #1e3a8a) 0%, var(--primary, #487fff) 100%);
    color: #fff;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--primary, #487fff) 38%, transparent), 0 2px 5px rgba(15, 23, 42, .18);
    cursor: pointer;
    isolation: isolate;
    perspective: 640px;
    -webkit-tap-highlight-color: transparent;
    transition: transform .22s ease, box-shadow .22s ease, background .35s ease, border-color .35s ease
}

.comando-360-fab:hover {
    background: linear-gradient(135deg, var(--primary2, #1d4ed8) 0%, var(--primary, #60a5fa) 100%);
    box-shadow: 0 16px 32px color-mix(in srgb, var(--primary, #487fff) 45%, transparent), 0 3px 8px rgba(15, 23, 42, .2);
    transform: translateY(-3px);
    color: #fff
}

.comando-360-fab:active {
    transform: translateY(-1px) scale(.96)
}

.comando-360-fab__halo {
    position: absolute;
    inset: -5px;
    z-index: -1;
    border-radius: inherit;
    border: 1px solid color-mix(in srgb, var(--primary, #60a5fa) 75%, transparent);
    background: transparent;
    animation: comando-360-pulse 2.4s ease-out infinite;
    transition: opacity .25s ease;
    pointer-events: none
}

.comando-360-fab__flip {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
    transition: transform .55s cubic-bezier(.4, 0, .2, 1)
}

.comando-360-fab__face {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    transition: opacity .22s ease, scale .55s cubic-bezier(.4, 0, .2, 1)
}

.comando-360-fab__face--front {
    opacity: 1;
    scale: 1
}

.comando-360-fab__face--back {
    opacity: 0;
    scale: .35;
    transform: rotate(180deg)
}

.comando-360-fab__face iconify-icon {
    display: block;
    color: #fff;
    font-size: 1.85rem;
    line-height: 1
}

.comando-360-fab__face--front iconify-icon {
    filter: drop-shadow(0 0 6px rgba(191, 219, 254, .8));
    animation: comando-360-robot-pulse 1.4s ease-in-out infinite
}

.comando-360-fab__face--back iconify-icon {
    font-size: 2.05rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35))
}

.comando-360-fab.is-open {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(255, 255, 255, .28);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .45), 0 0 0 3px rgba(148, 163, 184, .25)
}

.comando-360-fab.is-open:hover {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    transform: translateY(-3px)
}

.comando-360-fab.is-open .comando-360-fab__halo {
    animation: none;
    opacity: 0
}

.comando-360-fab.is-open .comando-360-fab__flip {
    transform: rotate(180deg)
}

.comando-360-fab.is-open .comando-360-fab__face--front {
    opacity: 0;
    scale: .35
}

.comando-360-fab.is-open .comando-360-fab__face--front iconify-icon {
    animation: none
}

.comando-360-fab.is-open .comando-360-fab__face--back {
    opacity: 1;
    scale: 1
}

@keyframes comando-360-pulse {
    0% {
        transform: scale(.88);
        opacity: .7
    }

    75%,
    100% {
        transform: scale(1.3);
        opacity: 0
    }
}

@keyframes comando-360-robot-pulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.09)
    }
}

@media(max-width:600px) {
    .comando-360-fab {
        right: 16px;
        bottom: 78px
    }
}

@media(prefers-reduced-motion:reduce) {

    .comando-360-fab,
    .comando-360-fab__halo,
    .comando-360-fab__face iconify-icon {
        animation: none !important;
        transition: none !important
    }
}

.vr-assistant-context {
    width: 100%;
    margin: 4px 0 16px;
    text-align: left
}

.vr-assistant-context>em {
    display: block;
    padding: 12px;
    color: #8190a7;
    font-size: 11px;
    text-align: center
}

.vr-assistant-section-title {
    display: block;
    margin: 13px 0 7px;
    color: #2c3d61;
    font-size: 11px
}

.vr-assistant-insights {
    overflow: hidden;
    border: 1px solid #dfe6f1;
    border-radius: 11px;
    background: #fff
}

.vr-assistant-insights>div {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 10px;
    color: #64728b;
    font-size: 11px
}

.vr-assistant-insights>div+div {
    border-top: 1px solid #e8edf4
}

.vr-assistant-insights span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background: #f0e9ff;
    color: #7552e8;
    font-size: 13px
}

.vr-assistant-insights b {
    color: #304166
}

.vr-assistant-recommendation {
    padding: 12px;
    border: 1px solid #dfe6f1;
    border-radius: 11px;
    background: #fff
}

.vr-assistant-recommendation>b {
    display: block;
    color: #2b3a55;
    font-size: 12px
}

.vr-assistant-recommendation p {
    max-width: none;
    margin: 6px 0 10px;
    color: #6d7b92;
    font-size: 11px;
    text-align: left
}

.vr-assistant-recommendation>div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.vr-assistant-recommendation a {
    padding: 6px 8px;
    border: 1px solid #cfd8ff;
    border-radius: 7px;
    background: #f4f6ff;
    color: #4d5ae5;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none
}

.vr-assistant-recommendation a:hover {
    border-color: var(--primary);
    background: #eaf0ff
}

/* Tabelas permanecem contidas nos cards, sem rolagem horizontal. */
.client-list-card>.client-table-wrap,
.table-responsive,
.vr-table-wrap {
    max-width: 100%;
    overflow-x: hidden
}

.client-list-card .client-table,
.table-responsive>.table,
.vr-table-wrap>.table {
    width: 100%;
    min-width: 0;
    table-layout: fixed
}

.client-table th,
.bordered-table thead th,
.table thead th {
    min-width: 0;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none
}

.client-list-card .client-table td {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere
}

.client-list-card .client-table .client-actions-cell,
.client-table th.client-actions-cell {
    width: 82px;
    min-width: 0;
    white-space: nowrap
}

/* Respiro uniforme entre campos e ações em formulários de página. */
form>.form-grid+:is(.btn, .form-actions, .button-row),
form>.field+:is(.btn, .form-actions, .button-row),
.card-body>form>:is(input:not([type="hidden"]), select, textarea)+.btn {
    margin-top: 16px
}

.form-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px
}

.form-actions>.btn,
.button-row>.btn {
    margin: 0
}

.main-content-frame {
    width: calc(100% - 152px);
    max-width: none;
    min-width: 0;
    margin-inline: auto
}

.topbar-frame {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 152px);
    min-width: 0;
    margin-inline: auto
}

.app-footer.app-footer-contextual,
.dashboard-layout .app-footer.app-footer-contextual,
.page-dashboard .app-footer.app-footer-contextual,
.main:has(.vrx-dashboard)>.app-footer.app-footer-contextual {
    display: block;
    width: auto;
    margin: auto -28px 0;
    padding: 0 28px
}

.app-footer-contextual-frame {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    align-items: center;
    gap: 24px;
    width: calc(100% - 152px);
    min-height: 64px;
    margin-inline: auto
}

.main-content-frame>.vrx-dashboard {
    padding-right: 0;
    padding-left: 0
}

.client-table td>form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px
}

.client-table td>form>textarea {
    flex: 1 0 100%;
    margin-bottom: 2px
}

.client-table td>form>.btn {
    margin: 0
}

@media(max-width:1100px) {

    .main-content-frame,
    .topbar-frame {
        width: calc(100% - 68px)
    }

    .app-footer.app-footer-contextual,
    .dashboard-layout .app-footer.app-footer-contextual,
    .page-dashboard .app-footer.app-footer-contextual,
    .main:has(.vrx-dashboard)>.app-footer.app-footer-contextual {
        width: auto;
        margin-right: -18px;
        margin-left: -18px;
        padding-right: 18px;
        padding-left: 18px
    }

    .app-footer-contextual-frame {
        width: calc(100% - 68px)
    }
}

@media(max-width:900px) {
    .app-footer-contextual-frame {
        grid-template-columns: 1fr auto;
        gap: 12px 18px
    }

    .app-footer-contextual-copy {
        grid-column: 1/-1
    }
}

@media(max-width:700px) {

    .main-content-frame,
    .topbar-frame {
        width: 100%
    }

    .app-footer-contextual-frame {
        width: 100%;
        margin-inline: auto;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px 0 84px
    }

    .app-footer-contextual-copy {
        grid-column: auto
    }

    .app-footer.app-footer-contextual,
    .dashboard-layout .app-footer.app-footer-contextual,
    .page-dashboard .app-footer.app-footer-contextual,
    .main:has(.vrx-dashboard)>.app-footer.app-footer-contextual {
        width: auto;
        margin-right: -14px;
        margin-left: -14px;
        padding-right: 14px;
        padding-left: 14px
    }
}

@media(max-width:900px) {

    .access-process-steps,
    .access-role-grid {
        grid-template-columns: 1fr
    }

    .access-role-grid {
        margin: 0 16px 18px
    }

    .access-process-guide {
        margin: 16px
    }

    .help-tour-card,
    .team-access-explainer {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .help-tour-card button,
    .team-access-explainer a {
        width: 100%;
        justify-content: center
    }
}

@media(min-width:601px) {

    .comando-360-fab,
    .vr-assistant-fab,
    .vr-assistant-panel {
        right: 20px
    }
}

/* Títulos do produto seguem Capitalize: "Novo Imóvel", "Nova Empresa" etc. 
:where(h1, h2, h3, h4) {
    text-transform: capitalize;
}
    */

/* Tamanho único para títulos de modais, confirmações e painéis laterais. */
.vr-sheet-head h2,
[role="dialog"] :where(h1, h2, h3, h4),
.vr-confirm-card>strong {
    font-size: 1.5rem;
    line-height: 1.25;
}

.automation-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 20px 24px 24px
}

.automation-action-grid form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 8px;
    padding: 16px;
    border: 1px solid #e3e8f0;
    border-radius: 12px;
    background: #f9fbff
}

.automation-action-grid label {
    grid-column: 1/-1;
    color: #475467;
    font-size: 12px;
    font-weight: 700
}

#sidebar-stip-box.is-top::before {
    top: 100%;
    bottom: auto;
    left: 50%;
    right: auto;
    border: 5px solid transparent;
    border-top-color: #1e293b;
    transform: translateX(-50%)
}

#sidebar-stip-box.is-rich {
    width: max-content;
    max-width: min(320px, calc(100vw - 16px));
    padding: 9px 11px;
    white-space: normal;
    line-height: 1.45
}

.automation-empty-state {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 18px;
    border: 1px dashed #d8e0ec;
    border-radius: 12px;
    background: #f9fbff
}

.automation-empty-state>span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    background: #eaf1ff;
    color: #487fff;
    font-size: 21px
}

.automation-empty-state>div {
    display: grid;
    flex: 1;
    gap: 4px
}

.automation-empty-state small {
    color: #667085;
    line-height: 1.45
}

.client-status.is-assisted {
    color: #175cd3;
    background: #eff6ff
}

.client-status.is-assisted i {
    background: #2e6bea
}

.integration-purpose {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 7px
}

.integration-info-button {
    display: inline-grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    margin-left: auto;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #eaf1ff;
    color: #487fff;
    cursor: help;
    font-size: 17px
}

.integration-info-button:hover,
.integration-info-button:focus-visible {
    outline: none;
    background: #dce8ff;
    color: #285fd6;
    transform: translateY(-1px)
}

.automation-action-grid select,
.automation-inline-form :is(input, select) {
    min-height: 42px;
    border: 1px solid #dfe4eb;
    border-radius: 8px;
    background: #fff;
    padding: 9px 11px;
    color: #172033
}

.automation-inline-form {
    display: flex;
    align-items: center;
    gap: 8px
}

.automation-inline-form input {
    width: 150px
}

.automation-inline-form select {
    width: 165px
}

.client-table td>small {
    display: block;
    margin-top: 4px;
    color: #8995a8;
    font-size: 10px;
    line-height: 1.35
}

.client-table td code {
    white-space: nowrap
}

@media (max-width: 760px) {
    .client-table td code {
        white-space: normal;
        overflow-wrap: anywhere
    }
}

@media(max-width:900px) {
    .automation-action-grid {
        grid-template-columns: 1fr
    }

    .automation-inline-form {
        flex-wrap: wrap
    }

    .automation-inline-form :is(input, select) {
        width: 100%
    }
}

@media(max-width:600px) {
    .automation-action-grid {
        padding: 14px
    }

    .automation-action-grid form {
        grid-template-columns: 1fr
    }

    .automation-action-grid label {
        grid-column: auto
    }

    .automation-action-grid .btn {
        width: 100%
    }

    .automation-empty-state {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .automation-empty-state .btn {
        margin-left: 56px;
        width: calc(100% - 56px)
    }
}

.registry-lookup {
    display: flex;
    width: 100%;
    overflow: hidden;
    border: 1px solid #dfe4eb;
    border-radius: 8px;
    background: #fff
}

.vr-sheet .field .registry-lookup>input {
    flex: 1;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none
}

.registry-lookup>button {
    display: grid;
    flex: 0 0 44px;
    min-height: 44px;
    place-items: center;
    border: 0;
    border-left: 1px solid #dfe4eb;
    background: #fff;
    color: var(--primary);
    cursor: pointer
}

.registry-lookup:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px #eaf1ff
}

.registry-lookup>button:hover {
    background: #f8fafc
}

.automation-row-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.automation-row-actions form {
    margin: 0
}

.vrx-score-ring span small {
    font-size: 0
}

.vrx-score-ring span small::after {
    content: "100";
    font-size: var(--vrx-score-small-size, .68rem)
}

.client-list-card > .client-table-wrap {
    max-width: 100%;
    overflow-x: hidden
}

.client-list-card .client-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed
}

.ai-governance-grid {
    align-items:start
}

.btn:disabled,
.btn[aria-disabled="true"],
button:disabled.btn.primary,
button:disabled.btn.primary:hover {
    border-color: #d8dee8 !important;
    background: #d8dee8 !important;
    color: #7d8898 !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
    pointer-events: none
}

.auth-field-validation {
    display: block;
    margin-top: 6px;
    color: #778397;
    font-size: .75rem;
    line-height: 1.35
}

.auth-field-validation.is-valid {
    color: #07865f
}

.auth-field-validation.is-invalid {
    color: #d92d20
}

.password-requirements {
    margin-top: 13px;
    padding: 12px 14px;
    border: 1px solid #e4e9f1;
    border-radius: 10px;
    background: #f8faff
}

.password-requirements p {
    margin: 0 0 8px;
    color: #4c5b70;
    font-size: .78rem;
    font-weight: 700
}

.password-requirements ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none
}

.password-requirements li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #778397;
    font-size: .76rem;
    line-height: 1.35;
    transition: color .18s ease
}

.password-requirements li > span {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 1.5px solid #c8d0dc;
    border-radius: 50%;
    background: #fff;
    transition: all .18s ease
}

.password-requirements li.is-complete {
    color: #07865f
}

.password-requirements li.is-complete > span {
    border-color: #16a87b;
    background: #16a87b
}

.password-requirements li.is-complete > span::after {
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: '';
    transform: rotate(45deg)
}

.password-strength-meter {
    margin-top: 8px
}

.password-strength-bars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px
}

.password-strength-bars span {
    height: 4px;
    border-radius: 999px;
    background: #dfe4ec;
    transition: background .2s ease, transform .2s ease
}

.password-strength-meter[data-score="1"] .password-strength-bars span:nth-child(-n+1) { background: #e5484d }
.password-strength-meter[data-score="2"] .password-strength-bars span:nth-child(-n+2) { background: #f5a524 }
.password-strength-meter[data-score="3"] .password-strength-bars span:nth-child(-n+3) { background: #3b82f6 }
.password-strength-meter[data-score="4"] .password-strength-bars span { background: #16a87b }

.password-strength-label {
    display: block;
    min-height: 16px;
    margin-top: 5px;
    color: #778397;
    font-size: .73rem;
    font-weight: 650
}

.password-strength-meter[data-score="1"] .password-strength-label { color: #d92d20 }
.password-strength-meter[data-score="2"] .password-strength-label { color: #b86d00 }
.password-strength-meter[data-score="3"] .password-strength-label { color: #2563c9 }
.password-strength-meter[data-score="4"] .password-strength-label { color: #07865f }

.input-with-icon input.is-valid {
    border-color: #20ad82
}

.input-with-icon input.is-invalid {
    border-color: #e2564d
}

/* Tabelas viram cards no celular — sem scroll horizontal da página. */
@media (max-width: 760px) {
    .table-wrap,
    .table-responsive,
    .client-table-wrap,
    .vr-table-wrap,
    .client-list-card > .client-table-wrap,
    .table-responsive.vr-table-wrap {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .client-table,
    .client-list-card .client-table,
    .table,
    .table.bordered-table {
        display: block;
        width: 100%;
        min-width: 0 !important;
        table-layout: auto;
        border-collapse: separate;
        border-spacing: 0;
        background: transparent;
    }

    .client-table thead,
    .table thead {
        display: none;
    }

    .client-table tbody,
    .table tbody {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .client-table tbody tr,
    .table tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 12px 14px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    }

    .client-table tbody tr:hover td,
    .table tbody tr:hover td {
        background: transparent;
    }

    .client-table tbody td,
    .table tbody td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-width: 0;
        padding: 8px 0;
        border-bottom: 1px solid #eef2f7;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .client-table tbody td:last-child,
    .table tbody td:last-child {
        border-bottom: 0;
        padding-bottom: 2px;
    }

    .client-table tbody td::before,
    .table tbody td::before {
        content: attr(data-label);
        flex: 0 0 38%;
        max-width: 42%;
        color: #667085;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.35;
        text-transform: none;
        letter-spacing: 0;
    }

    .client-table tbody td:not([data-label])::before,
    .table tbody td:not([data-label])::before {
        content: none;
        display: none;
    }

    .client-table tbody td:not([data-label]),
    .table tbody td:not([data-label]) {
        justify-content: flex-end;
    }

    .client-table .client-check-cell,
    .table thead th:has(input[type="checkbox"]),
    .table tbody td:has(> input[type="checkbox"]) {
        display: none;
    }

    .client-table tbody td[colspan],
    .table tbody td[colspan] {
        display: block;
        padding: 0;
        border: 0;
    }

    .client-table tbody td[colspan]::before,
    .table tbody td[colspan]::before {
        content: none;
        display: none;
    }

    .client-table tbody tr:has(> td[colspan]),
    .table tbody tr:has(> td[colspan]) {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .client-identity,
    .client-actions-cell,
    .client-row-menu,
    .table tbody td .btn,
    .table tbody td form {
        max-width: 100%;
    }

    .client-actions-cell,
    .table tbody td.client-actions-cell,
    .table tbody td.text-center:last-child {
        justify-content: flex-end;
    }

    .c360-busca__bar,
    .c360-busca-avancada__head {
        align-items: stretch;
        flex-direction: column;
    }

    .c360-busca__search,
    .c360-busca__actions {
        width: 100%;
        flex: 1 1 auto;
    }

    .dash-brazil-map {
        overflow-x: auto;
        max-width: 100%;
    }

    .dash-coverage-map-card,
    .home3-map-shell,
    .vrx-map-canvas,
    .reg-map-body {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }
}
