/*
 * ELO Modern
 * Sistema visual compartilhado das páginas migradas para o novo layout.
 * Regras específicas de uma página devem permanecer sob sua classe de escopo.
 */

.elo-modern {
    --elo-bg: #f7f8fc;
    --elo-surface: #ffffff;
    --elo-surface-soft: color-mix(in srgb, var(--cor-primaria) 5%, #ffffff);
    --elo-surface-medium: color-mix(in srgb, var(--cor-primaria) 10%, #ffffff);
    --elo-primary: color-mix(in srgb, var(--cor-primaria) 88%, #172033);
    --elo-primary-hover: color-mix(in srgb, var(--cor-primaria) 76%, #111827);
    --elo-primary-soft: color-mix(in srgb, var(--cor-primaria) 13%, #ffffff);
    --elo-border: color-mix(in srgb, var(--cor-primaria) 12%, #d9dee8);
    --elo-border-strong: color-mix(in srgb, var(--cor-primaria) 22%, #cbd1dc);
    --elo-text: #172033;
    --elo-muted: #687184;
    --elo-danger: #a52a2a;
    --elo-shadow: 0 10px 28px rgba(25, 34, 52, 0.055);
    --elo-radius: 14px;
    margin: 0;
    background: var(--elo-bg);
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
}

/* CONVITES QR */

.elo-qr-page-header .elo-page-actions {
    align-items: flex-start;
}

.elo-qr-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 22px;
    padding: 22px;
}

.elo-qr-toolbar-copy {
    min-width: 0;
}

.elo-qr-toolbar h2,
.elo-qr-empty h2,
.elo-qr-convites-page .qr-topo h2 {
    margin: 4px 0 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.elo-qr-toolbar p,
.elo-qr-empty p {
    margin: 7px 0 0;
    color: var(--elo-muted);
    font-size: 13px;
    line-height: 1.55;
}

.elo-qr-toolbar-side {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-end;
    flex-direction: column;
    gap: 11px;
}

.elo-qr-count,
.elo-qr-status {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border: 1px solid var(--elo-border-strong);
    border-radius: 999px;
    background: var(--elo-surface-soft);
    color: var(--elo-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.elo-qr-bulk-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.elo-qr-convites-page :is(.elo-primary-action, .elo-secondary-action):disabled {
    border-color: var(--elo-border);
    background: #eef0f4;
    color: #8b93a2;
    cursor: not-allowed;
    opacity: 0.78;
    transform: none;
}

.elo-qr-upgrade .elo-eyebrow {
    margin-bottom: -7px;
}

.elo-qr-empty {
    display: flex;
    min-height: 250px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 34px 24px;
    text-align: center;
}

.elo-qr-empty > .material-symbols-outlined {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    border-radius: 14px;
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
    font-size: 28px;
}

.elo-qr-empty p {
    max-width: 480px;
    margin-bottom: 8px;
}

.elo-qr-convites-page .qr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.elo-qr-convites-page .qr-item {
    min-width: 0;
    padding: 20px;
    overflow: hidden;
}

.elo-qr-convites-page .qr-topo {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--elo-border);
}

.elo-qr-guest-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
}

.elo-qr-guest-icon .material-symbols-outlined {
    font-size: 22px;
}

.elo-qr-status.is-ready {
    border-color: color-mix(in srgb, var(--elo-primary) 28%, #dfe6e3);
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
}

.elo-qr-convites-page .qr-conteudo {
    display: grid;
    grid-template-columns: 166px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin-top: 18px;
}

.elo-qr-convites-page .qr-canvas {
    display: flex;
    width: 166px;
    height: 166px;
    align-items: center;
    justify-content: center;
    padding: 14px;
    overflow: hidden;
    border: 1px dashed var(--elo-border-strong);
    border-radius: 12px;
    background: #fff;
}

.elo-qr-convites-page .qr-canvas > .material-symbols-outlined {
    color: color-mix(in srgb, var(--elo-primary) 46%, #b8bec9);
    font-size: 64px;
}

.elo-qr-convites-page .qr-canvas :is(canvas, img) {
    display: block;
    max-width: 100%;
    height: auto;
}

.elo-qr-convites-page .qr-meta {
    min-width: 0;
}

.elo-qr-token-label {
    display: block;
    margin-bottom: 6px;
    color: var(--elo-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.elo-qr-convites-page .token-texto {
    min-height: 39px;
    padding: 9px 10px;
    overflow-wrap: anywhere;
    border: 1px solid var(--elo-border);
    border-radius: 8px;
    background: var(--elo-bg);
    color: var(--elo-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    line-height: 1.45;
    word-break: break-word;
}

.elo-qr-convites-page .qr-acoes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.elo-qr-convites-page .qr-acoes > * {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
}

@media (max-width: 1080px) {
    .elo-qr-convites-page .qr-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .elo-qr-page-header .elo-page-actions {
        grid-template-columns: 1fr;
    }

    .elo-qr-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        padding: 18px;
    }

    .elo-qr-toolbar-side {
        align-items: stretch;
    }

    .elo-qr-count {
        align-self: flex-start;
    }

    .elo-qr-bulk-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .elo-qr-bulk-actions > * {
        width: 100%;
    }

    .elo-qr-convites-page .qr-item {
        padding: 16px;
    }

    .elo-qr-convites-page .qr-topo {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .elo-qr-convites-page .qr-topo .elo-qr-status {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .elo-qr-convites-page .qr-conteudo {
        grid-template-columns: 1fr;
    }

    .elo-qr-convites-page .qr-canvas {
        width: min(100%, 210px);
        height: auto;
        min-height: 166px;
        justify-self: center;
    }

    .elo-qr-convites-page .qr-acoes {
        grid-template-columns: 1fr;
    }
}

.elo-modern *,
.elo-modern *::before,
.elo-modern *::after {
    box-sizing: border-box;
}

.elo-modern .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.elo-modern .container.login-form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.elo-modern .container.login-form > .card {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.elo-shell {
    width: 100%;
    min-height: 100vh;
}

.elo-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    display: flex;
    width: 264px;
    flex-direction: column;
    gap: 28px;
    padding: 28px 18px 22px;
    overflow-y: auto;
    border-right: 1px solid var(--elo-border);
    background: var(--elo-surface-soft);
}

.elo-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 10px;
    text-align: center;
}

.elo-brand-fallback,
.elo-modern .elo-sidebar .evento-crm-logo-area {
    position: static;
    display: flex;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.elo-brand-fallback {
    background: var(--elo-primary);
    color: #fff;
}

.elo-brand-fallback .material-symbols-outlined {
    font-size: 31px;
}

.elo-modern .elo-sidebar .evento-crm-logo {
    width: 60px;
    height: 60px;
    max-width: none;
    border-radius: 50%;
    object-fit: contain;
}

.elo-brand-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.elo-brand-copy strong {
    color: var(--elo-primary);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.12;
}

.elo-brand-copy span,
.elo-eyebrow {
    color: var(--elo-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.elo-menu-panel {
    display: contents;
}

.elo-menu-toggle {
    display: none;
}

.elo-nav {
    display: grid;
    gap: 6px;
}

.elo-nav-link {
    position: relative;
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--elo-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.elo-nav-link .material-symbols-outlined {
    color: var(--elo-primary);
    font-size: 21px;
}

.elo-nav-link:hover,
.elo-nav-link:focus-visible,
.elo-nav-link.is-active {
    background: var(--elo-surface-medium);
    color: var(--elo-primary);
}

.elo-nav-link:hover {
    transform: translateX(2px);
}

.elo-nav-link.is-active::after {
    position: absolute;
    inset: 8px 0 8px auto;
    width: 4px;
    border-radius: 999px;
    background: var(--elo-primary);
    content: "";
}

.elo-nav-secondary {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--elo-border);
}

.elo-primary-action,
.elo-secondary-action,
.elo-danger-action {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid;
    border-radius: 9px;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.elo-primary-action:hover {
    border-color: var(--elo-primary-hover);
    background: var(--elo-primary-hover);
    color: #fff;
    transform: translateY(-1px);
}

.elo-secondary-action {
    border-color: var(--elo-border-strong);
    background: var(--elo-surface);
    color: var(--elo-text);
}

.elo-secondary-action:hover {
    border-color: var(--elo-primary);
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
}

.elo-danger-action {
    border-color: color-mix(in srgb, var(--elo-danger) 30%, #e5e7eb);
    background: #fff;
    color: var(--elo-danger);
}

.elo-primary-action .material-symbols-outlined,
.elo-secondary-action .material-symbols-outlined,
.elo-danger-action .material-symbols-outlined {
    font-size: 18px;
}

.elo-sidebar-new {
    width: 100%;
}

.elo-main {
    width: calc(100% - 264px);
    min-height: 100vh;
    margin-left: 264px;
    padding: 38px clamp(24px, 4vw, 64px) 56px;
}

.elo-main > * {
    width: 100%;
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
}

.elo-page-header {
    display: grid;
    gap: 22px;
    margin-bottom: 26px;
}

.elo-page-header h1 {
    margin: 3px 0 0;
    color: var(--elo-primary);
    font-family: "EB Garamond", Georgia, serif;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.08;
    text-transform: none;
}

.elo-page-meta {
    margin: 7px 0 0;
    color: var(--elo-muted);
    font-size: 13px;
}

.elo-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.elo-panel {
    border: 1px solid var(--elo-border);
    border-radius: var(--elo-radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--elo-shadow);
}

.elo-panel-header {
    margin-bottom: 18px;
}

.elo-panel-header h2 {
    margin: 4px 0 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
}

.elo-panel-header p {
    margin: 7px 0 0;
    color: var(--elo-muted);
    font-size: 13px;
    line-height: 1.5;
}

.elo-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 11px;
    font-size: 13px;
}

.elo-notice p {
    margin: 0;
    color: inherit;
}

.elo-notice .material-symbols-outlined {
    font-size: 20px;
}

.elo-notice-success {
    border-color: #b9dbc8;
    background: #edf9f2;
    color: #245f3e;
}

.elo-notice-warning {
    border-color: #ecd7a3;
    background: #fff8e7;
    color: #705517;
}

.elo-notice-error {
    border-color: #efc1c1;
    background: #fff1f1;
    color: #8e2929;
}

.elo-modern :is(.elo-primary-action, .elo-secondary-action, .elo-danger-action, .elo-nav-link, .elo-menu-toggle):focus-visible,
.elo-modern :is(input, select, button, a):focus-visible {
    outline: 3px solid var(--elo-primary-soft);
    outline-offset: 2px;
}

/* PERFIL */

.elo-profile-page-header .elo-page-actions {
    align-items: flex-start;
}

.elo-profile-notices {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.elo-profile-notices:empty {
    display: none;
}

.elo-profile-notices .elo-notice {
    margin: 0;
}

.elo-profile-notices a {
    color: inherit;
    font-weight: 700;
}

.elo-profile-subscription-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.elo-profile-subscription-card {
    position: relative;
    display: grid;
    min-width: 0;
    gap: 7px;
    padding: 20px;
    overflow: hidden;
}

.elo-profile-subscription-card::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--elo-primary);
    content: "";
}

.elo-profile-subscription-card.is-active::after {
    background: #2d7a50;
}

.elo-profile-subscription-card.is-expired::after {
    background: var(--elo-danger);
}

.elo-profile-subscription-card > span {
    color: var(--elo-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.elo-profile-subscription-card > strong {
    min-width: 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.elo-profile-form {
    display: grid;
    width: 100%;
    gap: 22px;
    margin: 0 auto;
}

.elo-profile-section {
    min-width: 0;
    padding: 22px;
}

.elo-profile-section > .elo-evento-section-header {
    margin-bottom: 20px;
}

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

.elo-profile-form label,
.elo-profile-logo-controls > label:first-child {
    display: grid;
    gap: 6px;
    margin: 0;
    color: var(--elo-text);
    font-size: 12px;
    font-weight: 700;
}

.elo-profile-form :is(input:not([type="hidden"]):not([type="checkbox"]), select, textarea) {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 9px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
    box-shadow: none;
}

.elo-profile-form :is(input, select, textarea):disabled {
    cursor: not-allowed;
    opacity: 0.68;
}

.elo-profile-logo-block {
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid var(--elo-border);
    border-radius: 12px;
    background: var(--elo-surface-soft);
}

.elo-profile-logo-frame {
    display: flex;
    width: 138px;
    height: 126px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px dashed var(--elo-border-strong);
    border-radius: 11px;
    background: #fff;
}

.elo-profile-logo-preview {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.elo-profile-logo-preview[hidden],
.elo-profile-logo-placeholder[hidden] {
    display: none;
}

.elo-profile-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: var(--elo-muted);
    font-size: 11px;
}

.elo-profile-logo-placeholder .material-symbols-outlined {
    color: var(--elo-primary);
    font-size: 28px;
}

.elo-profile-logo-controls {
    display: grid;
    min-width: 0;
    gap: 8px;
}

.elo-profile-logo-controls small,
.elo-profile-assistant-toggle small {
    color: var(--elo-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

.elo-profile-form input[type="file"] {
    height: auto;
    padding: 6px;
}

.elo-profile-form input[type="file"]::file-selector-button {
    min-height: 32px;
    margin-right: 10px;
    padding: 7px 11px;
    border: 0;
    border-radius: 7px;
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.elo-profile-check-row {
    display: flex !important;
    align-items: center;
    gap: 9px !important;
    width: fit-content;
    margin-top: 3px !important;
    cursor: pointer;
}

.elo-profile-form .elo-profile-check-row input[type="checkbox"] {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    accent-color: var(--elo-primary);
    transform: none !important;
}

.elo-profile-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.elo-profile-settings-grid > .elo-profile-section {
    height: 100%;
}

.elo-profile-theme-fields,
.elo-profile-password-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.elo-profile-form input[type="color"] {
    height: 42px;
    padding: 4px;
    cursor: pointer;
}

.elo-profile-form input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.elo-profile-form input[type="color"]::-webkit-color-swatch {
    border: 0;
    border-radius: 6px;
}

.elo-profile-form input[type="color"]::-moz-color-swatch {
    border: 0;
    border-radius: 6px;
}

.elo-profile-theme-preview {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 14px;
    padding: 11px;
    border: 1px solid var(--elo-border);
    border-radius: 10px;
    background: var(--elo-primary-soft);
}

.elo-profile-theme-swatch {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border: 6px solid var(--elo-primary-soft);
    border-radius: 10px;
    background: var(--elo-primary);
    box-shadow: 0 0 0 1px var(--elo-border-strong);
}

.elo-profile-theme-preview > div {
    display: grid;
    gap: 2px;
}

.elo-profile-theme-preview strong {
    color: var(--elo-text);
    font-size: 12px;
}

.elo-profile-theme-preview div > span {
    color: var(--elo-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
}

.elo-profile-field-full {
    grid-column: 1 / -1;
}

.elo-profile-assistant-toggle {
    width: 100%;
    margin-top: 16px !important;
    padding: 13px;
    border: 1px solid var(--elo-border);
    border-radius: 10px;
    background: var(--elo-surface-soft);
}

.elo-profile-assistant-toggle > span {
    display: grid;
    gap: 2px;
}

.elo-profile-assistant-toggle strong {
    font-size: 12px;
}

.elo-profile-form-actions {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 4px;
}

.elo-profile-form-actions .elo-primary-action {
    min-width: 210px;
}

@media (max-width: 980px) {
    .elo-profile-settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .elo-profile-page-header .elo-page-actions {
        grid-template-columns: 1fr;
    }

    .elo-profile-subscription-grid,
    .elo-profile-fields-grid,
    .elo-profile-assistant-fields,
    .elo-profile-theme-fields,
    .elo-profile-password-grid {
        grid-template-columns: 1fr;
    }

    .elo-profile-section {
        padding: 18px;
    }

    .elo-profile-logo-block {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .elo-profile-logo-frame {
        width: 100%;
        height: 160px;
    }

    .elo-profile-field-full {
        grid-column: auto;
    }

    .elo-profile-form :is(input:not([type="hidden"]):not([type="checkbox"]), select, textarea) {
        font-size: 16px;
    }

    .elo-profile-form-actions,
    .elo-profile-form-actions .elo-primary-action {
        width: 100%;
    }
}

/* RSVP */

.elo-rsvp-top-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    margin-bottom: 22px;
}

.elo-rsvp-collaboration,
.elo-rsvp-tools,
.elo-rsvp-import {
    height: 100%;
    padding: 22px;
}

.elo-rsvp-tools {
    display: flex;
    flex-direction: column;
}

.elo-rsvp-tools-actions {
    display: grid;
    gap: 10px;
    margin-top: 0;
}

.elo-rsvp-tools-actions .elo-secondary-action {
    width: 100%;
}

.elo-rsvp-link-row {
    width: 100%;
}

.elo-rsvp-link-row input {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid var(--elo-border);
    border-radius: 9px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-muted);
    font-size: 12px;
}

.elo-rsvp-link-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 12px;
}

.elo-rsvp-link-actions form {
    width: 100%;
    margin: 0;
}

.elo-rsvp-link-actions :is(a, button) {
    width: 100%;
    min-width: 0;
}

.elo-rsvp-import form {
    width: auto;
    margin: 0;
}

.elo-upload-drop {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px;
    padding: 14px;
    border: 1px dashed var(--elo-border-strong);
    border-radius: 10px;
    background: var(--elo-surface-soft);
    color: var(--elo-muted);
    cursor: pointer;
    text-align: center;
}

.elo-upload-drop:hover {
    border-color: var(--elo-primary);
    background: var(--elo-primary-soft);
}

.elo-upload-drop .material-symbols-outlined {
    color: var(--elo-primary);
    font-size: 25px;
}

.elo-upload-drop span:last-of-type {
    font-size: 12px;
    font-weight: 600;
}

.elo-upload-drop input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.elo-rsvp-import .elo-primary-action {
    width: 100%;
}

.elo-rsvp-list {
    overflow: hidden;
}

.elo-rsvp-list-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--elo-border);
}

.elo-rsvp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.elo-modern .rsvp-filtro-status {
    width: auto;
    min-height: 36px;
    margin: 0;
    padding: 7px 14px;
    border: 1px solid var(--elo-border);
    border-radius: 999px;
    background: var(--elo-bg);
    color: var(--elo-muted);
    font-size: 11px;
    font-weight: 600;
    box-shadow: none;
}

.elo-modern .rsvp-filtro-status:hover,
.elo-modern .rsvp-filtro-status.ativo {
    border-color: var(--elo-border-strong);
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
}

.elo-rsvp-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.elo-search-field {
    position: relative;
    width: min(280px, 28vw);
}

.elo-modern .elo-search-field input {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 999px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-size: 13px;
    text-align: left;
}

.elo-rsvp-age-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--elo-border);
    color: var(--elo-muted);
    font-size: 12px;
}

.elo-modern .elo-rsvp-age-filter input[type="number"] {
    width: 68px;
    min-height: 34px;
    margin: 0;
    padding: 6px 8px;
    border-radius: 8px !important;
    text-align: center;
}

.elo-rsvp-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.elo-modern #tabela-rsvp {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.elo-modern #tabela-rsvp thead th {
    padding: 13px 16px;
    border-bottom: 1px solid var(--elo-border);
    background: var(--elo-bg);
    color: var(--elo-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-align: left;
    text-transform: uppercase;
}

.elo-modern #tabela-rsvp tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--elo-border);
    background: #fff;
    color: var(--elo-text);
}

.elo-modern #tabela-rsvp tbody tr:last-child td {
    border-bottom: 0;
}

.elo-modern #tabela-rsvp tbody tr:nth-child(even) td {
    background: color-mix(in srgb, var(--cor-primaria) 2%, #fafafa);
}

.elo-modern #tabela-rsvp tbody tr:hover td {
    background: var(--elo-surface-soft);
}

.elo-modern #tabela-rsvp :is(input, select) {
    width: 100%;
    min-height: 36px;
    margin: 0;
    padding: 7px 9px;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    background: transparent;
    color: var(--elo-text);
    font-size: 12px;
    text-align: left;
    box-shadow: none;
}

.elo-modern #tabela-rsvp .col-nome input {
    min-width: 150px;
    font-size: 13px;
    font-weight: 600;
}

.elo-modern #tabela-rsvp :is(.col-mesa, .col-idade) input {
    background: var(--elo-surface-soft);
    border-color: var(--elo-border) !important;
}

.elo-modern #tabela-rsvp .col-status select {
    min-width: 132px;
    border-color: var(--elo-border) !important;
    border-radius: 999px !important;
    font-size: 11px;
}

.elo-modern #tabela-rsvp tr.status-em_aberto .col-status select {
    background: #fff8df;
    color: #715514;
}

.elo-modern #tabela-rsvp tr.status-ira_comparecer .col-status select {
    background: #e8f5ed;
    color: #23613e;
}

.elo-modern #tabela-rsvp tr.status-nao_ira_comparecer .col-status select {
    background: #fdeaea;
    color: #9b2d2d;
}

.elo-delete-button {
    display: inline-flex !important;
    width: 36px !important;
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px;
    background: transparent !important;
    color: var(--elo-danger) !important;
    box-shadow: none !important;
}

.elo-delete-button:hover {
    background: #fdecec !important;
}

.elo-delete-button .material-symbols-outlined {
    font-size: 19px;
}

.elo-modern .rsvp-mobile-label {
    display: none;
}

.elo-empty-table {
    padding: 36px !important;
    color: var(--elo-muted) !important;
    text-align: center !important;
}

/* Modal compartilhado, inicialmente usado pelo RSVP. */

.elo-dialog {
    width: min(620px, calc(100% - 28px));
    max-height: calc(100vh - 28px);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 18px;
    color: var(--elo-text);
    background: var(--elo-surface);
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.28);
}

.elo-dialog::backdrop {
    background: rgba(18, 24, 38, 0.48);
    backdrop-filter: blur(3px);
}

.elo-dialog form {
    width: auto;
    margin: 0;
    padding: 24px;
}

.elo-dialog-header {
    margin-bottom: 20px;
}

.elo-dialog-header > span {
    display: block;
    color: var(--elo-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.elo-dialog-header h2 {
    margin: 5px 0 0;
    color: var(--elo-primary);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
    text-transform: none;
}

.elo-dialog-header p {
    margin: 7px 0 0;
    color: var(--elo-muted);
    font-size: 13px;
}

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

.elo-dialog-fields label {
    display: grid;
    gap: 6px;
    margin: 0;
    color: var(--elo-text);
    font-size: 12px;
    font-weight: 700;
}

.elo-dialog-fields :is(input, select) {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 9px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    text-align: left;
}

.elo-dialog-field-full {
    grid-column: 1 / -1;
}

.elo-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--elo-border);
}

.elo-dialog-actions button {
    min-width: 150px;
}

@media (max-width: 1080px) {
    .elo-rsvp-top-grid {
        grid-template-columns: 1fr;
    }

    .elo-rsvp-list-toolbar {
        grid-template-columns: 1fr;
    }

    .elo-rsvp-toolbar-actions {
        justify-content: flex-start;
    }

    .elo-search-field {
        width: min(100%, 360px);
    }
}

@media (max-width: 820px) {
    .elo-sidebar {
        position: static;
        width: 100%;
        max-height: none;
        gap: 16px;
        padding: 16px 18px;
        overflow: visible;
        border-right: 0;
        border-bottom: 1px solid var(--elo-border);
    }

    .elo-brand {
        flex-direction: row;
        justify-content: flex-start;
        padding: 0;
        text-align: left;
    }

    .elo-brand-fallback,
    .elo-modern .elo-sidebar .evento-crm-logo-area {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .elo-modern .elo-sidebar .evento-crm-logo {
        width: 46px;
        height: 46px;
    }

    .elo-brand-copy {
        flex: 1;
    }

    .elo-brand-copy strong {
        font-size: 21px;
    }

    .elo-menu-toggle {
        display: inline-flex;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        margin: 0 0 0 auto;
        padding: 0;
        border: 1px solid var(--elo-border);
        border-radius: 10px;
        background: var(--elo-primary-soft);
        color: var(--elo-primary);
        box-shadow: none;
    }

    .elo-menu-toggle .material-symbols-outlined {
        font-size: 26px;
    }

    .elo-menu-panel {
        display: none;
    }

    .elo-menu-panel.is-open {
        display: grid;
        gap: 12px;
        padding-top: 14px;
        border-top: 1px solid var(--elo-border);
    }

    .elo-nav {
        display: grid;
        gap: 6px;
    }

    .elo-nav-link {
        width: 100%;
        min-height: 42px;
    }

    .elo-nav-link:hover {
        transform: none;
    }

    .elo-nav-secondary {
        margin-top: 0;
        padding-top: 12px;
    }

    .elo-sidebar-new {
        width: 100%;
    }

    .elo-main {
        width: 100%;
        margin-left: 0;
        padding: 28px 18px 44px;
    }

    .elo-modern:not(.elo-recepcao-page) {
        --elo-mobile-menu-height: 85px;
    }

    .elo-modern:not(.elo-recepcao-page) .elo-sidebar {
        position: fixed;
        inset: 0 0 auto;
        z-index: 50;
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        box-shadow: 0 8px 22px rgba(25, 34, 52, 0.08);
    }

    .elo-modern:not(.elo-recepcao-page) .elo-main {
        padding-top: calc(var(--elo-mobile-menu-height) + 28px);
    }

    .dashboard-layout {
        --dashboard-mobile-menu-height: 89px;
    }

    .dashboard-layout .dashboard-sidebar {
        position: fixed;
        inset: 0 0 auto;
        z-index: 50;
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        box-shadow: 0 8px 22px rgba(25, 34, 52, 0.08);
    }

    .dashboard-layout .dashboard-main {
        padding-top: calc(var(--dashboard-mobile-menu-height) + 30px);
    }
}

@media (max-width: 680px) {
    .elo-page-header h1 {
        font-size: 34px;
    }

    .elo-page-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elo-page-actions > * {
        width: 100%;
        min-width: 0;
    }

    .elo-rsvp-collaboration,
    .elo-rsvp-tools,
    .elo-rsvp-import {
        padding: 18px;
    }

    .elo-rsvp-link-row {
        grid-template-columns: 1fr;
    }

    .elo-rsvp-link-row > * {
        width: 100%;
    }

    .elo-rsvp-link-actions,
    .elo-rsvp-link-actions form,
    .elo-rsvp-link-actions button {
        width: 100%;
    }

    .elo-rsvp-link-actions {
        grid-template-columns: 1fr;
    }

    .elo-rsvp-list-toolbar {
        padding: 16px;
    }

    .elo-rsvp-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elo-modern .rsvp-filtro-status {
        width: 100%;
        white-space: normal;
    }

    .elo-rsvp-toolbar-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .elo-search-field {
        width: 100%;
        grid-column: 1 / -1;
    }

    .elo-rsvp-toolbar-actions .elo-primary-action,
    .elo-rsvp-toolbar-actions .elo-secondary-action {
        width: 100%;
        min-width: 0;
    }

    .elo-rsvp-age-filter {
        padding: 12px 16px;
    }

    .elo-modern #tabela-rsvp {
        border-collapse: separate;
        border-spacing: 0 12px;
        background: transparent;
    }

    .elo-modern #tabela-rsvp thead {
        display: none;
    }

    .elo-modern #tabela-rsvp tbody {
        display: block;
    }

    .elo-modern #tabela-rsvp tbody tr.linha-rsvp,
    .elo-modern #tabela-rsvp tbody tr.linha-rsvp:first-child {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 0 12px 12px;
        padding: 14px;
        border: 1px solid var(--elo-border);
        border-radius: 12px;
        background: #fff;
    }

    .elo-modern #tabela-rsvp tbody tr.linha-rsvp td {
        display: block;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .elo-modern #tabela-rsvp tbody tr.linha-rsvp :is(.col-nome, .col-status, .col-telefone, .col-acao) {
        grid-column: 1 / -1;
    }

    .elo-modern #tabela-rsvp tbody tr.linha-rsvp .col-mesa {
        grid-column: 1;
    }

    .elo-modern #tabela-rsvp tbody tr.linha-rsvp .col-idade {
        grid-column: 2;
    }

    .elo-modern .rsvp-mobile-label {
        display: block;
        margin: 0 0 4px;
        color: var(--elo-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-align: left;
        text-transform: uppercase;
    }

    .elo-modern #tabela-rsvp :is(input, select) {
        min-height: 40px;
    }

    .elo-modern #tabela-rsvp .col-acao {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding-top: 8px !important;
        border-top: 1px solid var(--elo-border) !important;
    }

    .elo-empty-table {
        display: block;
        margin: 0 12px;
        border: 1px solid var(--elo-border) !important;
        border-radius: 12px;
        background: #fff !important;
    }

    .elo-dialog form {
        padding: 20px;
    }

    .elo-dialog-fields {
        grid-template-columns: 1fr;
    }

    .elo-dialog-field-full {
        grid-column: auto;
    }

    .elo-dialog-actions {
        flex-direction: column-reverse;
    }

    .elo-dialog-actions button {
        width: 100%;
        min-width: 0;
        margin: 0;
    }
}

@media (max-width: 430px) {
    .elo-page-actions,
    .elo-rsvp-toolbar-actions,
    .elo-rsvp-filters {
        grid-template-columns: 1fr;
    }

    .elo-search-field {
        grid-column: auto;
    }
}

/* EVENTO / RECEPÇÃO */

.elo-evento-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    margin-bottom: 22px;
}

.elo-evento-overview-grid.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.elo-evento-overview-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 22px;
}

.elo-evento-kpis {
    display: grid;
    gap: 9px;
    margin-top: auto;
}

.elo-evento-kpi {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 12px;
    padding: 9px 11px;
    border: 1px solid var(--elo-border);
    border-radius: 10px;
    background: var(--elo-surface-soft);
}

.elo-evento-kpi > .material-symbols-outlined {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
    font-size: 20px;
}

.elo-evento-kpi div {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 8px;
}

.elo-evento-kpi strong {
    color: var(--elo-primary);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.elo-evento-kpi div span {
    color: var(--elo-muted);
    font-size: 12px;
    font-weight: 600;
}

.elo-evento-card-actions {
    display: grid;
    gap: 10px;
    margin-top: 0;
}

.elo-evento-card-actions :is(.elo-primary-action, .elo-secondary-action) {
    width: 100%;
    min-width: 0;
}

.elo-evento-section {
    margin-bottom: 22px;
    overflow: hidden;
}

.elo-evento-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--elo-border);
}

.elo-evento-section-header h2 {
    margin: 4px 0 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
}

.elo-evento-section-header p {
    margin: 7px 0 0;
    color: var(--elo-muted);
    font-size: 13px;
    line-height: 1.5;
}

.elo-evento-sync-status {
    display: none;
    max-width: 340px;
    padding: 8px 11px;
    border: 1px solid var(--elo-border);
    border-radius: 9px;
    background: var(--elo-surface-soft);
    color: var(--elo-muted);
    font-size: 12px;
    font-weight: 600;
}

.elo-evento-sync-status.is-visible {
    display: block;
}

.elo-evento-sync-status.is-success {
    border-color: #b9dbc8;
    background: #edf9f2;
    color: #245f3e;
}

.elo-evento-sync-status.is-error {
    border-color: #efc1c1;
    background: #fff1f1;
    color: #8e2929;
}

.elo-evento-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.elo-modern .elo-evento-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
}

.elo-modern .elo-evento-table th {
    padding: 13px 16px;
    border-bottom: 1px solid var(--elo-border);
    background: var(--elo-surface-soft);
    color: var(--elo-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
}

.elo-modern .elo-evento-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--elo-border);
    background: #fff;
    color: var(--elo-text);
    font-size: 12px;
    text-align: left;
    vertical-align: middle;
}

.elo-modern .elo-evento-table tbody tr:last-child td {
    border-bottom: 0;
}

.elo-modern .elo-evento-table tbody tr:nth-child(even) td {
    background: color-mix(in srgb, var(--cor-primaria) 2%, #fafafa);
}

.elo-modern .elo-evento-table tbody tr:hover td {
    background: var(--elo-surface-soft);
}

.elo-modern .elo-evento-suppliers-table td:first-child,
.elo-modern .elo-evento-tables-summary td:first-child {
    font-weight: 700;
}

.elo-modern .elo-evento-suppliers-table :is(th, td):nth-child(n + 3) {
    text-align: center;
}

.elo-modern .fornecedor-check {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    margin: 0 !important;
    border-radius: 6px !important;
    transform: none !important;
    transform-origin: center;
}

.elo-modern .fornecedor-check:active {
    transform: scale(0.92) !important;
}

.elo-modern .fornecedor-check:disabled {
    cursor: wait;
}

.elo-evento-tables-summary-wrap {
    max-width: none;
}

.elo-modern .elo-evento-empty-row td {
    padding: 34px 20px;
    color: var(--elo-muted);
    text-align: center !important;
}

@media (max-width: 1080px) {
    .elo-evento-overview-grid,
    .elo-evento-overview-grid.is-compact {
        grid-template-columns: 1fr;
    }

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

    .elo-evento-kpi {
        align-items: flex-start;
        flex-direction: column;
    }

    .elo-evento-kpi div {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }
}

@media (max-width: 680px) {
    .elo-evento-overview-card {
        padding: 18px;
    }

    .elo-evento-kpis {
        grid-template-columns: 1fr;
    }

    .elo-evento-kpi {
        align-items: center;
        flex-direction: row;
    }

    .elo-evento-kpi div {
        align-items: baseline;
        flex-direction: row;
        gap: 8px;
    }

    .elo-evento-section-header {
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
    }

    .elo-evento-sync-status {
        max-width: none;
    }

    .elo-modern .elo-evento-table,
    .elo-modern .elo-evento-table tbody {
        display: block;
        width: 100%;
    }

    .elo-modern .elo-evento-table thead {
        display: none;
    }

    .elo-modern .elo-evento-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 0 12px 12px;
        padding: 14px;
        border: 1px solid var(--elo-border);
        border-radius: 12px;
        background: #fff;
    }

    .elo-modern .elo-evento-table tbody tr:first-child {
        margin-top: 12px;
    }

    .elo-modern .elo-evento-table td,
    .elo-modern .elo-evento-table tbody tr:nth-child(even) td,
    .elo-modern .elo-evento-table tbody tr:hover td {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 9px 10px;
        border: 1px solid var(--elo-border);
        border-radius: 9px;
        background: var(--elo-surface-soft);
        text-align: right;
    }

    .elo-modern .elo-evento-table td::before {
        color: var(--elo-muted);
        content: attr(data-label);
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-align: left;
        text-transform: uppercase;
    }

    .elo-modern .elo-evento-suppliers-table td:nth-child(-n + 2) {
        grid-column: 1 / -1;
    }

    .elo-modern .elo-evento-suppliers-table :is(td:nth-child(3), td:nth-child(5)) {
        text-align: right;
    }

    .elo-modern .elo-evento-tables-summary td {
        grid-column: auto;
    }

    .elo-modern .elo-evento-empty-row {
        display: block !important;
    }

    .elo-modern .elo-evento-empty-row td {
        display: block;
        padding: 24px 16px;
        text-align: center !important;
    }

    .elo-modern .elo-evento-empty-row td::before {
        content: none;
    }
}

/* MODO RECEPÇÃO */

.elo-recepcao-list {
    overflow: hidden;
}

.elo-recepcao-list-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--elo-border);
}

.elo-recepcao-list-header h2 {
    margin: 4px 0 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
}

.elo-recepcao-list-header p {
    margin: 7px 0 0;
    color: var(--elo-muted);
    font-size: 13px;
    line-height: 1.5;
}

.elo-recepcao-filters {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.elo-recepcao-filter {
    min-height: 38px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid var(--elo-border);
    border-radius: 999px;
    background: var(--elo-surface-soft);
    color: var(--elo-muted);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    box-shadow: none;
}

.elo-recepcao-filter:hover,
.elo-recepcao-filter.is-active {
    border-color: var(--elo-primary);
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
}

.elo-recepcao-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--elo-border);
    scroll-margin-top: 8px;
}

.elo-recepcao-search-row .recepcao-busca-form {
    width: auto;
    margin: 0;
}

.elo-modern .elo-recepcao-search-row #busca {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 999px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-size: 13px;
    text-align: left;
}

.elo-recepcao-clear {
    min-width: 88px;
}

.elo-recepcao-clear[hidden] {
    display: none !important;
}

.elo-recepcao-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.elo-modern .elo-recepcao-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
}

.elo-modern .elo-recepcao-table th {
    padding: 13px 18px;
    border-bottom: 1px solid var(--elo-border);
    background: var(--elo-surface-soft);
    color: var(--elo-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
}

.elo-modern .elo-recepcao-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--elo-border);
    background: #fff;
    color: var(--elo-text);
    font-size: 13px;
    text-align: left;
    vertical-align: middle;
}

.elo-modern .elo-recepcao-table tbody tr:nth-child(even) td {
    background: color-mix(in srgb, var(--cor-primaria) 2%, #fafafa);
}

.elo-modern .elo-recepcao-table tbody tr:hover td {
    background: var(--elo-surface-soft);
}

.elo-modern .elo-recepcao-table td:first-child {
    font-weight: 700;
}

.elo-modern .elo-recepcao-table :is(th, td):last-child {
    width: 110px;
    text-align: center;
}

.elo-modern .elo-recepcao-table tbody td:nth-child(-n + 2) {
    cursor: pointer;
}

.elo-modern .recepcao-check {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    margin: 0 !important;
    border-radius: 7px !important;
    transform: none !important;
}

.elo-modern .recepcao-check:active {
    transform: scale(0.92) !important;
}

.elo-modern .elo-recepcao-empty-row td {
    padding: 34px 20px;
    color: var(--elo-muted);
    text-align: center !important;
}

@media (max-width: 680px) {
    .elo-recepcao-list-header {
        flex-direction: column;
        padding: 18px;
    }

    .elo-recepcao-filters {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elo-recepcao-filter {
        width: 100%;
    }

    .elo-recepcao-search-row {
        padding: 14px 18px;
    }

    .elo-modern .elo-recepcao-search-row #busca {
        font-size: 16px;
    }

    .elo-modern .elo-recepcao-table {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .elo-modern .elo-recepcao-table thead {
        display: table-header-group;
    }

    .elo-modern .elo-recepcao-table tbody {
        display: table-row-group;
    }

    .elo-modern .elo-recepcao-table tbody tr {
        display: table-row;
    }

    .elo-modern .elo-recepcao-table :is(th, td):nth-child(1) {
        width: 58%;
    }

    .elo-modern .elo-recepcao-table :is(th, td):nth-child(2) {
        width: 24%;
    }

    .elo-modern .elo-recepcao-table :is(th, td):nth-child(3) {
        width: 18%;
        text-align: center;
    }

    .elo-modern .elo-recepcao-table th {
        padding: 10px 6px;
        font-size: 9px;
    }

    .elo-modern .elo-recepcao-table td,
    .elo-modern .elo-recepcao-table tbody tr:nth-child(even) td,
    .elo-modern .elo-recepcao-table tbody tr:hover td {
        display: table-cell;
        min-width: 0;
        padding: 11px 6px;
        border: 0;
        border-bottom: 1px solid var(--elo-border);
        border-radius: 0;
        font-size: 12px;
        text-align: left;
    }

    .elo-modern .elo-recepcao-table td::before {
        content: none;
    }

    .elo-modern .elo-recepcao-table td:first-child {
        overflow-wrap: anywhere;
        white-space: normal;
        word-break: break-word;
    }

    .elo-modern .elo-recepcao-table tbody tr td:last-child {
        text-align: center;
    }

    .elo-modern .recepcao-check {
        display: block;
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .elo-modern .elo-recepcao-empty-row {
        display: table-row;
    }

    .elo-modern .elo-recepcao-empty-row td {
        display: table-cell;
        width: auto;
        padding: 24px 12px;
        text-align: center !important;
    }
}

@media (max-width: 430px) {
    .elo-recepcao-search-row {
        grid-template-columns: 1fr;
    }

    .elo-recepcao-clear {
        width: 100%;
    }
}

/* RECEPÇÃO QR */

.elo-recepcao-qr-page-header .elo-page-actions {
    align-items: flex-start;
}

.elo-recepcao-qr-upgrade .elo-eyebrow {
    margin-bottom: -7px;
}

.elo-recepcao-qr-reader {
    margin-bottom: 22px;
    overflow: hidden;
}

.elo-recepcao-qr-reader-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--elo-border);
}

.elo-recepcao-qr-reader-title {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 14px;
}

.elo-recepcao-qr-icon {
    display: inline-flex;
    width: 46px;
    min-width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
}

.elo-recepcao-qr-icon .material-symbols-outlined {
    font-size: 25px;
}

.elo-recepcao-qr-reader-header h2 {
    margin: 4px 0 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
}

.elo-recepcao-qr-reader-header p {
    max-width: 680px;
    margin: 7px 0 0;
    color: var(--elo-muted);
    font-size: 13px;
    line-height: 1.5;
}

.elo-recepcao-qr-scanner-status {
    display: inline-flex;
    min-height: 30px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 6px 11px;
    border: 1px solid var(--elo-border);
    border-radius: 999px;
    background: var(--elo-surface-soft);
    color: var(--elo-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.elo-recepcao-qr-scanner-status.is-active {
    border-color: color-mix(in srgb, var(--elo-primary) 30%, #d8e4de);
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
}

.elo-recepcao-qr-page.is-offline .elo-recepcao-qr-scanner-status {
    border-color: #ecd7a3;
    background: #fff8e7;
    color: #705517;
}

.elo-recepcao-qr-reader-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 22px;
}

.elo-recepcao-qr-reader-actions > * {
    min-width: 170px;
}

.elo-recepcao-qr-page :is(.elo-primary-action, .elo-secondary-action):disabled {
    border-color: var(--elo-border);
    background: #eef0f4;
    color: #8b93a2;
    cursor: not-allowed;
    opacity: 0.78;
    transform: none;
}

.elo-recepcao-qr-page #reader {
    width: calc(100% - 44px);
    max-width: 640px;
    margin: 0 auto;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
}

.elo-recepcao-qr-page #reader:not(:empty) {
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid var(--elo-border) !important;
    border-radius: 12px;
    background: #fff;
}

.elo-recepcao-qr-page #reader video {
    display: block;
    max-width: 100%;
    border-radius: 10px;
}

.elo-recepcao-qr-page #reader button {
    min-height: 38px;
    margin: 8px;
    padding: 8px 13px;
    border: 1px solid var(--elo-primary);
    border-radius: 8px;
    background: var(--elo-primary);
    color: #fff;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.elo-modern .recepcao-check.is-pending {
    outline: 2px solid #d97706;
    outline-offset: 2px;
}

.elo-recepcao-qr-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(18, 24, 38, 0.52);
    backdrop-filter: blur(3px);
}

.elo-recepcao-qr-modal.is-open {
    display: flex;
}

.elo-recepcao-qr-modal-box {
    display: flex;
    width: min(460px, 100%);
    max-height: calc(100vh - 36px);
    align-items: center;
    flex-direction: column;
    gap: 8px;
    padding: 26px;
    overflow-y: auto;
    border: 1px solid var(--elo-border);
    border-radius: 16px;
    background: #fff;
    color: var(--elo-text);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.3);
    text-align: center;
}

.elo-recepcao-qr-modal-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
    border-radius: 14px;
    background: #fff8e7;
    color: #8a6414;
    font-size: 28px;
}

.elo-recepcao-qr-modal-box.is-success .elo-recepcao-qr-modal-icon {
    background: #e8f5ed;
    color: #23613e;
}

.elo-recepcao-qr-modal-box.is-error .elo-recepcao-qr-modal-icon {
    background: #fdeaea;
    color: #9b2d2d;
}

.elo-recepcao-qr-modal-box h2 {
    margin: 3px 0 4px;
    color: var(--elo-primary);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
}

.elo-recepcao-qr-result {
    display: grid;
    width: 100%;
    gap: 8px;
    margin: 10px 0 12px;
}

.elo-recepcao-qr-result > div {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--elo-border);
    border-radius: 9px;
    background: var(--elo-surface-soft);
    text-align: left;
}

.elo-recepcao-qr-result :is(dt, dd) {
    margin: 0;
}

.elo-recepcao-qr-result dt {
    color: var(--elo-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.elo-recepcao-qr-result dd {
    min-width: 0;
    color: var(--elo-text);
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.elo-recepcao-qr-modal-box .elo-primary-action {
    width: 100%;
}

@media (max-width: 680px) {
    .elo-recepcao-qr-page-header .elo-page-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elo-recepcao-qr-reader-header {
        flex-direction: column;
        padding: 18px;
    }

    .elo-recepcao-qr-reader-title {
        gap: 11px;
    }

    .elo-recepcao-qr-scanner-status {
        align-self: flex-start;
    }

    .elo-recepcao-qr-reader-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 14px 18px;
    }

    .elo-recepcao-qr-reader-actions > * {
        width: 100%;
        min-width: 0;
        padding-inline: 10px;
    }

    .elo-recepcao-qr-page #reader {
        width: calc(100% - 36px);
    }

    .elo-recepcao-qr-modal-box {
        padding: 22px 18px;
    }
}

@media (max-width: 430px) {
    .elo-recepcao-qr-page-header .elo-page-actions,
    .elo-recepcao-qr-reader-actions {
        grid-template-columns: 1fr;
    }
}

/* GERENCIAR EVENTO */

.elo-gerenciar-summary-list {
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.elo-gerenciar-summary-list > div:not(.elo-gerenciar-summary-counts) {
    display: grid;
    gap: 2px;
    padding: 8px 10px;
    border: 1px solid var(--elo-border);
    border-radius: 9px;
    background: var(--elo-surface-soft);
}

.elo-gerenciar-summary-list > div > span {
    color: var(--elo-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.elo-gerenciar-summary-list > div > strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--elo-text);
    font-size: 12px;
    font-weight: 700;
}

.elo-gerenciar-summary-counts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.elo-gerenciar-summary-counts > div {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 6px;
    padding: 9px 10px;
    border: 1px solid var(--elo-border);
    border-radius: 9px;
    background: var(--elo-primary-soft);
}

.elo-gerenciar-summary-counts > div > strong {
    color: var(--elo-primary);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.elo-gerenciar-summary-counts > div > span {
    color: var(--elo-muted);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.elo-gerenciar-content {
    display: grid;
    gap: 22px;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
}

.elo-gerenciar-content > p[style*="color:green"] {
    margin: 0 !important;
    padding: 12px 14px;
    border: 1px solid #b9dbc8;
    border-radius: 10px;
    background: #edf9f2;
    color: #245f3e !important;
    font-size: 13px;
}

.elo-gerenciar-content > p[style*="color:red"] {
    margin: 0 !important;
    padding: 12px 14px;
    border: 1px solid #efc1c1;
    border-radius: 10px;
    background: #fff1f1;
    color: #8e2929 !important;
    font-size: 13px;
}

.elo-gerenciar-content > p[style*="color:#8a5a00"] {
    margin: 0 !important;
    padding: 12px 14px;
    border: 1px solid #ecd7a3;
    border-radius: 10px;
    background: #fff8e7;
    color: #705517 !important;
    font-size: 13px;
}

.elo-gerenciar-content > hr {
    margin: 22px 0;
    border: 0;
    border-top: 1px solid var(--elo-border);
}

.elo-gerenciar-schedule {
    margin: 0;
    overflow: hidden;
}

.elo-gerenciar-schedule-empty {
    padding: 32px 22px;
    color: var(--elo-muted);
    font-size: 13px;
    text-align: center;
}

.elo-modern .elo-gerenciar-schedule-table th:first-child,
.elo-modern .elo-gerenciar-schedule-table td:first-child {
    width: 130px;
    white-space: nowrap;
}

.elo-modern .elo-gerenciar-schedule-table td:nth-child(2) {
    font-weight: 700;
    width: 250px;
}

.elo-gerenciar-suppliers {
    margin: 0;
    overflow: hidden;
}

.elo-gerenciar-observations {
    margin: 0;
    overflow: hidden;
}

.elo-gerenciar-observations-body {
    min-height: 64px;
    padding: 20px 22px;
    color: var(--elo-text);
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.elo-gerenciar-suppliers-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 150px auto auto auto;
    align-items: end;
    gap: 10px;
    width: auto;
    margin: 0;
    padding: 18px 22px;
    border-bottom: 1px solid var(--elo-border);
}

.elo-gerenciar-suppliers-toolbar label {
    min-width: 0;
    margin: 0;
    color: var(--elo-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.elo-modern .elo-gerenciar-suppliers-toolbar :is(select, input) {
    width: 100%;
    min-height: 42px;
    margin: 6px 0 0;
    padding: 9px 11px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 9px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-size: 12px;
    text-align: left;
}

.elo-gerenciar-suppliers-toolbar :is(.elo-primary-action, .elo-secondary-action) {
    width: 100%;
    min-width: 0;
    white-space: nowrap;
}

.elo-gerenciar-suppliers-toolbar.has-no-suppliers {
    grid-template-columns: minmax(220px, 1fr) auto auto;
}

.elo-gerenciar-toolbar-note {
    align-self: center;
    color: var(--elo-muted);
    font-size: 12px;
}

.elo-gerenciar-suppliers-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 28px 22px;
    color: var(--elo-muted);
    font-size: 13px;
    text-align: center;
}

.elo-gerenciar-suppliers-empty p {
    margin: 0;
}

.elo-modern .elo-gerenciar-suppliers-table td {
    vertical-align: middle;
}

.elo-modern .elo-gerenciar-suppliers-table tr.is-own-team td {
    background: var(--elo-primary-soft);
}

.elo-gerenciar-own-team-tag,
.elo-gerenciar-own-team-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 8px;
    border: 1px solid color-mix(in srgb, var(--cor-primaria) 25%, var(--elo-border));
    border-radius: 999px;
    background: color-mix(in srgb, var(--cor-primaria) 10%, #fff);
    color: var(--cor-primaria);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.elo-gerenciar-own-team-tag {
    margin-left: 7px;
}

.elo-modern .elo-gerenciar-suppliers-table .elo-gerenciar-whatsapp {
    display: inline-flex;
    width: auto;
    min-height: 34px;
    padding: 7px 10px;
    font-size: 10px;
    white-space: nowrap;
}

.elo-modern .elo-gerenciar-suppliers-table input[type="number"] {
    width: 72px;
    min-width: 72px;
    min-height: 36px;
    margin: 0 auto;
    padding: 7px 8px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 7px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-size: 12px;
    text-align: center;
}

.elo-gerenciar-supplier-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.elo-gerenciar-supplier-actions > .elo-secondary-action {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 10px;
}

.elo-gerenciar-remove-form {
    width: auto;
    margin: 0;
}

.elo-gerenciar-remove-form .elo-delete-button {
    margin: 0 !important;
}

@media (max-width: 1180px) {
    .elo-gerenciar-suppliers-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elo-gerenciar-suppliers-toolbar :is(.elo-primary-action, .elo-secondary-action) {
        white-space: normal;
    }
}

@media (max-width: 680px) {
    .elo-gerenciar-summary-counts > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .elo-modern .elo-gerenciar-schedule-table tbody tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-color: color-mix(in srgb, var(--cor-primaria) 34%, var(--elo-border));
        background: var(--elo-primary-soft);
    }

    .elo-modern .elo-gerenciar-schedule-table tbody td,
    .elo-modern .elo-gerenciar-schedule-table tbody tr:nth-child(even) td,
    .elo-modern .elo-gerenciar-schedule-table tbody tr:hover td {
        display: block;
        min-width: 0;
        width: auto;
        padding: 10px 8px;
        border: 1px solid var(--elo-border);
        border-radius: 9px;
        background: #fff;
        color: var(--elo-text);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .elo-modern .elo-gerenciar-schedule-table tbody td::before {
        display: block;
        margin: 0 0 6px;
        color: var(--elo-muted);
        content: attr(data-label);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.25;
        text-align: center;
        text-transform: uppercase;
    }

    .elo-modern .elo-gerenciar-schedule-table tbody td:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1;
        width: auto;
        max-width: 100%;
    }

    .elo-modern .elo-gerenciar-schedule-table tbody td:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1;
        width: auto;
        max-width: 100%;
    }

    .elo-modern .elo-gerenciar-schedule-table tbody td:nth-child(3) {
        grid-column: 1 / 3;
        grid-row: 2;
        width: auto;
        max-width: 100%;
    }

    .elo-gerenciar-suppliers-toolbar {
        grid-template-columns: 1fr;
        padding: 16px 18px;
    }

    .elo-gerenciar-suppliers-toolbar.has-no-suppliers {
        grid-template-columns: 1fr;
    }

    .elo-modern .elo-gerenciar-suppliers-table input[type="number"] {
        display: block;
        margin: 0 auto;
    }

    .elo-modern .elo-gerenciar-suppliers-table tbody tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-color: color-mix(in srgb, var(--cor-primaria) 34%, var(--elo-border));
        background: var(--elo-primary-soft);
    }

    .elo-modern .elo-gerenciar-suppliers-table tbody td,
    .elo-modern .elo-gerenciar-suppliers-table tbody tr:nth-child(even) td,
    .elo-modern .elo-gerenciar-suppliers-table tbody tr:hover td {
        display: block;
        min-width: 0;
        padding: 10px 8px;
        border: 1px solid var(--elo-border);
        border-radius: 9px;
        background: #fff;
        color: var(--elo-text);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .elo-modern .elo-gerenciar-suppliers-table tbody tr.is-own-team td,
    .elo-modern .elo-gerenciar-suppliers-table tbody tr.is-own-team:nth-child(even) td,
    .elo-modern .elo-gerenciar-suppliers-table tbody tr.is-own-team:hover td {
        background: color-mix(in srgb, var(--cor-primaria) 7%, #fff);
    }

    .elo-gerenciar-own-team-tag {
        display: flex;
        width: fit-content;
        margin: 7px auto 0;
    }

    .elo-modern .elo-gerenciar-suppliers-table tbody td::before {
        display: block;
        margin: 0 0 6px;
        color: var(--elo-muted);
        content: attr(data-label);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.25;
        text-align: center;
        text-transform: uppercase;
    }

    .elo-modern .elo-gerenciar-suppliers-table tbody td:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1;
    }

    .elo-modern .elo-gerenciar-suppliers-table tbody td:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1;
    }

    .elo-modern .elo-gerenciar-suppliers-table tbody td:nth-child(3) {
        grid-column: 1 / 2;
        grid-row: 2;
    }

    .elo-modern .elo-gerenciar-suppliers-table tbody td:nth-child(4) {
        grid-column: 2 / 3;
        grid-row: 2;
    }

    .elo-modern .elo-gerenciar-suppliers-table tbody td:nth-child(5) {
        grid-column: 1 / 3;
        grid-row: 3;
    }

    .elo-modern .elo-gerenciar-suppliers-table tbody td:nth-child(6) {
        grid-column: 1 / 3;
        grid-row: 4;
    }

    .elo-modern .elo-gerenciar-suppliers-table .elo-gerenciar-whatsapp {
        display: flex;
        width: fit-content;
        margin-right: auto;
        margin-left: auto;
    }

    .elo-gerenciar-supplier-actions {
        align-items: stretch;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }

    .elo-gerenciar-supplier-actions > .elo-secondary-action,
    .elo-gerenciar-remove-form,
    .elo-gerenciar-remove-form .elo-delete-button {
        width: 100%;
        max-width: none;
    }

    .elo-gerenciar-remove-form .elo-delete-button {
        min-height: 38px;
    }
}

@media (max-width: 430px) {
    .elo-gerenciar-summary-counts {
        grid-template-columns: 1fr;
    }
}

/* GERENCIAR FINANCEIRO */

.elo-finance-notices {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.elo-finance-notices:empty {
    display: none;
}

.elo-finance-notices .elo-notice {
    margin: 0;
}

.elo-finance-upgrade {
    display: flex;
    min-height: 280px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 34px 24px;
    text-align: center;
}

.elo-finance-upgrade > .material-symbols-outlined {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
    font-size: 28px;
}

.elo-finance-upgrade h2 {
    margin: 2px 0 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 18px;
}

.elo-finance-upgrade p {
    max-width: 520px;
    margin: 0 0 6px;
    color: var(--elo-muted);
    font-size: 13px;
    line-height: 1.6;
}

.elo-finance-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.elo-finance-summary-card {
    position: relative;
    display: grid;
    min-width: 0;
    gap: 8px;
    padding: 20px;
    overflow: hidden;
}

.elo-finance-summary-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--elo-primary);
    content: "";
}

.elo-finance-summary-card.is-paid::before {
    background: #34865a;
}

.elo-finance-summary-card.is-balance::before {
    background: #ad6b25;
}

.elo-finance-summary-card.is-due::before {
    background: #5876a8;
}

.elo-finance-summary-card span {
    color: var(--elo-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.elo-finance-summary-card strong {
    min-width: 0;
    color: var(--elo-primary);
    font-family: "EB Garamond", Georgia, serif;
    font-size: clamp(25px, 2.4vw, 32px);
    font-weight: 600;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.elo-finance-forms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
    margin-bottom: 22px;
}

.elo-finance-form-card,
.elo-finance-payments {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.elo-main > .elo-finance-payments {
    margin-right: auto;
    margin-left: auto;
}

.elo-finance-form {
    margin: 0;
    padding: 20px 22px;
}

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

.elo-finance-fields-grid label {
    display: grid;
    min-width: 0;
    gap: 6px;
    margin: 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.elo-finance-field-full {
    grid-column: 1 / -1;
}

.elo-modern .elo-finance-fields-grid :is(input, select, textarea) {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 9px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 12px;
    text-align: left;
}

.elo-modern .elo-finance-fields-grid textarea {
    min-height: 104px;
    line-height: 1.5;
    resize: vertical;
}

.elo-finance-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--elo-border);
}

.elo-finance-form-actions .elo-primary-action {
    min-width: 180px;
}

.elo-finance-payments-empty {
    padding: 34px 22px;
    color: var(--elo-muted);
    font-size: 13px;
    text-align: center;
}

.elo-modern .elo-finance-payments-table {
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    table-layout: auto;
}

.elo-finance-payments .elo-evento-table-wrap {
    display: block;
    width: 100%;
    margin: 0;
    overflow-x: auto;
}

.elo-modern .elo-finance-payments-table :is(th, td) {
    text-align: center;
}

.elo-modern .elo-finance-payment-row.is-paid td {
    background: color-mix(in srgb, #dff4e7 70%, #fff);
}

.elo-modern .elo-finance-payment-row.is-cancelled td {
    background: color-mix(in srgb, #fde8e8 68%, #fff);
}

.elo-modern .elo-finance-payment-row.is-planned td {
    background: color-mix(in srgb, #fff7d6 58%, #fff);
}

.elo-modern .elo-finance-payments-table .elo-finance-payment-field {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 7px 9px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.88);
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 11px;
    text-align: center;
}

.elo-modern .elo-finance-payments-table input[type="number"] {
    text-align: center;
}

.elo-modern .elo-finance-short-date-mobile {
    display: none;
}

.elo-finance-payment-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.elo-finance-payment-actions > .elo-primary-action {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 10px;
}

.elo-finance-remove-form {
    width: auto;
    margin: 0;
}

.elo-finance-payment-actions .elo-delete-button {
    margin: 0 !important;
}

@media (max-width: 1080px) {
    .elo-finance-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elo-finance-forms-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .elo-finance-fields-grid {
        grid-template-columns: 1fr;
    }

    .elo-finance-field-full {
        grid-column: auto;
    }

    .elo-modern .elo-finance-fields-grid :is(input, select, textarea) {
        font-size: 16px;
    }

    .elo-modern .elo-finance-fields-grid .elo-finance-date-native {
        display: none;
    }

    .elo-modern .elo-finance-fields-grid .elo-finance-short-date-mobile {
        display: block;
        text-align: center;
    }

    .elo-finance-form {
        padding: 18px;
    }

    .elo-finance-form-actions,
    .elo-finance-form-actions .elo-primary-action {
        width: 100%;
    }

    .elo-modern .elo-finance-payments-table {
        min-width: 0;
    }

    .elo-modern .elo-finance-payments-table tbody tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-color: color-mix(in srgb, var(--cor-primaria) 34%, var(--elo-border));
        background: var(--elo-primary-soft);
    }

    .elo-modern .elo-finance-payments-table tbody td,
    .elo-modern .elo-finance-payments-table tbody tr:nth-child(even) td,
    .elo-modern .elo-finance-payments-table tbody tr:hover td,
    .elo-modern .elo-finance-payment-row.is-paid td,
    .elo-modern .elo-finance-payment-row.is-cancelled td,
    .elo-modern .elo-finance-payment-row.is-planned td {
        display: block;
        min-width: 0;
        width: auto;
        max-width: 100%;
        padding: 10px 8px;
        border: 1px solid var(--elo-border);
        border-radius: 9px;
        background: #fff;
        color: var(--elo-text);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
        overflow: hidden;
        overflow-wrap: anywhere;
    }

    .elo-modern .elo-finance-payments-table tbody td::before {
        display: block;
        margin: 0 0 6px;
        color: var(--elo-muted);
        content: attr(data-label);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.25;
        text-align: center;
        text-transform: uppercase;
    }

    .elo-modern .elo-finance-payments-table tbody td:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1;
    }

    .elo-modern .elo-finance-payments-table tbody td:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1;
    }

    .elo-modern .elo-finance-payments-table tbody td:nth-child(3) {
        grid-column: 1 / 2;
        grid-row: 2;
    }

    .elo-modern .elo-finance-payments-table tbody td:nth-child(4) {
        grid-column: 2 / 3;
        grid-row: 2;
    }

    .elo-modern .elo-finance-payments-table tbody td:nth-child(5) {
        grid-column: 1 / 3;
        grid-row: 3;
    }

    .elo-modern .elo-finance-payments-table tbody td:nth-child(6) {
        grid-column: 1 / 3;
        grid-row: 4;
    }

    .elo-modern .elo-finance-payments-table .elo-finance-payment-field {
        display: block;
        box-sizing: border-box;
        width: 100%;
        inline-size: 100%;
        min-width: 0;
        min-inline-size: 0;
        max-width: 100%;
        max-inline-size: 100%;
        min-height: 40px;
        margin: 0 auto;
        font-size: 16px;
        text-align: center;
    }

    .elo-modern .elo-finance-payments-table input[type="date"] {
        width: 100% !important;
        inline-size: 100% !important;
        min-width: 0 !important;
        min-inline-size: 0 !important;
        max-width: 100% !important;
        max-inline-size: 100% !important;
        padding-right: 5px;
        padding-left: 5px;
        font-size: 12px;
        text-align: center;
    }

    .elo-modern .elo-finance-payments-table .elo-finance-payment-date-native {
        display: none;
    }

    .elo-modern .elo-finance-payments-table .elo-finance-payment-date-mobile {
        display: block;
        font-size: 16px;
        text-align: center;
    }

    .elo-modern .elo-finance-payments-table input[type="date"]::-webkit-date-and-time-value {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .elo-modern .elo-finance-payments-table input[type="number"] {
        text-align: center;
    }

    .elo-finance-payment-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .elo-finance-payment-actions > .elo-primary-action,
    .elo-finance-remove-form,
    .elo-finance-remove-form .elo-delete-button {
        width: 100%;
        max-width: none;
    }

    .elo-finance-remove-form .elo-delete-button {
        min-height: 38px;
    }
}

@media (max-width: 430px) {
    .elo-finance-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* GERENCIAR CRONOGRAMA */

.elo-schedule-notices {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.elo-schedule-notices:empty {
    display: none;
}

.elo-schedule-notices .elo-notice {
    margin: 0;
}

.elo-schedule-content {
    display: grid;
    gap: 22px;
}

.elo-schedule-form-card,
.elo-schedule-list {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.elo-schedule-form {
    margin: 0;
    padding: 20px 22px;
}

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

.elo-schedule-fields-grid label {
    display: grid;
    min-width: 0;
    gap: 6px;
    margin: 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.elo-schedule-field-full {
    grid-column: 1 / -1;
}

.elo-modern .elo-schedule-fields-grid :is(input, textarea) {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 9px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 12px;
    text-align: left;
}

.elo-modern .elo-schedule-fields-grid textarea {
    min-height: 96px;
    line-height: 1.5;
    resize: vertical;
}

.elo-schedule-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--elo-border);
}

.elo-schedule-form-actions .elo-primary-action {
    min-width: 180px;
}

.elo-schedule-empty {
    padding: 34px 22px;
    color: var(--elo-muted);
    font-size: 13px;
    text-align: center;
}

.elo-schedule-table-wrap {
    display: block;
    width: 100%;
    margin: 0;
    overflow-x: auto;
}

.elo-modern .elo-schedule-management-table {
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    table-layout: auto;
}

.elo-modern .elo-schedule-management-table :is(th, td) {
    text-align: center;
}

.elo-modern .elo-schedule-management-table :is(th, td):first-child {
    width: 200px;
}
.elo-modern .elo-schedule-management-table tbody td:nth-child(2){
    width: 200px;
}

.elo-modern .elo-schedule-management-table :is(th, td):last-child {
    width: 132px;
}

.elo-modern .elo-schedule-management-table .elo-schedule-table-field {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 7px 9px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.9);
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 11px;
    text-align: center;
}

.elo-schedule-datetime-mobile {
    display: none;
}

.elo-schedule-row-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.elo-schedule-row-actions > .elo-primary-action {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 10px;
}

.elo-schedule-remove-form {
    width: auto;
    margin: 0;
}

.elo-schedule-row-actions .elo-delete-button {
    margin: 0 !important;
}

@media (max-width: 680px) {
    .elo-schedule-fields-grid {
        grid-template-columns: 1fr;
    }

    .elo-schedule-field-full {
        grid-column: auto;
    }

    .elo-schedule-form {
        padding: 18px;
    }

    .elo-modern .elo-schedule-fields-grid :is(input, textarea) {
        font-size: 16px;
    }

    .elo-modern .elo-schedule-fields-grid .elo-schedule-datetime-native,
    .elo-modern .elo-schedule-management-table .elo-schedule-datetime-native {
        display: none;
    }

    .elo-modern .elo-schedule-fields-grid .elo-schedule-datetime-mobile,
    .elo-modern .elo-schedule-management-table .elo-schedule-datetime-mobile {
        display: block;
        font-size: 16px;
        text-align: center;
    }

    .elo-schedule-form-actions,
    .elo-schedule-form-actions .elo-primary-action {
        width: 100%;
    }

    .elo-modern .elo-schedule-management-table tbody tr {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
        border-color: color-mix(in srgb, var(--cor-primaria) 34%, var(--elo-border));
        background: var(--elo-primary-soft);
    }

    .elo-modern .elo-schedule-management-table tbody td,
    .elo-modern .elo-schedule-management-table tbody tr:nth-child(even) td,
    .elo-modern .elo-schedule-management-table tbody tr:hover td {
        display: block;
        min-width: 0;
        width: auto;
        max-width: 100%;
        padding: 10px 8px;
        border: 1px solid var(--elo-border);
        border-radius: 9px;
        background: #fff;
        color: var(--elo-text);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
        overflow: hidden;
        overflow-wrap: anywhere;
    }

    .elo-modern .elo-schedule-management-table tbody td::before {
        display: block;
        margin: 0 0 6px;
        color: var(--elo-muted);
        content: attr(data-label);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.25;
        text-align: center;
        text-transform: uppercase;
    }

    .elo-modern .elo-schedule-management-table tbody td:nth-child(1),
    .elo-modern .elo-schedule-management-table tbody td:nth-child(2),
    .elo-modern .elo-schedule-management-table tbody td:nth-child(3),
    .elo-modern .elo-schedule-management-table tbody td:nth-child(4) {
        grid-column: 1;
        width: auto;
        max-width: 100%;
    }

    .elo-modern .elo-schedule-management-table tbody td:nth-child(1) {
        grid-row: 1;
    }

    .elo-modern .elo-schedule-management-table tbody td:nth-child(2) {
        grid-row: 2;
    }

    .elo-modern .elo-schedule-management-table tbody td:nth-child(3) {
        grid-row: 3;
    }

    .elo-modern .elo-schedule-management-table tbody td:nth-child(4) {
        grid-row: 4;
    }

    .elo-modern .elo-schedule-management-table .elo-schedule-table-field {
        display: block;
        box-sizing: border-box;
        width: 100%;
        inline-size: 100%;
        min-width: 0;
        min-inline-size: 0;
        max-width: 100%;
        max-inline-size: 100%;
        min-height: 40px;
        margin: 0 auto;
        font-size: 16px;
        text-align: center;
    }

    .elo-modern .elo-schedule-management-table .elo-schedule-table-field.elo-schedule-datetime-native {
        display: none;
    }

    .elo-schedule-row-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .elo-schedule-row-actions > .elo-primary-action,
    .elo-schedule-remove-form,
    .elo-schedule-remove-form .elo-delete-button {
        width: 100%;
        max-width: none;
    }

    .elo-schedule-remove-form .elo-delete-button {
        min-height: 38px;
    }
}

/* FORNECEDORES */

.elo-supplier-notices {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.elo-supplier-notices:empty {
    display: none;
}

.elo-supplier-notices .elo-notice {
    margin: 0;
}

.elo-supplier-content {
    display: grid;
    gap: 22px;
}

.elo-supplier-form-card,
.elo-supplier-list {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.elo-supplier-form {
    margin: 0;
    padding: 20px 22px;
}

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

.elo-supplier-fields-grid label,
.elo-supplier-filter label {
    display: grid;
    min-width: 0;
    gap: 6px;
    margin: 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.elo-supplier-field-full {
    grid-column: 1 / -1;
}

.elo-modern .elo-supplier-fields-grid :is(input, select, textarea),
.elo-modern .elo-supplier-filter select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 9px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 12px;
    text-align: left;
}

.elo-modern .elo-supplier-fields-grid textarea {
    min-height: 104px;
    line-height: 1.5;
    resize: vertical;
}

.elo-supplier-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--elo-border);
}

.elo-supplier-form-actions .elo-primary-action {
    min-width: 190px;
}

.elo-supplier-list-header {
    align-items: flex-end;
}

.elo-supplier-filter {
    display: flex;
    min-width: min(100%, 360px);
    align-items: flex-end;
    justify-content: flex-end;
    gap: 9px;
    margin: 0;
}

.elo-supplier-filter label {
    width: min(240px, 100%);
}

.elo-supplier-filter .elo-secondary-action {
    min-height: 42px;
    white-space: nowrap;
}

.elo-supplier-empty {
    margin: 0;
    padding: 38px 22px;
    color: var(--elo-muted);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 13px;
    text-align: center;
}

.elo-supplier-table-wrap {
    display: block;
    width: 100%;
    margin: 0;
    overflow-x: auto;
}

.elo-modern .elo-supplier-table {
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    table-layout: auto;
}

.elo-modern .elo-supplier-table :is(th, td) {
    text-align: center;
}

.elo-modern .elo-supplier-table :is(th, td):first-child {
    text-align: left;
}

.elo-modern .elo-supplier-table td {
    overflow-wrap: anywhere;
}

.elo-supplier-whatsapp {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid color-mix(in srgb, #2f9e62 34%, var(--elo-border));
    border-radius: 8px;
    background: color-mix(in srgb, #e9f8ef 72%, #fff);
    color: #26784b;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.elo-supplier-whatsapp:hover {
    border-color: #2f9e62;
    background: #e9f8ef;
}

.elo-supplier-whatsapp .material-symbols-outlined {
    font-size: 17px;
}

.elo-supplier-edit {
    min-width: 92px;
    min-height: 36px;
    padding: 7px 10px;
    font-size: 10px;
}

@media (max-width: 820px) {
    .elo-supplier-list-header {
        align-items: stretch;
        flex-direction: column;
    }

    .elo-supplier-filter {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .elo-supplier-fields-grid {
        grid-template-columns: 1fr;
    }

    .elo-supplier-field-full {
        grid-column: auto;
    }

    .elo-supplier-form {
        padding: 18px;
    }

    .elo-modern .elo-supplier-fields-grid :is(input, select, textarea),
    .elo-modern .elo-supplier-filter select {
        font-size: 16px;
    }

    .elo-supplier-form-actions,
    .elo-supplier-form-actions .elo-primary-action {
        width: 100%;
    }

    .elo-supplier-filter {
        align-items: stretch;
        flex-direction: column;
    }

    .elo-supplier-filter label,
    .elo-supplier-filter .elo-secondary-action {
        width: 100%;
        max-width: none;
    }

    .elo-modern .elo-supplier-table tbody tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-color: color-mix(in srgb, var(--cor-primaria) 34%, var(--elo-border));
        background: var(--elo-primary-soft);
    }

    .elo-modern .elo-supplier-table tbody td,
    .elo-modern .elo-supplier-table tbody tr:nth-child(even) td,
    .elo-modern .elo-supplier-table tbody tr:hover td {
        display: block;
        min-width: 0;
        width: auto;
        max-width: 100%;
        padding: 10px 8px;
        border: 1px solid var(--elo-border);
        border-radius: 9px;
        background: #fff;
        color: var(--elo-text);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
        overflow: hidden;
        overflow-wrap: anywhere;
    }

    .elo-modern .elo-supplier-table tbody td::before {
        display: block;
        margin: 0 0 6px;
        color: var(--elo-muted);
        content: attr(data-label);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.25;
        text-align: center;
        text-transform: uppercase;
    }

    .elo-modern .elo-supplier-table tbody td:first-child {
        text-align: center;
    }

    .elo-modern .elo-supplier-table tbody td:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .elo-modern .elo-supplier-table tbody td:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .elo-modern .elo-supplier-table tbody td:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .elo-modern .elo-supplier-table tbody td:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    .elo-modern .elo-supplier-table tbody td:nth-child(5) {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .elo-supplier-whatsapp {
        max-width: 100%;
        margin: 0 auto;
        white-space: normal;
    }

    .elo-supplier-edit {
        width: 100%;
        max-width: none;
    }
}

.elo-supplier-edit-page-header .elo-page-actions,
.elo-client-edit-page-header .elo-page-actions {
    justify-content: flex-start;
}

.elo-supplier-edit-actions,
.elo-client-edit-actions {
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.elo-supplier-edit-actions > .elo-secondary-action,
.elo-client-edit-actions > .elo-secondary-action {
    margin-right: auto;
}

@media (max-width: 680px) {
    .elo-supplier-edit-page-header .elo-page-actions,
    .elo-supplier-edit-page-header .elo-page-actions .elo-secondary-action,
    .elo-client-edit-page-header .elo-page-actions,
    .elo-client-edit-page-header .elo-page-actions .elo-secondary-action,
    .elo-supplier-edit-actions,
    .elo-supplier-edit-actions > :is(.elo-primary-action, .elo-secondary-action, .elo-danger-action),
    .elo-client-edit-actions,
    .elo-client-edit-actions > :is(.elo-primary-action, .elo-secondary-action, .elo-danger-action) {
        width: 100%;
        max-width: none;
    }

    .elo-supplier-edit-actions > .elo-secondary-action,
    .elo-client-edit-actions > .elo-secondary-action {
        margin-right: 0;
    }
}

/* CLIENTES */

.elo-client-search {
    width: min(100%, 360px);
    min-width: min(100%, 280px);
}

.elo-client-search label {
    display: grid;
    min-width: 0;
    gap: 6px;
    margin: 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.elo-modern .elo-client-search input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 9px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 12px;
    text-align: left;
}

.elo-client-table-wrap {
    display: block;
    width: 100%;
    margin: 0;
    overflow-x: auto;
}

.elo-modern .elo-client-table {
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    table-layout: auto;
}

.elo-modern .elo-client-table :is(th, td) {
    text-align: center;
}

.elo-modern .elo-client-table :is(th, td):first-child {
    text-align: left;
}

.elo-modern .elo-client-table td {
    overflow-wrap: anywhere;
}

.elo-client-edit {
    min-width: 112px;
    min-height: 36px;
    padding: 7px 10px;
    font-size: 10px;
}

.elo-client-table-wrap[hidden],
.elo-client-empty[hidden],
.elo-client-table tr[hidden] {
    display: none !important;
}

@media (max-width: 820px) {
    .elo-client-search {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 680px) {
    .elo-modern .elo-client-search input {
        font-size: 16px;
    }

    .elo-modern .elo-client-table tbody tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-color: color-mix(in srgb, var(--cor-primaria) 34%, var(--elo-border));
        background: var(--elo-primary-soft);
    }

    .elo-modern .elo-client-table tbody td,
    .elo-modern .elo-client-table tbody tr:nth-child(even) td,
    .elo-modern .elo-client-table tbody tr:hover td {
        display: block;
        min-width: 0;
        width: auto;
        max-width: 100%;
        padding: 10px 8px;
        border: 1px solid var(--elo-border);
        border-radius: 9px;
        background: #fff;
        color: var(--elo-text);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
        overflow: hidden;
        overflow-wrap: anywhere;
    }

    .elo-modern .elo-client-table tbody td::before {
        display: block;
        margin: 0 0 6px;
        color: var(--elo-muted);
        content: attr(data-label);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.25;
        text-align: center;
        text-transform: uppercase;
    }

    .elo-modern .elo-client-table tbody td:first-child {
        text-align: center;
    }

    .elo-modern .elo-client-table tbody td:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .elo-modern .elo-client-table tbody td:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .elo-modern .elo-client-table tbody td:nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .elo-modern .elo-client-table tbody td:nth-child(4) {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .elo-client-whatsapp {
        max-width: 100%;
        margin: 0 auto;
        white-space: normal;
    }

    .elo-client-edit {
        width: 100%;
        max-width: none;
    }
}

/* GERENCIAR EDITAR */

.elo-event-edit-page-header .elo-page-actions {
    justify-content: flex-start;
}

.elo-event-edit-notices {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.elo-event-edit-notices:empty {
    display: none;
}

.elo-event-edit-notices .elo-notice {
    margin: 0;
}

.elo-event-edit-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.elo-event-edit-summary-card {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    overflow: hidden;
}

.elo-event-edit-summary-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--elo-primary);
    content: "";
}

.elo-event-edit-summary-card.is-confirmed::before {
    background: #34865a;
}

.elo-event-edit-summary-card > .material-symbols-outlined {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
    font-size: 22px;
}

.elo-event-edit-summary-card.is-confirmed > .material-symbols-outlined {
    background: #edf9f2;
    color: #34865a;
}

.elo-event-edit-summary-card > div {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.elo-event-edit-summary-card strong {
    color: var(--elo-primary);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 29px;
    font-weight: 600;
    line-height: 1;
}

.elo-event-edit-summary-card > div > span {
    color: var(--elo-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.elo-event-edit-form-card {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.elo-event-edit-form {
    margin: 0;
    padding: 20px 22px;
}

.elo-event-edit-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.elo-event-edit-fields-grid label {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 6px;
    margin: 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.elo-event-edit-field-full {
    grid-column: 1 / -1;
}

.elo-modern .elo-event-edit-fields-grid :is(input, select, textarea) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 9px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 12px;
    text-align: left;
}

.elo-modern .elo-event-edit-fields-grid textarea {
    min-height: 112px;
    line-height: 1.5;
    resize: vertical;
}

.elo-event-edit-field-help {
    color: var(--elo-muted);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.45;
}

.elo-event-edit-field-help a {
    color: var(--elo-primary);
    font-weight: 700;
}

.elo-event-edit-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--elo-border);
}

.elo-event-edit-form-actions > .elo-secondary-action {
    margin-right: auto;
}

.elo-event-edit-form-actions > .elo-primary-action {
    min-width: 180px;
}

@media (max-width: 680px) {
    .elo-event-edit-page-header .elo-page-actions,
    .elo-event-edit-page-header .elo-page-actions > :is(.elo-primary-action, .elo-secondary-action) {
        width: 100%;
        max-width: none;
    }

    .elo-event-edit-summary-grid,
    .elo-event-edit-fields-grid {
        grid-template-columns: 1fr;
    }

    .elo-event-edit-field-full {
        grid-column: auto;
    }

    .elo-event-edit-form {
        padding: 18px;
    }

    .elo-modern .elo-event-edit-fields-grid :is(input, select, textarea) {
        font-size: 16px;
    }

    .elo-event-edit-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .elo-event-edit-form-actions > :is(.elo-primary-action, .elo-secondary-action) {
        width: 100%;
        max-width: none;
    }

    .elo-event-edit-form-actions > .elo-secondary-action {
        margin-right: 0;
    }
}

/* CRIAR EVENTO */

.elo-criar-evento-page .elo-sidebar-new[aria-current="page"] {
    border-color: var(--elo-primary-hover);
    background: var(--elo-primary-hover);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--cor-primaria) 20%, transparent);
}

.elo-create-notices {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.elo-create-notices:empty {
    display: none;
}

.elo-create-notices .elo-notice {
    margin: 0;
}

.elo-create-limit-notice {
    align-items: center;
}

.elo-create-limit-notice p {
    flex: 1 1 auto;
}

.elo-create-limit-notice .elo-secondary-action {
    min-height: 36px;
    margin-left: auto;
    padding: 7px 11px;
    border-color: currentColor;
    background: rgba(255, 255, 255, 0.65);
    color: inherit;
    font-size: 10px;
    white-space: nowrap;
}

.elo-create-content {
    display: grid;
    gap: 22px;
}

.elo-modern .elo-create-short-date-mobile {
    display: none;
}

.elo-create-form-card,
.elo-create-events-list {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.elo-create-events-list {
    font-family: "Manrope", "Inter", sans-serif;
}

.elo-create-empty {
    margin: 0;
    padding: 38px 22px;
    color: var(--elo-muted);
    font-size: 13px;
    text-align: center;
}

.elo-create-table-wrap {
    display: block;
    width: 100%;
    margin: 0;
    overflow-x: auto;
}

.elo-modern .elo-create-table {
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    table-layout: auto;
}

.elo-modern .elo-create-table :is(th, td) {
    text-align: center;
}

.elo-modern .elo-create-table :is(th, td):first-child {
    text-align: left;
}

.elo-modern .elo-create-table tbody tr.is-past td {
    background: color-mix(in srgb, var(--elo-surface-soft) 72%, #f1f3f6);
    color: color-mix(in srgb, var(--elo-text) 72%, #fff);
}

.elo-create-past-label {
    display: inline-flex;
    align-items: center;
    margin-left: 7px;
    padding: 3px 6px;
    border: 1px solid var(--elo-border);
    border-radius: 999px;
    background: #fff;
    color: var(--elo-muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    vertical-align: middle;
}

.elo-create-row-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.elo-create-row-actions > :is(.elo-secondary-action, .elo-danger-action) {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 10px;
}

@media (max-width: 680px) {
    .elo-modern .elo-create-fields-grid .elo-create-date-native {
        display: none;
    }

    .elo-modern .elo-create-fields-grid .elo-create-short-date-mobile {
        display: block;
        font-size: 16px;
        text-align: center;
    }

    .elo-create-limit-notice {
        align-items: stretch;
        flex-direction: column;
    }

    .elo-create-limit-notice .elo-secondary-action {
        width: 100%;
        max-width: none;
        margin-left: 0;
    }

    .elo-modern .elo-create-table tbody tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-color: color-mix(in srgb, var(--cor-primaria) 34%, var(--elo-border));
        background: var(--elo-primary-soft);
    }

    .elo-modern .elo-create-table tbody td,
    .elo-modern .elo-create-table tbody tr:nth-child(even) td,
    .elo-modern .elo-create-table tbody tr:hover td,
    .elo-modern .elo-create-table tbody tr.is-past td {
        display: block;
        min-width: 0;
        width: auto;
        max-width: 100%;
        padding: 10px 8px;
        border: 1px solid var(--elo-border);
        border-radius: 9px;
        background: #fff;
        color: var(--elo-text);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
        overflow: hidden;
        overflow-wrap: anywhere;
    }

    .elo-modern .elo-create-table tbody tr.is-past {
        opacity: 0.78;
    }

    .elo-modern .elo-create-table tbody td::before {
        display: block;
        margin: 0 0 6px;
        color: var(--elo-muted);
        content: attr(data-label);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.25;
        text-align: center;
        text-transform: uppercase;
    }

    .elo-modern .elo-create-table tbody td:first-child {
        text-align: center;
    }

    .elo-modern .elo-create-table tbody td:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .elo-modern .elo-create-table tbody td:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .elo-modern .elo-create-table tbody td:nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .elo-create-past-label {
        display: flex;
        width: fit-content;
        margin: 6px auto 0;
    }

    .elo-create-row-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .elo-create-row-actions > :is(.elo-secondary-action, .elo-danger-action) {
        width: 100%;
        max-width: none;
    }
}

/* CAMPOS SELECT — ALINHAMENTO GLOBAL */

.elo-modern select {
    --elo-select-height: 42px;
    display: block;
    height: var(--elo-select-height);
    min-height: var(--elo-select-height);
    align-self: start;
    padding-top: 0 !important;
    padding-right: 34px !important;
    padding-bottom: 0 !important;
    line-height: 1.2;
    vertical-align: top;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23687184' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
}

.elo-modern #tabela-rsvp select {
    --elo-select-height: 36px;
}

.elo-modern .elo-finance-payments-table select.elo-finance-payment-field {
    --elo-select-height: 38px;
}

@media (max-width: 680px) {
    .elo-modern #tabela-rsvp select,
    .elo-modern .elo-finance-payments-table select.elo-finance-payment-field {
        --elo-select-height: 40px;
    }
}

/* FINANCEIRO GLOBAL */

.elo-global-finance-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.elo-global-finance-events {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.elo-global-finance-empty {
    margin: 0;
    padding: 38px 22px;
    color: var(--elo-muted);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 13px;
    text-align: center;
}

.elo-global-finance-table-wrap {
    display: block;
    width: 100%;
    margin: 0;
    overflow-x: auto;
}

.elo-modern .elo-global-finance-table {
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    table-layout: auto;
}

.elo-modern .elo-global-finance-table :is(th, td) {
    text-align: center;
}

.elo-modern .elo-global-finance-table :is(th, td):first-child {
    text-align: left;
}

.elo-modern .elo-global-finance-table td:last-child strong {
    color: var(--elo-primary);
}

.elo-global-finance-date-mobile {
    display: none;
}

@media (max-width: 680px) {
    .elo-global-finance-summary-grid {
        grid-template-columns: 1fr;
    }

    .elo-modern .elo-global-finance-table tbody tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-color: color-mix(in srgb, var(--cor-primaria) 34%, var(--elo-border));
        background: var(--elo-primary-soft);
    }

    .elo-modern .elo-global-finance-table tbody td,
    .elo-modern .elo-global-finance-table tbody tr:nth-child(even) td,
    .elo-modern .elo-global-finance-table tbody tr:hover td {
        display: block;
        min-width: 0;
        width: auto;
        max-width: 100%;
        padding: 10px 8px;
        border: 1px solid var(--elo-border);
        border-radius: 9px;
        background: #fff;
        color: var(--elo-text);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
        overflow: hidden;
        overflow-wrap: anywhere;
    }

    .elo-modern .elo-global-finance-table tbody td::before {
        display: block;
        margin: 0 0 6px;
        color: var(--elo-muted);
        content: attr(data-label);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.25;
        text-align: center;
        text-transform: uppercase;
    }

    .elo-modern .elo-global-finance-table tbody td:first-child {
        text-align: center;
    }

    .elo-modern .elo-global-finance-table tbody td:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .elo-modern .elo-global-finance-table tbody td:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .elo-modern .elo-global-finance-table tbody td:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .elo-modern .elo-global-finance-table tbody td:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    .elo-global-finance-date-desktop {
        display: none;
    }

    .elo-global-finance-date-mobile {
        display: inline;
    }
}

/* RELATÓRIO DE CONVIDADOS / GASTRONOMIA */

.elo-report-page-header .elo-page-actions {
    justify-content: flex-start;
}

.elo-report-notices {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.elo-report-notices:empty {
    display: none;
}

.elo-report-notices .elo-notice {
    margin: 0;
}

.elo-report-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.elo-report-summary-card {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 18px;
    overflow: hidden;
}

.elo-report-summary-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--elo-primary);
    content: "";
}

.elo-report-summary-card > .material-symbols-outlined {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
    font-size: 21px;
}

.elo-report-summary-card > div {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.elo-report-summary-card strong {
    color: var(--elo-primary);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.elo-report-summary-card > div > span {
    color: var(--elo-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.35;
    text-transform: uppercase;
}

.elo-report-summary-card.is-adult::before {
    background: #5876a8;
}

.elo-report-summary-card.is-child::before {
    background: #ad6b25;
}

.elo-report-summary-card.is-supplier::before {
    background: #34865a;
}

.elo-report-content {
    display: grid;
    grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 22px;
}

.elo-report-filter-card,
.elo-report-table-card {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.elo-report-filter-form {
    margin: 0;
    padding: 20px 22px;
}

.elo-report-filter-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.elo-report-filter-fields > label:not(.elo-report-checkbox-field) {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 6px;
    margin: 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.elo-modern .elo-report-filter-fields input[type="number"] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 9px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 12px;
    text-align: center;
}

.elo-report-checkbox-field {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid var(--elo-border);
    border-radius: 9px;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.elo-modern .elo-report-checkbox-field input[type="checkbox"] {
    width: 19px;
    height: 19px;
    min-width: 19px;
    margin: 0;
    accent-color: var(--elo-primary);
}

.elo-report-filter-fields > [hidden] {
    display: none !important;
}

.elo-report-filter-result {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 16px;
    padding: 12px 13px;
    border: 1px solid var(--elo-border);
    border-radius: 9px;
    background: var(--elo-primary-soft);
    color: var(--elo-text);
}

.elo-report-filter-result .material-symbols-outlined {
    color: var(--elo-primary);
    font-size: 19px;
}

.elo-report-filter-result p {
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
}

.elo-report-filter-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--elo-border);
}

.elo-report-filter-actions .elo-primary-action {
    min-width: 160px;
}

.elo-report-table-wrap {
    display: block;
    width: 100%;
    margin: 0;
    overflow-x: auto;
}

.elo-modern .elo-report-table {
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    table-layout: auto;
}

.elo-modern .elo-report-table :is(th, td):last-child {
    width: 90px;
    text-align: center;
}

.elo-modern .elo-report-table td:last-child strong {
    color: var(--elo-primary);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
}

@media (max-width: 1080px) {
    .elo-report-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elo-report-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .elo-report-page-header .elo-page-actions,
    .elo-report-page-header .elo-page-actions > :is(.elo-primary-action, .elo-secondary-action) {
        width: 100%;
        max-width: none;
    }

    .elo-report-summary-grid,
    .elo-report-filter-fields {
        grid-template-columns: 1fr;
    }

    .elo-report-checkbox-field {
        grid-column: auto;
    }

    .elo-report-filter-form {
        padding: 18px;
    }

    .elo-modern .elo-report-filter-fields input[type="number"] {
        font-size: 16px;
    }

    .elo-report-filter-actions,
    .elo-report-filter-actions .elo-primary-action {
        width: 100%;
    }

    .elo-modern .elo-report-table tbody tr {
        grid-template-columns: minmax(0, 1fr) 82px;
        gap: 8px;
        padding: 10px;
        border-color: color-mix(in srgb, var(--cor-primaria) 34%, var(--elo-border));
        background: var(--elo-primary-soft);
    }

    .elo-modern .elo-report-table tbody td,
    .elo-modern .elo-report-table tbody tr:nth-child(even) td,
    .elo-modern .elo-report-table tbody tr:hover td {
        display: block;
        min-width: 0;
        width: auto;
        max-width: 100%;
        padding: 10px 8px;
        border: 1px solid var(--elo-border);
        border-radius: 9px;
        background: #fff;
        color: var(--elo-text);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
        overflow: hidden;
        overflow-wrap: anywhere;
    }

    .elo-modern .elo-report-table tbody td::before {
        display: block;
        margin: 0 0 6px;
        color: var(--elo-muted);
        content: attr(data-label);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.25;
        text-align: center;
        text-transform: uppercase;
    }

    .elo-modern .elo-report-table tbody td:nth-child(1) {
        grid-column: 1;
        width: auto;
        max-width: 100%;
    }

    .elo-modern .elo-report-table tbody td:nth-child(2) {
        grid-column: 2;
        width: auto;
        max-width: 100%;
    }
}

/* ADMINISTRAÇÃO DE USUÁRIOS */

.elo-admin-users-page-header .elo-page-actions {
    align-items: flex-start;
}

.elo-admin-users-notices {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.elo-admin-users-notices:empty {
    display: none;
}

.elo-admin-users-notices .elo-notice {
    margin: 0;
}

.elo-admin-users-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.elo-admin-users-summary-card {
    position: relative;
    display: grid;
    min-width: 0;
    gap: 7px;
    padding: 20px;
    overflow: hidden;
}

.elo-admin-users-summary-card::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--elo-primary);
    content: "";
}

.elo-admin-users-summary-card.is-active::after {
    background: #2d7a50;
}

.elo-admin-users-summary-card.is-pro::after {
    background: color-mix(in srgb, var(--elo-primary) 78%, #3858a8);
}

.elo-admin-users-summary-card.is-events::after {
    background: #b7791f;
}

.elo-admin-users-summary-card > span {
    color: var(--elo-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.elo-admin-users-summary-card > strong {
    color: var(--elo-primary);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
}

.elo-admin-user-create,
.elo-admin-users-list {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.elo-admin-users-list {
    margin-top: 22px;
}

.elo-admin-user-form {
    width: 100%;
    margin: 0;
    padding: 20px 22px;
}

.elo-admin-user-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.elo-admin-user-fields-grid label,
.elo-admin-users-search {
    display: grid;
    min-width: 0;
    gap: 6px;
    margin: 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.elo-modern .elo-admin-user-fields-grid :is(input, select),
.elo-modern .elo-admin-users-search input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 9px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 12px;
    text-align: left;
    box-shadow: none;
}

.elo-admin-user-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--elo-border);
}

.elo-admin-user-form-actions .elo-primary-action {
    min-width: 200px;
}

.elo-admin-users-list-header {
    align-items: flex-end;
}

.elo-admin-users-search {
    width: min(320px, 34vw);
}

.elo-admin-users-table-wrap {
    display: block;
    width: 100%;
    margin: 0;
    overflow-x: auto;
}

.elo-admin-users-table-wrap[hidden],
.elo-admin-users-empty[hidden],
.elo-admin-users-table tr[hidden] {
    display: none !important;
}

.elo-modern .elo-admin-users-table {
    width: 100%;
    min-width: 920px;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    table-layout: auto;
}

.elo-modern .elo-admin-users-table :is(th, td) {
    text-align: center;
}

.elo-modern .elo-admin-users-table :is(th, td):first-child,
.elo-modern .elo-admin-users-table :is(th, td):nth-child(2) {
    text-align: left;
}

.elo-modern .elo-admin-users-table td {
    overflow-wrap: anywhere;
}

.elo-modern .elo-admin-users-table td:first-child strong {
    color: var(--elo-text);
    font-size: 12px;
}

.elo-admin-user-demo-tag,
.elo-admin-user-status,
.elo-admin-user-plan {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border: 1px solid var(--elo-border);
    border-radius: 999px;
    background: var(--elo-surface-soft);
    color: var(--elo-muted);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

.elo-admin-user-demo-tag {
    min-height: 21px;
    margin-left: 5px;
    padding: 3px 7px;
    border-color: color-mix(in srgb, var(--elo-primary) 28%, var(--elo-border));
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
    vertical-align: middle;
}

.elo-admin-user-status.is-active {
    border-color: #b9dbc8;
    background: #edf9f2;
    color: #245f3e;
}

.elo-admin-user-status.is-inactive {
    border-color: #efc1c1;
    background: #fff1f1;
    color: #8e2929;
}

.elo-admin-user-plan.is-pro {
    border-color: color-mix(in srgb, var(--elo-primary) 30%, var(--elo-border));
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
}

.elo-admin-user-edit {
    min-width: 94px;
    min-height: 34px;
    padding: 6px 9px;
    font-size: 10px;
}

.elo-admin-user-edit .material-symbols-outlined {
    font-size: 16px;
}

.elo-admin-users-empty {
    margin: 0;
    padding: 38px 22px;
    color: var(--elo-muted);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 1080px) {
    .elo-admin-users-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elo-admin-users-list-header {
        align-items: stretch;
        flex-direction: column;
    }

    .elo-admin-users-search {
        width: min(100%, 380px);
    }
}

@media (max-width: 680px) {
    .elo-admin-users-page-header .elo-page-actions {
        grid-template-columns: 1fr;
    }

    .elo-admin-users-summary-grid,
    .elo-admin-user-fields-grid {
        grid-template-columns: 1fr;
    }

    .elo-admin-user-form {
        padding: 18px;
    }

    .elo-modern .elo-admin-user-fields-grid :is(input, select),
    .elo-modern .elo-admin-users-search input {
        font-size: 16px;
    }

    .elo-admin-user-form-actions,
    .elo-admin-user-form-actions .elo-primary-action,
    .elo-admin-users-search {
        width: 100%;
    }

    .elo-modern .elo-admin-users-table,
    .elo-modern .elo-admin-users-table tbody {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .elo-modern .elo-admin-users-table thead {
        display: none;
    }

    .elo-modern .elo-admin-users-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 0 12px 12px;
        padding: 10px;
        border: 1px solid color-mix(in srgb, var(--cor-primaria) 34%, var(--elo-border));
        border-radius: 12px;
        background: var(--elo-primary-soft);
    }

    .elo-modern .elo-admin-users-table tbody tr:first-child {
        margin-top: 12px;
    }

    .elo-modern .elo-admin-users-table tbody td,
    .elo-modern .elo-admin-users-table tbody tr:nth-child(even) td,
    .elo-modern .elo-admin-users-table tbody tr:hover td {
        display: block;
        min-width: 0;
        width: auto;
        max-width: 100%;
        padding: 10px 8px;
        overflow: hidden;
        border: 1px solid var(--elo-border);
        border-radius: 9px;
        background: #fff;
        color: var(--elo-text);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 11px;
        line-height: 1.4;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .elo-modern .elo-admin-users-table tbody td::before {
        display: block;
        margin: 0 0 6px;
        color: var(--elo-muted);
        content: attr(data-label);
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.25;
        text-align: center;
        text-transform: uppercase;
    }

    .elo-modern .elo-admin-users-table tbody td:first-child,
    .elo-modern .elo-admin-users-table tbody td:nth-child(2) {
        grid-column: 1 / -1;
        text-align: center;
    }

    .elo-modern .elo-admin-users-table tbody td:nth-child(1) {
        grid-row: 1;
    }

    .elo-modern .elo-admin-users-table tbody td:nth-child(2) {
        grid-row: 2;
    }

    .elo-modern .elo-admin-users-table tbody td:nth-child(3),
    .elo-modern .elo-admin-users-table tbody td:nth-child(4) {
        grid-row: 3;
    }

    .elo-modern .elo-admin-users-table tbody td:nth-child(5),
    .elo-modern .elo-admin-users-table tbody td:nth-child(6) {
        grid-row: 4;
    }

    .elo-modern .elo-admin-users-table tbody td:nth-child(7),
    .elo-modern .elo-admin-users-table tbody td:nth-child(8) {
        grid-row: 5;
    }

    .elo-admin-user-edit {
        width: 100%;
        max-width: none;
    }
}

/* EDIÇÃO ADMINISTRATIVA DE USUÁRIO */

.elo-admin-user-edit-page-header .elo-page-actions {
    align-items: flex-start;
}

.elo-admin-user-edit-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.elo-admin-user-edit-summary-card {
    position: relative;
    display: grid;
    min-width: 0;
    gap: 7px;
    padding: 20px;
    overflow: hidden;
}

.elo-admin-user-edit-summary-card::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--elo-primary);
    content: "";
}

.elo-admin-user-edit-summary-card > span {
    color: var(--elo-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.elo-admin-user-edit-summary-card > strong {
    min-width: 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.elo-admin-user-edit-summary-card > strong.is-active {
    color: #245f3e;
}

.elo-admin-user-edit-summary-card > strong.is-inactive {
    color: #8e2929;
}

.elo-admin-user-edit-form {
    display: grid;
    width: 100%;
    gap: 22px;
    margin: 0 auto;
}

.elo-admin-user-edit-section {
    min-width: 0;
    overflow: hidden;
}

.elo-admin-user-edit-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 20px 22px;
}

.elo-admin-user-edit-fields label {
    display: grid;
    min-width: 0;
    gap: 6px;
    margin: 0;
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.elo-admin-user-edit-field-full {
    grid-column: 1 / -1;
}

.elo-modern .elo-admin-user-edit-fields :is(input, select) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid var(--elo-border) !important;
    border-radius: 9px !important;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 12px;
    text-align: left;
    box-shadow: none;
}

.elo-admin-user-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.elo-admin-user-edit-grid > .elo-admin-user-edit-section {
    height: 100%;
}

.elo-admin-user-short-date-mobile {
    display: none;
}

.elo-admin-user-add-month {
    width: calc(100% - 44px);
    margin: 0 22px 20px;
}

.elo-admin-user-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-bottom: 4px;
}

.elo-admin-user-edit-actions > * {
    min-width: 170px;
}

.elo-admin-user-danger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 22px;
    padding: 22px;
    border-color: color-mix(in srgb, var(--elo-danger) 28%, var(--elo-border));
}

.elo-admin-user-danger h2 {
    margin: 4px 0 0;
    color: var(--elo-danger);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
}

.elo-admin-user-danger p {
    margin: 7px 0 0;
    color: var(--elo-muted);
    font-size: 13px;
    line-height: 1.5;
}

.elo-admin-user-danger small {
    display: block;
    margin-top: 7px;
    color: var(--elo-danger);
    font-size: 11px;
    font-weight: 700;
}

.elo-admin-user-danger form {
    flex: 0 0 auto;
    margin: 0;
}

.elo-admin-user-danger .elo-danger-action {
    min-width: 170px;
}

.elo-admin-user-danger .elo-danger-action:disabled {
    border-color: var(--elo-border);
    background: #eef0f4;
    color: #8b93a2;
    cursor: not-allowed;
    opacity: 0.76;
}

@media (max-width: 980px) {
    .elo-admin-user-edit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .elo-admin-user-edit-page-header .elo-page-actions,
    .elo-admin-user-edit-summary,
    .elo-admin-user-edit-fields {
        grid-template-columns: 1fr;
    }

    .elo-admin-user-edit-fields {
        padding: 18px;
    }

    .elo-admin-user-edit-field-full {
        grid-column: auto;
    }

    .elo-modern .elo-admin-user-edit-fields :is(input, select) {
        font-size: 16px;
    }

    .elo-modern .elo-admin-user-edit-fields .elo-admin-user-date-native {
        display: none;
    }

    .elo-modern .elo-admin-user-edit-fields .elo-admin-user-short-date-mobile {
        display: block;
        font-size: 14px;
        text-align: center;
    }

    .elo-admin-user-add-month {
        width: calc(100% - 36px);
        margin: 0 18px 18px;
    }

    .elo-admin-user-edit-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .elo-admin-user-edit-actions > * {
        width: 100%;
        min-width: 0;
    }

    .elo-admin-user-danger {
        align-items: stretch;
        flex-direction: column;
    }

    .elo-admin-user-danger form,
    .elo-admin-user-danger .elo-danger-action {
        width: 100%;
    }
}

/* TERMOS DE USO */

.elo-terms-page .container.login-form,
.elo-terms-page .container.login-form > .card {
    min-height: 100vh;
}

.elo-terms-shell {
    display: flex;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background:
        radial-gradient(circle at 12% 8%, var(--elo-primary-soft), transparent 34%),
        var(--elo-bg);
}

.elo-terms-card {
    width: min(960px, 100%);
    margin: 0 auto;
    padding: 30px;
    box-shadow: 0 24px 70px rgba(25, 34, 52, 0.1);
}

.elo-terms-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 22px;
    text-align: center;
}

.elo-terms-brand {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    border: 1px solid var(--elo-border-strong);
    border-radius: 15px;
    background: var(--elo-primary-soft);
    color: var(--elo-primary);
}

.elo-terms-brand .material-symbols-outlined {
    font-size: 29px;
}

.elo-terms-header h1 {
    margin: 5px 0 0;
    color: var(--elo-primary);
    font-family: "EB Garamond", Georgia, serif;
    font-size: clamp(34px, 5vw, 46px);
    font-weight: 600;
    line-height: 1.08;
}

.elo-terms-header p {
    max-width: 680px;
    margin: 9px 0 0;
    color: var(--elo-muted);
    font-size: 13px;
    line-height: 1.6;
}

.elo-terms-notice {
    margin-bottom: 16px;
}

.elo-terms-document {
    max-height: min(52vh, 590px);
    padding: 22px;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--elo-border);
    border-radius: 12px;
    background: var(--elo-surface-soft);
    color: var(--elo-text);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.72;
    scrollbar-color: var(--elo-border-strong) transparent;
    white-space: pre-wrap;
}

.elo-terms-document:focus-visible {
    outline: 3px solid var(--elo-primary-soft);
    outline-offset: 2px;
}

.elo-terms-document a,
.elo-terms-check a {
    color: var(--elo-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.elo-terms-form {
    display: grid;
    width: 100%;
    gap: 16px;
    margin: 18px 0 0;
}

.elo-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--elo-border);
    border-radius: 11px;
    background: #fff;
    color: var(--elo-text);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.elo-terms-page .elo-terms-check input[type="checkbox"] {
    width: 21px !important;
    min-width: 21px !important;
    height: 21px !important;
    margin: 0 !important;
    accent-color: var(--elo-primary);
    transform: none !important;
}

.elo-terms-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.elo-terms-actions > * {
    min-width: 180px;
}

.elo-terms-actions .elo-primary-action:disabled {
    border-color: var(--elo-border);
    background: #eef0f4;
    color: #8b93a2;
    cursor: not-allowed;
    opacity: 0.8;
    transform: none;
}

.elo-terms-footer {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--elo-border);
    color: var(--elo-muted);
    font-size: 10px;
    line-height: 1.45;
}

.elo-terms-footer .material-symbols-outlined {
    color: var(--elo-primary);
    font-size: 16px;
}

@media (max-width: 680px) {
    .elo-terms-shell {
        align-items: flex-start;
        padding: 14px;
    }

    .elo-terms-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .elo-terms-header {
        margin-bottom: 18px;
    }

    .elo-terms-header h1 {
        font-size: 34px;
    }

    .elo-terms-document {
        max-height: 48vh;
        padding: 16px;
        font-size: 11px;
        line-height: 1.68;
    }

    .elo-terms-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .elo-terms-actions > * {
        width: 100%;
        min-width: 0;
    }
}
