:root {
    --bg: #08122f;
    --panel: rgba(255, 255, 255, .065);
    --panel-strong: rgba(255, 255, 255, .10);
    --border: rgba(255, 255, 255, .13);
    --gold: #b72d4c;
    --gold-2: #ffca2c;
    --muted: #a8adbd;
    --text: #f7f7fb;
    --achei-wine: #b72d4c;
    --achei-navy: #08122f;
    --achei-cream: #fbfaf8;
}

/* Admin CRM Oresco-style shell */
.admin-crm-shell {
    --crm-navy: #0b1f3a;
    --crm-navy-2: #132f55;
    --crm-blue: #2563eb;
    --crm-bg: #f4f7fb;
    --crm-ink: #172033;
    --crm-muted: #667085;
    --crm-line: #e5e9f0;
    --crm-card: #ffffff;
    --crm-green: #0f9f6e;
    --crm-red: #dc3545;
    --crm-amber: #f59e0b;
    background: var(--crm-bg) !important;
    color: var(--crm-ink) !important;
}

.admin-crm-shell .admin-crm-frame {
    min-height: 100vh;
}

.admin-crm-shell .admin-crm-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    width: 250px;
    padding: 22px 15px;
    color: #fff;
    background: linear-gradient(180deg, var(--crm-navy), #071426);
}

.admin-crm-shell .admin-crm-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 8px 22px;
    color: #fff;
    text-decoration: none;
}

.admin-crm-shell .admin-crm-brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.admin-crm-shell .admin-crm-brand-mark img {
    max-width: 36px;
    max-height: 36px;
    object-fit: contain;
}

.admin-crm-shell .admin-crm-brand strong {
    font-size: .95rem;
    letter-spacing: .02em;
}

.admin-crm-shell .admin-crm-menu {
    display: grid;
    align-content: start;
    gap: 5px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 2px;
}

.admin-crm-shell .admin-crm-menu small {
    margin: 12px 12px 6px;
    color: #6f87a7;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .11em;
}

.admin-crm-shell .admin-crm-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 9px;
    color: #cfdaea;
    font-size: .925rem;
    font-weight: 750;
    text-decoration: none;
}

.admin-crm-shell .admin-crm-menu a:hover,
.admin-crm-shell .admin-crm-menu a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .10);
}

.admin-crm-shell .admin-crm-menu i {
    width: 1.15rem;
    text-align: center;
}

.admin-crm-shell .admin-crm-user {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 14px 8px 0;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

.admin-crm-shell .admin-crm-user > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--crm-blue);
    color: #fff;
    font-weight: 900;
}

.admin-crm-shell .admin-crm-user strong,
.admin-crm-shell .admin-crm-user small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-crm-shell .admin-crm-user strong {
    font-size: .84rem;
}

.admin-crm-shell .admin-crm-user small {
    color: #9eb0c8;
    font-size: .72rem;
}

.admin-crm-shell .admin-crm-user button {
    border: 0;
    background: transparent;
    color: #9eb0c8;
}

.admin-crm-shell .admin-crm-main {
    min-height: 100vh;
    margin-left: 250px;
}

.admin-crm-shell .admin-crm-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 88px;
    padding: 16px 28px;
    border-bottom: 1px solid var(--crm-line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
}

.admin-crm-shell .admin-crm-topbar > div {
    flex: 1;
}

.admin-crm-shell .admin-crm-topbar h1 {
    margin: 0;
    color: var(--crm-ink);
    font-size: 1.35rem;
    font-weight: 850;
}

.admin-crm-shell .admin-crm-topbar p {
    margin: 2px 0 0;
    color: var(--crm-muted);
    font-size: .78rem;
}

.admin-crm-shell .admin-crm-content {
    padding: 24px 28px 40px;
}

.admin-crm-shell .alert {
    border: 0 !important;
    border-radius: 9px !important;
    background: #def7ec;
    color: #086f4c;
}

.admin-crm-shell .btn {
    border-radius: 9px;
    font-weight: 800;
}

.admin-crm-shell .btn-gold {
    --bs-btn-bg: var(--crm-blue);
    --bs-btn-border-color: var(--crm-blue);
    --bs-btn-color: #ffffff;
    --bs-btn-hover-bg: #1d4ed8;
    --bs-btn-hover-border-color: #1d4ed8;
    --bs-btn-hover-color: #ffffff;
}

.admin-crm-shell .btn-outline-light,
.admin-crm-shell .btn-outline-secondary {
    --bs-btn-color: var(--crm-ink);
    --bs-btn-border-color: var(--crm-line);
    --bs-btn-hover-bg: #eef4ff;
    --bs-btn-hover-border-color: #cfd9ea;
    --bs-btn-hover-color: var(--crm-ink);
    background: #fff;
}

.admin-crm-shell .crm-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.admin-crm-shell .crm-hero h2 {
    margin: 0;
    color: var(--crm-ink);
    font-size: 1.8rem;
    font-weight: 900;
}

.admin-crm-shell .crm-hero p {
    max-width: 760px;
    margin: .35rem 0 0;
    color: var(--crm-muted);
}

.admin-crm-shell .crm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-crm-shell .crm-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.admin-crm-shell .crm-metric-card,
.admin-crm-shell .crm-panel {
    border: 1px solid var(--crm-line);
    border-radius: 14px;
    background: var(--crm-card);
    box-shadow: 0 8px 28px rgba(11, 31, 58, .08);
}

.admin-crm-shell .crm-metric-card {
    display: grid;
    gap: 4px;
    min-height: 126px;
    padding: 16px;
    border-top: 3px solid var(--crm-blue);
    color: inherit;
    text-decoration: none;
}

.admin-crm-shell .crm-metric-card small,
.admin-crm-shell .crm-metric-card span {
    color: var(--crm-muted);
    font-size: .76rem;
    font-weight: 750;
}

.admin-crm-shell .crm-metric-card strong {
    color: var(--crm-ink);
    font-size: 1.65rem;
    line-height: 1.05;
}

.admin-crm-shell .crm-metric-card.is-warning {
    border-top-color: var(--crm-amber);
}

.admin-crm-shell .crm-metric-card.is-danger {
    border-top-color: var(--crm-red);
}

.admin-crm-shell .crm-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, .8fr);
    gap: 18px;
}

.admin-crm-shell .crm-grid-even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.admin-crm-shell .crm-panel {
    padding: 20px;
}

.admin-crm-shell .crm-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.admin-crm-shell .crm-panel-head h3 {
    margin: 0;
    color: var(--crm-ink);
    font-size: 1rem;
    font-weight: 900;
}

.admin-crm-shell .crm-panel-head p {
    margin: 3px 0 0;
    color: var(--crm-muted);
    font-size: .82rem;
}

.admin-crm-shell .crm-performance-list,
.admin-crm-shell .crm-action-list {
    display: grid;
    gap: 10px;
}

.admin-crm-shell .crm-performance-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.2fr) minmax(120px, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #edf1f6;
    border-radius: 12px;
    background: #fbfcfe;
}

.admin-crm-shell .crm-performance-row strong,
.admin-crm-shell .crm-performance-row small {
    display: block;
}

.admin-crm-shell .crm-performance-row small {
    color: var(--crm-muted);
    font-size: .78rem;
}

.admin-crm-shell .crm-performance-row b {
    color: var(--crm-blue);
}

.admin-crm-shell .crm-progress {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8edf5;
}

.admin-crm-shell .crm-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--crm-blue), #60a5fa);
}

.admin-crm-shell .crm-action-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px;
    border: 1px solid #edf1f6;
    border-radius: 12px;
    color: var(--crm-ink);
    background: #fbfcfe;
    font-weight: 800;
    text-decoration: none;
}

.admin-crm-shell .crm-action-list i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: #fff;
    background: var(--crm-blue);
}

.admin-crm-shell .glass-card {
    color: var(--crm-ink) !important;
    background: #fff !important;
    border: 1px solid var(--crm-line) !important;
    box-shadow: none !important;
}

.admin-crm-shell .page-heading {
    padding: 0 !important;
    background: transparent !important;
    color: var(--crm-ink) !important;
    box-shadow: none !important;
}

.admin-crm-shell .page-heading h1,
.admin-crm-shell .section-title {
    color: var(--crm-ink) !important;
}

.admin-crm-shell .table,
.admin-crm-shell .table-dark {
    --bs-table-bg: transparent;
    --bs-table-color: #1f2937;
    --bs-table-border-color: rgba(17, 24, 39, .08);
    --bs-table-hover-bg: #f5f8fc;
    --bs-table-hover-color: #111827;
    color: #1f2937;
}

.admin-crm-shell .table thead th {
    color: var(--crm-muted);
    background: #f8fafc;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.admin-crm-shell .table small {
    color: var(--crm-muted);
}

.admin-crm-shell .app-pagination {
    border-top-color: var(--crm-line);
}

@media (max-width: 1180px) {
    .admin-crm-shell .crm-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-crm-shell .crm-grid,
    .admin-crm-shell .crm-grid-even {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .admin-crm-shell .admin-crm-sidebar {
        position: static;
        width: 100%;
        min-height: 0;
        padding: 14px;
    }

    .admin-crm-shell .admin-crm-main {
        margin-left: 0;
    }

    .admin-crm-shell .admin-crm-menu {
        display: flex;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .admin-crm-shell .admin-crm-menu small {
        display: none;
    }

    .admin-crm-shell .admin-crm-menu a {
        flex: 0 0 auto;
    }

    .admin-crm-shell .admin-crm-topbar,
    .admin-crm-shell .crm-hero,
    .admin-crm-shell .crm-panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-crm-shell .admin-crm-content {
        padding: 16px;
    }

    .admin-crm-shell .crm-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-crm-shell .crm-performance-row {
        grid-template-columns: 1fr;
    }
}

.app-shell .company-profile-form,
.app-shell .company-admin-section,
.app-shell .company-gallery-grid {
    max-width: 1120px;
}

.app-shell .company-profile-form {
    display: grid;
    gap: 18px;
}

.app-shell .company-admin-section {
    background: #fff;
    border: 1px solid rgba(22, 24, 40, .12);
    border-radius: 16px;
    padding: 24px;
    color: #080829;
    box-shadow: 0 14px 34px rgba(20, 22, 38, .06);
}

.app-shell .section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.app-shell .section-head h2,
.app-shell .company-admin-panel h3,
.app-shell .company-media-box h3 {
    margin: 0;
    color: #050525;
    font-weight: 800;
    letter-spacing: 0;
}

.app-shell .section-head p,
.app-shell .company-admin-panel small,
.app-shell .company-media-box p,
.app-shell .company-form-actions span {
    color: #5f5872;
}

.app-shell .company-admin-panel {
    background: #f8f6fb;
    border-radius: 12px;
    padding: 18px;
    margin-top: 14px;
}

.app-shell .company-form-grid,
.app-shell .company-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
    gap: 16px;
    margin-top: 14px;
}

.app-shell .company-contact-grid {
    grid-template-columns: 1.4fr 1.4fr 1fr 72px;
}

.app-shell .company-form-grid label,
.app-shell .company-contact-grid label {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.app-shell .company-form-grid label > span,
.app-shell .company-contact-grid label > span {
    font-weight: 600;
    color: #080829;
}

.app-shell .company-form-wide,
.app-shell .company-span-2 {
    grid-column: span 2;
}

.app-shell .company-contact-grid .company-form-check {
    align-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-shell .company-profile-form .form-control,
.app-shell .company-profile-form .form-select,
.app-shell .gallery-upload-strip .form-control {
    min-height: 48px;
    background: #f2edf6;
    border: 1px solid #d5c3e7;
    color: #080829;
}

.app-shell .company-profile-form textarea.form-control {
    min-height: 146px;
}

.app-shell .company-form-actions,
.app-shell .gallery-upload-strip {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}

.app-shell .company-media-grid {
    display: grid;
    grid-template-columns: .9fr 1.7fr;
    gap: 18px;
}

.app-shell .company-media-box {
    border: 1px solid #e0d5e8;
    padding: 18px;
    background: #fbf9fd;
}

.app-shell .media-preview {
    background: #fff;
    border: 1px solid #ded3e7;
    margin: 10px 0;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.app-shell .logo-preview {
    width: 120px;
    height: 120px;
}

.app-shell .banner-preview {
    width: 100%;
    aspect-ratio: 9 / 2.8;
}

.app-shell .media-preview img,
.app-shell .company-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-shell .approval-label {
    display: inline-block;
    color: #090920;
    font-size: .78rem;
    margin-bottom: 10px;
}

.app-shell .gallery-counter {
    min-width: 56px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #f3e9fa;
    color: #44137f;
    font-weight: 800;
}

.app-shell .gallery-upload-strip {
    border: 2px dashed #d2b8e4;
    border-radius: 14px;
    padding: 22px;
    justify-content: space-between;
}

.app-shell .company-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin: 18px 0;
}

.app-shell .company-gallery-card {
    position: relative;
    min-height: 150px;
    border-radius: 10px;
    overflow: hidden;
    background: #0b559c;
}

.app-shell .company-gallery-card span {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 1;
    background: #050525;
    color: #fff;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: .72rem;
}

.app-shell .company-gallery-card form {
    position: absolute;
    right: 8px;
    bottom: 8px;
}

.app-shell .change-log-list {
    display: grid;
    gap: 8px;
}

.app-shell .change-log-list article {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #f8f6fb;
}

.app-shell .company-package-select {
    min-width: 170px;
    background-color: #fff !important;
    color: #101828 !important;
    border-color: #d0d5dd !important;
}

.app-shell [data-package-status] {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-weight: 700;
}

.app-shell [data-package-expiry] {
    display: inline-block;
    color: #050525;
    font-size: .88rem;
    line-height: 1.1;
}

@media (max-width: 900px) {
    .app-shell .company-form-grid,
    .app-shell .company-contact-grid,
    .app-shell .company-media-grid {
        grid-template-columns: 1fr;
    }

    .app-shell .company-form-wide,
    .app-shell .company-span-2 {
        grid-column: auto;
    }

    .app-shell .section-head,
    .app-shell .company-form-actions,
    .app-shell .gallery-upload-strip {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Clube do Achei: mobile polish + light-blue sharp chart */
.public-shell .club-chart-card {
    border: 1px solid rgba(148, 163, 184, .20);
    background: rgba(15, 23, 42, .18);
}

.public-shell .club-chart {
    gap: .35rem;
    min-height: 190px;
    padding: 2.15rem .7rem .55rem;
    border-radius: 14px;
    background:
        linear-gradient(rgba(255, 255, 255, .075) 1px, transparent 1px) 0 0 / 100% 25%,
        linear-gradient(180deg, #566273 0%, #3c4656 100%);
}

.public-shell .club-chart span {
    width: min(100%, 3.9rem);
    border-radius: 0;
    background: #8fd3ff;
    box-shadow: 0 10px 22px rgba(56, 189, 248, .18);
}

.public-shell .club-chart-head em {
    color: #062033;
    background: #8fd3ff;
}

.public-shell .club-growth-panel {
    align-items: stretch;
}

.public-shell .club-growth-panel article {
    display: grid;
    align-content: start;
    min-width: 0;
}

@media (max-width: 575.98px) {
    .public-shell .platform-preview {
        padding: .9rem !important;
        border-radius: 20px !important;
    }

    .public-shell .platform-preview .preview-kpis.real {
        grid-template-columns: 1fr;
        gap: .65rem;
    }

    .public-shell .platform-preview .preview-kpis.real span {
        min-height: auto;
        padding: .85rem;
    }

    .public-shell .club-chart-card {
        padding: .8rem 0 0;
    }

    .public-shell .club-chart-head {
        align-items: center;
        padding: 0 .15rem;
    }

    .public-shell .club-chart-head strong {
        font-size: .92rem;
        line-height: 1.25;
    }

    .public-shell .club-chart {
        gap: .22rem;
        min-height: 150px;
        padding: 1.6rem .45rem .45rem;
        border-radius: 12px;
    }

    .public-shell .club-chart span {
        width: min(100%, 2.65rem);
    }

    .public-shell .club-chart-foot {
        padding: 0 .1rem;
        font-size: .72rem;
    }

    .public-shell .club-growth-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }

    .public-shell .club-growth-panel article {
        min-height: 0;
        padding: .85rem;
        border-radius: 18px;
    }

    .public-shell .club-growth-panel i {
        width: 2.35rem;
        height: 2.35rem;
        margin-bottom: .65rem;
        border-radius: 12px;
        font-size: 1rem;
    }

    .public-shell .club-growth-panel strong {
        font-size: 1.55rem;
    }

    .public-shell .club-growth-panel span {
        overflow-wrap: anywhere;
        font-size: .78rem;
        line-height: 1.28;
    }
}

/* Logged-in app: horizontal top navigation */
.app-shell .app-frame {
    display: block !important;
    min-height: 100vh;
}

.app-shell .app-sidebar {
    position: sticky !important;
    top: 0;
    z-index: 1030;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
    height: auto !important;
    padding: .85rem clamp(1rem, 3vw, 2rem) !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(17, 24, 39, .08);
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 14px 40px rgba(31, 51, 78, .08);
}

.app-shell .app-brand {
    padding: .25rem 0 !important;
    white-space: nowrap;
}

.app-shell .app-menu {
    display: flex !important;
    gap: .35rem;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.app-shell .app-menu a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: .5rem .75rem !important;
    border-radius: 999px !important;
    white-space: nowrap;
}

.app-shell .app-user-card {
    display: grid !important;
    grid-template-columns: auto auto;
    align-items: center;
    gap: .55rem .8rem;
    min-width: 210px;
    margin-top: 0 !important;
    padding: .55rem .7rem !important;
    border-radius: 16px !important;
}

.app-shell .app-user-card small,
.app-shell .app-user-card strong {
    grid-column: 1;
}

.app-shell .app-user-card form {
    grid-row: 1 / span 2;
    grid-column: 2;
}

.app-shell .app-user-card .btn {
    min-width: 72px;
}

.app-shell .app-main main.container {
    max-width: 1220px;
}

.app-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 24, 39, .08);
}

.app-pagination small {
    color: #667085;
    font-weight: 700;
}

.app-pagination div {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.app-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding: .45rem .75rem;
    border: 1px solid rgba(17, 24, 39, .12);
    border-radius: 999px;
    color: #526071;
    background: #fff;
    font-weight: 800;
}

.app-pagination a.is-active {
    color: #fff;
    border-color: #315b98;
    background: #315b98;
}

.app-pagination a.is-disabled {
    pointer-events: none;
    opacity: .45;
}

@media (max-width: 991.98px) {
    .app-shell .app-sidebar {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .app-shell .app-menu a span {
        display: inline !important;
    }

    .app-shell .app-user-card {
        grid-template-columns: 1fr auto;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .app-shell .app-sidebar {
        padding: .75rem !important;
    }

    .app-shell .app-menu a {
        padding: .45rem .65rem !important;
        font-size: .88rem;
    }

    .app-pagination {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Standardized prize and voucher icons */
.app-shell .prize-icon-art {
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%) !important;
}

.app-shell .prize-icon-art i,
.app-shell .redeemed-icon i {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    color: #315b98;
    background: #e8f0ff;
    border: 1px solid rgba(49, 91, 152, .12);
    border-radius: 18px;
    font-size: 2rem;
}

.app-shell .redeemed-icon {
    display: grid;
    flex: 0 0 64px;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #f8fbff;
}

.app-shell .redeemed-icon i {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.35rem;
}

.app-shell .mini-prize-icon {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #315b98;
    background: #e8f0ff;
    border: 1px solid rgba(49, 91, 152, .12);
    border-radius: 14px;
    font-size: 1.2rem;
}

* {
    letter-spacing: 0;
}

body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 0%, rgba(183, 45, 76, .20), transparent 28rem),
        linear-gradient(135deg, #08122f 0%, #161222 48%, #05060a 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
}

.text-secondary {
    color: var(--muted) !important;
}

.text-gold {
    color: var(--gold);
}

.glass-nav,
.glass-card {
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
}

.glass-nav {
    background: rgba(8, 9, 16, .78);
}

.glass-card {
    border-radius: 24px;
}

.btn-gold {
    --bs-btn-bg: var(--gold);
    --bs-btn-border-color: var(--gold);
    --bs-btn-color: #14110a;
    --bs-btn-hover-bg: var(--gold-2);
    --bs-btn-hover-border-color: var(--gold-2);
    --bs-btn-hover-color: #080910;
    font-weight: 800;
}

.public-shell .glass-nav {
    background: rgba(8, 18, 47, .90);
}

.public-shell .marketing-hero {
    background:
        linear-gradient(135deg, rgba(8, 18, 47, .88), rgba(183, 45, 76, .42)),
        radial-gradient(circle at top right, rgba(255, 202, 44, .18), transparent 28rem);
}

.public-shell .pill-label,
.public-shell .text-gold {
    color: var(--gold-2);
}

.public-shell .brand-strip article,
.public-shell .company-mini,
.public-shell .price-card,
.public-shell .admin-preview-card,
.public-shell .benefit-preview {
    border-color: rgba(183, 45, 76, .28);
}

.public-shell .surface-light {
    color: #171321;
    background: var(--achei-cream);
}

.public-shell .surface-light h2,
.public-shell .surface-light h3,
.public-shell .surface-light strong {
    color: #171321;
}

.public-shell .surface-light p,
.public-shell .surface-light small {
    color: #6f6879;
}

.public-shell .surface-dark {
    background:
        radial-gradient(circle at 15% 10%, rgba(183, 45, 76, .20), transparent 24rem),
        var(--achei-navy);
}

.form-control,
.form-select {
    min-height: 46px;
    color: var(--text);
    background-color: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
}

.form-control:focus,
.form-select:focus {
    color: var(--text);
    background-color: rgba(255, 255, 255, .11);
    border-color: var(--gold);
    box-shadow: 0 0 0 .25rem rgba(214, 180, 106, .18);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, .42);
}

.form-label,
.form-check-label {
    color: #dfe2ec;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(280px, 1fr);
    gap: 1.25rem;
    align-items: stretch;
    min-height: calc(100vh - 150px);
}

.auth-shell.single {
    grid-template-columns: minmax(0, 860px);
    justify-content: center;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: 1.25rem;
    align-items: stretch;
    min-height: calc(100vh - 160px);
}

.landing-hero h1 {
    max-width: 920px;
    font-size: clamp(2.8rem, 7vw, 6.8rem);
    line-height: .9;
    font-weight: 950;
}

.hero-copy {
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 560px;
    padding: 1.5rem;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(214, 180, 106, .22), rgba(255,255,255,.05)),
        var(--panel);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
}

.floating-ticket {
    position: relative;
    z-index: 1;
    width: min(100%, 300px);
    padding: 1.25rem;
    margin-bottom: 2rem;
    border-radius: 22px;
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.12);
}

.floating-ticket span,
.floating-ticket strong {
    display: block;
}

.floating-ticket strong {
    font-size: 3rem;
    line-height: 1;
}

.pulse-cta {
    animation: pulseCta 1.8s ease-in-out infinite;
}

@keyframes pulseCta {
    0%, 100% { box-shadow: 0 0 0 0 rgba(214,180,106,.35); }
    50% { box-shadow: 0 0 0 12px rgba(214,180,106,0); }
}

.landing-band {
    margin-top: 1.5rem;
}

.company-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.company-mini {
    min-height: 170px;
    padding: 1rem;
}

.company-mini img {
    width: 64px;
    height: 64px;
    margin-bottom: .75rem;
}

.company-mini strong,
.company-mini small {
    display: block;
}

.auth-card,
.showcase-card {
    padding: clamp(1.25rem, 4vw, 3rem);
}

.auth-card h1,
.page-heading h1 {
    font-size: clamp(2rem, 5vw, 4.25rem);
    line-height: 1;
    font-weight: 900;
}

.auth-card.wide {
    max-width: 760px;
    margin: auto;
}

.showcase-card {
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 480px;
    background:
        linear-gradient(145deg, rgba(214, 180, 106, .18), rgba(255, 255, 255, .05)),
        var(--panel);
}

.showcase-card h2 {
    max-width: 720px;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}

.mini-grid div {
    min-height: 110px;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(0, 0, 0, .20);
    border: 1px solid rgba(255, 255, 255, .12);
}

.mini-grid strong,
.mini-grid span {
    display: block;
}

.mini-grid strong {
    font-size: 1.75rem;
}

.eyebrow {
    color: var(--gold);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.page-heading {
    margin-bottom: 1.5rem;
}

.section-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 850;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 250px;
    padding: 1.5rem;
}

.bento-wide {
    grid-column: span 2;
}

.bento-large h2 {
    max-width: 560px;
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1;
}

.bento-icon {
    color: var(--gold);
    font-size: 3rem;
}

.metric-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    padding: 1.25rem;
}

.metric-card span {
    color: var(--muted);
}

.metric-card strong {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.prize-grid,
.voucher-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.prize-card {
    overflow: hidden;
}

.prize-art {
    display: grid;
    place-items: center;
    min-height: 170px;
    background: linear-gradient(135deg, rgba(214, 180, 106, .24), rgba(255, 255, 255, .07));
}

.prize-art.has-image img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.prize-art i {
    color: var(--gold-2);
    font-size: 4rem;
}

.prize-card h3,
.voucher-card h3 {
    margin-top: .15rem;
    font-size: 1.2rem;
    font-weight: 850;
}

.stock-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .35rem .75rem;
    color: #d8ffe9;
    background: rgba(52, 211, 153, .14);
    border: 1px solid rgba(52, 211, 153, .25);
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 750;
}

.stock-pill.danger {
    color: #ffe1e1;
    background: rgba(248, 113, 113, .16);
    border-color: rgba(248, 113, 113, .30);
}

.voucher-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
}

.voucher-card code {
    display: inline-flex;
    padding: .5rem .75rem;
    color: var(--gold-2);
    background: rgba(0, 0, 0, .28);
    border-radius: 12px;
}

.qr-img {
    width: 132px;
    height: 132px;
    border-radius: 18px;
}

.qr-img.big {
    width: 220px;
    height: 220px;
}

.payment-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: clamp(1.25rem, 4vw, 3rem);
}

.payment-card h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 950;
    line-height: .95;
}

.pix-box {
    display: grid;
    gap: .75rem;
    max-width: 760px;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.12);
}

.pix-box strong {
    color: var(--gold-2);
    font-size: 2rem;
}

.pix-box code {
    display: block;
    max-height: 110px;
    overflow: auto;
    white-space: normal;
    color: #dfe6f5;
}

.lock-notice {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
    border-color: rgba(214,180,106,.36);
    background: linear-gradient(135deg, rgba(214,180,106,.16), rgba(255,255,255,.05));
}

.store-performance,
.message-list {
    display: grid;
    gap: .85rem;
}

.performance-row,
.message-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 38%);
    gap: 1rem;
    align-items: center;
    padding: .9rem;
    border-radius: 18px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.09);
}

.message-item {
    grid-template-columns: minmax(0, 1fr) auto;
}

.performance-row small,
.message-item small {
    display: block;
    color: var(--muted);
}

.premium-progress {
    height: 12px;
    overflow: hidden;
    background: rgba(255,255,255,.09);
    border-radius: 999px;
}

.premium-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #34d399);
    border-radius: inherit;
}

.chart-bars {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    gap: .75rem;
    height: 230px;
}

.chart-bars.tall {
    height: 280px;
}

.chart-bars i {
    flex: 1;
    min-width: 24px;
    border-radius: 999px 999px 10px 10px;
    background: linear-gradient(180deg, var(--gold-2), rgba(52, 211, 153, .75));
    box-shadow: 0 18px 50px rgba(214,180,106,.18);
}

.store-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: clamp(1.25rem, 4vw, 2rem);
}

.store-hero h1 {
    font-size: clamp(2rem, 5vw, 4.4rem);
    font-weight: 950;
    line-height: .95;
}

.store-hero img {
    width: 132px;
    height: 132px;
    border-radius: 28px;
}

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

.mini-prize {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: .85rem;
    align-items: center;
    padding: .75rem;
    border-radius: 18px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.09);
}

.mini-prize img {
    width: 86px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
}

.mini-prize small {
    display: block;
    color: var(--muted);
}

.ranking-list {
    display: grid;
    gap: .75rem;
}

.ranking-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: .75rem;
    align-items: center;
    padding: .85rem;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
}

.rank-number {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #14110a;
    background: var(--gold);
    border-radius: 999px;
    font-weight: 900;
}

.ranking-row small {
    display: block;
    color: var(--muted);
}

.table {
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(255, 255, 255, .10);
}

.table code {
    color: var(--gold-2);
}

@media (max-width: 991.98px) {
    .auth-shell,
    .landing-hero,
    .prize-grid,
    .voucher-grid {
        grid-template-columns: 1fr;
    }

    .showcase-card {
        min-height: 360px;
    }

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

    .company-strip,
    .prize-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bento-large,
    .bento-wide {
        grid-column: span 2;
    }
}

@media (max-width: 575.98px) {
    main.container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

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

    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }

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

    .voucher-card,
    .payment-card,
    .lock-notice,
    .store-hero,
    .performance-row,
    .ranking-row {
        grid-template-columns: 1fr;
    }

    .company-strip,
    .prize-grid.compact {
        grid-template-columns: 1fr;
    }

    .qr-img {
        width: 100%;
        height: auto;
        max-width: 180px;
    }
}

/* Resgates do assinante */
.redeemed-section {
    scroll-margin-top: 1rem;
}

.redeemed-list {
    display: grid;
    gap: .85rem;
}

.redeemed-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: .9rem;
}

.redeemed-card img {
    width: 86px;
    height: 72px;
    object-fit: contain;
    padding: .55rem;
    background: #f3f7fb;
    border: 1px solid rgba(16, 24, 40, .08);
    border-radius: 14px;
    filter: grayscale(1) sepia(.05) saturate(.35) contrast(.98);
}

.redeemed-card h3 {
    margin: 0;
    color: #101828;
    font-size: 1.05rem;
    font-weight: 820;
}

.redeemed-card p {
    margin: .15rem 0 .5rem;
    color: #667085;
}

.redeemed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .9rem;
    color: #667085;
    font-size: .86rem;
}

.redeemed-meta span {
    display: inline-flex;
    gap: .35rem;
    align-items: center;
}

.redeemed-card code {
    padding: .5rem .7rem;
    color: #101828;
    background: #eef3f8;
    border: 1px solid rgba(16, 24, 40, .08);
    border-radius: 12px;
    font-weight: 850;
}

.voucher-date {
    color: #667085;
    font-size: .88rem;
}

.validation-panel {
    max-width: 760px;
}

.redeem-lookup {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .75rem;
    align-items: end;
}

.qr-reader {
    margin-top: 1rem;
    padding: .8rem;
    border: 1px solid #d0d5dd;
    border-radius: 16px;
    background: #f8fafc;
}

.qr-reader video {
    display: block;
    width: 100%;
    max-height: 360px;
    border-radius: 12px;
    background: #0f172a;
    object-fit: cover;
}

.qr-reader-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
    margin-top: .75rem;
    color: #475467;
    font-weight: 700;
}

.validation-status {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.validation-status > span {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    font-size: 2rem;
}

.validation-status.ready > span {
    color: #1849a9;
    background: #d1e0ff;
}

.validation-status.done > span {
    color: #067647;
    background: #dcfae6;
}

.validation-status.invalid > span {
    color: #b42318;
    background: #fee4e2;
}

.validation-status.pending > span {
    color: #1849a9;
    background: #e0eaff;
}

.validation-status h2 {
    margin: .1rem 0;
    color: #101828;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 800;
}

.validation-status p {
    margin: 0;
    color: #667085;
}

.validation-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    margin: 0 0 1.25rem;
}

.validation-details div {
    padding: .9rem;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #f8fafc;
}

.validation-details dt {
    color: #667085;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.validation-details dd {
    margin: .25rem 0 0;
    color: #101828;
    font-weight: 700;
}

.validation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.redeem-pass-card {
    grid-template-columns: minmax(0, 1fr) 170px;
    align-items: stretch;
}

.redeem-pass-main {
    min-width: 0;
}

.redeem-pass-hint {
    margin: .5rem 0 .75rem !important;
    color: #475467 !important;
}

.redeem-visible-code {
    display: inline-flex !important;
    max-width: 100%;
    margin-bottom: .75rem;
    font-size: .92rem;
    white-space: normal;
    word-break: break-word;
}

.redeem-pass-qr {
    display: grid;
    gap: .5rem;
    place-items: center;
    padding: .85rem;
    border: 1px solid #d0d5dd;
    border-radius: 18px;
    background: #f8fafc;
}

.redeem-pass-qr .qr-img {
    width: 132px;
    height: 132px;
    border-radius: 12px;
}

.redeem-pass-qr small {
    color: #475467;
    font-weight: 700;
    text-align: center;
}

.store-redemption-grid {
    display: grid;
    gap: .85rem;
}

.store-redemption-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: #ffffff;
}

.store-redemption-card.is-pending {
    border-color: #d1e0ff;
    background: linear-gradient(135deg, #ffffff, #f5f8ff);
}

.store-redemption-card.is-done {
    border-color: #abefc6;
    background: linear-gradient(135deg, #ffffff, #f6fef9);
}

.store-redemption-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    color: #1849a9;
    background: #d1e0ff;
    font-size: 1.8rem;
}

.store-redemption-card.is-done .store-redemption-icon {
    color: #067647;
    background: #dcfae6;
}

.store-redemption-body {
    min-width: 0;
}

.store-redemption-body h3 {
    margin: .15rem 0;
    color: #101828;
    font-size: 1.15rem;
    font-weight: 850;
}

.store-redemption-body p {
    margin: 0;
    color: #475467;
}

.store-redemption-body p span {
    color: #667085;
}

.store-redemption-body code {
    color: #315b98;
    background: #eef4ff;
}

.store-redemption-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .85rem;
    margin-top: .55rem;
    color: #667085;
    font-size: .88rem;
    font-weight: 700;
}

.store-redemption-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

@media (max-width: 575.98px) {
    .redeem-lookup {
        grid-template-columns: 1fr;
    }

    .redeemed-card {
        grid-template-columns: 1fr;
    }

    .redeemed-card img {
        width: 100%;
        height: 120px;
    }

    .redeemed-card code {
        width: fit-content;
    }

    .redeem-pass-card {
        grid-template-columns: 1fr;
    }

    .store-redemption-card {
        grid-template-columns: 1fr;
    }

    .store-redemption-actions {
        justify-content: flex-start;
    }

    .validation-status,
    .validation-details {
        grid-template-columns: 1fr;
    }
}

/* Login, cadastro e suporte interno */
.auth-pro {
    display: grid;
    grid-template-columns: minmax(320px, .92fr) minmax(360px, .78fr);
    gap: 1rem;
    align-items: stretch;
    max-width: 1120px;
    min-height: calc(100vh - 150px);
    margin: 0 auto;
}

.auth-register {
    grid-template-columns: minmax(320px, .75fr) minmax(420px, 1fr);
}

.auth-panel {
    border-radius: 28px;
    border: 1px solid rgba(16, 24, 40, .08);
    box-shadow: 0 24px 70px rgba(16, 24, 40, .10);
}

.dark-panel {
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 520px;
    padding: clamp(1.25rem, 4vw, 3rem);
    color: #f8fafc;
    background:
        radial-gradient(circle at 88% 12%, rgba(146, 169, 211, .28), transparent 22rem),
        linear-gradient(135deg, #0f172a, #253044);
}

.dark-panel h1 {
    max-width: 640px;
    margin: 1rem 0;
    color: #ffffff;
    font-size: clamp(2.3rem, 4.8vw, 4.5rem);
    font-weight: 860;
    line-height: .98;
}

.dark-panel p {
    max-width: 560px;
    color: #d6dee8;
    line-height: 1.65;
}

.light-panel {
    padding: clamp(1.25rem, 3vw, 2.25rem);
    color: #101828;
    background: #ffffff;
}

.auth-form-head h2 {
    margin: .25rem 0;
    color: #101828;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 840;
}

.auth-form-head p {
    color: #667085;
}

.auth-pro .form-label {
    color: #344054;
    font-weight: 720;
}

.auth-pro .form-control,
.auth-pro .form-select {
    color: #101828;
    background: #f8fafc;
    border-color: rgba(16, 24, 40, .12);
}

.auth-pro .form-control:focus,
.auth-pro .form-select:focus {
    color: #101828;
    background: #ffffff;
    border-color: #9db8e8;
    box-shadow: 0 0 0 .22rem rgba(49, 107, 255, .10);
}

.auth-link {
    display: block;
    color: #315b98;
    font-weight: 800;
    text-align: center;
}

.auth-benefits,
.auth-steps,
.support-mini {
    display: grid;
    gap: .75rem;
    margin-top: 1.25rem;
}

.auth-benefits span,
.auth-steps div,
.support-mini span {
    display: flex;
    gap: .65rem;
    align-items: center;
    padding: .85rem;
    color: #e8eef7;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
}

.auth-steps strong {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #101828;
    background: #e8d18a;
    border-radius: 12px;
}

.auth-steps span {
    color: #f8fafc;
    font-weight: 750;
}

.support-shell .support-mini span {
    color: #344054;
    background: #f8fafc;
    border-color: rgba(16, 24, 40, .08);
}

@media (max-width: 991.98px) {
    .auth-pro,
    .auth-register {
        grid-template-columns: 1fr;
    }

    .dark-panel {
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .auth-panel {
        border-radius: 22px;
    }

    .dark-panel h1 {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }
}

/* Design polish final: composicao mais limpa e contraste corrigido */
.public-shell {
    color: #101828;
    background:
        radial-gradient(circle at 12% 4%, rgba(208, 224, 255, .85), transparent 24rem),
        linear-gradient(180deg, #f5f8fc 0%, #ffffff 58%, #f3f6fa 100%);
}

.public-shell .glass-nav {
    background: rgba(255, 255, 255, .90);
    border-bottom-color: rgba(16, 24, 40, .08);
}

.hero-polished {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(380px, .78fr);
    gap: clamp(1.5rem, 4vw, 3.25rem);
    align-items: center;
    min-height: auto;
    margin: 1.25rem 0 2rem;
    padding: clamp(1.5rem, 3.8vw, 3.25rem);
    color: #f8fafc;
    background:
        radial-gradient(circle at 85% 20%, rgba(114, 139, 190, .34), transparent 24rem),
        linear-gradient(135deg, #0b1220 0%, #172033 56%, #24344d 100%);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 28px;
    box-shadow: 0 28px 90px rgba(13, 24, 40, .24);
    overflow: hidden;
}

.hero-polished .hero-copy-block {
    max-width: 620px;
}

.hero-polished h1 {
    max-width: 620px;
    margin: 1rem 0;
    color: #ffffff !important;
    font-size: clamp(2.35rem, 4.2vw, 3.85rem);
    font-weight: 860;
    line-height: .98;
}

.hero-polished p {
    max-width: 560px;
    color: #d8e0ea !important;
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    line-height: 1.65;
}

.hero-polished .pill-label,
.surface-dark .pill-label,
.pricing-section .pill-label {
    color: #f8fafc;
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .16);
}

.btn-ghost-light {
    --bs-btn-color: #f8fafc;
    --bs-btn-border-color: rgba(255, 255, 255, .35);
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-border-color: #ffffff;
    --bs-btn-hover-color: #111827;
}

.hero-polished .hero-trust span {
    color: #e5edf7;
    background: rgba(255, 255, 255, .075);
    border-color: rgba(255, 255, 255, .12);
}

.hero-polished .hero-trust strong {
    color: #ffffff;
}

.polished-preview {
    width: min(100%, 520px);
    max-width: 520px;
    margin-left: auto;
}

.polished-preview .preview-window {
    width: 100%;
    min-height: auto;
    padding: 1rem;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.polished-preview .preview-grid {
    grid-template-columns: 104px minmax(0, 1fr);
    height: auto;
    min-height: 320px;
}

.polished-preview .preview-sidebar {
    display: grid;
    align-content: start;
    gap: .7rem;
    padding: .85rem;
    background: #eef3f8;
}

.polished-preview .preview-sidebar em {
    display: block;
    height: 12px;
    border-radius: 99px;
    background: #d3deea;
}

.polished-preview .preview-sidebar em:first-child {
    width: 68%;
    background: #0f172a;
}

.polished-preview .preview-main {
    gap: .75rem;
}

.polished-preview .preview-kpis {
    gap: .65rem;
}

.polished-preview .preview-kpis i {
    min-height: 72px;
    background: #edf3fb;
}

.polished-preview .preview-card.wide {
    min-height: 132px;
    background: linear-gradient(135deg, #e8eef7, #f8fafc);
}

.polished-preview .preview-list b {
    min-height: 34px;
    background: #eef3f8;
}

.polished-preview .floating-ticket.light {
    right: 18px;
    bottom: -22px;
    width: 190px;
    padding: 1rem;
    border-radius: 18px;
    box-shadow: 0 18px 52px rgba(13, 24, 40, .20);
}

.polished-preview .floating-ticket strong {
    font-size: 2.25rem;
}

.surface-light,
.faq-section,
.brand-strip article {
    color: #101828;
    background: #ffffff !important;
    border: 1px solid rgba(16, 24, 40, .08);
    box-shadow: 0 20px 60px rgba(16, 24, 40, .08);
}

.surface-dark {
    color: #f8fafc;
    background:
        radial-gradient(circle at 100% 0%, rgba(136, 160, 205, .24), transparent 24rem),
        linear-gradient(135deg, #111827, #1f2937) !important;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 24px 70px rgba(13, 24, 40, .18);
}

.surface-light h2,
.surface-light h3,
.faq-section h2,
.faq-section summary {
    color: #101828 !important;
}

.surface-light p,
.faq-section p {
    color: #667085 !important;
}

.surface-dark h2,
.surface-dark h3 {
    color: #ffffff !important;
}

.surface-dark p,
.surface-dark .feature-list li {
    color: #d6dee8 !important;
}

.surface-dark .admin-preview-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: none;
}

.surface-dark .preview-kpis.real span {
    background: rgba(255, 255, 255, .10);
}

.surface-dark .preview-kpis.real strong {
    color: #ffffff;
}

.surface-dark .preview-kpis.real small {
    color: #d6dee8;
}

.step-grid article {
    background: #f7faff;
}

.public-shell .prize-card {
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(16, 24, 40, .08);
}

.public-shell .prize-art.has-image img {
    filter: grayscale(1) sepia(.05) saturate(.35) contrast(.98);
}

.pricing-section {
    color: #f8fafc;
    background:
        radial-gradient(circle at 82% 10%, rgba(136, 160, 205, .28), transparent 20rem),
        linear-gradient(135deg, #0b1220, #182235) !important;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(13, 24, 40, .18);
}

.pricing-section h2 {
    color: #ffffff !important;
}

.price-card {
    background: #ffffff;
}

/* Painel logado mais elegante */
.app-shell .page-heading {
    background:
        radial-gradient(circle at 88% 20%, rgba(146, 169, 211, .26), transparent 20rem),
        linear-gradient(135deg, #0f172a, #1f2937);
    box-shadow: 0 20px 56px rgba(13, 24, 40, .15);
}

.app-shell .bento-large,
.app-shell .store-hero {
    background:
        radial-gradient(circle at 88% 15%, rgba(146, 169, 211, .24), transparent 18rem),
        linear-gradient(135deg, #0f172a, #253044);
}

.app-shell .glass-card {
    border-radius: 18px;
}

.app-shell .metric-card,
.app-shell .filter-sidebar,
.app-shell .dashboard-stack > .glass-card,
.app-shell .content-shell > section > .glass-card,
.app-shell .voucher-card {
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(16, 24, 40, .08);
}

.app-shell .metric-card strong {
    font-size: clamp(1.7rem, 2.3vw, 2.25rem);
}

.app-shell .prize-card {
    box-shadow: 0 14px 36px rgba(16, 24, 40, .08);
}

.app-shell .chart-bars {
    height: 180px;
}

.app-shell .chart-bars i {
    border-radius: 14px 14px 8px 8px;
}

@media (max-width: 991.98px) {
    .hero-polished {
        grid-template-columns: 1fr;
    }

    .polished-preview {
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .hero-polished {
        padding: 1.1rem;
        border-radius: 22px;
    }

    .hero-polished h1 {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }

    .polished-preview .preview-grid {
        grid-template-columns: 1fr;
    }

    .polished-preview .floating-ticket.light {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }
}

/* Contraste clean: alternancia intencional entre superficies escuras e claras */
.public-shell {
    background:
        linear-gradient(180deg, #f7f9fc 0%, #edf2f7 42%, #ffffff 100%);
}

.marketing-hero {
    position: relative;
    margin-top: 1rem;
    padding: clamp(1.5rem, 5vw, 4rem);
    color: #f8fafc;
    background:
        radial-gradient(circle at 88% 12%, rgba(121, 155, 220, .28), transparent 22rem),
        linear-gradient(135deg, #0f172a 0%, #172033 56%, #0b1020 100%);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 34px;
    overflow: hidden;
}

.marketing-hero h1 {
    color: #ffffff;
}

.marketing-hero p {
    color: #cbd5e1;
}

.marketing-hero .pill-label {
    color: #dbeafe;
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .14);
}

.marketing-hero .btn-outline-dark {
    --bs-btn-color: #f8fafc;
    --bs-btn-border-color: rgba(255, 255, 255, .35);
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-border-color: #ffffff;
    --bs-btn-hover-color: #111827;
}

.hero-trust span {
    color: #dbe4ef;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .12);
}

.hero-trust strong {
    color: #ffffff;
}

.preview-window {
    background: rgba(255, 255, 255, .96);
    border-color: rgba(255, 255, 255, .28);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .30);
}

.floating-ticket.light {
    border: 1px solid rgba(17, 24, 39, .08);
}

.marketing-section:nth-of-type(even) {
    color: #f8fafc;
    background:
        radial-gradient(circle at 88% 0%, rgba(143, 169, 154, .20), transparent 20rem),
        #111827;
    border-color: rgba(255, 255, 255, .10);
}

.marketing-section:nth-of-type(even) h2,
.marketing-section:nth-of-type(even) h3 {
    color: #ffffff;
}

.marketing-section:nth-of-type(even) p,
.marketing-section:nth-of-type(even) .feature-list li {
    color: #cbd5e1;
}

.marketing-section:nth-of-type(even) .pill-label {
    color: #dbeafe;
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .14);
}

.marketing-section:nth-of-type(even) .admin-preview-card,
.marketing-section:nth-of-type(even) .step-grid article {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .12);
    box-shadow: none;
}

.marketing-section:nth-of-type(even) .preview-kpis.real strong,
.marketing-section:nth-of-type(even) .step-grid h3 {
    color: #ffffff;
}

.marketing-section:nth-of-type(even) .preview-kpis.real small {
    color: #cbd5e1;
}

.brand-strip article,
.faq-section,
.marketing-section:nth-of-type(odd) {
    background: #ffffff;
}

.app-shell {
    background:
        linear-gradient(180deg, #f6f8fb 0%, #eef3f8 48%, #f9fbfd 100%);
}

.app-shell .page-heading {
    padding: 1.35rem;
    color: #f8fafc;
    background:
        radial-gradient(circle at 90% 0%, rgba(157, 184, 232, .26), transparent 18rem),
        linear-gradient(135deg, #111827, #1c2738);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 24px;
}

.app-shell .page-heading h1,
.app-shell .page-heading .eyebrow {
    color: #ffffff;
}

.app-shell .page-heading .eyebrow {
    opacity: .78;
}

.app-shell .bento-large,
.app-shell .store-hero {
    color: #f8fafc;
    background:
        radial-gradient(circle at 90% 12%, rgba(157, 184, 232, .22), transparent 18rem),
        linear-gradient(135deg, #111827, #1f2937);
    border-color: rgba(255, 255, 255, .10);
}

.app-shell .bento-large h2,
.app-shell .store-hero h1,
.app-shell .store-hero .eyebrow {
    color: #ffffff;
}

.app-shell .store-hero .text-secondary,
.app-shell .bento-large .text-secondary {
    color: #cbd5e1 !important;
}

.app-shell .metric-card,
.app-shell .filter-sidebar,
.app-shell .dashboard-stack > .glass-card,
.app-shell .content-shell > section > .glass-card,
.app-shell .voucher-card {
    background: #ffffff;
}

.app-shell .metric-card {
    border-color: rgba(17, 24, 39, .07);
}

.app-shell .metric-card:nth-child(even) {
    background: #f8fbff;
}

.app-shell .app-sidebar {
    background: #ffffff;
}

.app-shell .app-menu a:hover,
.app-shell .app-user-card,
.app-shell .filter-sidebar .form-control,
.app-shell .filter-sidebar .form-select {
    background: #f3f7fb;
}

.app-shell .chart-bars i {
    background: linear-gradient(180deg, #1f2937, #9db8e8);
}

.app-shell .premium-progress span {
    background: linear-gradient(90deg, #1f2937, #9db8e8);
}

.app-shell .table thead th {
    color: #111827;
    background: #f8fafc;
}

.app-shell .btn-gold {
    --bs-btn-bg: #111827;
    --bs-btn-border-color: #111827;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-bg: #283548;
    --bs-btn-hover-border-color: #283548;
    --bs-btn-hover-color: #ffffff;
}

.app-shell .soft-badge,
.app-shell .stock-pill,
.app-shell .stock-pill.danger {
    color: #111827;
    background: #eef3f8;
    border-color: rgba(17, 24, 39, .08);
}

@media (max-width: 991.98px) {
    .marketing-hero {
        border-radius: 26px;
    }
}

@media (max-width: 575.98px) {
    .marketing-hero,
    .app-shell .page-heading {
        padding: 1rem;
        border-radius: 20px;
    }
}

/* Aplicacao logada: mesma linguagem visual da landing */
.app-shell {
    color: #17202a;
    background:
        radial-gradient(circle at 0% 0%, rgba(203, 223, 255, .58), transparent 30rem),
        linear-gradient(180deg, #f6f8fb 0%, #edf2f7 100%);
}

.app-frame {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
}

.app-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100vh;
    padding: 1rem;
    background: rgba(255, 255, 255, .86);
    border-right: 1px solid rgba(17, 24, 39, .08);
    box-shadow: 18px 0 50px rgba(31, 51, 78, .06);
    backdrop-filter: blur(18px);
}

.app-main {
    min-width: 0;
}

.app-main main.container {
    max-width: 1180px;
}

.app-brand {
    display: flex;
    gap: .65rem;
    align-items: center;
    min-height: 48px;
    padding: .65rem .75rem;
    color: #111827;
    font-weight: 850;
}

.app-brand i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #315b98;
    background: #e8f0ff;
    border-radius: 12px;
}

.app-brand img {
    display: block;
    width: min(190px, 100%);
    height: auto;
    max-height: 54px;
}

.navbar-brand img {
    display: block;
    width: 168px;
    max-width: 48vw;
    height: auto;
}

.app-menu {
    display: grid;
    gap: .35rem;
}

.app-menu a {
    display: flex;
    gap: .65rem;
    align-items: center;
    min-height: 42px;
    padding: .55rem .75rem;
    color: #526071;
    border-radius: 14px;
    font-weight: 700;
}

.app-menu a:hover {
    color: #111827;
    background: #eef4fb;
}

.app-menu i {
    color: #7b8ca1;
    font-size: 1rem;
}

.app-user-card {
    display: grid;
    gap: .45rem;
    margin-top: auto;
    padding: .85rem;
    background: #f7faff;
    border: 1px solid rgba(17, 24, 39, .07);
    border-radius: 18px;
}

.app-user-card small {
    color: #667085;
    text-transform: uppercase;
    font-size: .68rem;
    font-weight: 800;
}

.app-user-card strong {
    color: #111827;
}

.app-shell .glass-card {
    color: #17202a;
    background: rgba(255, 255, 255, .88);
    border-color: rgba(17, 24, 39, .08);
    box-shadow: 0 18px 46px rgba(31, 51, 78, .10);
}

.app-shell .page-heading {
    max-width: none;
}

.app-shell .page-heading h1,
.app-shell .section-title,
.app-shell .store-hero h1,
.app-shell .bento-large h2 {
    color: #111827;
}

.app-shell .eyebrow {
    color: #315b98;
}

.app-shell .text-secondary {
    color: #667085 !important;
}

.app-shell .metric-card span,
.app-shell .performance-row small,
.app-shell .message-item small,
.app-shell .ranking-row small,
.app-shell .mini-prize small,
.app-shell .filter-field span,
.app-shell .filter-check span {
    color: #667085;
}

.app-shell .metric-card strong {
    color: #111827;
}

.app-shell .bento-icon {
    color: #315b98;
    opacity: .5;
}

.app-shell .btn-outline-light {
    --bs-btn-color: #334155;
    --bs-btn-border-color: rgba(17, 24, 39, .18);
    --bs-btn-hover-color: #111827;
    --bs-btn-hover-bg: #eef4fb;
    --bs-btn-hover-border-color: rgba(17, 24, 39, .22);
}

.app-shell .form-control,
.app-shell .form-select {
    color: #111827;
    background-color: #f8fafc;
    border-color: rgba(17, 24, 39, .10);
}

.app-shell .form-control:focus,
.app-shell .form-select:focus {
    color: #111827;
    background-color: #fff;
    border-color: #9db8e8;
    box-shadow: 0 0 0 .22rem rgba(49, 107, 255, .10);
}

.app-shell .form-label,
.app-shell .form-check-label {
    color: #334155;
}

.app-shell .table,
.app-shell .table-dark {
    --bs-table-bg: transparent;
    --bs-table-color: #1f2937;
    --bs-table-border-color: rgba(17, 24, 39, .08);
    --bs-table-hover-bg: #f5f8fc;
    --bs-table-hover-color: #111827;
    color: #1f2937;
}

.app-shell .table small {
    color: #667085;
}

.app-shell .table code,
.app-shell .voucher-card code {
    color: #315b98;
    background: #eef4ff;
}

.app-shell .prize-art,
.app-shell .mini-prize,
.app-shell .performance-row,
.app-shell .message-item,
.app-shell .ranking-row {
    background: #f7faff;
    border-color: rgba(17, 24, 39, .07);
}

.app-shell .prize-art.has-image img,
.app-shell .company-mini img,
.app-shell .store-hero img,
.app-shell .mini-prize img {
    filter: grayscale(1) sepia(.08) saturate(.35) contrast(.96);
    opacity: .76;
}

.app-shell .soft-badge,
.app-shell .stock-pill,
.app-shell .stock-pill.danger {
    color: #315b98;
    background: #eef4ff;
    border-color: rgba(49, 107, 255, .12);
}

.app-shell .text-bg-success,
.app-shell .text-bg-warning,
.app-shell .text-bg-secondary,
.app-shell .text-bg-dark {
    color: #315b98 !important;
    background-color: #eef4ff !important;
    border: 1px solid rgba(49, 107, 255, .12);
}

.app-shell .filter-sidebar {
    background: rgba(255, 255, 255, .88);
}

.app-shell .premium-progress {
    background: #edf2f7;
}

.app-shell .premium-progress span,
.app-shell .chart-bars i {
    background: linear-gradient(180deg, #9db8e8, #b8c8c0);
}

.app-shell .chart-bars {
    height: 210px;
}

.app-shell .lock-notice {
    background: linear-gradient(135deg, #fff8e8, #fff);
    border-color: rgba(214, 180, 106, .25);
}

.app-shell .toast {
    color: #111827 !important;
}

@media (max-width: 991.98px) {
    .app-frame {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        position: static;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(17, 24, 39, .08);
    }

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

    .app-menu a {
        justify-content: center;
    }

    .app-menu a span {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .app-sidebar {
        padding: .75rem;
    }

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

    .app-user-card {
        margin-top: .25rem;
    }
}

/* Refino visual minimalista */
:root {
    --bg: #0b0c10;
    --panel: rgba(255, 255, 255, .055);
    --panel-strong: rgba(255, 255, 255, .085);
    --border: rgba(255, 255, 255, .105);
    --gold: #c8ad72;
    --gold-2: #dfcfad;
    --muted: #9da3b2;
    --text: #f4f1ea;
    --ink: #14151b;
    --calm: #8fa99a;
}

body {
    background:
        radial-gradient(circle at 50% -10%, rgba(200, 173, 114, .10), transparent 32rem),
        linear-gradient(180deg, #0d0e13 0%, #090a0f 100%);
}

main.container {
    max-width: 1180px;
}

.glass-card,
.glass-nav {
    box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.glass-card {
    border-radius: 20px;
}

.page-heading {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.page-heading h1,
.auth-card h1,
.landing-hero h1,
.store-hero h1 {
    font-weight: 850;
}

.page-heading h1 {
    font-size: clamp(2.15rem, 4vw, 3.5rem);
}

.eyebrow {
    color: var(--gold-2);
    font-size: .68rem;
    letter-spacing: .16em;
}

.btn-gold {
    --bs-btn-bg: #d8bf82;
    --bs-btn-border-color: #d8bf82;
    --bs-btn-hover-bg: #ead7ad;
    --bs-btn-hover-border-color: #ead7ad;
    box-shadow: none;
}

.btn,
.form-control,
.form-select {
    border-radius: 12px;
}

.content-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.dashboard-stack {
    display: grid;
    gap: 1rem;
}

.filter-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.sidebar-head {
    display: grid;
    gap: .2rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sidebar-head strong {
    font-size: 1.05rem;
}

.filter-field,
.filter-check {
    display: grid;
    gap: .4rem;
}

.filter-field span,
.filter-check span {
    color: var(--muted);
    font-size: .82rem;
}

.filter-check {
    grid-template-columns: auto 1fr;
    align-items: center;
}

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

.bento-grid.compact-metrics .metric-card,
.metric-card {
    min-height: 116px;
    padding: 1rem;
}

.bento-large {
    min-height: 210px;
}

.bento-large h2 {
    font-size: clamp(1.6rem, 3vw, 2.55rem);
    font-weight: 820;
}

.bento-icon {
    color: var(--gold-2);
    opacity: .72;
    font-size: 2.35rem;
}

.metric-card strong {
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    font-weight: 760;
}

.metric-card span {
    font-size: .84rem;
}

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

.prize-card {
    border-radius: 18px;
}

.prize-art {
    min-height: 138px;
    background:
        linear-gradient(135deg, rgba(223, 207, 173, .12), rgba(143, 169, 154, .08)),
        rgba(255, 255, 255, .035);
}

.prize-art.has-image img,
.company-mini img,
.store-hero img,
.mini-prize img {
    filter: grayscale(1) sepia(.18) saturate(.45) contrast(.92);
    opacity: .78;
}

.prize-art.has-image img {
    height: 138px;
    object-fit: contain;
    padding: 1.1rem;
}

.prize-card h3,
.voucher-card h3 {
    font-size: 1.05rem;
    font-weight: 760;
}

.soft-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: .25rem .55rem;
    color: var(--gold-2);
    background: rgba(223, 207, 173, .09);
    border: 1px solid rgba(223, 207, 173, .18);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}

.stock-pill,
.stock-pill.danger {
    color: #d8dfd7;
    background: rgba(143, 169, 154, .12);
    border-color: rgba(143, 169, 154, .22);
}

.empty-filter-state {
    margin-top: 1rem;
    padding: 1.25rem;
    color: var(--muted);
    text-align: center;
}

.premium-progress span,
.chart-bars i {
    background: linear-gradient(180deg, #dfcfad, #8fa99a);
    box-shadow: none;
}

.chart-bars.calm i {
    opacity: .82;
}

.store-hero {
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

.store-hero img {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
}

.performance-row,
.message-item,
.mini-prize,
.ranking-row {
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
}

.landing-hero {
    min-height: auto;
    padding-top: 2rem;
}

.hero-panel {
    min-height: 440px;
}

.company-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 991.98px) {
    .content-shell {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
    }

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

@media (max-width: 575.98px) {
    .prize-grid {
        grid-template-columns: 1fr;
    }
}

/* Landing inspirada em plataforma SaaS de clube de vantagens */
.public-shell {
    color: #17202a;
    background:
        radial-gradient(circle at 70% 0%, rgba(203, 223, 255, .78), transparent 30rem),
        linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.public-shell .glass-nav {
    background: rgba(255, 255, 255, .82);
    border-bottom: 1px solid rgba(20, 34, 52, .08);
    box-shadow: 0 12px 30px rgba(17, 31, 49, .06);
}

.public-shell .navbar,
.public-shell .navbar-brand,
.public-shell .nav-link {
    color: #17202a !important;
}

.public-shell .navbar-toggler {
    filter: invert(1);
}

.public-shell main.container {
    max-width: 1220px;
}

.public-shell .text-gold {
    color: #316bff;
}

.marketing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: clamp(2rem, 6vw, 5rem) 0;
}

.hero-copy-block {
    max-width: 720px;
}

.pill-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .35rem .75rem;
    color: #315b98;
    background: #e8f0ff;
    border: 1px solid rgba(49, 107, 255, .14);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.marketing-hero h1,
.marketing-section h2,
.pricing-section h2 {
    margin: 1rem 0;
    color: #111827;
    font-weight: 880;
    letter-spacing: 0;
}

.marketing-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: .93;
}

.marketing-hero p,
.marketing-section p,
.pricing-section p,
.faq-section p {
    color: #5f6b7a;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.5rem;
}

.hero-trust span {
    display: inline-flex;
    gap: .35rem;
    align-items: center;
    padding: .65rem .85rem;
    color: #4b5563;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 14px;
}

.hero-trust strong {
    color: #111827;
}

.product-preview {
    position: relative;
}

.preview-window,
.admin-preview-card,
.price-card,
.marketing-section,
.faq-section,
.brand-strip article {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(17, 24, 39, .08);
    box-shadow: 0 24px 70px rgba(31, 51, 78, .12);
    backdrop-filter: blur(18px);
}

.preview-window {
    min-height: 500px;
    padding: 1rem;
    border-radius: 28px;
}

.preview-topbar {
    display: flex;
    gap: .45rem;
    padding: .25rem .25rem 1rem;
}

.preview-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: #cbd5e1;
}

.preview-grid {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    height: 430px;
}

.preview-sidebar,
.preview-card,
.preview-list b,
.preview-kpis i,
.preview-kpis span {
    border-radius: 18px;
    background: #edf3fb;
}

.preview-sidebar {
    background: linear-gradient(180deg, #eaf1fb, #f8fafc);
}

.preview-main {
    display: grid;
    gap: 1rem;
}

.preview-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}

.preview-kpis i {
    min-height: 86px;
}

.preview-card.wide {
    min-height: 180px;
    background: linear-gradient(135deg, #eaf1ff, #f8fafc);
}

.preview-list {
    display: grid;
    gap: .75rem;
}

.preview-list b {
    min-height: 46px;
}

.floating-ticket.light {
    position: absolute;
    right: -18px;
    bottom: 26px;
    color: #111827;
    background: #fff;
    box-shadow: 0 18px 46px rgba(31, 51, 78, .16);
}

.brand-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0 4rem;
}

.brand-strip article {
    display: flex;
    gap: .75rem;
    align-items: center;
    min-height: 82px;
    padding: .9rem;
    border-radius: 20px;
}

.brand-strip img {
    width: 44px;
    height: 44px;
    filter: grayscale(1) saturate(.4);
    opacity: .78;
}

.brand-strip span {
    color: #1f2937;
    font-weight: 750;
}

.marketing-section,
.pricing-section,
.faq-section {
    margin: 1.25rem 0;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border-radius: 28px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.step-grid article {
    min-height: 220px;
    padding: 1.25rem;
    background: #f7faff;
    border: 1px solid rgba(17, 24, 39, .07);
    border-radius: 22px;
}

.step-grid span {
    color: #316bff;
    font-weight: 850;
}

.step-grid h3 {
    margin-top: 1.4rem;
    color: #111827;
    font-size: 1.2rem;
    font-weight: 820;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: 2rem;
    align-items: center;
}

.feature-list {
    display: grid;
    gap: .7rem;
    padding: 0;
    margin: 1.25rem 0 0;
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: .55rem;
    align-items: center;
    color: #334155;
}

.feature-list i {
    color: #316bff;
}

.admin-preview-card {
    padding: 1.25rem;
    border-radius: 26px;
}

.preview-kpis.real span {
    display: grid;
    gap: .1rem;
    min-height: 92px;
    padding: 1rem;
}

.preview-kpis.real strong {
    color: #111827;
    font-size: 2rem;
}

.preview-kpis.real small {
    color: #667085;
}

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

.public-shell .glass-card {
    color: #17202a;
    background: #fff;
    border-color: rgba(17, 24, 39, .08);
    box-shadow: 0 16px 42px rgba(31, 51, 78, .10);
}

.public-shell .text-secondary {
    color: #64748b !important;
}

.public-shell .prize-art {
    background: #f3f6fb;
}

.public-shell .soft-badge,
.public-shell .stock-pill {
    color: #315b98;
    background: #edf4ff;
    border-color: rgba(49, 107, 255, .13);
}

.pricing-section {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
    align-items: center;
    background: #111827;
}

.pricing-section h2,
.pricing-section .pill-label {
    color: #fff;
}

.pricing-section p {
    color: #cbd5e1;
}

.price-card {
    padding: 1.25rem;
    border-radius: 24px;
}

.price-card span {
    color: #64748b;
    font-weight: 800;
}

.price-card strong {
    display: block;
    margin: .4rem 0;
    color: #111827;
    font-size: 3rem;
    line-height: 1;
}

.faq-section {
    box-shadow: none;
}

.faq-section h2 {
    margin-bottom: 1rem;
    color: #111827;
    font-weight: 850;
}

.faq-section details {
    padding: 1rem 0;
    border-top: 1px solid rgba(17, 24, 39, .08);
}

.faq-section summary {
    color: #111827;
    cursor: pointer;
    font-weight: 760;
}

@media (max-width: 991.98px) {
    .marketing-hero,
    .split-section,
    .pricing-section {
        grid-template-columns: 1fr;
    }

    .brand-strip,
    .club-growth-panel,
    .step-grid,
    .public-shell .prize-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .preview-window {
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .marketing-hero {
        padding-top: 1rem;
    }

    .marketing-hero h1 {
        font-size: clamp(2.35rem, 13vw, 3.35rem);
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .preview-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .preview-sidebar {
        min-height: 70px;
    }

    .brand-strip,
    .club-growth-panel,
    .step-grid,
    .public-shell .prize-grid {
        grid-template-columns: 1fr;
    }

    .floating-ticket.light {
        position: static;
        margin-top: 1rem;
        width: 100%;
    }
}

/* FINAL UI LOCK: vence regras antigas acumuladas e fixa a composicao polida */
.public-shell .hero-polished {
    display: grid !important;
    grid-template-columns: minmax(0, .95fr) minmax(380px, .78fr) !important;
    align-items: center !important;
    min-height: auto !important;
    padding: clamp(1.5rem, 3.8vw, 3.25rem) !important;
    border-radius: 28px !important;
}

.public-shell .hero-polished h1 {
    max-width: 620px !important;
    color: #ffffff !important;
    font-size: clamp(2.35rem, 4.2vw, 3.85rem) !important;
    line-height: .98 !important;
    opacity: 1 !important;
}

.public-shell .hero-polished p {
    color: #d8e0ea !important;
    line-height: 1.65 !important;
}

.public-shell .polished-preview {
    width: min(100%, 520px) !important;
    max-width: 520px !important;
    margin-left: auto !important;
}

.public-shell .polished-preview .preview-window {
    width: 100% !important;
    min-height: auto !important;
    border-radius: 24px !important;
}

.public-shell .polished-preview .preview-grid {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    min-height: 320px !important;
    height: auto !important;
}

.benefit-preview {
    display: grid;
    gap: 1rem;
    width: min(100%, 500px);
    padding: 1.1rem;
    color: #111827;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.benefit-preview-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: .85rem;
    background: #f3f7fb;
    border: 1px solid rgba(16, 24, 40, .06);
    border-radius: 18px;
}

.benefit-preview-head span {
    color: #667085;
    font-weight: 750;
}

.benefit-preview-head strong {
    color: #111827;
    font-size: 1.35rem;
}

.benefit-flow {
    display: grid;
    gap: .75rem;
}

.benefit-flow article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: .75rem;
    align-items: center;
    min-height: 76px;
    padding: .75rem;
    background: #ffffff;
    border: 1px solid rgba(16, 24, 40, .08);
    border-radius: 18px;
}

.benefit-flow i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #111827;
    background: #e8eef6;
    border-radius: 14px;
    font-size: 1.1rem;
}

.benefit-flow strong,
.benefit-flow span {
    display: block;
}

.benefit-flow strong {
    color: #111827;
}

.benefit-flow span {
    color: #667085;
    font-size: .9rem;
}

.benefit-voucher {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    padding: 1rem;
    color: #f8fafc;
    background: linear-gradient(135deg, #111827, #273449);
    border-radius: 20px;
}

.benefit-voucher span,
.benefit-voucher small {
    display: block;
    color: #cbd5e1;
}

.benefit-voucher strong {
    display: block;
    margin: .2rem 0;
    color: #ffffff;
    font-size: 1.25rem;
}

.benefit-voucher em {
    padding: .45rem .65rem;
    color: #111827;
    background: #e8d18a;
    border-radius: 12px;
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
}

.platform-preview .preview-kpis.real {
    margin-bottom: 1rem;
}

.activity-panel {
    display: grid;
    gap: .75rem;
}

.activity-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr auto;
    gap: .75rem;
    align-items: center;
    padding: .85rem;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
}

.activity-row span,
.activity-row strong,
.activity-row em {
    color: #f8fafc;
}

.activity-row span {
    color: #cbd5e1;
}

.activity-row em {
    padding: .25rem .5rem;
    background: rgba(255, 255, 255, .12);
    border-radius: 999px;
    font-size: .78rem;
    font-style: normal;
}

.club-chart-card {
    display: grid;
    gap: .7rem;
    padding: 1rem 0 0;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    background: transparent;
}

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

.club-chart-head span,
.club-chart-head strong {
    display: block;
}

.club-chart-head span {
    color: #cbd5e1;
    font-size: .78rem;
}

.club-chart-head strong {
    color: #fff;
    font-size: 1rem;
}

.club-chart-head em {
    padding: .35rem .6rem;
    border-radius: 999px;
    color: #062033;
    background: #8fd3ff;
    font-size: .78rem;
    font-style: normal;
    font-weight: 900;
}

.club-chart {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    align-items: end;
    gap: .08rem;
    min-height: 188px;
    padding: 2.6rem .75rem .55rem;
    overflow: hidden;
    border-radius: 16px;
    background:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 100% 25%,
        linear-gradient(180deg, rgba(92, 102, 118, .82), rgba(58, 69, 84, .92));
}

.club-chart::before {
    content: none;
}

.club-chart span {
    position: relative;
    z-index: 1;
    min-height: var(--h);
    width: min(100%, 4.75rem);
    justify-self: center;
    border-radius: 0;
    background: #8fd3ff;
    box-shadow: 0 14px 26px rgba(56, 189, 248, .18);
}

.club-chart-foot {
    display: flex;
    justify-content: space-between;
    padding: 0 .05rem;
    color: #d6dee8;
    font-size: .82rem;
    font-weight: 700;
}

.club-growth-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.club-growth-panel article {
    min-height: 170px;
    padding: 1.15rem;
    border: 1px solid rgba(183, 45, 76, .16);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(8, 18, 47, .08);
}

.club-growth-panel i {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: .9rem;
    border-radius: 14px;
    color: #fff;
    background: #b72d4c;
    font-size: 1.25rem;
}

.club-growth-panel strong,
.club-growth-panel span {
    display: block;
}

.club-growth-panel strong {
    color: #171321;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1;
}

.club-growth-panel span {
    margin-top: .55rem;
    color: #6f6879;
    font-size: .92rem;
}

.public-shell .surface-dark h2,
.public-shell .surface-dark h3,
.public-shell .pricing-section h2 {
    color: #ffffff !important;
}

.public-shell .surface-dark p,
.public-shell .surface-dark li,
.public-shell .pricing-section p {
    color: #d6dee8 !important;
}

.app-shell .page-heading h1,
.app-shell .page-heading .eyebrow,
.app-shell .bento-large h2,
.app-shell .bento-large .eyebrow,
.app-shell .store-hero h1,
.app-shell .store-hero .eyebrow {
    color: #ffffff !important;
    opacity: 1 !important;
}

.app-shell .page-heading p,
.app-shell .bento-large p,
.app-shell .store-hero p {
    color: #d6dee8 !important;
}

.app-shell .bento-large h2 {
    color: #142033 !important;
}

.app-shell .bento-large p.text-secondary {
    color: #334155 !important;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .public-shell .hero-polished {
        grid-template-columns: 1fr !important;
    }

    .public-shell .polished-preview {
        margin-left: 0 !important;
        max-width: none !important;
    }
}

@media (max-width: 575.98px) {
    .public-shell .hero-polished {
        padding: 1.1rem !important;
        border-radius: 22px !important;
    }

    .public-shell .hero-polished h1 {
        font-size: clamp(2rem, 10vw, 2.75rem) !important;
    }

    .public-shell .polished-preview .preview-grid {
        grid-template-columns: 1fr !important;
    }

    .benefit-preview-head,
    .benefit-voucher,
    .activity-row {
        grid-template-columns: 1fr;
    }

    .benefit-preview-head,
    .benefit-voucher {
        align-items: start;
    }
}

/* Final overrides: keep mobile clean and chart in light blue */
.public-shell .club-chart-card {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.public-shell .club-chart span {
    border-radius: 0 !important;
    background: #8fd3ff !important;
    box-shadow: 0 14px 26px rgba(56, 189, 248, .18) !important;
}

.public-shell .club-chart-head em {
    color: #062033 !important;
    background: #8fd3ff !important;
}

@media (max-width: 575.98px) {
    .public-shell .platform-preview .preview-kpis.real {
        grid-template-columns: 1fr !important;
        gap: .65rem !important;
    }

    .public-shell .platform-preview .preview-kpis.real span {
        min-height: auto !important;
        padding: .85rem !important;
    }

    .public-shell .club-chart {
        gap: .22rem !important;
        min-height: 150px !important;
        padding: 1.6rem .45rem .45rem !important;
    }

    .public-shell .club-chart span {
        width: min(100%, 2.65rem) !important;
    }

    .public-shell .club-growth-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .75rem !important;
    }

    .public-shell .club-growth-panel article {
        min-height: 0 !important;
        padding: .85rem !important;
        border-radius: 18px !important;
    }

    .public-shell .club-growth-panel i {
        width: 2.35rem !important;
        height: 2.35rem !important;
        margin-bottom: .65rem !important;
        font-size: 1rem !important;
    }

    .public-shell .club-growth-panel strong {
        font-size: 1.55rem !important;
    }

    .public-shell .club-growth-panel span {
        overflow-wrap: anywhere !important;
        font-size: .78rem !important;
        line-height: 1.28 !important;
    }
}

/* Logged-in app: horizontal top navigation override */
.app-shell .app-frame {
    display: block !important;
    min-height: 100vh;
}

.app-shell .app-sidebar {
    position: sticky !important;
    top: 0;
    z-index: 1030;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
    height: auto !important;
    padding: .85rem clamp(1rem, 3vw, 2rem) !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(17, 24, 39, .08);
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 14px 40px rgba(31, 51, 78, .08);
}

.app-shell .app-brand {
    padding: .25rem 0 !important;
    white-space: nowrap;
}

.app-shell .app-menu {
    display: flex !important;
    gap: .35rem;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.app-shell .app-menu a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: .5rem .75rem !important;
    border-radius: 999px !important;
    white-space: nowrap;
}

.app-shell .app-menu a span {
    display: inline !important;
}

.app-shell .app-user-card {
    display: grid !important;
    grid-template-columns: auto auto;
    align-items: center;
    gap: .55rem .8rem;
    min-width: 210px;
    margin-top: 0 !important;
    padding: .55rem .7rem !important;
    border-radius: 16px !important;
}

.app-shell .app-user-card small,
.app-shell .app-user-card strong {
    grid-column: 1;
}

.app-shell .app-user-card form {
    grid-row: 1 / span 2;
    grid-column: 2;
}

.app-shell .app-user-card .btn {
    min-width: 72px;
}

.app-shell .app-main main.container {
    max-width: 1220px;
}

.app-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 24, 39, .08);
}

.app-pagination small {
    color: #667085;
    font-weight: 700;
}

.app-pagination div {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.app-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding: .45rem .75rem;
    border: 1px solid rgba(17, 24, 39, .12);
    border-radius: 999px;
    color: #526071;
    background: #fff;
    font-weight: 800;
}

.app-pagination a.is-active {
    color: #fff;
    border-color: #315b98;
    background: #315b98;
}

.app-pagination a.is-disabled {
    pointer-events: none;
    opacity: .45;
}

@media (max-width: 991.98px) {
    .app-shell .app-sidebar {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .app-shell .app-user-card {
        grid-template-columns: 1fr auto;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .app-shell .app-sidebar {
        padding: .75rem !important;
    }

    .app-shell .app-menu a {
        padding: .45rem .65rem !important;
        font-size: .88rem;
    }

    .app-pagination {
        align-items: stretch;
        flex-direction: column;
    }
}
.app-shell .store-hero {
    color: #111827 !important;
    background: #ffffff !important;
    border-color: rgba(17, 24, 39, .08) !important;
}

.app-shell .store-hero h1,
.app-shell .store-hero .eyebrow {
    color: #111827 !important;
    opacity: 1 !important;
}

.app-shell .store-hero p,
.app-shell .store-hero .text-secondary {
    color: #475569 !important;
    opacity: 1 !important;
}

.app-shell .filter-sidebar .form-control,
.app-shell .filter-sidebar .form-select,
.app-shell .form-control,
.app-shell .form-select {
    color: #111827 !important;
    background-color: #f8fafc !important;
    border-color: rgba(15, 23, 42, .14) !important;
}

.app-shell .form-control::placeholder,
.app-shell textarea.form-control::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

.app-shell .form-control:focus,
.app-shell .form-select:focus {
    color: #111827 !important;
    background-color: #ffffff !important;
    border-color: #86a8e7 !important;
}

.app-shell input[type="file"].form-control {
    color: #334155 !important;
}

.auth-pro .dark-panel .pill-label {
    color: #111827 !important;
}

.branding-preview {
    display: grid;
    gap: .75rem;
    align-content: center;
    min-height: 170px;
    padding: 1.25rem;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 18px;
    background: #f8fafc;
}

.branding-preview img {
    display: block;
    max-width: min(320px, 100%);
    max-height: 96px;
    object-fit: contain;
}

.branding-preview.compact img {
    width: 72px;
    height: 72px;
}

.mercado-pago-panel {
    color: #0f172a;
}

.mp-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.mp-steps > div {
    padding: 1rem 1.1rem;
    border-radius: 8px;
    color: #ffffff;
    background: #2b1f35;
    font-weight: 700;
}

.mp-toggle {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin: 0;
    color: #0f172a;
}

.mp-toggle .form-check-input {
    width: 2.25rem;
    height: 1.15rem;
    margin: 0;
}

.mp-webhook-box {
    padding: 1.25rem;
    border: 1px solid rgba(88, 28, 135, .18);
    border-radius: 8px;
    background: rgba(88, 28, 135, .04);
}

.mp-webhook-box code {
    display: block;
    margin-top: .75rem;
    color: #be123c;
    white-space: normal;
    word-break: break-all;
}

.payment-auto-check {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: #475569;
    font-weight: 700;
}

.payment-auto-dot {
    width: .7rem;
    height: .7rem;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, .35);
    animation: paymentPulse 1.6s infinite;
}

@keyframes paymentPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, .35);
    }
    70% {
        box-shadow: 0 0 0 .55rem rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

@media (max-width: 991.98px) {
    .mp-steps {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .auth-pro {
        align-items: start !important;
        min-height: auto !important;
    }

    .auth-pro .dark-panel {
        justify-content: center !important;
        min-height: 0 !important;
        padding: clamp(2rem, 3.2vw, 3rem) !important;
    }

    .auth-pro .dark-panel h1 {
        margin: 1.15rem 0 .85rem !important;
        font-size: 3.8vw !important;
        line-height: .98 !important;
    }
}

/* Fluxo de resgate da loja - regras finais para evitar cache/cascata antiga */
.app-shell .store-qr-mobile {
    display: none !important;
}

.app-shell .store-redemption-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    width: 100% !important;
    min-width: 0 !important;
}

.app-shell .store-redemption-card {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    grid-template-areas:
        "icon body"
        "actions actions" !important;
    gap: .9rem !important;
    align-items: start !important;
    min-width: 0 !important;
    padding: 1rem !important;
    overflow: hidden !important;
    border: 1px solid #dfe6f0 !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06) !important;
}

.app-shell .store-redemption-card.is-pending {
    border-color: #bfdbfe !important;
    background: linear-gradient(135deg, #ffffff, #f5f8ff) !important;
}

.app-shell .store-redemption-card.is-done {
    border-color: #bbf7d0 !important;
    background: linear-gradient(135deg, #ffffff, #f6fef9) !important;
}

.app-shell .store-redemption-icon {
    grid-area: icon !important;
    display: grid !important;
    place-items: center !important;
    width: 64px !important;
    height: 64px !important;
    border-radius: 18px !important;
    color: #1849a9 !important;
    background: #dbeafe !important;
    font-size: 1.75rem !important;
}

.app-shell .store-redemption-card.is-done .store-redemption-icon {
    color: #067647 !important;
    background: #dcfae6 !important;
}

.app-shell .store-redemption-body {
    grid-area: body !important;
    min-width: 0 !important;
}

.app-shell .store-redemption-top {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .45rem !important;
    align-items: center !important;
    min-width: 0 !important;
    margin-bottom: .35rem !important;
}

.app-shell .store-redemption-top code,
.app-shell .store-redemption-body code {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    color: #315b98 !important;
    background: #eef4ff !important;
}

.app-shell .store-redemption-body h3 {
    margin: .25rem 0 .3rem !important;
    color: #101828 !important;
    font-size: 1.22rem !important;
    line-height: 1.12 !important;
    font-weight: 850 !important;
}

.app-shell .store-redemption-body p {
    margin: 0 !important;
    color: #475467 !important;
}

.app-shell .store-redemption-body p strong {
    color: #111827 !important;
}

.app-shell .store-redemption-meta {
    display: grid !important;
    gap: .35rem !important;
    margin-top: .65rem !important;
    color: #667085 !important;
    font-size: .88rem !important;
    font-weight: 700 !important;
}

.app-shell .store-redemption-actions {
    grid-area: actions !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .55rem !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: .85rem !important;
    border-top: 1px solid rgba(15, 23, 42, .08) !important;
}

.app-shell .store-redemption-actions form {
    margin: 0 !important;
}

.app-shell .store-redemption-done {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 31px !important;
    padding: .35rem .65rem !important;
    border-radius: 999px !important;
    color: #067647 !important;
    background: #dcfae6 !important;
    font-weight: 800 !important;
    font-size: .84rem !important;
}

.app-shell .validation-panel {
    max-width: 760px !important;
    overflow: hidden !important;
}

.app-shell .redeem-lookup {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .75rem !important;
    align-items: end !important;
}

.app-shell .validation-status {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 1rem !important;
}

.app-shell .validation-details {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .85rem !important;
}

.app-shell .validation-details dd,
.app-shell .validation-details code {
    overflow-wrap: anywhere !important;
}

@media (max-width: 991.98px) {
    .app-shell .store-qr-mobile {
        display: inline-flex !important;
    }

    .app-shell .store-redemption-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 575.98px) {
    html,
    body {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .app-shell main.container {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: .75rem !important;
        padding-left: .75rem !important;
        overflow-x: hidden !important;
    }

    .app-shell .glass-card,
    .app-shell .dashboard-stack,
    .app-shell .content-shell {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .app-shell .store-redemption-card {
        grid-template-columns: 52px minmax(0, 1fr) !important;
        gap: .75rem !important;
        padding: .9rem !important;
        border-radius: 16px !important;
    }

    .app-shell .store-redemption-icon {
        width: 52px !important;
        height: 52px !important;
        border-radius: 15px !important;
        font-size: 1.35rem !important;
    }

    .app-shell .store-redemption-body h3 {
        font-size: 1.08rem !important;
    }

    .app-shell .store-redemption-actions {
        grid-column: 1 / -1 !important;
    }

    .app-shell .store-redemption-actions .btn,
    .app-shell .store-redemption-actions form,
    .app-shell .store-redemption-actions button {
        width: 100% !important;
    }

    .app-shell .redeem-lookup,
    .app-shell .validation-status,
    .app-shell .validation-details {
        grid-template-columns: 1fr !important;
    }

    .app-shell .redeem-lookup .btn {
        width: 100% !important;
    }
}

/* Meus resgates do assinante - layout final */
.app-shell .member-redemption-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
    min-width: 0 !important;
}

.app-shell .member-redemption-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 190px !important;
    gap: 1.25rem !important;
    align-items: stretch !important;
    min-width: 0 !important;
    padding: 1.15rem !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 16px 42px rgba(16, 24, 40, .08) !important;
}

.app-shell .member-redemption-card.is-pending {
    border-color: #bfdbfe !important;
}

.app-shell .member-redemption-card.is-done {
    border-color: #bbf7d0 !important;
}

.app-shell .member-redemption-main {
    min-width: 0 !important;
}

.app-shell .member-redemption-head {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .5rem !important;
    align-items: center !important;
    margin-bottom: .85rem !important;
}

.app-shell .member-redemption-head small {
    color: #667085 !important;
    font-weight: 800 !important;
}

.app-shell .member-redemption-prize {
    display: grid !important;
    grid-template-columns: 60px minmax(0, 1fr) !important;
    gap: .85rem !important;
    align-items: center !important;
    min-width: 0 !important;
}

.app-shell .member-redemption-prize .redeemed-icon {
    width: 60px !important;
    height: 60px !important;
    display: grid !important;
    place-items: center !important;
}

.app-shell .member-redemption-prize .redeemed-icon i {
    width: 48px !important;
    height: 48px !important;
    border-radius: 15px !important;
}

.app-shell .member-redemption-prize h3 {
    margin: 0 !important;
    color: #101828 !important;
    font-size: 1.35rem !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
}

.app-shell .member-redemption-prize p {
    margin: .18rem 0 0 !important;
    color: #475467 !important;
}

.app-shell .member-redemption-hint {
    margin: 1rem 0 .75rem !important;
    max-width: 32rem !important;
    color: #475467 !important;
    font-weight: 650 !important;
}

.app-shell .member-redemption-code {
    display: inline-flex !important;
    max-width: 100% !important;
    padding: .55rem .8rem !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 12px !important;
    color: #315b98 !important;
    background: #eef4ff !important;
    font-size: .95rem !important;
    font-weight: 900 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.app-shell .member-redemption-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .45rem .9rem !important;
    margin-top: .9rem !important;
    color: #667085 !important;
    font-size: .9rem !important;
    font-weight: 700 !important;
}

.app-shell .member-redemption-qr {
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    gap: .65rem !important;
    min-width: 0 !important;
    padding: .9rem !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 18px !important;
    background: #f8fafc !important;
}

.app-shell .member-redemption-qr img {
    display: block !important;
    width: 148px !important;
    height: 148px !important;
    max-width: 100% !important;
    padding: .35rem !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    object-fit: contain !important;
}

.app-shell .member-redemption-qr small {
    max-width: 150px !important;
    color: #475467 !important;
    font-size: .82rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.app-shell .resgate-limit-notice {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: .9rem !important;
    align-items: center !important;
    margin: 0 0 1rem !important;
    padding: 1rem !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%) !important;
    color: #0f172a !important;
}

.app-shell .resgate-limit-notice.is-reached {
    border-color: #fed7aa !important;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%) !important;
}

.app-shell .resgate-limit-icon {
    display: grid !important;
    place-items: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 16px !important;
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    font-size: 1.25rem !important;
}

.app-shell .resgate-limit-notice.is-reached .resgate-limit-icon {
    background: #ffedd5 !important;
    color: #c2410c !important;
}

.app-shell .resgate-limit-notice strong {
    display: block !important;
    color: #101828 !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
    line-height: 1.15 !important;
}

.app-shell .resgate-limit-notice p {
    margin: .25rem 0 0 !important;
    color: #475467 !important;
    font-size: .93rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.app-shell .share-card {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1rem 1.25rem !important;
}

.app-shell .share-card strong {
    display: block !important;
    color: #101828 !important;
    font-weight: 950 !important;
}

.app-shell .admin-page-heading {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: end !important;
    gap: 1rem !important;
}

.app-shell .company-admin-form {
    width: 100% !important;
}

.app-shell .company-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

.app-shell .company-form-wide {
    grid-column: 1 / -1 !important;
}

.app-shell .company-form-check {
    align-self: center !important;
    margin: 0 !important;
}

.app-shell .companies-table-card {
    width: 100% !important;
    max-width: 100% !important;
}

.app-shell .companies-table-card .table-responsive {
    max-width: 100% !important;
    overflow-x: auto !important;
}

.app-shell .companies-table {
    min-width: 820px !important;
    margin-bottom: 0 !important;
}

.app-shell .company-cell {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) !important;
    gap: .75rem !important;
    align-items: center !important;
}

.app-shell .prize-card.is-unavailable {
    opacity: .82 !important;
}

.app-shell .prize-card.is-unavailable .btn-gold {
    background: #e5e7eb !important;
    color: #667085 !important;
    border-color: #d0d5dd !important;
}

.app-shell .company-table-logo {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    background: #fff !important;
}

.app-shell .company-table-fallback {
    display: grid !important;
    place-items: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    color: #d8b763 !important;
    background: #111827 !important;
}

.app-shell .prize-art.has-image img,
.app-shell .company-mini img,
.app-shell .store-hero img,
.app-shell .mini-prize img,
.public-shell .prize-art.has-image img,
.brand-strip img {
    filter: none !important;
    opacity: 1 !important;
}

.app-shell .admin-subscribers-table {
    min-width: 920px !important;
    margin-bottom: 0 !important;
}

.app-shell .modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1055 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.app-shell .modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1050 !important;
}

.app-shell .admin-subscriber-modal .modal-dialog {
    width: calc(100% - 2rem) !important;
    max-width: 820px !important;
    margin: 1rem auto !important;
}

.app-shell .admin-subscriber-modal .modal-content {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 18px !important;
    max-height: calc(100vh - 2rem) !important;
    overflow: hidden !important;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .26) !important;
}

.app-shell .admin-subscriber-modal .modal-body {
    overflow-y: auto !important;
    max-height: calc(100vh - 190px) !important;
}

.app-shell .admin-subscriber-modal .modal-header,
.app-shell .admin-subscriber-modal .modal-footer {
    border-color: #e5edf7 !important;
}

.app-shell .admin-subscriber-modal .modal-title,
.app-shell .admin-subscriber-modal .form-label {
    color: #111827 !important;
    font-weight: 800 !important;
}

.app-shell .subscriber-check {
    display: inline-flex !important;
    align-items: center !important;
    gap: .55rem !important;
    min-height: 44px !important;
    padding: .65rem .8rem !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    color: #111827 !important;
}

.app-shell .subscriber-check input {
    width: 18px !important;
    height: 18px !important;
}

.app-shell .subscriber-quick-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .5rem !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid #e5edf7 !important;
}

@media (max-width: 575.98px) {
    .app-shell .admin-page-heading {
        align-items: stretch !important;
    }

    .app-shell .admin-page-heading .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .app-shell .company-form-grid {
        grid-template-columns: 1fr !important;
    }

    .app-shell .companies-table-card {
        padding: 1rem !important;
    }

    .app-shell .companies-table-card .table-responsive {
        overflow-x: hidden !important;
    }

    .app-shell .companies-table {
        display: block !important;
        min-width: 0 !important;
    }

    .app-shell .companies-table thead {
        display: none !important;
    }

    .app-shell .companies-table tbody,
    .app-shell .companies-table tr,
    .app-shell .companies-table td {
        display: block !important;
        width: 100% !important;
    }

    .app-shell .companies-table tr {
        padding: .9rem !important;
        border: 1px solid #dbe4f0 !important;
        border-radius: 16px !important;
        background: #f8fafc !important;
    }

    .app-shell .companies-table tr + tr {
        margin-top: .75rem !important;
    }

    .app-shell .companies-table td {
        padding: .4rem 0 !important;
        border: 0 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .app-shell .companies-table td::before {
        content: attr(data-label) !important;
        display: block !important;
        margin-bottom: .2rem !important;
        color: #667085 !important;
        font-size: .72rem !important;
        font-weight: 900 !important;
        text-transform: uppercase !important;
        letter-spacing: .04em !important;
    }

    .app-shell .companies-table .company-actions {
        text-align: left !important;
    }

    .app-shell .companies-table .company-actions .btn {
        width: 100% !important;
    }

    .app-shell .admin-subscribers-table {
        display: block !important;
        min-width: 0 !important;
    }

    .app-shell .admin-subscribers-table thead {
        display: none !important;
    }

    .app-shell .admin-subscribers-table tbody,
    .app-shell .admin-subscribers-table tr,
    .app-shell .admin-subscribers-table td {
        display: block !important;
        width: 100% !important;
    }

    .app-shell .admin-subscribers-table tr {
        padding: .9rem !important;
        border: 1px solid #dbe4f0 !important;
        border-radius: 16px !important;
        background: #ffffff !important;
    }

    .app-shell .admin-subscribers-table tr + tr {
        margin-top: .75rem !important;
    }

    .app-shell .admin-subscribers-table td {
        padding: .4rem 0 !important;
        border: 0 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .app-shell .admin-subscribers-table td::before {
        content: attr(data-label) !important;
        display: block !important;
        margin-bottom: .2rem !important;
        color: #667085 !important;
        font-size: .72rem !important;
        font-weight: 900 !important;
        text-transform: uppercase !important;
        letter-spacing: .04em !important;
    }

    .app-shell .admin-subscribers-table .btn,
    .app-shell .subscriber-quick-actions .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .app-shell .resgate-limit-notice {
        grid-template-columns: 40px minmax(0, 1fr) !important;
        gap: .75rem !important;
        padding: .85rem !important;
        border-radius: 16px !important;
    }

    .app-shell .resgate-limit-icon {
        width: 40px !important;
        height: 40px !important;
        border-radius: 14px !important;
        font-size: 1.1rem !important;
    }

    .app-shell .member-redemption-card {
        grid-template-columns: 1fr !important;
        padding: 1rem !important;
        border-radius: 18px !important;
    }

    .app-shell .member-redemption-prize {
        grid-template-columns: 52px minmax(0, 1fr) !important;
        gap: .75rem !important;
    }

    .app-shell .member-redemption-prize .redeemed-icon {
        width: 52px !important;
        height: 52px !important;
    }

    .app-shell .member-redemption-prize h3 {
        font-size: 1.18rem !important;
    }

    .app-shell .member-redemption-qr {
        padding: .85rem !important;
    }

    .app-shell .member-redemption-qr img {
        width: min(210px, 72vw) !important;
        height: min(210px, 72vw) !important;
    }
}

/* Hotfix: keep admin CRM page titles readable on the light Oresco-style canvas. */
.admin-crm-shell.app-shell .page-heading {
    max-width: none !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #0b1f3a !important;
}

.admin-crm-shell.app-shell .page-heading h1,
.admin-crm-shell.app-shell .page-heading .eyebrow {
    color: #0b1f3a !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.admin-crm-shell.app-shell .page-heading h1 {
    margin: 0 !important;
    font-size: clamp(1.6rem, 2.4vw, 2.15rem) !important;
    line-height: 1.1 !important;
}

.admin-crm-shell.app-shell .page-heading .eyebrow {
    margin-bottom: .35rem !important;
    color: #132f55 !important;
    font-size: .72rem !important;
    letter-spacing: .11em !important;
}

.admin-crm-shell.app-shell .page-heading p,
.admin-crm-shell.app-shell .page-heading .text-secondary {
    color: #667085 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Member area now follows the CRM shell used by the admin panel. */
.member-crm-shell.app-shell {
    background: #eef3f9 !important;
}

.member-crm-shell .admin-crm-topbar .btn-gold {
    white-space: nowrap;
}

.member-crm-shell .share-card,
.member-crm-shell .bento-large,
.member-crm-shell .metric-card,
.member-crm-shell .filter-sidebar,
.member-crm-shell .prize-card,
.member-crm-shell .ranking-list,
.member-crm-shell .empty-filter-state,
.member-crm-shell .member-redemption-card,
.member-crm-shell .lock-notice {
    border: 1px solid #e0e7f2 !important;
    background: #ffffff !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07) !important;
}

.member-crm-shell .share-card .eyebrow,
.member-crm-shell .filter-sidebar .eyebrow,
.member-crm-shell .lock-notice .eyebrow {
    color: #132f55 !important;
    opacity: 1 !important;
}

.member-crm-shell .bento-large h2,
.member-crm-shell .section-title,
.member-crm-shell .metric-card strong,
.member-crm-shell .share-card strong,
.member-crm-shell .filter-sidebar strong,
.member-crm-shell .lock-notice h2 {
    color: #0b1f3a !important;
}

.member-crm-shell .metric-card span,
.member-crm-shell .share-card .text-secondary,
.member-crm-shell .bento-large .text-secondary,
.member-crm-shell .lock-notice .text-secondary {
    color: #667085 !important;
}

.member-crm-shell .bento-grid {
    gap: 16px !important;
}

.member-crm-shell .btn-outline-light {
    --bs-btn-color: #0b1f3a;
    --bs-btn-border-color: #ccd8ea;
    --bs-btn-hover-bg: #0b1f3a;
    --bs-btn-hover-border-color: #0b1f3a;
    --bs-btn-hover-color: #ffffff;
}

@media (max-width: 760px) {
    .member-crm-shell .admin-crm-topbar .btn-gold {
        width: 100%;
        justify-content: center;
    }
}
