:root {
    --bg: #ffffff;
    --text: #0c1624;
    --field: #eaf1ff;
    --field-icon: #9a9a9a;
    --accent: #ff5a32;
    --accent-hover: #f04d24;
    --tab-idle: #f1f1f1;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
}

button,
input {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

body.is-loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.94);
    z-index: 60;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader-dot {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 4px solid rgba(255, 90, 50, 0.18);
    border-top-color: var(--accent);
    animation: spin 0.9s linear infinite;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.login-body {
    height: 100vh;
    overflow: hidden;
}

.login-shell {
    height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 43%) 1fr;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

body.is-ready .login-shell,
body.is-ready .dashboard-layout,
body.is-ready .register-shell {
    opacity: 1;
    transform: translateY(0);
}

.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px min(7.9vw, 76px) 48px min(7.9vw, 76px);
    background: #fff;
}

.login-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 56px;
}

.login-brand-mark {
    font-size: 2.95rem;
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.09em;
}

.login-brand-divider {
    width: 1px;
    height: 42px;
    background: #cfd5dc;
}

.login-brand-name {
    font-size: 0.98rem;
    color: #222;
    margin-top: 7px;
}

.login-brand-divider-strong {
    background: #111;
    height: 44px;
}

.login-brand-name-strong {
    font-size: 1.08rem;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: #1a1a1a;
}

.login-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 2vw, 2.1rem);
    line-height: 1.08;
    font-weight: 700;
}

.login-copy p {
    margin: 0;
    max-width: 420px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #5f6f81;
}

.login-tabs {
    display: flex;
    gap: 14px;
    margin-top: 38px;
}

.tab-button {
    border: 0;
    border-radius: 999px;
    min-width: 224px;
    height: 50px;
    padding: 0 28px;
    background: var(--tab-idle);
    color: #a0a7b1;
    cursor: default;
}

.tab-button-active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 18px 28px rgba(255, 90, 50, 0.18);
}

.alert-error {
    margin-top: 18px;
    width: min(100%, 464px);
    padding: 14px 18px;
    border-radius: 18px;
    background: #fff0eb;
    color: #c43f1d;
    font-size: 0.94rem;
}

.register-footer {
    margin: 18px 0 0;
    color: #667085;
    font-size: 0.92rem;
    text-align: center;
}

.register-footer a {
    color: #4f46e5;
    font-weight: 700;
    text-decoration: none;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: min(100%, 464px);
    margin-top: 32px;
}

.field {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 54px;
    border-radius: 22px;
    padding: 0 16px;
    background: var(--field);
}

.field-icon {
    width: 24px;
    height: 24px;
    color: var(--field-icon);
    flex: 0 0 24px;
}

.field-icon svg,
.password-toggle svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.field input {
    width: 100%;
    border: 0;
    background: transparent;
    color: #08111d;
    outline: none;
    font-size: 0.98rem;
}

.field input::placeholder {
    color: #9aa6b2;
}

.password-toggle {
    border: 0;
    background: transparent;
    color: #9a9a9a;
    padding: 0;
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex: 0 0 24px;
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle.is-visible .eye-open {
    display: none;
}

.password-toggle.is-visible .eye-closed {
    display: block;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 464px);
    height: 60px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.submit-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.login-footer {
    margin-top: 36px;
    font-size: 0.94rem;
    color: #919fb0;
}

.login-visual {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #060606;
}

.login-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.register-body {
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.84) 42%, rgba(255, 255, 255, 0.08) 62%, rgba(255, 255, 255, 0) 100%),
        url('/imagens/login.png') center center / cover no-repeat;
}

.register-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.register-shell-full {
    width: 100%;
}

.register-stage {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.register-stage-blur {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(3px);
    pointer-events: none;
}

.register-stage-card {
    position: relative;
    z-index: 1;
    width: min(100%, 450px);
    padding: 34px 38px 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(14px);
}

.register-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.register-brand-mark {
    font-size: 4rem;
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.1em;
    color: #000;
}

.register-brand-divider {
    width: 1px;
    height: 52px;
    background: #222;
}

.register-brand-name {
    font-size: 1.08rem;
    color: #181818;
    margin-top: 10px;
}

.register-copy {
    text-align: center;
}

.register-copy h1 {
    margin: 0;
    font-size: 2rem;
}

.register-copy p {
    margin: 10px 0 0;
    color: #667085;
}

.register-alert {
    width: 100%;
}

.register-referral-badge {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f3f0ff;
    color: #4c1d95;
    font-size: 0.9rem;
    text-align: center;
}

.register-form {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.register-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 4px;
    border: 1px solid #dcdfe4;
    border-radius: 16px;
    background: #f7f7f8;
}

.register-tabs-static {
    margin-top: 18px;
}

.register-tab-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #6b7280;
    font-weight: 700;
}

.register-tab-button-active {
    background: linear-gradient(90deg, #5a47e7, #7b6df0);
    color: #fff;
}

.register-tab-button:disabled {
    opacity: 1;
    cursor: default;
}

.register-tab-icon {
    width: 18px;
    height: 18px;
    color: currentColor;
}

.register-tab-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.register-form-compact {
    margin-top: 18px;
}

.register-field {
    height: 48px;
    border: 1px solid rgba(208, 213, 221, 0.6);
    background: rgba(249, 250, 251, 0.7);
}

.register-field:focus-within {
    border-color: #7c6bf1;
    box-shadow: 0 0 0 4px rgba(124, 107, 241, 0.12);
}

.register-submit-button {
    width: 100%;
    height: 54px;
    margin-top: 4px;
    border-radius: 14px;
    background: linear-gradient(90deg, #8b7ae8, #9b90ea);
    box-shadow: none;
    text-transform: uppercase;
}

.register-submit-button:hover {
    background: linear-gradient(90deg, #7f6de4, #9285e8);
}

.register-helper {
    min-height: 18px;
    margin-top: -4px;
    font-size: 0.82rem;
    color: #667085;
}

.register-helper-loading {
    color: #6941c6;
}

.register-helper-success {
    color: #067647;
}

.register-helper-error {
    color: #b42318;
}

.dashboard-body {
    min-height: 100vh;
    background: #f6f6f7;
    color: #101828;
    overflow: hidden;
}

.dashboard-layout {
    height: 100vh;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 100vh;
    background: #fff;
    border-right: 1px solid #e7e8eb;
    overflow: hidden;
}

.dashboard-sidebar-brand {
    padding: 16px 16px 15px;
    border-bottom: 1px solid #e7e8eb;
}

.dashboard-brand {
    margin-bottom: 0;
}

.dashboard-brand .login-brand-mark {
    font-size: 2.15rem;
}

.dashboard-brand .login-brand-divider-strong {
    height: 31px;
}

.dashboard-brand .login-brand-name-strong {
    font-size: 0.82rem;
    margin-top: 4px;
}

.dashboard-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 16px;
    border-bottom: 1px solid #e7e8eb;
}

.dashboard-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #767676;
    color: #fff;
    flex: 0 0 42px;
}

.dashboard-avatar svg,
.dashboard-nav-icon svg,
.dashboard-nav-end svg,
.dashboard-alert-icon svg,
.dashboard-back-icon svg,
.subscription-status svg,
.plan-feature-icon svg,
.dashboard-support-button svg,
.topbar-icon-button svg,
.mini-icon-button svg,
.points-icon svg,
.points-action svg,
.table-search-icon svg,
.team-summary-icon svg,
.academy-badge span svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.dashboard-user-card h2 {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-user-card p {
    margin: 2px 0 0;
    font-size: 0.84rem;
    color: #6b7280;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 10px;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #c8ccd3 transparent;
}

.dashboard-nav::-webkit-scrollbar {
    width: 6px;
}

.dashboard-nav::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard-nav::-webkit-scrollbar-thumb {
    background: #c8ccd3;
    border-radius: 999px;
}

.dashboard-nav::-webkit-scrollbar-thumb:hover {
    background: #b4b9c2;
}

.dashboard-nav-item,
.dashboard-subnav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 14px;
    color: #4b5565;
    text-decoration: none;
    font-size: 0.96rem;
    line-height: 1;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.dashboard-nav-item:hover,
.dashboard-subnav-item:hover {
    background: #f6f7f9;
    color: #111827;
}

.dashboard-nav-item-selected {
    background: #f3f4f6;
    color: #111827;
    font-weight: 700;
}

.dashboard-nav-item-selected::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 3px;
    border-radius: 999px;
    background: #ff7a1a;
}

.dashboard-nav-button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: default;
    white-space: nowrap;
}

.dashboard-nav-item-open {
    color: #4b5565;
    font-weight: 400;
}

.dashboard-nav-icon,
.dashboard-nav-end,
.dashboard-alert-icon,
.dashboard-back-icon,
.subscription-status span:first-child,
.plan-feature-icon,
.dashboard-support-button span:first-child,
.dashboard-support-button span:last-child,
.topbar-icon-button,
.points-icon,
.table-search-icon,
.team-summary-icon,
.academy-badge span {
    width: 18px;
    height: 18px;
    color: #6b7280;
    flex: 0 0 18px;
}

.dashboard-nav-item-selected .dashboard-nav-icon,
.dashboard-nav-item-selected .dashboard-nav-end,
.dashboard-subnav-item-active .dashboard-nav-icon {
    color: #111827;
}

.dashboard-nav-end {
    margin-left: auto;
    opacity: 0.7;
}

.dashboard-nav-group {
    margin-top: 2px;
}

.dashboard-nav-group .dashboard-nav-button {
    cursor: pointer;
}

.dashboard-nav-group .dashboard-nav-end {
    transform-origin: center;
    transition: transform 0.28s ease, color 0.2s ease, opacity 0.2s ease;
}

.dashboard-nav-group.is-open .dashboard-nav-end {
    transform: rotate(0deg);
}

.dashboard-nav-group:not(.is-open) .dashboard-nav-end {
    transform: rotate(180deg);
}

.dashboard-subnav-list {
    display: grid;
    gap: 6px;
    margin-top: 4px;
    max-height: 520px;
    opacity: 1;
    overflow: hidden;
    margin-left: 10px;
    padding-left: 12px;
    border-left: 1px solid #e5e7eb;
    transition: max-height 0.28s ease, opacity 0.22s ease, margin-top 0.22s ease;
}

.dashboard-nav-group:not(.is-open) .dashboard-subnav-list {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    pointer-events: none;
}

.dashboard-subnav-item {
    min-height: 38px;
    margin-left: 0;
    padding-left: 10px;
    font-size: 0.9rem;
}

.dashboard-subnav-item-active {
    position: relative;
    background: #f3f4f6;
    color: #111827;
    font-weight: 700;
}

.dashboard-subnav-item-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    border-radius: 999px;
    background: #ff7a1a;
}

.dashboard-sidebar-footer {
    margin-top: auto;
    padding: 12px 10px 16px;
    border-top: 1px solid #e7e8eb;
}

.dashboard-content {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

.dashboard-content-inner {
    max-width: 1740px;
    margin: 0 auto;
    padding: 22px 26px 30px;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dashboard-content-inner::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.dashboard-flash {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;
}

.dashboard-flash-success {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #067647;
}

.dashboard-flash-error {
    background: #fef3f2;
    border: 1px solid #fecdca;
    color: #b42318;
}

.dashboard-home {
    padding-top: 8px;
}

.home-topbar,
.team-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.home-topbar h1,
.team-header h1 {
    margin: 0;
    font-size: 1.06rem;
    font-weight: 800;
}

.wave-hand {
    font-size: 1.35rem;
}

.topbar-icon-button,
.mini-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #1f2937;
}

.hero-banner-card,
.metric-card,
.points-card,
.academy-banner,
.subscription-status-card,
.plan-card,
.team-summary-card,
.team-growth-card,
.team-filter-card,
.team-table-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.hero-banner-card {
    margin-top: 22px;
    overflow: hidden;
    border-radius: 16px;
}

.hero-banner {
    position: relative;
    min-height: 462px;
    padding: 74px 76px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(7, 45, 92, 0.96) 0%, rgba(6, 69, 124, 0.8) 45%, rgba(0, 182, 214, 0.62) 100%),
        radial-gradient(circle at 85% 12%, rgba(72, 237, 255, 0.75) 0, rgba(72, 237, 255, 0) 18%),
        radial-gradient(circle at 74% 80%, rgba(0, 177, 255, 0.3) 0, rgba(0, 177, 255, 0) 28%),
        linear-gradient(120deg, #0e325a 10%, #123a6e 40%, #0c7ca0 100%);
}

.hero-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 42%, rgba(255, 255, 255, 0.14) 0, rgba(255, 255, 255, 0) 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hero-banner-carousel {
    padding: 0;
    overflow: hidden;
    background: #0f2f57;
}

.hero-banner-carousel::after {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04)),
        linear-gradient(90deg, rgba(9, 37, 78, 0.14) 0%, rgba(9, 37, 78, 0) 32%, rgba(0, 198, 255, 0.08) 100%);
}

.hero-carousel-track {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(6%) scale(1.015);
    transition: transform 0.7s cubic-bezier(0.22, 0.8, 0.2, 1), opacity 0.55s ease;
    will-change: transform, opacity;
}

.hero-slide.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.hero-slide.is-before {
    transform: translateX(-8%) scale(1.01);
    z-index: 1;
}

.hero-slide.is-after {
    transform: translateX(8%) scale(1.01);
    z-index: 1;
}

.hero-slide.is-exit-left {
    opacity: 0;
    transform: translateX(-12%) scale(1.01);
    z-index: 1;
}

.hero-slide.is-exit-right {
    opacity: 0;
    transform: translateX(12%) scale(1.01);
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-banner-copy {
    position: relative;
    z-index: 1;
    max-width: 930px;
    color: #fff;
}

.hero-kicker {
    display: block;
    margin-bottom: 18px;
    font-size: clamp(1.85rem, 2vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-banner-copy h2 {
    margin: 0;
    font-size: clamp(3.2rem, 4.9vw, 5.7rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.hero-banner-copy h2 em {
    color: #32d9ea;
    font-style: italic;
    font-weight: 700;
}

.hero-banner-copy p {
    margin: 26px 0 32px;
    max-width: 860px;
    font-size: clamp(1.55rem, 2.35vw, 3.2rem);
    line-height: 1.05;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.05em;
}

.hero-banner-copy strong {
    display: block;
    font-size: clamp(2rem, 2.8vw, 3.65rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.hero-pagination {
    position: absolute;
    bottom: 12px;
    left: 50%;
    z-index: 1;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-pagination span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.hero-pagination .is-active {
    width: 20px;
    background: #ff7a1a;
}

.hero-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.hero-dot.is-active {
    width: 20px;
    background: #ff7a1a;
}

.hero-nav-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.34);
    color: #fff;
    font-size: 1.85rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-nav-button:hover {
    background: rgba(15, 23, 42, 0.54);
    transform: translateY(-1px);
}

.hero-nav-prev {
    left: 16px;
}

.hero-nav-next {
    right: 16px;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.3fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.metric-card,
.points-card {
    min-height: 121px;
    padding: 18px 18px 16px;
    border-radius: 16px;
}

.metric-card-head,
.points-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.metric-card h3 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.metric-card p {
    margin: 10px 0 14px;
    color: #667085;
    font-size: 0.79rem;
    line-height: 1.55;
}

.mini-icon-button {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #4b5563;
}

.link-config-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fake-input {
    flex: 1;
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 10px;
    background: #f5f5f6;
    color: #6b7280;
    font-size: 0.74rem;
}

.small-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 10px;
    background: #5a47e7;
    color: #fff;
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 700;
    border: 0;
    cursor: pointer;
}

.metric-label-right {
    margin-left: auto;
    color: #667085;
    font-size: 0.72rem;
}

.metric-amount {
    margin-top: 14px;
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
}

.metric-caption {
    margin: 2px 0 0;
    color: #6b7280;
    font-size: 0.86rem;
}

.points-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #181818;
    color: #fff;
    border-radius: 16px;
}

.points-card-head span:last-child {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    font-weight: 600;
}

.points-icon {
    color: rgba(255, 255, 255, 0.8);
}

.points-body span {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
}

.points-body strong {
    display: block;
    margin-top: 2px;
    font-size: 2rem;
    line-height: 1;
}

.points-action {
    position: absolute;
    right: 16px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #d69a2e;
    color: #fff;
}

.academy-banner {
    position: relative;
    overflow: hidden;
    margin-top: 18px;
    min-height: 182px;
    max-width: 50%;
    border-radius: 16px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.78) 38%, rgba(0, 0, 0, 0.18) 100%),
        radial-gradient(circle at 72% 50%, rgba(255, 178, 102, 0.22) 0, rgba(255, 178, 102, 0) 20%),
        linear-gradient(120deg, #2d1d14 0%, #111111 40%, #6d4322 100%);
}

.academy-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 46%, rgba(255, 205, 160, 0.16) 0, rgba(255, 205, 160, 0) 24%),
        linear-gradient(0deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02));
    pointer-events: none;
}

.academy-banner-overlay {
    position: relative;
    z-index: 1;
    width: 53%;
    padding: 24px 30px;
    color: #fff;
}

.academy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.academy-badge span {
    color: #fff;
}

.academy-banner p {
    margin: 18px 0 18px;
    font-size: 0.93rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.academy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 114px;
    min-height: 34px;
    padding: 0 18px;
    border-radius: 12px;
    background: #5b4ce2;
    color: #fff;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
}

.dashboard-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #fff7eb;
    border: 1px solid #f6ca82;
    border-radius: 12px;
}

.dashboard-alert-success {
    background: #ecfdf3;
    border-color: #a6f4c5;
}

.dashboard-alert-icon {
    color: #f59e0b;
}

.dashboard-alert-success .dashboard-alert-icon {
    color: #12b76a;
}

.dashboard-alert strong {
    display: block;
    font-size: 0.96rem;
}

.dashboard-alert p {
    margin: 2px 0 0;
    color: #7c5a2d;
    font-size: 0.89rem;
}

.dashboard-alert-success p,
.dashboard-alert-success strong {
    color: #067647;
}

.dashboard-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 16px 0 14px;
}

.dashboard-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-section-title h1 {
    margin: 0;
    font-size: 1.95rem;
    line-height: 1.1;
}

.dashboard-back-icon {
    color: #111827;
}

.dashboard-support-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    text-decoration: none;
    font-size: 0.92rem;
}

.subscription-status-card,
.plan-card {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.subscription-status-card {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 16px;
}

.subscription-label {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 600;
}

.subscription-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.88rem;
}

.subscription-status-inactive {
    color: #ef4444;
}

.subscription-status-active {
    color: #17b26a;
}

.subscription-expiry {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    color: #667085;
    font-size: 0.88rem;
}

.subscription-expiry strong {
    color: #111827;
    font-size: 1rem;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.plan-card {
    overflow: hidden;
}

.plan-visual {
    display: grid;
    place-items: center;
    min-height: 184px;
    background: #fff;
    border-bottom: 1px solid #eef0f3;
}

.plan-visual-svg {
    width: 130px;
    height: 130px;
}

.plan-card-body {
    padding: 18px 16px 16px;
}

.plan-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #d7dbe1;
}

.plan-mini-name {
    display: block;
    margin-bottom: 2px;
    font-size: 0.9rem;
    color: #475467;
}

.plan-card-header h2 {
    margin: 0;
    font-size: 1.28rem;
}

.plan-price {
    margin: 7px 0 0;
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
}

.plan-feature-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.plan-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #111827;
    font-size: 0.95rem;
    line-height: 1.45;
}

.plan-feature-item .plan-feature-icon {
    color: #17b26a;
    margin-top: 1px;
}

.plan-feature-disabled {
    color: #98a2b3;
    text-decoration: line-through;
}

.plan-feature-disabled .plan-feature-icon {
    color: #f97066;
}

.plan-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    border: 0;
    border-radius: 10px;
    background: #4f46e5;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.plan-cta-button:disabled {
    background: #c7c9d5;
    cursor: not-allowed;
}

.payment-history-card {
    margin-top: 16px;
}

.payment-history-head {
    padding: 0 0 12px;
}

.payment-history-head h2 {
    margin: 0;
    font-size: 1.5rem;
}

.payment-history-head p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 0.92rem;
}

.payment-table-wrap,
.team-table-card {
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fff;
}

.payment-table {
    width: 100%;
    border-collapse: collapse;
}

.payment-table th,
.payment-table td {
    padding: 16px 14px;
    border-bottom: 1px solid #eaecf0;
    text-align: left;
    font-size: 0.95rem;
}

.payment-table th {
    color: #667085;
    font-weight: 500;
}

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

.payment-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.payment-status-paid {
    background: #e9f9ef;
    color: #067647;
}

.payment-status-inactive {
    background: #fef3f2;
    color: #b42318;
}

.team-page {
    padding-top: 2px;
}

.team-header p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 0.84rem;
}

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

.team-summary-card,
.team-growth-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 104px;
    padding: 18px 20px;
    border-radius: 16px;
}

.team-summary-card span:first-child,
.team-growth-card span:first-child {
    display: block;
    color: #667085;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.team-summary-card strong {
    display: block;
    margin-top: 12px;
    font-size: 2.1rem;
    line-height: 1;
}

.team-growth-card {
    background: #181818;
    color: #fff;
}

.team-growth-card strong {
    display: block;
    margin-top: 12px;
    max-width: 310px;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 500;
}

.team-summary-icon {
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 12px;
    background: #f3f4f6;
    color: #1f2937;
}

.team-growth-card .team-summary-icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.team-filter-card {
    margin-top: 24px;
    padding: 14px 16px 14px;
    border-radius: 16px;
}

.team-filter-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.filter-pills {
    display: flex;
    gap: 8px;
}

.filter-pill {
    min-height: 30px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #eef1f5;
    color: #667085;
    font-size: 0.84rem;
}

.filter-pill.is-active {
    background: #181818;
    color: #fff;
}

.team-actions {
    display: flex;
    gap: 10px;
}

.table-action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: 0.84rem;
}

.table-action-button svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: currentColor;
}

.table-action-button-dark {
    border-color: #181818;
    background: #181818;
    color: #fff;
    font-weight: 700;
}

.table-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.table-search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #98a2b3;
    background: transparent;
}

.team-table-card {
    margin-top: 24px;
    border-radius: 16px;
}

.team-table th,
.team-table td {
    font-size: 0.84rem;
    padding-top: 18px;
    padding-bottom: 18px;
}

.team-empty-state {
    padding: 34px 14px;
    text-align: center !important;
    color: #667085;
}

.team-edit-link {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #667085;
}

.team-edit-link svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.referral-link-display {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-shell {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 80;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.modal-shell.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.46);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.modal-card {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 26px 26px 22px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
    opacity: 0;
    transform: translateY(18px) scale(0.975);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
    will-change: transform, opacity;
}

.modal-shell.is-open .modal-backdrop {
    opacity: 1;
}

.modal-shell.is-open .modal-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.modal-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.modal-head h2 {
    margin: 0;
    font-size: 1.35rem;
}

.modal-head p {
    margin: 8px 0 0;
    color: #667085;
    font-size: 0.92rem;
    line-height: 1.5;
}

.modal-close-button {
    border: 0;
    background: transparent;
    color: #667085;
    font-size: 1.8rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

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

.service-group {
    display: grid;
    gap: 12px;
}

.service-group h3 {
    margin: 0;
    font-size: 1rem;
}

.service-price-field {
    display: grid;
    gap: 8px;
}

.service-price-field span {
    font-size: 0.92rem;
    font-weight: 600;
}

.service-price-field input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    outline: none;
}

.service-price-field small {
    color: #667085;
    font-size: 0.82rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}

.price-table-modal-card {
    width: min(100%, 540px);
}

.price-table-groups {
    display: grid;
    gap: 18px;
}

.credit-diagnostic-modal {
    width: min(100%, 460px);
    max-height: none;
    overflow: visible;
}

.credit-diagnostic-body {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.credit-diagnostic-coupon-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 10px;
    width: 100%;
    align-items: stretch;
}

.credit-diagnostic-coupon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #f8fafc;
    min-width: 0;
    color: #101828;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.credit-diagnostic-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fff;
    color: #344054;
}

.credit-diagnostic-copy:hover {
    background: #f9fafb;
}

.credit-diagnostic-link {
    gap: 8px;
    width: 100%;
    min-height: 48px;
}

.credit-diagnostic-link svg,
.credit-diagnostic-copy svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.credit-diagnostic-copy span {
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1;
}

.price-table-group-card {
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
}

.price-table-group-head {
    padding: 14px 16px;
    border-bottom: 1px solid #eaecf0;
    font-size: 0.98rem;
    font-weight: 800;
}

.price-table-group-body {
    display: grid;
}

.price-table-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #eaecf0;
    color: #667085;
}

.price-table-row:last-child {
    border-bottom: 0;
}

.price-table-row strong {
    color: #101828;
    font-size: 1rem;
}

.dashboard-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.account-page {
    max-width: 1660px;
}

.account-header h1 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
}

.account-header p {
    margin: 6px 0 0;
    color: #667085;
}

.account-hero-card,
.account-section-card {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.account-hero-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
}

.account-hero-avatar {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    background: #767676;
    color: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 82px;
}

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

.account-hero-avatar span {
    width: 42px;
    height: 42px;
}

.account-hero-avatar span svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.account-hero-copy h2 {
    margin: 0;
    font-size: 1.1rem;
}

.account-hero-copy p {
    margin: 8px 0 12px;
    color: #667085;
}

.account-photo-form {
    margin: 0;
}

.account-photo-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #f9fafb;
    color: #111827;
    cursor: pointer;
    font-weight: 500;
}

.account-photo-button input {
    display: none;
}

.account-section-title {
    padding: 16px 20px;
    border-bottom: 1px solid #eaecf0;
    color: #667085;
    font-size: 0.96rem;
}

.account-row-form,
.account-address-row {
    display: grid;
    grid-template-columns: 160px minmax(260px, 384px) 120px;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #eaecf0;
}

.account-row-form-compact {
    grid-template-columns: 160px minmax(260px, 384px) 80px;
}

.account-section-card > :last-child {
    border-bottom: 0;
}

.account-row-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111827;
}

.account-row-label svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.account-row-input,
.account-pix-input {
    min-height: 40px;
    width: 100%;
    padding: 0 14px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #f8fafc;
}

.account-address-copy {
    color: #111827;
}

.account-address-edit {
    justify-self: end;
}

.account-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #667085;
    cursor: pointer;
}

.account-icon-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.account-pix-form {
    display: grid;
    grid-template-columns: minmax(260px, 384px) 80px;
    align-items: center;
    gap: 12px;
    padding: 16px 20px 8px;
}

.account-pix-input {
    max-width: 384px;
}

.account-pix-caption {
    margin: 0;
    padding: 0 20px 18px;
    color: #667085;
    font-size: 0.88rem;
}

.account-row-status {
    color: #667085;
    font-size: 0.84rem;
    font-weight: 600;
}

.account-row-status-loading {
    color: #6941c6;
}

.account-row-status-success {
    color: #067647;
}

.account-row-status-error {
    color: #b42318;
}

.wallet-header h1 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
}

.wallet-header p {
    margin: 6px 0 0;
    color: #667085;
}

.wallet-balance-card,
.wallet-history-card {
    margin-top: 18px;
    border-radius: 18px;
}

.wallet-balance-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 28px;
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d2f 100%);
    color: #fff;
}

.wallet-balance-card span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
}

.wallet-balance-card strong {
    display: block;
    margin-top: 8px;
    font-size: 2.1rem;
}

.wallet-balance-icon {
    width: 46px;
    height: 46px;
    padding: 11px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.wallet-balance-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.wallet-actions-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

.wallet-actions-row p {
    margin: 0;
    color: #667085;
    font-size: 0.88rem;
}

.wallet-withdraw-button {
    min-height: 40px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, #8b7ae8, #9b90ea);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.wallet-history-card {
    background: #fff;
    border: 1px solid #e4e7ec;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.wallet-history-head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 20px;
    border-bottom: 1px solid #eaecf0;
    color: #475467;
}

.wallet-history-head svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.wallet-tabs {
    display: inline-flex;
    gap: 8px;
    margin: 16px 20px 0;
    padding: 4px;
    border-radius: 999px;
    background: #f2f4f7;
}

.wallet-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    border: 0;
    padding: 0 16px;
    border-radius: 999px;
    background: transparent;
    color: #667085;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.wallet-tab.is-active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.wallet-tab small {
    color: inherit;
}

.wallet-search-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px 0;
}

.wallet-search-box {
    flex: 1;
    margin-top: 0;
}

.wallet-filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wallet-filter-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #fff;
    font-size: 0.84rem;
}

.wallet-list {
    padding: 18px 20px 20px;
}

.wallet-empty-state {
    padding: 26px 0 12px;
    text-align: center;
    color: #667085;
}

.dashboard-coming-soon-wrap {
    display: grid;
    place-items: center;
    min-height: 100%;
}

.dashboard-coming-soon-card {
    width: min(100%, 620px);
    padding: 44px 36px;
    border: 1px solid #e4e7ec;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
    text-align: center;
}

.dashboard-coming-soon-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: #667085;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-coming-soon-card h1 {
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: #101828;
}

.dashboard-coming-soon-card p {
    margin: 14px auto 0;
    max-width: 42ch;
    color: #667085;
    font-size: 1rem;
    line-height: 1.6;
}

.academy-page {
    font-family: 'Outfit', 'Inter', sans-serif;
}

.academy-page-head,
.academy-player-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 26px;
}

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

.academy-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff7a1a;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.academy-page-kicker svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.academy-page-head h1,
.academy-player-head h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 0.96;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: #101828;
}

.academy-page-head p,
.academy-player-head p {
    margin: 10px 0 0;
    color: #667085;
    font-size: 1rem;
    line-height: 1.6;
}

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

.academy-module-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e4e7ec;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.08);
    text-decoration: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.academy-module-card:hover {
    transform: translateY(-4px);
    border-color: #d0d5dd;
    box-shadow: 0 22px 46px rgba(16, 24, 40, 0.12);
}

.academy-module-media {
    position: relative;
    aspect-ratio: 4 / 7;
    background: #171717;
    overflow: hidden;
}

.academy-module-media-fallback {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 122, 26, 0.24), transparent 24%),
        linear-gradient(180deg, #18181b 0%, #09090b 100%);
}

.academy-module-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.academy-module-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 22px;
    background: linear-gradient(180deg, rgba(9, 9, 11, 0) 0%, rgba(9, 9, 11, 0.92) 72%);
    color: #fff;
}

.academy-module-label {
    display: inline-block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.academy-module-overlay strong {
    display: block;
    font-size: 2rem;
    line-height: 0.94;
    font-weight: 800;
    letter-spacing: -0.06em;
    max-width: 10ch;
}

.academy-module-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 18px;
}

.academy-module-body h2 {
    margin: 0;
    color: #101828;
    font-size: 1.06rem;
    font-weight: 700;
}

.academy-module-body p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 0.92rem;
}

.academy-module-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff7a1a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.academy-module-link svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.academy-player-head {
    align-items: center;
}

.academy-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    background: #fff;
    color: #101828;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
    flex: 0 0 46px;
}

.academy-back-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.academy-player-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.8fr);
    gap: 18px;
}

.academy-video-panel,
.academy-playlist-panel {
    border: 1px solid #e4e7ec;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(16, 24, 40, 0.06);
}

.academy-video-panel {
    padding: 18px;
}

.academy-video-meta {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
}

.academy-video-meta span {
    color: #667085;
    font-size: 0.88rem;
    font-weight: 600;
}

.academy-video-meta strong {
    color: #101828;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.academy-video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        #050505;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.academy-video-player {
    display: block;
    width: 100%;
    max-height: 72vh;
    background: #000;
    object-fit: contain;
}

.academy-playlist-panel {
    padding: 18px;
}

.academy-playlist-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f6;
}

.academy-playlist-head span {
    color: #667085;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.academy-playlist-head strong {
    color: #101828;
    font-size: 0.92rem;
    font-weight: 700;
}

.academy-playlist-list {
    display: grid;
    gap: 10px;
}

.academy-lesson-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.academy-lesson-item:hover {
    transform: translateY(-1px);
    border-color: #cfd4dc;
    background: #fafbfc;
}

.academy-lesson-item.is-active {
    border-color: #101828;
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
}

.academy-lesson-index {
    font-family: 'JetBrains Mono', monospace;
    color: #667085;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.academy-lesson-copy strong {
    display: block;
    color: #101828;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.academy-lesson-copy small {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-size: 0.84rem;
}

.academy-lesson-item.is-active .academy-lesson-index,
.academy-lesson-item.is-active .academy-lesson-copy strong,
.academy-lesson-item.is-active .academy-lesson-copy small {
    color: #fff;
}

.academy-empty-state {
    margin-top: 28px;
}

.wallet-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eaecf0;
}

.wallet-list-item:last-child {
    border-bottom: 0;
}

.wallet-list-item strong {
    display: block;
    color: #111827;
}

.wallet-list-item span {
    display: block;
    margin-top: 4px;
    color: #667085;
}

.wallet-list-meta {
    text-align: right;
}

.wallet-list-meta small {
    display: block;
    margin-top: 4px;
    color: #667085;
}

.wallet-withdraw-modal {
    width: min(100%, 520px);
}

.wallet-withdraw-summary {
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #f9fafb;
}

.wallet-withdraw-summary span {
    display: block;
    color: #667085;
    font-size: 0.84rem;
}

.wallet-withdraw-summary strong {
    display: block;
    margin-top: 6px;
    color: #111827;
}

.clean-name-banner-card,
.clean-name-filter-card,
.clean-name-table-card {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.clean-name-banner-card {
    overflow: hidden;
}

.clean-name-banner-image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 180px;
    object-fit: cover;
}

.clean-name-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.clean-name-page-head h1 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
}

.clean-name-page-head p {
    margin: 6px 0 0;
    color: #667085;
}

.clean-name-add-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #1d1d1f;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.clean-name-add-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.clean-name-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.clean-name-stat-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 96px;
    padding: 18px 20px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.clean-name-stat-card.is-active {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
}

.clean-name-stat-card span {
    display: block;
    color: #667085;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.clean-name-stat-card.is-active span,
.clean-name-stat-card.is-active strong {
    color: #fff;
}

.clean-name-stat-card strong {
    display: block;
    margin-top: 12px;
    font-size: 2rem;
    color: #111827;
}

.clean-name-stat-icon {
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 12px;
    background: #f3f4f6;
    color: #1f2937;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.clean-name-stat-card.is-active .clean-name-stat-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.clean-name-stat-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.clean-name-filter-card {
    padding: 16px;
}

.clean-name-filter-head {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #475467;
}

.clean-name-filter-head span {
    width: 18px;
    height: 18px;
}

.clean-name-filter-head span svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.clean-name-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.clean-name-select-wrap {
    display: block;
}

.clean-name-select-wrap select {
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #fff;
}

.clean-name-search-box {
    margin-top: 0;
}

.clean-name-table-card {
    overflow: hidden;
}

.clean-name-table th,
.clean-name-table td {
    font-size: 0.9rem;
}

.clean-name-table-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f4f6f8;
    color: #475467;
    font-size: 0.78rem;
    font-weight: 600;
}

.clean-name-modal-card {
    width: min(100%, 560px);
    padding: 28px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

.clean-name-modal-head p {
    max-width: 44ch;
    margin-top: 6px;
    color: #667085;
    font-size: 0.96rem;
    line-height: 1.55;
}

.clean-name-modal-head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.clean-name-lot-banner {
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    display: flex;
    align-items: center;
    color: #475467;
}

.clean-name-lot-banner strong {
    margin-left: 6px;
    color: #101828;
}

.clean-name-field-label,
.clean-name-added-label,
.clean-name-payment-kicker {
    display: block;
    color: #667085;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.clean-name-type-block,
.clean-name-modal-form-grid,
.clean-name-modal-toolbar,
.clean-name-added-block,
.clean-name-checkout-summary,
.clean-name-payment-shell {
    margin-top: 20px;
}

.clean-name-type-switch {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.clean-name-type-option {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.clean-name-type-option.is-active {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
}

.clean-name-type-option:active,
.clean-name-add-button:active,
.clean-name-modal-add:active,
.clean-name-remove-item:active {
    transform: scale(0.985);
}

.clean-name-modal-form-grid {
    display: grid;
    gap: 16px;
}

.clean-name-modal-form-grid .service-price-field {
    gap: 8px;
}

.clean-name-modal-form-grid .service-price-field input {
    min-height: 52px;
}

.clean-name-modal-form-grid .register-helper {
    min-height: 18px;
}

.clean-name-modal-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.clean-name-modal-add,
.clean-name-import-button {
    min-height: 48px;
    gap: 8px;
}

.clean-name-modal-add svg,
.clean-name-import-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.clean-name-import-button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

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

.rating-filter-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 1.1fr;
    gap: 12px;
    margin-top: 14px;
}

.rating-modal-card {
    width: min(100%, 540px);
}

.rating-modal-toolbar {
    grid-template-columns: 1fr;
}

.rating-th-with-help {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rating-help-trigger,
.rating-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #fff;
    color: #475467;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rating-help-trigger:hover,
.rating-upload-button:hover {
    background: #f9fafb;
    color: #111827;
    border-color: #c2c8d0;
}

.rating-help-trigger svg,
.rating-upload-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.rating-attachment-cell,
.rating-info-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-attachment-cell span,
.rating-info-cell span {
    color: #475467;
}

.rating-download-link {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

.rating-download-link:hover {
    text-decoration: underline;
}

.rating-docs-modal-card {
    width: min(100%, 760px);
}

.rating-docs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.rating-docs-card {
    padding: 18px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.rating-docs-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.rating-docs-card-head h3 {
    margin: 0;
    font-size: 1rem;
}

.rating-docs-download {
    gap: 8px;
    min-width: 0;
}

.rating-docs-download svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.rating-docs-list {
    margin: 16px 0 0;
    padding-left: 18px;
    color: #475467;
    line-height: 1.7;
}

.select-warning-card {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #f7c56b;
    border-radius: 16px;
    background: #fff9ef;
}

.select-warning-icon {
    width: 24px;
    height: 24px;
    color: #ff9800;
}

.select-warning-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.select-warning-card strong {
    display: block;
    margin-bottom: 6px;
    color: #101828;
    font-size: 1rem;
}

.select-warning-card p {
    margin: 0;
    color: #667085;
    line-height: 1.55;
}

.select-attachment-button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px dashed #d0d5dd;
    border-radius: 14px;
    background: #fff;
    color: #344054;
    text-align: left;
    cursor: pointer;
}

.select-attachment-button:hover {
    border-color: #b9c1cd;
    background: #fafbfc;
}

.select-attachment-icon {
    width: 18px;
    height: 18px;
    color: #475467;
    flex: 0 0 18px;
}

.select-attachment-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.prestamista-docs-block {
    display: grid;
    gap: 14px;
    margin-top: 10px;
}

.prestamista-docs-title {
    display: block;
    color: #667085;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.prestamista-action-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #475467;
    font-size: 0.82rem;
    font-weight: 600;
}

.reclame-modal-card {
    width: min(100%, 560px);
}

.reclame-associative-card {
    display: grid;
    gap: 14px;
    margin-top: 8px;
    padding: 16px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: #fafbfc;
}

.reclame-associative-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.02rem;
    color: #101828;
}

.reclame-associative-card p {
    margin: 0;
    color: #667085;
    line-height: 1.5;
}

.reclame-download-button,
.reclame-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.reclame-download-button {
    width: fit-content;
    text-decoration: none;
}

.reclame-upload-button {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px dashed #d0d5dd;
    border-radius: 16px;
    background: #fff;
    color: #667085;
    cursor: pointer;
    text-align: left;
}

.reclame-upload-button:hover {
    border-color: #b6bec9;
    background: #fafbfc;
}

.clean-name-added-list,
.clean-name-checkout-summary {
    display: grid;
    gap: 12px;
}

.clean-name-added-item,
.clean-name-summary-card,
.clean-name-payment-card {
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
}

.clean-name-added-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
}

.clean-name-added-item strong,
.clean-name-added-item span {
    display: block;
}

.clean-name-added-item span {
    margin-top: 4px;
    color: #667085;
    font-size: 0.92rem;
}

.clean-name-remove-item {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: #f4f6f8;
    color: #667085;
    cursor: pointer;
}

.clean-name-remove-item svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.clean-name-summary-card {
    padding: 18px 18px 12px;
}

.clean-name-summary-card-total {
    background: #f9fafb;
}

.clean-name-summary-row,
.clean-name-payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 12px;
    color: #475467;
    font-size: 0.96rem;
}

.clean-name-summary-row + .clean-name-summary-row,
.clean-name-payment-row + .clean-name-payment-row {
    padding-top: 12px;
    border-top: 1px solid #eef2f6;
}

.clean-name-summary-row strong,
.clean-name-payment-row strong {
    color: #101828;
    font-weight: 600;
}

.clean-name-summary-row-total strong,
.clean-name-payment-row:last-child strong {
    font-size: 1.08rem;
    font-weight: 700;
}

.clean-name-modal-actions {
    margin-top: 24px;
}

.clean-name-payment-shell {
    display: grid;
    gap: 18px;
}

.clean-name-payment-copy h3 {
    margin: 8px 0 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #101828;
}

.clean-name-payment-copy p {
    margin: 10px 0 0;
    color: #667085;
    font-size: 0.96rem;
    line-height: 1.6;
    max-width: 44ch;
}

.clean-name-payment-card {
    padding: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.primary-button {
    border: 0;
    background: #181818;
    color: #fff;
}

.secondary-button {
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #344054;
}

.onboarding-page {
    max-width: 1280px;
}

.onboarding-page-selfie {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.onboarding-header h1 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.onboarding-header p {
    margin: 6px 0 0;
    color: #667085;
}

.onboarding-header-centered {
    width: min(100%, 820px);
}

.onboarding-terms-card,
.onboarding-selfie-card {
    margin-top: 22px;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.onboarding-card-head {
    padding: 16px 20px;
    border-bottom: 1px solid #eaecf0;
}

.onboarding-card-head h2 {
    margin: 0;
    font-size: 1.05rem;
}

.onboarding-card-head p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 0.92rem;
}

.terms-scroll-box {
    max-height: 480px;
    overflow-y: auto;
    padding: 20px;
    border-bottom: 1px solid #eaecf0;
}

.terms-scroll-inner {
    white-space: pre-wrap;
    color: #101828;
    line-height: 1.72;
    font-size: 0.94rem;
}

.onboarding-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 40px);
    min-height: 46px;
    margin: 16px 20px;
    border: 0;
    border-radius: 12px;
    background: #1d1d1f;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.onboarding-primary-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.onboarding-complete-chip {
    margin: 16px 20px 20px;
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #067647;
    font-weight: 700;
    font-size: 0.9rem;
}

.onboarding-step-label {
    margin-bottom: 10px;
    color: #667085;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.onboarding-selfie-card {
    padding: 20px;
}

.onboarding-selfie-card-centered {
    width: min(100%, 820px);
    margin-inline: auto;
}

.onboarding-selfie-card p {
    margin: 0 0 18px;
    color: #667085;
}

.selfie-stage {
    position: relative;
    overflow: hidden;
    width: min(100%, 640px);
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    background: #000;
}

.selfie-video,
.selfie-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.selfie-canvas {
    display: none;
}

.selfie-frame {
    position: absolute;
    inset: 14% 22%;
    border: 2px dashed rgba(255, 255, 255, 0.58);
    border-radius: 999px;
    pointer-events: none;
}

.onboarding-secondary-button {
    margin-left: 20px;
    margin-bottom: 4px;
}

.onboarding-address-modal .modal-backdrop {
    background: rgba(15, 23, 42, 0.2);
}

.address-modal-card {
    width: min(100%, 460px);
    padding: 22px 24px 24px;
    overflow-x: hidden;
}

.address-modal-title {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.address-modal-title h2 {
    margin: 0;
    font-size: 1.6rem;
}

.address-modal-title p {
    margin: 4px 0 0;
    color: #667085;
}

.address-modal-icon {
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 14px;
    background: #f2f4f7;
    color: #101828;
}

.address-modal-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.address-form {
    display: grid;
    gap: 16px;
    min-width: 0;
}

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

.address-grid:last-of-type {
    grid-template-columns: 1fr 1fr 110px;
}

.address-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.address-field span {
    font-size: 0.94rem;
    font-weight: 600;
}

.address-field input {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #f97066;
    border-radius: 14px;
    background: #fff;
}

.address-submit-button {
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    background: #8f8f8f;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.academy-page {
    font-family: "Outfit", "Segoe UI", sans-serif;
}

.academy-page-head,
.academy-player-head {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.academy-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff7a1a;
}

.academy-page-kicker svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.academy-page-head h1,
.academy-player-head h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.02;
    color: #121826;
}

.academy-page-head p,
.academy-player-head p {
    margin: 0;
    max-width: 780px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #667085;
}

.academy-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.academy-module-card {
    display: grid;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(18, 24, 38, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98));
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.academy-module-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 122, 26, 0.24);
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.13);
}

.academy-module-media {
    position: relative;
    min-height: 520px;
    background: linear-gradient(145deg, #10131d 0%, #1f2535 45%, #0f1320 100%);
}

.academy-module-media-fallback::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 122, 26, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 26%);
}

.academy-module-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.academy-module-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(10, 10, 16, 0.04) 0%, rgba(10, 10, 16, 0.84) 84%);
}

.academy-module-label {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    color: #f8fafc;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.academy-module-overlay strong {
    max-width: 260px;
    color: #fff;
    font-size: clamp(1.65rem, 2.7vw, 2.95rem);
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.academy-module-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 20px;
    min-width: 0;
}

.academy-module-body h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #161b26;
    overflow-wrap: anywhere;
}

.academy-module-body p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 0.96rem;
}

.academy-module-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff7a1a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.academy-module-link svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.academy-player-head {
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 16px;
}

.academy-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #f2f4f7;
    color: #121826;
    transition: transform 180ms ease, background 180ms ease;
}

.academy-back-button:hover {
    transform: translateX(-2px);
    background: #e7ebf1;
}

.academy-back-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.academy-player-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.academy-video-panel,
.academy-playlist-panel {
    border: 1px solid rgba(18, 24, 38, 0.08);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98));
    box-shadow: 0 22px 64px rgba(15, 23, 42, 0.08);
}

.academy-video-panel {
    padding: 22px;
}

.academy-video-meta {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.academy-video-meta span {
    color: #667085;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.academy-video-meta strong {
    color: #121826;
    font-size: clamp(1.28rem, 2.6vw, 1.8rem);
    font-weight: 700;
}

.academy-video-frame {
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 122, 26, 0.15), transparent 22%),
        linear-gradient(160deg, #080b11 0%, #0f1421 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.academy-video-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.academy-playlist-panel {
    padding: 20px;
}

.academy-playlist-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.academy-playlist-head span {
    color: #667085;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.academy-playlist-head strong {
    color: #121826;
    font-size: 0.95rem;
    font-weight: 700;
}

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

.academy-lesson-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(18, 24, 38, 0.08);
    background: #fff;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.academy-lesson-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 122, 26, 0.22);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.academy-lesson-item.is-active {
    border-color: rgba(255, 122, 26, 0.35);
    background: linear-gradient(180deg, rgba(255, 249, 244, 0.96), rgba(255, 255, 255, 0.98));
    box-shadow: 0 18px 40px rgba(255, 122, 26, 0.09);
}

.academy-lesson-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 10px 12px;
    border-radius: 999px;
    background: #121826;
    color: #fff;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    font-weight: 700;
}

.academy-lesson-item.is-active .academy-lesson-index {
    background: linear-gradient(135deg, #ff7a1a 0%, #ff9850 100%);
}

.academy-lesson-copy {
    display: grid;
    gap: 6px;
}

.academy-lesson-copy strong {
    color: #121826;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.academy-lesson-copy small {
    color: #667085;
    font-size: 0.92rem;
}

.academy-lesson-item.is-active .academy-lesson-copy strong {
    color: #121826;
}

.academy-lesson-item.is-active .academy-lesson-copy small {
    color: #92511f;
}

.academy-empty-state {
    min-height: 360px;
}

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

@media (max-width: 1200px) {
    .home-stats-grid,
    .team-summary-grid,
    .plan-grid {
        grid-template-columns: 1fr;
    }

    .academy-banner {
        max-width: 100%;
    }

    .academy-banner-overlay {
        width: 70%;
    }

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

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

    .login-panel {
        height: 100vh;
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .login-visual {
        display: none;
    }

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

    .dashboard-sidebar {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .hero-banner {
        min-height: 320px;
        padding: 30px 24px;
    }

    .hero-banner-copy p,
    .hero-banner-copy strong,
    .hero-banner-copy h2,
    .hero-kicker {
        max-width: 100%;
    }

    .team-filter-top,
    .dashboard-section-header,
    .subscription-status-card,
    .home-topbar,
    .team-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .payment-table {
        min-width: 560px;
    }
}

@media (max-width: 640px) {
    .login-panel {
        padding-inline: 22px;
    }

    .register-stage {
        padding: 18px;
    }

    .register-stage-card {
        padding: 24px 18px 22px;
    }

    .login-brand {
        margin-bottom: 42px;
    }

    .login-tabs {
        flex-direction: column;
    }

    .tab-button,
    .submit-button {
        width: 100%;
        min-width: 0;
    }

    .dashboard-content-inner {
        padding: 16px;
    }

    .subscription-expiry {
        align-items: flex-start;
    }

    .academy-banner-overlay {
        width: 100%;
    }

    .modal-shell {
        padding: 12px;
    }

    .modal-card {
        padding: 20px 16px 18px;
    }

    .modal-actions {
        flex-direction: column;
    }

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

    .address-grid,
    .address-grid:last-of-type {
        grid-template-columns: 1fr;
    }

    .address-modal-card {
        padding: 20px 16px 20px;
    }

    .account-hero-card,
    .account-row-form,
    .account-address-row,
    .account-pix-form {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .account-pix-input {
        max-width: 100%;
    }

    .wallet-actions-row,
    .wallet-search-row,
    .wallet-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .wallet-list-meta {
        text-align: left;
    }

    .clean-name-page-head,
    .clean-name-filter-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

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

    .rating-filter-grid,
    .rating-summary-grid {
        grid-template-columns: 1fr;
    }

    .rating-docs-grid {
        grid-template-columns: 1fr;
    }

    .clean-name-modal-card {
        width: min(100%, 100vw - 24px);
        max-height: calc(100vh - 24px);
        padding: 20px 16px 18px;
    }

    .clean-name-modal-toolbar {
        grid-template-columns: 1fr;
    }

    .clean-name-type-switch,
    .clean-name-modal-actions {
        flex-direction: column;
    }

    .clean-name-type-option {
        width: 100%;
    }

    .academy-modules-grid {
        grid-template-columns: 1fr;
    }

    .academy-module-media {
        min-height: 420px;
    }

    .academy-module-overlay strong {
        font-size: 1.95rem;
    }

    .academy-module-body {
        flex-direction: column;
        align-items: flex-start;
    }

    .academy-player-head {
        grid-template-columns: 1fr;
    }

    .academy-playlist-head,
    .academy-lesson-item {
        grid-template-columns: 1fr;
    }

    .academy-lesson-index {
        min-width: 0;
        width: fit-content;
    }
}

.mobile-menu-trigger,
.mobile-nav-backdrop,
.mobile-sidebar-close-row,
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 900px) {
    body.dashboard-body {
        background: #f5f6f8;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .dashboard-layout {
        position: relative;
        grid-template-columns: 1fr;
        min-height: 100dvh;
        height: auto;
        width: 100%;
        max-width: 100vw;
        overflow-x: clip;
        transform: none !important;
    }

    body.is-ready .dashboard-layout {
        transform: none !important;
    }

    .dashboard-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 45;
        width: min(82vw, 320px);
        height: 100dvh;
        min-height: 100dvh;
        border-right: 1px solid #eceff3;
        box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
        transform: translateX(-106%);
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
        border-radius: 0 28px 28px 0;
        overflow: hidden;
    }

    body.mobile-nav-open .dashboard-sidebar {
        transform: translateX(0);
    }

    .mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 40;
        background: rgba(15, 23, 42, 0.28);
        backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    body.mobile-nav-open .mobile-nav-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-trigger {
        position: fixed;
        top: 16px;
        left: 16px;
        z-index: 32;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 0;
    }

    .mobile-menu-trigger span {
        width: 16px;
        height: 2px;
        border-radius: 999px;
        background: #1f2937;
    }

    .mobile-sidebar-close-row {
        display: flex;
        justify-content: flex-end;
        padding: 12px 16px 0;
    }

    .mobile-sidebar-close {
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 12px;
        background: #f4f5f7;
        color: #111827;
        font-size: 1.6rem;
        line-height: 1;
    }

    .dashboard-sidebar-brand {
        padding-top: 8px;
    }

    .dashboard-content {
        height: auto;
        min-height: 100dvh;
        overflow: visible;
        min-width: 0;
        width: 100%;
    }

    .dashboard-content-inner {
        height: auto;
        min-height: 100dvh;
        overflow: visible;
        padding: 72px 16px 108px;
        max-width: 100%;
        width: 100%;
        min-width: 0;
        overflow-x: clip;
    }

    .dashboard-nav {
        padding-bottom: 20px;
    }

    .home-topbar,
    .team-header,
    .clean-name-page-head {
        align-items: flex-start;
        justify-content: space-between;
        min-width: 0;
    }

    .home-topbar {
        padding-left: 0;
        min-height: 38px;
    }

    .home-topbar h1,
    .team-header h1,
    .clean-name-page-head h1 {
        font-size: 1.95rem;
        line-height: 1.04;
        letter-spacing: -0.05em;
    }

    .topbar-icon-button {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    }

    .hero-banner-card,
    .metric-card,
    .points-card,
    .academy-banner,
    .clean-name-filter-card,
    .clean-name-table-card,
    .team-filter-card,
    .team-table-card {
        border-radius: 22px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-banner-card {
        margin-top: 18px;
    }

    .hero-banner {
        min-height: unset;
        aspect-ratio: 1600 / 447;
        padding: 0;
        border-radius: 22px;
        background: transparent;
    }

    .hero-carousel-track,
    .hero-slide {
        min-height: unset;
        height: 100%;
    }

    .hero-slide img {
        min-height: unset;
        height: 100%;
        object-fit: cover;
        object-position: center;
        background: transparent;
    }

    .hero-nav-button {
        display: none;
    }

    .hero-pagination {
        bottom: 14px;
    }

    .home-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 16px;
    }

    .metric-card,
    .points-card {
        min-height: 142px;
        padding: 18px;
    }

    .metric-card-head {
        align-items: center;
    }

    .metric-card h3 {
        font-size: 1.02rem;
    }

    .link-config-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        width: 100%;
    }

    .fake-input.referral-link-display {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .metric-amount {
        font-size: 2.2rem;
        line-height: 1;
    }

    .points-body strong {
        font-size: 2.25rem;
    }

    .academy-banner {
        max-width: 100%;
        min-height: 180px;
    }

    .academy-banner-overlay {
        width: 100%;
        padding: 22px 20px;
    }

    .clean-name-banner-card {
        aspect-ratio: 24 / 5;
        border-radius: 24px;
        overflow: hidden;
    }

    .clean-name-banner-image {
        width: 100%;
        height: 100%;
        min-height: unset;
        max-height: unset;
        object-fit: cover;
        object-position: center;
    }

    .clean-name-page-head {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 14px;
    }

    .clean-name-page,
    .dashboard-home {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: clip;
    }

    .clean-name-page-head > div {
        min-width: 0;
    }

    .clean-name-page-head p {
        font-size: 0.96rem;
        line-height: 1.45;
        word-break: break-word;
    }

    .clean-name-add-button {
        min-height: 48px;
        padding: 0 16px;
        border-radius: 16px;
        width: 100%;
        justify-content: center;
    }

    .clean-name-summary-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row;
        grid-auto-columns: auto;
        overflow: visible;
        gap: 12px;
        margin-top: 16px;
        padding-bottom: 6px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: none;
        min-width: 0;
    }

    .clean-name-summary-grid::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .clean-name-stat-card {
        min-height: 94px;
        padding: 18px 18px 16px;
        border-radius: 18px;
        min-width: 0;
    }

    .clean-name-stat-card strong {
        font-size: 1.6rem;
    }

    .clean-name-stat-card span {
        font-size: 0.74rem;
    }

    .clean-name-filter-card {
        padding: 16px;
    }

    .clean-name-filter-grid,
    .rating-filter-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 14px;
    }

    .clean-name-table-card,
    .team-table-card,
    .payment-table-wrap {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .payment-table {
        min-width: 640px;
    }

    .wallet-summary-card,
    .wallet-history-card,
    .account-hero-card,
    .account-section-card {
        border-radius: 22px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: max(10px, env(safe-area-inset-bottom));
        z-index: 90;
        display: grid !important;
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
        padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(229, 231, 235, 0.9);
        border-radius: 22px;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
        backdrop-filter: blur(16px);
        visibility: visible;
        opacity: 1;
        transform: translateZ(0);
        transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    }

    body.mobile-nav-open .mobile-bottom-nav {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(10px);
    }

    .mobile-bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 54px;
        border: 0;
        background: transparent;
        color: #6b7280;
        text-decoration: none;
        font-size: 0.68rem;
        font-weight: 600;
        border-radius: 16px;
        padding: 4px 2px;
    }

    .mobile-bottom-nav-button {
        cursor: pointer;
    }

    .mobile-bottom-nav-item.is-active {
        color: #111827;
        background: #f4f5f7;
    }

    .mobile-bottom-nav-icon {
        width: 18px;
        height: 18px;
        color: currentColor;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-bottom-nav-icon svg {
        width: 100%;
        height: 100%;
        fill: currentColor;
    }

    .modal-shell {
        align-items: flex-start;
        padding: 12px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .modal-card,
    .clean-name-modal-card,
    .rating-modal-card,
    .rating-docs-modal-card,
    .reclame-modal-card,
    .address-modal-card,
    .price-table-modal-card,
    .credit-diagnostic-modal {
        width: min(100%, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        max-height: calc(100dvh - 24px);
        margin: 0 auto;
        padding: 20px 16px 18px;
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 22px;
    }

    .modal-head {
        min-width: 0;
    }

    .modal-head h2,
    .clean-name-modal-head h2 {
        font-size: 1.2rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .modal-head p,
    .clean-name-modal-head p {
        font-size: 0.95rem;
        line-height: 1.45;
        word-break: break-word;
    }
}

@media (max-width: 520px) {
    .dashboard-content-inner {
        padding: 76px 12px 104px;
    }

    .home-topbar h1,
    .team-header h1,
    .clean-name-page-head h1 {
        font-size: 1.45rem;
        line-height: 1.08;
    }

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

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

    .small-primary-button {
        width: 100%;
    }

    .mobile-bottom-nav {
        left: 10px;
        right: 10px;
        border-radius: 20px;
    }

    .clean-name-stat-card {
        padding: 16px;
    }

    .clean-name-stat-card strong {
        font-size: 1.45rem;
        margin-top: 8px;
    }

    .clean-name-page-head p {
        font-size: 0.92rem;
    }

    .modal-card,
    .clean-name-modal-card,
    .rating-modal-card,
    .rating-docs-modal-card,
    .reclame-modal-card,
    .address-modal-card,
    .price-table-modal-card,
    .credit-diagnostic-modal {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        padding: 18px 14px 16px;
        border-radius: 20px;
    }
}
