:root {
    --bg: #06080f;
    --bg-soft: #0b1020;
    --panel: rgba(11, 17, 32, 0.88);
    --panel-strong: rgba(15, 23, 42, 0.96);
    --panel-light: rgba(20, 30, 52, 0.88);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: color-mix(in srgb, var(--assoc-primary, #e11d48) 28%, transparent);
    --text: #f8fafc;
    --muted: #8a97b2;
    --muted-strong: #bac6de;
    --accent: var(--assoc-primary, #e11d48);
    --accent-2: var(--assoc-accent, #fb7185);
    --accent-3: #22c55e;
    --danger: #ff5b67;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    --grid: color-mix(in srgb, var(--assoc-primary, #e11d48) 6%, transparent);
    --grid-soft: rgba(255, 255, 255, 0.035);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(225, 29, 72, 0.18), transparent 32%),
        radial-gradient(circle at 80% 72%, rgba(225, 29, 72, 0.08), transparent 24%),
        linear-gradient(180deg, #04060c 0%, #07101d 48%, #04060c 100%);
}

a,
button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
}

.site-shell {
    position: relative;
    min-height: 100vh;
}

.shell {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 80px;
}

.home-shell {
    display: grid;
    gap: 24px;
    padding-top: 26px;
}

.home-shell-centered {
    min-height: 100vh;
    align-content: start;
}

.landing-home-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top center, rgba(225, 29, 72, 0.08), transparent 24%),
        linear-gradient(180deg, #07090f 0%, #080b13 100%);
}

.landing-home {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.landing-home__shell {
    position: relative;
    z-index: 1;
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 0 28px;
    display: grid;
    gap: 24px;
}

.landing-home__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.4;
}

.landing-home__glow--primary {
    width: 380px;
    height: 380px;
    top: -120px;
    right: 5%;
    background: rgba(225, 29, 72, 0.16);
}

.landing-home__glow--secondary {
    width: 320px;
    height: 320px;
    left: -120px;
    bottom: 10%;
    background: rgba(36, 99, 235, 0.14);
}

.landing-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.landing-topbar__actions,
.landing-menu-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.landing-topbar__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.landing-topbar__link:hover {
    transform: translateY(-1px);
    border-color: rgba(225, 29, 72, 0.18);
}

.landing-topbar__link--accent {
    color: #fff;
    background: linear-gradient(135deg, #dc143c 0%, #b11235 100%);
    border-color: rgba(225, 29, 72, 0.28);
}

.landing-menu-hero {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 18px;
    padding-top: 14px;
}

.landing-menu-hero__brand {
    display: grid;
    justify-items: center;
    gap: 16px;
    max-width: 760px;
}

.landing-menu-hero__logo-shell {
    width: 126px;
    height: 126px;
    border-radius: 32px;
    padding: 10px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, rgba(225, 29, 72, 0.18), transparent 68%),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-menu-hero__logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.landing-menu-hero__fallback {
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.landing-menu-hero__eyebrow {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.landing-menu-hero h1 {
    margin: 0;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: clamp(3.8rem, 9vw, 6rem);
    line-height: 0.94;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.landing-menu-hero__subtitle {
    margin: 0;
    max-width: 680px;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.8;
}

.landing-menu-hero__divider {
    width: 74px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #dc143c, transparent);
}

.landing-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.landing-menu-card {
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(10, 14, 23, 0.95)),
        rgba(9, 12, 20, 0.84);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.landing-menu-card:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 29, 72, 0.18);
}

.landing-menu-card__badge {
    justify-self: start;
    min-height: 30px;
    padding: 0 12px;
    display: grid;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-menu-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: #ffced8;
    background: rgba(225, 29, 72, 0.12);
    border: 1px solid rgba(225, 29, 72, 0.16);
}

.landing-menu-card__icon--alt {
    color: #d8e6ff;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.16);
}

.landing-menu-card__icon svg {
    width: 28px;
    height: 28px;
}

.landing-menu-card h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.landing-menu-card p,
.landing-menu-footer {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.landing-menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.landing-menu-list li {
    position: relative;
    padding-left: 16px;
    color: var(--text);
    font-weight: 600;
}

.landing-menu-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.66rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f43f5e;
}

.landing-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.landing-menu-button:hover {
    transform: translateY(-1px);
}

.landing-menu-button--primary {
    width: 100%;
    color: #fff;
    background: linear-gradient(135deg, #dc143c 0%, #b11235 100%);
    border-color: rgba(225, 29, 72, 0.24);
}

.landing-menu-button--secondary {
    flex: 1 1 180px;
    color: #fff;
    background: linear-gradient(135deg, #dc143c 0%, #b11235 100%);
    border-color: rgba(225, 29, 72, 0.24);
}

.landing-menu-button--ghost {
    flex: 1 1 180px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.landing-menu-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    font-size: 0.88rem;
}

.landing-entrance {
    opacity: 0;
    transform: translateY(18px);
    animation: landingFadeIn 0.72s ease forwards;
}

.landing-entrance-delay-1 { animation-delay: 0.04s; }
.landing-entrance-delay-2 { animation-delay: 0.12s; }
.landing-entrance-delay-3 { animation-delay: 0.2s; }
.landing-entrance-delay-4 { animation-delay: 0.28s; }
.landing-entrance-delay-5 { animation-delay: 0.36s; }

@keyframes landingFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .landing-menu-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .landing-home__shell {
        width: min(100% - 24px, 1040px);
        gap: 18px;
    }

    .landing-topbar,
    .landing-menu-actions,
    .landing-menu-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .landing-topbar__actions {
        width: 100%;
    }

    .landing-topbar__link,
    .landing-menu-button--secondary,
    .landing-menu-button--ghost {
        width: 100%;
    }

    .landing-menu-card {
        padding: 22px;
    }

    .landing-menu-hero__logo-shell {
        width: 104px;
        height: 104px;
    }
}

@media (max-width: 520px) {
    .landing-menu-hero h1 {
        font-size: clamp(2.9rem, 16vw, 4rem);
    }
}

.auth-body {
    display: grid;
    place-items: center;
}

.auth-shell {
    width: min(100%, 1120px);
    padding: 32px 16px;
}

.auth-shell-wide {
    width: min(100%, 1280px);
}

.auth-layout,
.portal-hero,
.portal-access,
.portal-strip,
.auth-card,
.admin-header,
.sidebar,
.metric-card,
.dashboard-panel,
.filter-panel,
.form-panel,
.table-panel,
.profile-hero,
.profile-card,
.cadastro-card {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.portal-hero,
.portal-access,
.portal-strip,
.auth-card,
.admin-header,
.sidebar,
.metric-card,
.dashboard-panel,
.filter-panel,
.form-panel,
.table-panel,
.profile-hero,
.profile-card,
.cadastro-card {
    border-radius: var(--radius-lg);
}

.eyebrow,
.panel-kicker,
.section-label,
.stat-label,
.card-number {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    font-weight: 700;
}

.portal-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.85fr);
    gap: 24px;
    padding: 34px;
    overflow: hidden;
}

.portal-brand {
    display: grid;
    gap: 18px;
    align-content: start;
}

.brand-stack {
    display: inline-grid;
    justify-items: center;
    gap: 12px;
}

.brand-logo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.34), rgba(225, 29, 72, 0.04) 68%, transparent 70%);
    box-shadow: 0 0 70px rgba(225, 29, 72, 0.26);
}

.brand-logo-wrap::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-logo {
    width: 118px;
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

.portal-title,
.auth-brand h1,
.admin-header h1,
.profile-hero h2 {
    margin: 0;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.portal-title {
    font-size: clamp(4rem, 8.8vw, 6.4rem);
    line-height: 0.92;
}

.portal-title .accent {
    color: var(--accent);
}

.lead {
    margin: 0;
    color: var(--muted-strong);
    line-height: 1.8;
    font-size: 1.02rem;
}

.portal-lead {
    max-width: 700px;
}

.portal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button-primary,
.button-secondary,
.button-ghost {
    border-radius: 999px;
    padding: 13px 22px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.83rem;
}

.button-primary:hover,
.button-secondary:hover,
.button-ghost:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #be123c 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(225, 29, 72, 0.28);
}

.button-secondary {
    background: rgba(59, 130, 246, 0.14);
    color: #8db4ff;
    border-color: rgba(59, 130, 246, 0.24);
}

.button-ghost {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border-color: var(--line);
}

.button-link {
    text-decoration: none;
}

.button-primary.is-green {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.2);
}

.button-ghost.is-green {
    border-color: rgba(34, 197, 94, 0.26);
    color: #71f0a3;
}

.button-ghost.is-admin {
    border-color: rgba(225, 29, 72, 0.26);
    color: #ffb1c1;
}

.portal-side {
    display: grid;
    gap: 18px;
    align-content: start;
}

.portal-note {
    border-radius: var(--radius-md);
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(225, 29, 72, 0.12), rgba(225, 29, 72, 0.01)),
        rgba(8, 13, 25, 0.82);
    border: 1px solid rgba(225, 29, 72, 0.16);
}

.portal-note h2,
.portal-stat h3,
.access-card h3,
.auth-form-title,
.metric-card h3,
.dashboard-panel h3,
.profile-card h3,
.cadastro-card h3,
.step-heading h2 {
    margin: 0;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.portal-note h2 {
    font-size: 2rem;
    margin-top: 12px;
}

.portal-note p,
.portal-stat p,
.auth-subtitle,
.metric-card p,
.dashboard-panel p,
.profile-note,
.empty-copy,
.simple-list-item span,
.simple-list-item small,
.step-heading p {
    color: var(--muted);
    line-height: 1.75;
}

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

.portal-stat {
    border-radius: var(--radius-md);
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.portal-stat h3 {
    margin-top: 12px;
    font-size: 2rem;
}

.portal-access {
    display: grid;
    gap: 20px;
    padding: 28px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.section-heading h2 {
    margin: 10px 0 0;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

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

.access-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        rgba(9, 13, 25, 0.86);
    display: grid;
    gap: 18px;
    min-height: 280px;
}

.access-card::before {
    content: "";
    position: absolute;
    inset: auto -10% -36% auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.22;
}

.access-card.is-admin::before {
    background: rgba(225, 29, 72, 0.42);
}

.access-card.is-associado::before {
    background: rgba(34, 197, 94, 0.34);
}

.access-card-head,
.auth-brand,
.auth-footer-links,
.metric-card-top {
    position: relative;
    z-index: 1;
}

.access-tag {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.access-card.is-admin .access-tag {
    color: #ffb1c1;
    border-color: rgba(225, 29, 72, 0.24);
    background: rgba(225, 29, 72, 0.12);
}

.access-card.is-associado .access-tag {
    color: #91f0b5;
    border-color: rgba(34, 197, 94, 0.24);
    background: rgba(34, 197, 94, 0.1);
}

.access-icon {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 1px solid var(--line);
}

.access-icon svg {
    width: 34px;
    height: 34px;
}

.access-card.is-admin .access-icon {
    color: #fb7185;
    background: rgba(225, 29, 72, 0.14);
    border-color: rgba(225, 29, 72, 0.24);
}

.access-card.is-associado .access-icon {
    color: #3ee085;
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.22);
}

.access-card h3 {
    font-size: 2rem;
}

.access-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.portal-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 20px 24px;
}

.portal-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    font-weight: 700;
    color: var(--muted-strong);
}

.portal-register-topbar {
    width: min(1180px, 100%);
    margin: 0 auto 18px;
    display: flex;
    justify-content: flex-start;
}

.portal-register-back-link {
    min-height: 40px;
    padding: 10px 16px;
    font-size: 0.9rem;
}

.portal-register-home-link {
    order: 3;
}

.portal-entry {
    width: min(1120px, 100%);
    margin: 26px auto 0;
    display: grid;
    gap: 30px;
    justify-items: center;
    text-align: center;
}

.portal-entry-polished {
    padding-bottom: 16px;
}

.portal-entry-brand {
    display: grid;
    gap: 18px;
    justify-items: center;
}

.brand-logo-wrap-large {
    width: 300px;
    height: 300px;
}

.brand-logo-large {
    width: 240px;
}

.brand-logo-wrap-hero {
    box-shadow: 0 0 88px rgba(225, 29, 72, 0.32);
}

.portal-entry-subtitle {
    color: var(--muted);
    font-size: 1.04rem;
}

.portal-entry-divider {
    width: 92px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 24px rgba(225, 29, 72, 0.34);
}

.access-grid-centered {
    width: 100%;
    max-width: 1040px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
}

.strip-item {
    display: grid;
    gap: 4px;
}

.strip-item strong {
    font-size: 1.08rem;
}

.strip-item span {
    color: var(--muted);
    font-size: 0.94rem;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    gap: 22px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.auth-layout-wide {
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.3fr);
}

.auth-showcase {
    position: relative;
    padding: 38px;
    background:
        radial-gradient(circle at top, rgba(225, 29, 72, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(6, 10, 20, 0.82);
    display: grid;
    gap: 24px;
    align-content: start;
}

.auth-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
}

.auth-showcase > * {
    position: relative;
    z-index: 1;
}

.auth-brand {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 10px;
}

.auth-brand h1 {
    font-size: clamp(2.7rem, 5vw, 4.4rem);
}

.auth-brand p {
    max-width: 460px;
}

.auth-brand .brand-logo-wrap {
    width: 140px;
    height: 140px;
}

.auth-brand .brand-logo {
    width: 102px;
}

.auth-panel-list {
    display: grid;
    gap: 12px;
}

.auth-panel-item {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 20px;
}

.auth-card {
    padding: 34px 30px;
    background: var(--panel-strong);
    display: grid;
    align-content: center;
}

.auth-form-title {
    font-size: 2rem;
}

.auth-subtitle {
    margin: 8px 0 0;
}

.auth-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.field {
    display: grid;
    gap: 8px;
}

.field span {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.field input,
.field textarea,
.select-field {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 15px 18px;
    color: var(--text);
    background: rgba(6, 10, 20, 0.84);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.field input:focus,
.field textarea:focus,
.select-field:focus {
    outline: none;
    border-color: rgba(225, 29, 72, 0.42);
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12);
    background: rgba(9, 14, 26, 0.96);
}

.auth-footer-links {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.94rem;
}

.auth-tip {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    line-height: 1.7;
}

.admin-shell {
    width: min(1680px, calc(100% - 24px));
    margin: 0 auto;
    padding: 22px 0 36px;
    display: grid;
    grid-template-columns: 262px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: 24px;
    padding: 18px;
    display: grid;
    gap: 18px;
    background: rgba(8, 12, 24, 0.96);
}

.sidebar-brand {
    display: grid;
    gap: 12px;
}

.sidebar-brand-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border: 1px solid var(--line);
}

.sidebar-brand h2 {
    margin: 0;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 2rem;
}

.sidebar-copy {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.sidebar-nav {
    display: grid;
    gap: 7px;
}

.sidebar-group {
    display: grid;
    gap: 8px;
}

.sidebar-group + .sidebar-group {
    margin-top: 6px;
}

.sidebar-group-title {
    margin: 0 6px 2px;
    color: rgba(186, 198, 222, 0.54);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    color: var(--muted-strong);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
    font-size: 0.95rem;
    font-weight: 700;
}

.sidebar-link:hover {
    border-color: rgba(225, 29, 72, 0.34);
    color: var(--text);
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.1), rgba(225, 29, 72, 0.03));
}

.sidebar-link.is-active {
    color: var(--text);
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.24), rgba(127, 29, 29, 0.1));
    border-color: rgba(225, 29, 72, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 26px rgba(127, 29, 29, 0.2);
}

.sidebar-link-parent {
    cursor: default;
    pointer-events: none;
    margin-bottom: 2px;
}

.sidebar-subnav {
    display: grid;
    gap: 6px;
    margin-left: 18px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-sublink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--muted);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid transparent;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    font-size: 0.84rem;
    font-weight: 700;
}

.sidebar-sublink:hover {
    color: var(--text);
    border-color: rgba(225, 29, 72, 0.2);
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.08), rgba(225, 29, 72, 0.02));
    transform: translateX(1px);
}

.sidebar-sublink.is-active {
    color: #ffd1da;
    border-color: rgba(225, 29, 72, 0.28);
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.16), rgba(127, 29, 29, 0.06));
}

.sidebar-sublink.is-active-soft {
    border-color: rgba(59, 130, 246, 0.16);
    color: #c9d8ff;
}

.sidebar-sublink.is-disabled {
    opacity: 0.62;
    cursor: default;
}

.sidebar-sublink.is-disabled small {
    color: rgba(186, 198, 222, 0.48);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sidebar-link.is-disabled {
    opacity: 0.54;
}

.sidebar-user {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.sidebar-user strong {
    font-size: 1.02rem;
}

.sidebar-user small {
    color: var(--muted);
}

.sidebar-button {
    width: 100%;
}

.admin-content {
    display: grid;
    gap: 18px;
}

.admin-header {
    padding: 24px 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(225, 29, 72, 0.12), rgba(225, 29, 72, 0.02) 32%, rgba(11, 17, 32, 0.92) 70%),
        var(--panel);
    border-color: rgba(225, 29, 72, 0.18);
}

.admin-header h1 {
    font-size: clamp(2.8rem, 4.8vw, 4rem);
    line-height: 0.94;
}

.header-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 13px;
      border-radius: 999px;
      border: 1px solid var(--line);
      color: var(--muted);
      background: rgba(255, 255, 255, 0.03);
      font-weight: 700;
      font-size: 0.86rem;
}

.metrics-grid,
.dashboard-grid,
.profile-grid,
.cadastro-grid {
    display: grid;
    gap: 18px;
}

.metrics-grid {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
}

.dashboard-grid {
    grid-template-columns: 1.35fr 1fr;
}

.dashboard-panel.wide {
    grid-column: span 2;
}

.metric-card,
.dashboard-panel {
    padding: 22px;
}

.metric-card {
    display: grid;
    gap: 14px;
    background: rgba(12, 18, 33, 0.92);
}

.metric-card-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.metric-card-link:hover {
    transform: translateY(-2px);
    border-color: rgba(225, 29, 72, 0.24);
}

.metric-card-link:focus-visible {
    outline: 2px solid rgba(225, 29, 72, 0.6);
    outline-offset: 3px;
}

.metric-card-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.metric-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.2rem;
    border: 1px solid rgba(225, 29, 72, 0.22);
    background: rgba(225, 29, 72, 0.1);
    color: var(--accent-2);
}

.metric-card h3 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 0.9;
}

.metric-trend {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.metric-trend.is-up {
    color: #8ff0b6;
    background: rgba(34, 197, 94, 0.1);
}

.metric-trend.is-warn {
    color: #ffc0cb;
    background: rgba(225, 29, 72, 0.12);
}

.metric-trend.is-alert {
    color: #ffb5bb;
    background: rgba(255, 91, 103, 0.12);
}

.dashboard-panel {
    display: grid;
    gap: 16px;
    background:
        linear-gradient(180deg, rgba(225, 29, 72, 0.06), transparent 120px),
        var(--panel);
    border-color: rgba(225, 29, 72, 0.12);
}

.dashboard-panel h3 {
    font-size: 1.9rem;
}

.dashboard-highlight {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.highlight-item {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.highlight-item strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.highlight-item span {
    color: var(--muted);
    font-size: 0.92rem;
}

.dash-list {
    display: grid;
    gap: 12px;
}

.dash-list-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.dash-list-item strong {
    display: block;
    margin-bottom: 6px;
}

.dash-list-item span {
    color: var(--muted);
    font-size: 0.92rem;
}

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
    background: var(--accent-3);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.4);
}

.filter-panel,
.form-panel,
.table-panel,
.profile-hero,
.profile-card,
.cadastro-card {
    padding: 22px;
}

.filter-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(170px, 0.72fr) minmax(170px, 0.72fr) auto;
      gap: 12px;
      align-items: end;
  }

.associados-metrics {
      display: grid;
      grid-template-columns: repeat(4, minmax(180px, 1fr));
      gap: 14px;
      margin-bottom: 16px;
      align-items: stretch;
  }

.metric-card-compact {
      padding: 16px 18px 14px;
      gap: 6px;
      min-height: 116px;
  }

.metric-card-compact h3 {
      font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  }

.metric-card-compact p {
      margin: 0;
      color: var(--muted);
      font-size: 0.84rem;
  }

.admin-header-compact {
      padding: 16px 22px;
  }

.admin-header-compact h1 {
      font-size: clamp(2.8rem, 5.6vw, 4rem);
  }

.assoc-status-chips {
      grid-column: 1 / -1;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
  }

.assoc-status-chips .header-chip.is-active {
      color: var(--text);
      border-color: rgba(225, 29, 72, 0.22);
      background: rgba(225, 29, 72, 0.12);
  }

.filter-panel {
    padding-top: 16px;
    padding-bottom: 16px;
}

.form-actions,
.filter-actions,
.table-actions {
      display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

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

.content-grid.cols-2 {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    align-items: start;
}

@media (max-width: 1100px) {
    .content-grid.cols-2 {
        grid-template-columns: 1fr;
    }
}

.data-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
}

.data-table th,
.data-table td {
        padding: 10px 9px;
        border-bottom: 1px solid var(--line);
        text-align: left;
        vertical-align: middle;
    }

.data-table th {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.data-table td strong,
.data-table td span,
.data-table td small {
    display: block;
}

.data-table td small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.84rem;
}

.data-table td {
        overflow: hidden;
    }

.data-table tbody tr {
    transition: background 0.18s ease;
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.data-table td:last-child {
    overflow: visible;
}

.assoc-row-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.assoc-row-photo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(148, 163, 184, 0.18);
    flex-shrink: 0;
}

.assoc-avatar-row {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    flex-shrink: 0;
}

.assoc-row-copy {
      display: grid;
      gap: 3px;
      min-width: 0;
  }

.assoc-row-copy strong {
      font-size: 0.92rem;
      line-height: 1.15;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
  }

.assoc-row-meta {
        display: flex !important;
        flex-wrap: wrap;
      gap: 6px;
      align-items: center;
      min-height: 18px;
  }

.assoc-row-meta span {
    display: inline-flex !important;
    white-space: nowrap;
}

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

.status-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 12px;
        border-radius: 999px;
        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: 0.03em;
        min-width: 78px;
  }

.table-actions-compact {
      gap: 6px;
      flex-wrap: wrap;
      align-items: center;
  }

.table-actions-compact .button-primary,
.table-actions-compact .button-secondary,
.table-actions-compact .button-ghost {
      width: 100%;
      min-height: 32px;
      padding: 6px 10px;
      border-radius: 10px;
      font-size: 0.76rem;
      white-space: normal;
      text-align: center;
      line-height: 1.15;
      justify-content: center;
  }

.table-actions-compact form {
      margin: 0;
      min-width: 0;
  }

.table-actions-compact form button {
      width: 100%;
  }

.assoc-actions-inline {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 5px;
        width: 100%;
  }

.assoc-actions-inline form,
.assoc-actions-inline a {
      min-width: 0;
      width: 100%;
}

.assoc-actions-inline > form:last-child {
    grid-column: 1 / -1;
}

.filter-actions .button-secondary,
.filter-actions .button-ghost {
    min-width: 104px;
    justify-content: center;
}

.filter-actions {
    gap: 10px;
}

.status-pill.is-active {
    color: #8ff0b6;
    background: rgba(34, 197, 94, 0.12);
}

.status-pill.is-inactive {
    color: #ffb5bb;
    background: rgba(255, 91, 103, 0.12);
}

.status-pill.is-pending {
    color: #ffe29a;
    background: rgba(250, 204, 21, 0.14);
}

.profile-hero {
      display: grid;
      grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.88fr);
      gap: 16px;
  }

.profile-main,
.profile-identity-copy {
    display: grid;
    gap: 12px;
}

.profile-identity {
      display: grid;
      grid-template-columns: 132px minmax(0, 1fr);
      gap: 18px;
      align-items: center;
  }

.profile-portrait-shell {
    width: 132px;
    height: 132px;
    border-radius: 34px;
    padding: 6px;
    background:
        linear-gradient(135deg, rgba(225, 29, 72, 0.2), rgba(14, 165, 233, 0.08)),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.profile-portrait {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 28px;
}

.profile-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
  }

.profile-chip {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 6px 11px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.04);
      color: var(--text);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      text-transform: uppercase;
  }

.profile-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.profile-mini-card {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.profile-mini-card span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.profile-mini-card strong {
    font-size: 0.96rem;
    line-height: 1.2;
}

.profile-status,
.profile-meta-list,
.detail-list,
.simple-list {
      display: grid;
      gap: 14px;
  }

.profile-side-head {
    display: grid;
    gap: 4px;
    padding-bottom: 4px;
}

.profile-side-head h3 {
    margin: 0;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 1.85rem;
}

.modalidade-dual-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.82fr);
    gap: 22px;
    align-items: start;
}

.modalidade-form-page {
    display: grid;
    grid-template-columns: minmax(0, 780px);
}

.configuracao-panel,
.config-card,
.logo-config-box,
.config-list-item {
    display: grid;
}

.configuracao-panel {
    gap: 18px;
}

.configuracao-form {
    gap: 18px;
}

.config-card {
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
}

.config-card-title h3 {
    margin: 0;
}

.logo-config-box {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.logo-preview-shell {
    width: 108px;
    height: 108px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 28, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-preview-placeholder,
.logo-config-copy span,
.config-list-item span {
    color: var(--muted);
}

.logo-config-copy {
    display: grid;
    gap: 6px;
}

.config-grid,
.config-split-grid {
    display: grid;
    gap: 16px;
}

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

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

.config-save-row {
    display: flex;
    justify-content: flex-end;
}

.config-list-block {
    display: grid;
    gap: 12px;
}

.config-list-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(225, 29, 72, 0.06), rgba(8, 13, 29, 0) 36%),
        rgba(8, 13, 29, 0.74);
}

.config-list-item div {
    display: grid;
    gap: 4px;
}

.modalidade-main-panel,
.modalidade-cadastro-panel {
    background: rgba(17, 27, 57, 0.88);
}

.panel-topline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(225, 29, 72, 0.14);
}

.modalidade-listing,
.cadastro-stack {
    margin-top: 14px;
}

.modalidade-listing,
.cadastro-stack {
    display: grid;
    gap: 18px;
}

.cadastro-section {
    display: grid;
    gap: 14px;
}

.cadastro-section-border {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cadastro-section h3 {
    margin: 0;
}

.modalidade-block {
    display: grid;
    gap: 12px;
}

.modalidade-block + .modalidade-block {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modalidade-block-head,
.modalidade-block-title,
.modalidade-block-actions,
.equipe-row {
    display: flex;
    gap: 12px;
}

.modalidade-block-head,
.equipe-row {
    align-items: center;
    justify-content: space-between;
}

.modalidade-block-title,
.modalidade-block-actions {
    align-items: center;
    flex-wrap: wrap;
}

.modalidade-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(225, 29, 72, 0.6);
}

.modalidade-block-title h3 {
    margin: 0;
    font-size: 1.45rem;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.modalidade-block-note {
    margin: -4px 0 2px;
    color: var(--muted);
}

.equipe-listing {
    display: grid;
    gap: 10px;
}

.equipe-row {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(8, 13, 29, 0.68);
}

.equipe-row-empty {
    justify-content: flex-start;
    color: var(--muted);
}

.equipe-row-copy {
    display: grid;
    gap: 6px;
}

.equipe-row-copy strong {
    font-size: 1.1rem;
}

.equipe-row-copy span {
    color: var(--muted);
    font-size: 0.95rem;
}

.mini-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.mini-action-button:hover {
    transform: translateY(-1px);
    border-color: rgba(225, 29, 72, 0.42);
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.16), rgba(225, 29, 72, 0.05));
}

.mini-action-button-danger {
    color: #ffb1c1;
    border-color: rgba(225, 29, 72, 0.18);
}

.mini-action-button-danger:hover {
    border-color: rgba(225, 29, 72, 0.42);
}

.modalidade-submit {
    width: 100%;
    justify-content: center;
}

.subtle-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.94rem;
}

.subtle-link:hover {
    color: var(--text);
}

.modalidade-form-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.modalidade-form-links form {
    margin: 0;
}

.subtle-link-danger {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #ff9eb1;
}

.subtle-link-danger:hover {
    color: #ffc0cc;
}

.profile-meta-list div,
.detail-list div,
.simple-list-item {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.profile-meta-list dt,
.detail-list dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.profile-meta-list dd,
.detail-list dd {
    margin: 0;
    font-weight: 700;
    line-height: 1.6;
}

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

.profile-card-wide {
    grid-column: span 2;
}

.assoc-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.18);
    border: 1px solid rgba(225, 29, 72, 0.32);
    color: #fb7185;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.assoc-avatar-lg {
    width: 56px;
    height: 56px;
    min-width: 56px;
    font-size: 1.1rem;
}

.assoc-avatar-profile {
    width: 100%;
    height: 100%;
    min-width: 0;
    border-radius: 28px;
    font-size: 2rem;
}

.cadastro-folder-stage {
    margin-top: 22px;
    display: grid;
    gap: 18px;
}

.cadastro-tabbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
    padding: 0 0 4px;
    border-bottom: 1px solid rgba(225, 29, 72, 0.16);
}

.cadastro-tab-link {
    min-width: 188px;
    justify-content: center;
    padding: 16px 24px 14px;
    border-radius: 24px 24px 0 0;
    color: var(--muted-strong);
    background:
        linear-gradient(180deg, rgba(68, 24, 34, 0.62), rgba(19, 24, 42, 0.94)),
        rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.07);
    border-bottom-color: transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: translateY(1px);
}

.cadastro-tab-link:hover {
    border-color: rgba(225, 29, 72, 0.24);
    border-bottom-color: transparent;
    color: var(--text);
}

.cadastro-tab-link.is-active {
    background:
        linear-gradient(180deg, rgba(225, 29, 72, 0.22), rgba(21, 28, 50, 0.98)),
        rgba(11, 17, 32, 0.96);
    color: var(--text);
    border-color: rgba(225, 29, 72, 0.32);
    border-bottom-color: rgba(21, 28, 50, 0.98);
    box-shadow:
        0 14px 30px rgba(127, 29, 29, 0.18),
        inset 0 3px 0 rgba(255, 145, 0, 0.9);
    transform: translateY(1px);
}

.cadastro-folder-card {
    position: relative;
    display: grid;
    gap: 0;
    border-radius: 28px;
    margin-top: -1px;
}

.cadastro-folder-card.is-hidden {
    display: none;
}

.cadastro-folder-card.is-active {
    display: grid;
}

.admin-form,
.compact-form,
.stepper {
    display: grid;
    gap: 16px;
}

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

.field-span-2 {
    grid-column: span 2;
}

.stepper-top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.step-pill {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    cursor: pointer;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.step-pill.is-active {
    color: var(--text);
    border-color: rgba(255, 106, 26, 0.24);
    background: rgba(255, 106, 26, 0.12);
}

.form-panel-student {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px;
    border-radius: 24px;
    background: rgba(16, 23, 39, 0.92);
    border-color: rgba(35, 56, 88, 0.82);
}

.admin-form-student {
    display: grid;
    gap: 18px;
}

.student-topbar {
    max-width: 760px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.student-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid rgba(35, 56, 88, 0.9);
    background: rgba(16, 23, 39, 0.92);
    color: #7f8ea8;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
}

.student-page-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #f8fafc;
}

.student-page-title span {
    color: #e11d48;
}

.stepper-student {
    gap: 22px;
}

.stepper-top-student {
    grid-template-columns: auto minmax(44px, 1fr) auto minmax(44px, 1fr) auto;
    align-items: start;
    gap: 10px;
}

.stepper-connector-student {
    align-self: start;
    margin-top: 19px;
    height: 2px;
    border-radius: 999px;
    background: rgba(39, 61, 96, 0.88);
}

.step-pill-student {
    border: none;
    background: transparent;
    padding: 0;
    text-align: center;
    justify-items: center;
    gap: 8px;
    color: #64748b;
    font: inherit;
}

.step-pill-badge {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(39, 61, 96, 0.88);
    background: rgba(16, 23, 39, 0.92);
    color: inherit;
    font-weight: 800;
    transition: all .2s ease;
}

.step-pill-copy {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.step-pill-student.is-active {
    background: transparent;
    border: none;
    color: #fb7185;
}

.step-pill-student.is-active .step-pill-badge {
    border-color: #e11d48;
    background: #e11d48;
    color: #fff;
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.24);
}

.step-heading-student {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(35, 56, 88, 0.78);
}

.student-photo-box {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(35, 56, 88, 0.78);
    background: rgba(30, 41, 59, 0.7);
}

.student-photo-preview {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(35, 56, 88, 0.9);
    background: #192334;
    flex-shrink: 0;
}

.student-photo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.student-photo-copy {
    display: grid;
    gap: 10px;
    min-width: 240px;
    flex: 1;
}

.student-photo-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(35, 56, 88, 0.9);
    background: rgba(16, 23, 39, 0.92);
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}

.student-photo-trigger:hover {
    border-color: rgba(225, 29, 72, 0.7);
    color: #fb7185;
}

.student-photo-remove {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.form-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(5, 10, 20, 0.78);
    backdrop-filter: blur(6px);
}

.form-modal-backdrop[hidden] {
    display: none !important;
}

.form-modal-card {
    width: min(92vw, 420px);
    padding: 28px 24px;
    border-radius: 22px;
    border: 1px solid rgba(239, 68, 68, 0.26);
    background: #121a2c;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

.form-modal-icon {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.12);
    border: 2px solid rgba(239, 68, 68, 0.24);
    color: #fca5a5;
    font-size: 1.45rem;
    font-weight: 900;
}

.form-modal-card h2 {
    margin: 0;
    font-size: 1.2rem;
}

.form-modal-card p {
    margin: 0;
    color: var(--muted-strong);
    line-height: 1.6;
}

.form-modal-button {
    width: 100%;
}

.step-panel {
    display: none;
}

.step-panel.is-active {
    display: grid;
    gap: 18px;
}

.alert-error,
.alert-success {
    border-radius: 18px;
    padding: 14px 16px;
}

.alert-error {
    border: 1px solid rgba(255, 91, 103, 0.18);
    background: rgba(255, 91, 103, 0.1);
    color: #ffc6cb;
}

.alert-success {
    border: 1px solid rgba(34, 197, 94, 0.18);
    background: rgba(34, 197, 94, 0.1);
    color: #bbf7d0;
}

.logout-form {
    margin-top: 4px;
}

.table-wrap {
    overflow-x: auto;
}

.theme-toggle {
    display: none;
}

@media (max-width: 1120px) {
    .portal-hero,
    .auth-layout,
    .dashboard-grid,
    .profile-hero {
        grid-template-columns: 1fr;
    }

    .profile-quick-stats {
        grid-template-columns: 1fr;
    }

    .auth-layout-premium,
    .dashboard-hero-panel,
    .brand-config-hero,
    .dashboard-topbar {
        grid-template-columns: 1fr;
    }

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

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

    .dashboard-premium-grid,
    .dashboard-panel-showcase,
    .dashboard-panel-chart,
    .dashboard-premium-grid > .dashboard-panel-premium:nth-child(2),
    .dashboard-premium-grid > .dashboard-panel-premium:nth-child(4),
    .dashboard-premium-grid > .dashboard-panel-premium:nth-child(5) {
        grid-column: auto;
    }

    .dashboard-premium-grid {
        grid-template-columns: 1fr;
    }

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

    .dashboard-panel.wide {
        grid-column: auto;
    }

    .admin-header {
        grid-template-columns: 1fr;
    }

    .header-meta {
        justify-content: flex-start;
    }

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

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

@media (max-width: 920px) {
    .admin-shell {
        grid-template-columns: 1fr;
        width: min(100% - 20px, 1680px);
        padding-top: 18px;
    }

    .sidebar {
        position: static;
    }

    .portal-strip,
    .access-grid,
    .access-grid-centered,
    .filter-grid,
    .form-grid,
    .profile-grid,
    .cadastro-grid,
    .dashboard-highlight,
    .stepper-top {
        grid-template-columns: 1fr;
    }

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

    .activity-item-premium {
        grid-template-columns: auto 1fr;
    }

    .activity-item-premium small {
        grid-column: 2;
    }

    .field-span-2,
    .profile-card-wide {
        grid-column: auto;
    }

    .stepper-top-student {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .stepper-connector-student {
        display: none;
    }

    .step-pill-student {
        justify-items: start;
        text-align: left;
    }

    .student-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .shell,
    .auth-shell {
        width: calc(100% - 20px);
        padding-left: 0;
        padding-right: 0;
    }

    .portal-hero,
    .portal-access,
    .portal-strip,
    .auth-showcase,
    .auth-card,
    .sidebar,
    .admin-header,
    .metric-card,
    .dashboard-panel,
    .filter-panel,
    .form-panel,
    .table-panel,
    .profile-hero,
    .profile-card,
    .cadastro-card {
        padding: 20px;
    }

    .portal-title,
    .auth-brand h1,
    .admin-header h1 {
        font-size: clamp(2.4rem, 14vw, 3.6rem);
    }

    .form-panel-student {
        padding: 20px;
    }

    .student-page-title {
        font-size: 1.55rem;
    }

    .student-photo-box {
        padding: 14px;
        gap: 14px;
    }

    .student-photo-preview {
        width: 84px;
        height: 84px;
    }

    .profile-portrait-shell {
        width: 112px;
        height: 112px;
    }

    .portal-mini-stats,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .brand-config-preview {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-footer-links,
    .portal-actions,
    .access-actions,
    .form-actions,
    .filter-actions,
    .table-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button-primary,
    .button-secondary,
    .button-ghost {
        width: 100%;
    }

    .portal-register-topbar {
        width: 100%;
        margin-bottom: 16px;
    }

    .portal-register-back-link,
    .portal-register-home-link {
        width: 100%;
    }

    .dashboard-topbar-actions,
    .dashboard-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-inline-chips {
        flex-direction: column;
    }

    .dashboard-hero-side,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

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

    .dashboard-data-row {
        display: grid;
        justify-content: stretch;
    }

    .dashboard-recent-meta {
        justify-items: start;
    }

    .chart-line-shell {
        gap: 10px;
    }

    .modalidade-layout {
        grid-template-columns: 1fr;
    }

    .modalidade-dual-layout {
        grid-template-columns: 1fr;
    }

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

    .config-grid,
    .config-split-grid,
    .me-split-grid,
    .logo-config-box {
        grid-template-columns: 1fr;
    }

    .cadastro-folder-stage {
        gap: 16px;
    }

    .cadastro-tabbar {
        flex-direction: column;
    }

    .modalidade-block-head,
    .equipe-row {
        flex-direction: column;
        align-items: stretch;
    }

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

    .config-logo-preview {
        width: 100%;
        max-width: 148px;
    }

    .config-color-grid {
        grid-template-columns: 1fr;
    }

    .config-tabbar {
        padding: 8px;
    }

    .config-tab {
        width: 100%;
    }
}

.me-split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.brand-logo-fallback,
.sidebar-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text);
}

.auth-shell-premium,
.portal-entry-premium,
.dashboard-panel-premium,
.config-card-premium,
.sidebar-premium,
.auth-card-premium,
.auth-showcase-premium,
.brand-config-hero,
.dashboard-hero-panel {
    position: relative;
    overflow: hidden;
}

.auth-shell-premium::before,
.sidebar-brand-premium::before,
.dashboard-hero-panel::before,
.dashboard-panel-premium::before,
.brand-config-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(225, 29, 72, 0.14), transparent 34%);
    pointer-events: none;
}

.sidebar-premium {
    background:
        linear-gradient(180deg, rgba(225, 29, 72, 0.08), transparent 160px),
        rgba(7, 11, 24, 0.94);
}

.sidebar-brand-premium {
    position: relative;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(225, 29, 72, 0.12), rgba(9, 14, 28, 0.9));
}

.sidebar-brand-glow {
    position: absolute;
    inset: -40px auto auto -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.22);
    filter: blur(34px);
    pointer-events: none;
}

.sidebar-brand-top-premium {
    position: relative;
    display: grid;
    gap: 18px;
}

.sidebar-logo-shell {
    width: 100%;
    min-height: 118px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 13, 29, 0.86));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.sidebar-logo {
    max-width: 100%;
    max-height: 84px;
    object-fit: contain;
}

.sidebar-brand-copy {
    display: grid;
    gap: 6px;
}

.sidebar-brand-copy strong {
    font-size: 1.12rem;
}

.sidebar-nav-premium {
    margin-top: 8px;
    gap: 10px;
}

.sidebar-link-icon {
    width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
    font-size: 1rem;
}

.sidebar-footer-stack {
    margin-top: auto;
    display: grid;
    gap: 16px;
}

.sidebar-user-premium {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 13, 29, 0.7));
    border-color: rgba(225, 29, 72, 0.12);
}

.admin-header-premium {
    background:
        linear-gradient(135deg, rgba(225, 29, 72, 0.16), rgba(7, 11, 24, 0) 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(8, 13, 29, 0.92)),
        var(--panel);
    border-color: rgba(225, 29, 72, 0.16);
}

.admin-header-copy {
    display: grid;
    gap: 8px;
}

.admin-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.admin-brand-badge strong,
.admin-brand-badge small {
    display: block;
}

.admin-brand-badge small {
    color: var(--muted);
    margin-top: 4px;
}

.admin-brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.dashboard-search-shell {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 17, 32, 0.72);
}

.dashboard-search-input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
}

.dashboard-search-shortcut,
.dashboard-search-icon {
    color: var(--muted);
}

.dashboard-topbar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dashboard-inline-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-signal-chip {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted-strong);
    font-weight: 700;
}

.dashboard-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(360px, 0.95fr);
    gap: 16px;
    padding: 24px 26px;
    border-radius: 24px;
    border: 1px solid rgba(225, 29, 72, 0.18);
    background:
        linear-gradient(135deg, rgba(225, 29, 72, 0.18), rgba(8, 13, 29, 0) 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(8, 13, 29, 0.88));
    box-shadow: var(--shadow);
}

.dashboard-hero-copy,
.dashboard-hero-side {
    display: grid;
    gap: 12px;
}

.dashboard-hero-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
}

.dashboard-hero-panel h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dashboard-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-hero-stat {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
}

.dashboard-hero-stat span,
.showcase-card small,
.distribution-item span,
.activity-item-premium p,
.timeline-item span,
.brand-config-hero p {
    color: var(--muted);
}

.dashboard-hero-stat strong {
    display: block;
    margin-top: 8px;
    font-size: 1.6rem;
}

.metrics-grid-premium .metric-card-premium {
    border-color: rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(8, 13, 29, 0.88));
    min-height: 184px;
}

.metric-card-premium.tone-rose { box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.14); }
.metric-card-premium.tone-green { box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.14); }
.metric-card-premium.tone-blue { box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.14); }
.metric-card-premium.tone-amber { box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.14); }

.dashboard-premium-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-panel-showcase,
.dashboard-panel-chart {
    grid-column: span 8;
}

.dashboard-premium-grid > .dashboard-panel-premium:nth-child(2),
.dashboard-premium-grid > .dashboard-panel-premium:nth-child(4),
.dashboard-premium-grid > .dashboard-panel-premium:nth-child(5) {
    grid-column: span 4;
}

.dashboard-panel-premium {
    border-color: rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(225, 29, 72, 0.07), rgba(8, 13, 29, 0) 160px),
        rgba(11, 17, 32, 0.88);
}

.panel-head-premium {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.panel-head-premium h3,
.brand-config-hero h2 {
    margin: 4px 0 0;
}

.showcase-card-grid,
.brand-config-swatches,
.timeline-stack,
.distribution-list,
.activity-list-premium {
    display: grid;
    gap: 14px;
}

.showcase-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
}

.showcase-card,
.timeline-item,
.activity-item-premium {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
}

.showcase-card-badge,
.access-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(225, 29, 72, 0.12);
    color: var(--accent-2);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.showcase-card strong,
.timeline-item strong,
.activity-item-premium strong {
    display: block;
    margin: 14px 0 6px;
    font-size: 1.12rem;
}

.dashboard-meta-line {
    margin-top: 14px;
    color: var(--muted-strong);
    font-size: 0.92rem;
}

.chart-line-shell {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    align-items: end;
    min-height: 240px;
    padding-top: 16px;
}

.chart-line-col {
    display: grid;
    gap: 10px;
    align-items: end;
    justify-items: center;
}

.chart-line-bar {
    width: 100%;
    max-width: 44px;
    border-radius: 18px 18px 8px 8px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent));
    box-shadow: 0 0 24px rgba(225, 29, 72, 0.24);
}

.distribution-item {
    display: grid;
    gap: 10px;
}

.distribution-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.distribution-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.activity-item-premium {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 14px;
}

.activity-item-premium p {
    margin: 6px 0 0;
}

.activity-item-premium small {
    color: var(--muted);
}

.activity-dot-premium {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent));
    box-shadow: 0 0 18px rgba(225, 29, 72, 0.4);
}

.dashboard-link-card {
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.dashboard-link-card:hover {
    border-color: rgba(225, 29, 72, 0.2);
    background: rgba(225, 29, 72, 0.06);
    transform: translateY(-2px);
}

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

.finance-summary-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
}

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

.finance-summary-card strong {
    font-size: 1.35rem;
}

.finance-summary-card.is-income {
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.12);
}

.finance-summary-card.is-expense {
    box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.12);
}

.finance-summary-card.is-balance {
    box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.12);
}

.dashboard-data-list {
    display: grid;
    gap: 12px;
}

.dashboard-data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
}

.dashboard-data-row span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.92rem;
}

.money-positive {
    color: #90f2b5;
}

.money-negative {
    color: #ffb6bd;
}

.dashboard-recent-item {
    align-items: center;
}

.dashboard-recent-meta {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.portal-entry-premium,
.auth-layout-premium {
    position: relative;
    overflow: hidden;
}

.auth-layout-premium {
    grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
}

.auth-showcase-premium,
.auth-card-premium,
.portal-entry-premium {
    background:
        linear-gradient(135deg, rgba(225, 29, 72, 0.12), rgba(8, 13, 29, 0) 42%),
        rgba(11, 17, 32, 0.9);
    border-color: rgba(225, 29, 72, 0.14);
}

.auth-showcase-premium {
    position: relative;
}

.auth-showcase-glow {
    position: absolute;
    top: -80px;
    left: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.18);
    filter: blur(48px);
}

.auth-panel-list-premium {
    display: grid;
    gap: 14px;
}

.auth-panel-item-premium {
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.auth-form-premium,
.auth-form-head {
    display: grid;
    gap: 14px;
}

.auth-tip-premium {
    border: 1px solid rgba(225, 29, 72, 0.12);
    background: rgba(225, 29, 72, 0.06);
}

.portal-entry-premium {
    border-radius: 28px;
    border: 1px solid rgba(225, 29, 72, 0.14);
    box-shadow: var(--shadow);
}

.access-grid-premium {
    gap: 18px;
}

.access-card-premium {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.07);
}

.access-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand-config-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) auto;
    gap: 18px;
    align-items: center;
}

.brand-config-preview {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-config-logo {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.brand-config-logo span {
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 2rem;
    font-weight: 800;
}

.brand-config-swatches {
    grid-auto-flow: column;
    gap: 10px;
}

.brand-config-swatches span {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.config-hub-shell {
    display: grid;
    gap: 20px;
}

.config-hub-head {
    display: grid;
    gap: 16px;
}

.config-hub-head h2 {
    margin: 4px 0 0;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 2.3rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.config-tabbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 17, 32, 0.74);
}

.config-tab {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: var(--muted);
    border-radius: 16px;
    padding: 14px 18px;
    font-weight: 800;
    cursor: default;
}

.config-tab.is-active {
    background: linear-gradient(135deg, #ff7a18 0%, #ff5b00 100%);
    color: #fff;
    border-color: rgba(255, 122, 24, 0.4);
    box-shadow: 0 14px 28px rgba(255, 122, 24, 0.22);
}

.config-tab:disabled {
    opacity: 0.8;
}

.config-panel-section {
    gap: 20px;
}

.config-section-title {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.config-logo-card {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 22px;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.config-logo-preview {
    width: 148px;
    height: 148px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 13, 29, 0.92));
}

.config-logo-preview span {
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.config-logo-copy {
    display: grid;
    align-content: center;
    gap: 10px;
}

.config-logo-copy strong {
    font-size: 1.5rem;
}

.config-logo-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

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

.config-color-card {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.config-color-card input[type="color"] {
    width: 100%;
    height: 62px;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 10, 20, 0.84);
}

.config-preview-band {
    margin-top: 4px;
}

.config-save-row-premium {
    justify-content: flex-end;
    padding: 8px 0 2px;
}

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

.cadastro-hub-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(225, 29, 72, 0.16);
    text-decoration: none;
    background:
        linear-gradient(135deg, rgba(225, 29, 72, 0.14), rgba(8, 13, 29, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 13, 29, 0.9)),
        rgba(11, 17, 32, 0.86);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cadastro-hub-card:hover {
    transform: translateY(-3px);
    border-color: rgba(225, 29, 72, 0.28);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.cadastro-hub-card-alt {
    background:
        linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(8, 13, 29, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 13, 29, 0.9)),
        rgba(11, 17, 32, 0.86);
}

.cadastro-hub-icon {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
    border: 1px solid rgba(225, 29, 72, 0.2);
    background: rgba(225, 29, 72, 0.1);
    box-shadow: 0 0 26px rgba(225, 29, 72, 0.14);
    font-size: 1.35rem;
}

.cadastro-hub-copy {
    display: grid;
    gap: 6px;
}

.cadastro-hub-copy h2 {
    margin: 0;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cadastro-hub-copy p:last-child,
.cadastro-hub-meta span {
    color: var(--muted);
}

.cadastro-hub-meta {
    display: grid;
    justify-items: end;
    gap: 4px;
}

.cadastro-hub-meta strong {
    font-size: 2rem;
    color: var(--text);
}

.page-switchbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.page-switch-link {
    min-height: 46px;
}

.ui-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ui-icon svg {
    width: 1em;
    height: 1em;
}

.ui-icon-inline {
    margin-right: 8px;
    font-size: 1rem;
    vertical-align: middle;
}

.ui-icon-button {
    font-size: 1rem;
    margin-right: 2px;
}

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

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

.finance-type-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.finance-type-pill.is-income {
    color: #90f2b5;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.22);
}

.finance-type-pill.is-expense {
    color: #ffb6bd;
    background: rgba(255, 91, 103, 0.12);
    border: 1px solid rgba(255, 91, 103, 0.22);
}

.config-tiger-wrapper {
    width: min(920px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.config-tiger-topbar {
    padding: 24px 28px;
    border-radius: 18px;
    border: 1px solid rgba(225, 29, 72, 0.18);
    background:
        linear-gradient(135deg, rgba(225, 29, 72, 0.12), rgba(8, 13, 29, 0.94) 52%),
        rgba(17, 24, 39, 0.94);
}

.config-tiger-topbar h1 {
    margin: 10px 0 0;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 3rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.config-tiger-eyebrow {
    margin: 0;
    color: #ff8ca4;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.76rem;
    font-weight: 800;
}

.config-tiger-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 39, 0.94);
}

.config-tiger-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    color: #91a0bc;
    font-weight: 700;
    border: 1px solid transparent;
}

.config-tiger-tab.is-active {
    background: linear-gradient(135deg, #ff7a18 0%, #ff5b00 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(255, 122, 24, 0.22);
}

.config-tiger-card {
    display: grid;
    gap: 18px;
    padding: 24px 26px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 39, 0.96);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
}

.config-tiger-card-title {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ff7a18;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 800;
}

.config-tiger-upload {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(31, 41, 55, 0.88);
}

.config-tiger-logo-preview {
    width: 112px;
    height: 112px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b1220;
    display: flex;
    align-items: center;
    justify-content: center;
}

.config-tiger-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.config-tiger-logo-fallback {
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #c9d3e7;
    letter-spacing: 0.08em;
}

.config-tiger-upload-copy {
    display: grid;
    gap: 10px;
}

.config-tiger-upload-copy strong {
    font-size: 1.5rem;
}

.config-tiger-upload-copy p,
.config-tiger-helper,
.config-tiger-list-item small,
.config-tiger-list-item p {
    color: var(--muted);
}

.config-tiger-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.config-tiger-summary-item {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(31, 41, 55, 0.8);
}

.config-tiger-summary-item span {
    color: var(--muted);
}

.config-tiger-helper {
    margin: 0;
    line-height: 1.7;
}

.config-tiger-actions {
    padding-top: 18px;
    padding-bottom: 18px;
}

.config-tiger-list {
    display: grid;
    gap: 12px;
}

.config-tiger-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(31, 41, 55, 0.82);
}

.config-tiger-list-item strong {
    display: block;
}

.config-tiger-list-item p {
    margin: 6px 0 0;
}

.config-tiger-admin-item {
    justify-content: start;
}

.config-admins-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.95fr);
    gap: 22px;
    align-items: start;
}

.config-tiger-admin-item-manage {
    justify-content: flex-start;
}

.config-admin-identity {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.config-admin-identity strong {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.config-admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.14);
    color: #ffb067;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.config-admin-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.config-admin-actions form {
    margin: 0;
}

.config-tiger-admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 122, 24, 0.16);
    border: 1px solid rgba(255, 122, 24, 0.3);
    color: #fff;
    font-weight: 800;
    flex-shrink: 0;
}

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

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

    .config-admins-layout {
        grid-template-columns: 1fr;
    }

    .config-tiger-upload,
    .config-tiger-summary,
    .config-tiger-list-item {
        grid-template-columns: 1fr;
        display: grid;
    }

    .config-admin-actions {
        margin-left: 0;
        justify-content: stretch;
        display: grid;
    }

    .config-tiger-logo-preview {
        width: 100%;
        max-width: 112px;
    }
}

.ui-icon-brand {
    font-size: 1.5rem;
}

.button-primary .ui-icon,
.button-secondary .ui-icon,
.button-ghost .ui-icon,
.mini-action-button .ui-icon,
.config-tab .ui-icon {
    color: currentColor;
}

.sidebar-link-icon,
.metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sidebar-link-icon svg,
.metric-icon svg {
    width: 20px;
    height: 20px;
}

.sidebar-link {
    position: relative;
    overflow: hidden;
}

.sidebar-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 34%);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.sidebar-link:hover::after,
.sidebar-link.is-active::after {
    opacity: 1;
}

.sidebar-logo-shell {
    position: relative;
    min-height: 152px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(8, 13, 29, 0.94)),
        radial-gradient(circle at top, rgba(225, 29, 72, 0.22), transparent 58%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sidebar-logo-placeholder,
.config-logo-placeholder,
.admin-brand-logo-fallback {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
}

.sidebar-logo-placeholder strong,
.config-logo-placeholder span,
.admin-brand-logo-fallback span {
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-logo-placeholder small,
.config-logo-placeholder small {
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-brand-logo-fallback {
    width: 100%;
    height: 100%;
}

.admin-brand-logo-fallback .ui-icon-brand {
    font-size: 1.1rem;
    color: var(--accent-2);
}

.admin-header-premium,
.dashboard-panel-premium,
.metric-card-premium,
.dashboard-hero-panel,
.config-logo-card,
.finance-summary-card,
.showcase-card,
.timeline-item,
.activity-item-premium,
.config-color-card {
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-header-premium {
    border-radius: 26px;
}

.dashboard-inline-chips-premium .header-chip {
    color: var(--muted-strong);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 13, 29, 0.8)),
        rgba(11, 17, 32, 0.72);
}

.dashboard-hero-panel {
    border-radius: 28px;
}

.dashboard-hero-panel::after,
.dashboard-panel-premium::after,
.metric-card-premium::after {
    content: "";
    position: absolute;
    inset: auto 18px 0 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    pointer-events: none;
}

.dashboard-hero-copy p,
.dashboard-hero-side span {
    max-width: 62ch;
}

.metric-card-premium {
    position: relative;
    overflow: hidden;
}

.metric-card-premium .metric-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 24px rgba(225, 29, 72, 0.14);
}

.metric-card-premium.tone-rose .metric-icon {
    color: #ff7f96;
    background: rgba(225, 29, 72, 0.12);
    border-color: rgba(225, 29, 72, 0.22);
}

.metric-card-premium.tone-blue .metric-icon {
    color: #5aa2ff;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.22);
}

.metric-card-premium.tone-green .metric-icon {
    color: #4ae58d;
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.22);
}

.metric-card-premium.tone-amber .metric-icon {
    color: #ff9e52;
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.22);
}

.panel-head-premium .button-ghost,
.dashboard-topbar-actions .button-ghost,
.dashboard-topbar-actions .button-primary,
.dashboard-hero-actions .button-primary,
.dashboard-hero-actions .button-ghost {
    min-height: 48px;
}

.showcase-card {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    align-content: start;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 13, 29, 0.86)),
        radial-gradient(circle at top left, rgba(225, 29, 72, 0.14), transparent 44%);
}

.showcase-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-2), transparent);
    box-shadow: 0 0 18px rgba(225, 29, 72, 0.4);
}

.showcase-card-badge .ui-icon-inline {
    margin-right: 6px;
    font-size: 0.85rem;
}

.dashboard-meta-line .ui-icon-inline,
.header-chip .ui-icon-inline,
.panel-kicker .ui-icon-inline,
.eyebrow .ui-icon-inline,
.field span .ui-icon-inline {
    color: var(--accent-2);
}

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

.timeline-icon {
    position: absolute;
    left: 18px;
    top: 18px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
    border: 1px solid rgba(225, 29, 72, 0.18);
    background: rgba(225, 29, 72, 0.1);
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.16);
}

.timeline-icon .ui-icon {
    font-size: 1rem;
}

.finance-summary-card {
    position: relative;
    overflow: hidden;
}

.finance-summary-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}

.activity-item-premium {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 13, 29, 0.84)),
        rgba(255, 255, 255, 0.03);
}

.config-tabbar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 13, 29, 0.76)),
        rgba(11, 17, 32, 0.74);
}

.config-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.config-logo-card {
    background:
        linear-gradient(180deg, rgba(225, 29, 72, 0.08), rgba(8, 13, 29, 0.78) 44%),
        rgba(255, 255, 255, 0.03);
}

.config-logo-preview,
.brand-config-logo,
.admin-brand-logo {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(8, 13, 29, 0.94)),
        radial-gradient(circle at top, rgba(225, 29, 72, 0.18), transparent 60%);
}

.config-logo-preview {
    position: relative;
}

.config-logo-preview::after,
.brand-config-logo::after,
.admin-brand-logo::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: inherit;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.config-logo-placeholder .ui-icon-brand,
.sidebar-logo-placeholder .ui-icon-brand {
    color: var(--accent-2);
}

.config-logo-copy .field span,
.config-color-card span,
.config-list-item strong + span {
    color: var(--muted);
}

.config-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted-strong);
    font-size: 0.95rem;
    margin-top: 6px;
}

.sidebar-logo-shell,
.config-logo-preview,
.brand-config-logo,
.admin-brand-logo {
    position: relative;
    overflow: hidden;
}

.logo-adjustable-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--logo-pos-x, 50%) var(--logo-pos-y, 50%);
    transform: scale(var(--logo-scale, 1));
    transform-origin: center;
    display: block;
}

.sidebar-logo-shell {
    min-height: 168px;
    padding: 0;
}

.sidebar-logo {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.admin-brand-logo {
    width: 112px;
    height: 112px;
}

.config-logo-preview-editor {
    width: 190px;
    height: 190px;
    border-radius: 30px;
}

.config-logo-card {
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
}

.logo-adjust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 4px;
}

.logo-adjust-grid input[type="range"] {
    width: 100%;
}

.logo-adjust-hint {
    color: var(--muted);
    font-size: 0.92rem;
}

.config-logo-preview-editor,
.config-topbar-preview-logo {
    cursor: grab;
    user-select: none;
}

.config-logo-preview-editor:active,
.config-topbar-preview-logo:active {
    cursor: grabbing;
}

.config-topbar-preview-band {
    margin-top: 18px;
}

.config-topbar-preview-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 136px;
    gap: 20px;
    align-items: center;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(135deg, rgba(225, 29, 72, 0.1), rgba(8, 13, 29, 0.9) 52%),
        rgba(255, 255, 255, 0.03);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.config-topbar-preview-copy {
    display: grid;
    gap: 6px;
}

.config-topbar-preview-copy strong {
    font-size: 1.08rem;
}

.config-topbar-preview-copy span {
    color: var(--muted);
    line-height: 1.7;
}

.config-topbar-preview-logo {
    justify-self: end;
}

@media (max-width: 980px) {
    .config-logo-card {
        grid-template-columns: 1fr;
    }

    .config-logo-preview-editor {
        width: 100%;
        max-width: 220px;
    }

    .config-topbar-preview-card {
        grid-template-columns: 1fr;
    }

    .config-topbar-preview-logo {
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .logo-adjust-grid {
        grid-template-columns: 1fr;
    }
}

.config-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.config-color-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 13, 29, 0.8)),
        rgba(255, 255, 255, 0.03);
}

.brand-config-hero {
    border-radius: 24px;
    border: 1px solid rgba(225, 29, 72, 0.14);
    background:
        linear-gradient(135deg, rgba(225, 29, 72, 0.12), rgba(8, 13, 29, 0) 42%),
        rgba(11, 17, 32, 0.82);
}

.mini-action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.config-list-item,
.dashboard-data-row {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 13, 29, 0.84)),
        rgba(255, 255, 255, 0.03);
}

.field textarea {
    min-height: 120px;
}

.field-help {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.sidebar-notice-badge {
    margin-left: auto;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff7a1a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(255, 122, 26, 0.28);
}

@media (max-width: 980px) {
    .cadastros-hub-grid {
        grid-template-columns: 1fr;
    }

    .cadastro-hub-card {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .cadastro-hub-meta {
        justify-items: start;
    }

    .timeline-item {
        padding-left: 18px;
        padding-top: 70px;
    }

    .timeline-icon {
        top: 18px;
        left: 18px;
    }
}

@media (max-width: 768px) {
    .cadastro-tabbar {
        flex-direction: column;
    }

    .cadastro-tab-link {
        width: 100%;
    }
}
