:root {
    --blue-950: #08245a;
    --blue-900: #083b8f;
    --blue-800: #0649aa;
    --blue-700: #0757c7;
    --blue-600: #0b6de3;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
}

img {
    height: auto;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(14, 165, 233, .32);
    outline-offset: 2px;
}

.is-hidden {
    display: none !important;
}

.brand-mark {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: .9rem;
    background: #fff;
    color: var(--blue-700);
    box-shadow: 0 10px 30px rgba(0, 25, 80, .16);
}

.brand-mark svg {
    width: 1.8rem;
    height: 1.8rem;
}

.brand-mark-blue {
    background: var(--blue-700);
    color: #fff;
}

.brand-mark-small {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: .8rem;
}

.brand-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(2px);
    pointer-events: none;
}

.brand-orb-one {
    top: -12rem;
    right: -10rem;
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle at 35% 35%, rgba(103, 232, 249, .48), rgba(8, 59, 143, .05) 70%);
}

.brand-orb-two {
    bottom: -13rem;
    left: -10rem;
    width: 31rem;
    height: 31rem;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .05);
}

.auth-brand-panel {
    isolation: isolate;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 4rem) clamp(2.25rem, 5vw, 5.5rem) clamp(1.75rem, 3vw, 3rem);
    background: linear-gradient(135deg, #031a42 0%, #05295e 47%, #063c91 100%);
}

.auth-shell,
.auth-form-panel {
    min-height: 100vh;
    min-height: 100dvh;
}

.auth-form-panel {
    padding-top: max(2.5rem, env(safe-area-inset-top));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
    padding-left: max(1.25rem, env(safe-area-inset-left));
    background:
        radial-gradient(circle at 52% 43%, rgba(239, 246, 255, .72), transparent 42%),
        #fff;
}

.auth-brand-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(0, 13, 43, .15), rgba(0, 17, 54, .03) 70%, transparent);
    pointer-events: none;
}

.auth-brand-link {
    width: fit-content;
    font-size: clamp(1.6rem, 2.5vw, 2.7rem);
    font-weight: 780;
    letter-spacing: -.035em;
    line-height: 1;
    text-shadow: 0 4px 18px rgba(0, 10, 38, .22);
}

.auth-brand-symbol {
    display: inline-flex;
    width: clamp(2.65rem, 4vw, 4.25rem);
    height: clamp(3.2rem, 4.8vw, 5rem);
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.auth-brand-symbol svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.auth-brand-symbol-mobile {
    width: 2.15rem;
    height: 2.6rem;
    color: var(--blue-700);
}

.auth-brand-copy {
    width: 100%;
    max-width: 44rem;
    padding: clamp(2.5rem, 6vh, 5.5rem) 0 clamp(1.5rem, 4vh, 3rem);
}

.auth-brand-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.25rem, 3.5vw, 3.75rem);
    font-weight: 790;
    letter-spacing: -.04em;
    line-height: 1.18;
    text-wrap: balance;
    text-shadow: 0 5px 24px rgba(0, 8, 34, .22);
}

.auth-brand-copy h1 span {
    white-space: nowrap;
}

.auth-brand-copy > p {
    max-width: 39rem;
    margin: clamp(1rem, 2.6vh, 1.75rem) 0 0;
    color: #65a9ff;
    font-size: clamp(1rem, 1.65vw, 1.45rem);
    font-weight: 560;
    line-height: 1.45;
}

.auth-benefits {
    width: min(100%, 31rem);
    margin: clamp(1.4rem, 3.5vh, 2.8rem) 0 0;
    padding: 0;
    list-style: none;
}

.auth-benefits li {
    display: flex;
    min-height: clamp(3.8rem, 7vh, 5.4rem);
    align-items: center;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(151, 194, 255, .32);
    color: #fff;
    font-size: clamp(1rem, 1.5vw, 1.32rem);
    font-weight: 650;
    line-height: 1.3;
}

.auth-benefits li:last-child {
    border-bottom: 0;
}

.auth-benefit-check {
    display: inline-flex;
    width: clamp(2.55rem, 3.6vw, 3.35rem);
    height: clamp(2.55rem, 3.6vw, 3.35rem);
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(143, 202, 255, .48);
    border-radius: 50%;
    background: linear-gradient(145deg, #1284ff, #075ceb);
    box-shadow: 0 8px 22px rgba(0, 72, 218, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.auth-benefit-check svg {
    width: 58%;
    height: 58%;
}

.auth-brand-footer {
    margin: 0;
    color: rgba(219, 234, 254, .68);
    font-size: .8rem;
    line-height: 1.4;
}

.auth-form-container {
    max-width: 34rem;
}

.auth-form-title {
    color: #061747;
    font-size: clamp(2rem, 3.2vw, 3rem);
    letter-spacing: -.045em;
    line-height: 1.08;
}

.auth-form-subtitle {
    color: #53658f;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.auth-form-panel .form-label {
    color: #071744;
    font-size: .92rem;
}

.auth-form-panel .form-control {
    height: 3.75rem;
    border-color: #b9c3d9;
    border-radius: .72rem;
    padding-right: .95rem;
    padding-left: .95rem;
    color: #071744;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .025);
}

.auth-form-panel .form-control-with-icon {
    padding-left: 3.35rem;
}

.auth-form-panel .form-control-password {
    padding-right: 3.35rem;
}

.form-control-icon {
    position: absolute;
    top: 50%;
    left: 1.05rem;
    z-index: 1;
    display: inline-flex;
    width: 1.45rem;
    height: 1.45rem;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    color: #68769b;
    pointer-events: none;
}

.form-control-icon svg {
    width: 100%;
    height: 100%;
}

.auth-form-panel .button-large {
    min-height: 3.75rem;
    border-radius: .72rem;
    background: linear-gradient(135deg, #1169ff, #0757ed);
    font-size: 1rem;
    box-shadow: 0 12px 28px rgba(7, 87, 237, .2);
}

.eyebrow {
    margin: 0;
    color: var(--blue-700);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.form-group {
    min-width: 0;
}

.form-label {
    display: block;
    margin: 0 0 .5rem;
    color: var(--slate-700);
    font-size: .875rem;
    font-weight: 700;
}

.form-control-wrap {
    position: relative;
}

.form-control {
    display: block;
    width: 100%;
    height: 3.15rem;
    border: 1px solid var(--slate-300);
    border-radius: .85rem;
    background: #fff;
    padding: .7rem .95rem;
    color: var(--slate-900);
    font-size: 1rem;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.form-control-password {
    padding-right: 3rem;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:hover {
    border-color: #94a3b8;
}

.form-control:focus {
    border-color: var(--blue-600);
    outline: none;
    box-shadow: 0 0 0 4px rgba(11, 109, 227, .12);
}

.form-control-error {
    border-color: #ef4444;
}

.form-control-error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .1);
}

.form-error {
    min-height: 1rem;
    margin: .35rem 0 0;
    color: #c81e1e;
    font-size: .75rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: .25rem;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: .6rem;
    background: transparent;
    color: var(--slate-500);
    cursor: pointer;
}

.password-toggle:hover {
    background: var(--slate-100);
    color: var(--blue-700);
}

.password-toggle svg {
    width: 1.2rem;
    height: 1.2rem;
}

.checkbox-control {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    border-radius: .3rem;
    accent-color: var(--blue-700);
}

.touch-label {
    min-height: 2.75rem;
}

.button-primary,
.button-secondary,
.button-danger {
    display: inline-flex;
    min-height: 2.8rem;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: 1px solid transparent;
    border-radius: .85rem;
    padding: .7rem 1.15rem;
    font-size: .9rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.button-primary {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    color: #fff;
    box-shadow: 0 9px 20px rgba(7, 87, 199, .18);
}

.button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 24px rgba(7, 87, 199, .24);
}

.button-secondary {
    border-color: var(--slate-300);
    background: #fff;
    color: var(--slate-700);
}

.button-secondary:hover {
    background: var(--slate-50);
}

.button-danger {
    background: #dc2626;
    color: #fff;
}

.button-danger:hover {
    background: #b91c1c;
}

.button-large {
    min-height: 3.25rem;
    border-radius: .9rem;
    font-size: .98rem;
}

button[disabled] {
    opacity: .72;
    cursor: wait;
    transform: none !important;
}

.button-spinner {
    width: 1.15rem;
    height: 1.15rem;
    border: 2px solid rgba(255, 255, 255, .38);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

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

.alert {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin: 0 0 1.15rem;
    border: 1px solid;
    border-radius: .9rem;
    padding: .85rem 2.5rem .85rem .9rem;
    font-size: .85rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.alert p {
    margin: 0;
}

.alert-icon {
    display: inline-flex;
    flex: 0 0 auto;
}

.alert-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.alert-close {
    position: absolute;
    top: 50%;
    right: .1rem;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: currentColor;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    opacity: .65;
}

.alert-success { border-color: #a7f3d0; background: #ecfdf5; color: #065f46; }
.alert-error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.alert-warning { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.alert-info { border-color: #bfdbfe; background: #eff6ff; color: #1e40af; }

.app-sidebar {
    width: min(18rem, calc(100vw - 2.5rem));
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-top: max(1.5rem, env(safe-area-inset-top));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    padding-left: max(1.25rem, env(safe-area-inset-left));
    box-shadow: 20px 0 45px rgba(2, 6, 23, .07);
}

.sidebar-backdrop {
    display: none;
}

.app-header {
    height: calc(5rem + env(safe-area-inset-top));
    gap: .75rem;
    padding-top: env(safe-area-inset-top);
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-left: max(1.25rem, env(safe-area-inset-left));
}

.app-main,
.module-main {
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

.module-header > div {
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-left: max(1.25rem, env(safe-area-inset-left));
}

.module-header {
    padding-top: env(safe-area-inset-top);
}

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

.sidebar-backdrop.is-open {
    display: block !important;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: .8rem;
    border-radius: .9rem;
    padding: .75rem .85rem;
    color: #94a3b8;
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease;
}

.sidebar-link svg {
    width: 1.3rem;
    height: 1.3rem;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.sidebar-link-active {
    background: linear-gradient(135deg, rgba(11, 109, 227, .28), rgba(14, 165, 233, .12));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .16);
}

.icon-button,
.icon-button-dark {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: .75rem;
    background: var(--slate-100);
    color: var(--slate-700);
    cursor: pointer;
}

.icon-button:hover { background: var(--slate-200); }
.icon-button-dark { background: rgba(255,255,255,.07); color: #cbd5e1; }
.icon-button-dark:hover { background: rgba(255,255,255,.13); color: #fff; }
.icon-button svg, .icon-button-dark svg { width: 1.25rem; height: 1.25rem; }

.avatar {
    display: inline-flex;
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: .85rem;
    background: linear-gradient(135deg, #dbeafe, #e0f2fe);
    color: var(--blue-800);
    font-size: .8rem;
    font-weight: 850;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .12);
}

.avatar-small {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: .75rem;
}

.dashboard-hero {
    min-height: 13.5rem;
    isolation: isolate;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .12;
    background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(90deg, black, transparent 80%);
}

.hero-balloons {
    position: absolute;
    right: 5%;
    bottom: -22%;
    width: 20rem;
    height: 18rem;
    opacity: .72;
    pointer-events: none;
}

.hero-balloons span {
    position: absolute;
    display: block;
    width: 8rem;
    height: 10rem;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 52% 48% 50% 50%;
    background: linear-gradient(145deg, rgba(255,255,255,.3), rgba(255,255,255,.04));
    transform: rotate(-15deg);
}

.hero-balloons span:nth-child(1) { left: 1rem; top: 3rem; }
.hero-balloons span:nth-child(2) { left: 7rem; top: 0; width: 9rem; height: 11rem; transform: rotate(11deg); }
.hero-balloons span:nth-child(3) { left: 12rem; top: 5.5rem; width: 7rem; height: 9rem; transform: rotate(20deg); }

.module-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: 1.4rem;
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 10px 32px rgba(15, 23, 42, .055);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.module-card h3,
.module-card p,
.module-action {
    overflow-wrap: anywhere;
}

.module-card::after {
    content: "";
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 10rem;
    height: 10rem;
    border-radius: 999px;
    background: var(--blue-50);
    opacity: .55;
    pointer-events: none;
}

.module-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .09);
}

.module-card-locked {
    background: #fbfcfe;
}

.module-card-locked:hover {
    transform: none;
    border-color: var(--slate-200);
    box-shadow: 0 10px 32px rgba(15, 23, 42, .055);
}

.module-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 3.35rem;
    height: 3.35rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: var(--blue-700);
    background: var(--blue-50);
    box-shadow: inset 0 0 0 1px #dbeafe;
}

.module-icon svg {
    width: 1.8rem;
    height: 1.8rem;
}

.module-icon-agendafest { background: #ecfdf5; color: #047857; box-shadow: inset 0 0 0 1px #d1fae5; }
.module-icon-calculafest { background: #f5f3ff; color: #6d28d9; box-shadow: inset 0 0 0 1px #ede9fe; }

.status-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-radius: 999px;
    padding: .35rem .65rem;
    font-size: .7rem;
    font-weight: 750;
}

.status-dot {
    width: .4rem;
    height: .4rem;
    border-radius: 999px;
    background: currentColor;
}

.status-active { background: #ecfdf5; color: #047857; }
.status-locked { background: var(--slate-100); color: var(--slate-600); }

.module-action {
    display: inline-flex;
    width: 100%;
    min-height: 2.85rem;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    border-radius: .85rem;
    background: var(--blue-50);
    padding: .7rem .9rem;
    color: var(--blue-800);
    font-size: .85rem;
    font-weight: 750;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease;
}

.module-action:hover { background: var(--blue-700); color: #fff; }
.module-action svg { width: 1.15rem; height: 1.15rem; }
.module-action-disabled { justify-content: center; background: var(--slate-100); color: var(--slate-500); cursor: not-allowed; }
.module-action-disabled:hover { background: var(--slate-100); color: var(--slate-500); }

.modal.is-open {
    display: flex !important;
}

.modal {
    display: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-top: max(1rem, env(safe-area-inset-top));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    padding-left: max(1rem, env(safe-area-inset-left));
}

.module-page h1,
.module-page h2,
.module-page h3,
.module-page h4,
.module-page p {
    overflow-wrap: anywhere;
}

.modal-panel {
    max-height: calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: modal-in .18s ease-out;
}

@keyframes modal-in {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 767px) {
    .hero-balloons {
        right: -8rem;
        opacity: .32;
    }
}

@media (max-width: 639px) {
    .form-control {
        font-size: 1rem;
    }

    .button-primary,
    .button-secondary,
    .button-danger,
    .module-action {
        min-height: 2.75rem;
    }
}

@media (min-width: 640px) {
    .auth-form-panel {
        padding-right: max(2.5rem, env(safe-area-inset-right));
        padding-left: max(2.5rem, env(safe-area-inset-left));
    }

    .app-header,
    .app-main,
    .module-main,
    .module-header > div {
        padding-right: max(2rem, env(safe-area-inset-right));
        padding-left: max(2rem, env(safe-area-inset-left));
    }
}

@media (min-width: 1024px) {
    .auth-shell {
        grid-template-columns: minmax(0, 1fr) minmax(26rem, 1fr);
    }

    .auth-brand-panel {
        background-image:
            linear-gradient(90deg, rgba(0, 13, 43, .08), transparent 68%),
            url("../images/auth-panel-bg.jpg");
        background-position: center;
        background-size: cover;
    }

    .auth-form-panel {
        padding-right: max(2rem, env(safe-area-inset-right));
        padding-left: max(2rem, env(safe-area-inset-left));
    }

    .app-main {
        padding-right: max(2.5rem, env(safe-area-inset-right));
        padding-left: max(2.5rem, env(safe-area-inset-left));
    }
}

@media (min-width: 1280px) {
    .auth-shell {
        grid-template-columns: minmax(0, 1.16fr) minmax(29rem, .84fr);
    }

    .auth-form-panel {
        padding-right: max(3.5rem, env(safe-area-inset-right));
        padding-left: max(3.5rem, env(safe-area-inset-left));
    }
}

@media (max-width: 359px) {
    .auth-form-panel {
        padding-right: max(1rem, env(safe-area-inset-right));
        padding-left: max(1rem, env(safe-area-inset-left));
    }

    .app-header {
        padding-right: max(1rem, env(safe-area-inset-right));
        padding-left: max(1rem, env(safe-area-inset-left));
    }

    .dashboard-hero,
    .module-card {
        border-radius: 1.15rem;
    }

    .module-card {
        padding: 1.2rem;
    }

    .hero-balloons {
        display: none;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .auth-brand-copy h1 {
        font-size: clamp(1.95rem, 3vw, 2.35rem);
    }

    .auth-brand-copy > p {
        max-width: 29rem;
        font-size: 1rem;
    }

    .auth-benefits li {
        font-size: 1rem;
    }

}

@media (min-width: 1024px) and (max-height: 820px) {
    .auth-brand-panel {
        padding-top: 1.8rem;
        padding-bottom: 1.5rem;
    }

    .auth-brand-copy {
        padding-top: 1.8rem;
        padding-bottom: 1rem;
    }

    .auth-brand-copy h1 {
        font-size: clamp(1.95rem, 3vw, 3rem);
    }

    .auth-brand-copy > p {
        margin-top: .9rem;
        font-size: 1rem;
    }

    .auth-benefits {
        margin-top: 1rem;
    }

    .auth-benefits li {
        min-height: 3.55rem;
        font-size: 1rem;
    }

    .auth-benefit-check {
        width: 2.35rem;
        height: 2.35rem;
    }

}

@media (min-width: 1024px) and (max-height: 650px) {
    .auth-brand-panel {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .auth-brand-footer {
        display: none;
    }

    .auth-brand-copy {
        padding-top: 1.1rem;
        padding-bottom: 0;
    }

    .auth-brand-copy > p {
        max-width: 31rem;
        margin-top: .65rem;
        line-height: 1.35;
    }

    .auth-benefits {
        margin-top: .65rem;
    }

    .auth-benefits li {
        min-height: 3rem;
    }
}

@media (min-width: 1024px) {
    .app-sidebar {
        translate: 0 !important;
        transform: translateX(0) !important;
    }

    .sidebar-backdrop,
    .sidebar-backdrop.is-open {
        display: none !important;
    }
}

@media (hover: none) {
    .module-card:hover,
    .button-primary:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* Dashboard — visual direction based on the supplied Festoar reference. */
.dashboard-page {
    --dashboard-navy: #061544;
    --dashboard-blue: #0646dc;
    --dashboard-muted: #61719e;
    background: #f7f9fd;
    color: var(--dashboard-navy);
}

.dashboard-page .app-shell {
    background:
        radial-gradient(circle at 82% 20%, rgba(217, 230, 255, .2), transparent 31rem),
        #f7f9fd;
}

.dashboard-page .app-sidebar {
    isolation: isolate;
    width: min(19.5rem, calc(100vw - 2rem));
    border-radius: 0 1.15rem 0 0;
    overflow: hidden auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: max(1.95rem, env(safe-area-inset-top)) 1.125rem max(2.65rem, env(safe-area-inset-bottom));
    background:
        radial-gradient(ellipse 145% 58% at 48% 107%, rgba(4, 76, 204, .32), transparent 61%),
        linear-gradient(154deg, #061e5d 0%, #001039 51%, #03174b 100%);
    box-shadow: 16px 0 42px rgba(10, 35, 89, .08);
}

.dashboard-page .app-sidebar::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.dashboard-page .app-sidebar::before,
.dashboard-page .app-sidebar::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    border: 1px solid rgba(27, 99, 224, .32);
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-page .app-sidebar::before {
    bottom: 0;
    width: 37rem;
    height: 25rem;
    transform: translateX(-54%) rotate(4deg);
    background: linear-gradient(180deg, rgba(13, 68, 174, .24), rgba(2, 29, 91, .12) 62%);
}

.dashboard-page .app-sidebar::after {
    bottom: 0;
    width: 30rem;
    height: 19.5rem;
    transform: translateX(-45%) rotate(-5deg);
    border-color: rgba(31, 104, 237, .27);
}

.dashboard-page .app-sidebar > * {
    position: relative;
    z-index: 1;
}

.dashboard-page .sidebar-brand-row {
    padding: 0 .35rem;
}

.dashboard-page .sidebar-brand {
    gap: .9rem;
}

.dashboard-page .brand-mark-small {
    width: 3rem;
    height: 3rem;
    border-radius: .8rem;
    color: #0748df;
    box-shadow: 0 12px 26px rgba(0, 7, 34, .22);
}

.dashboard-page .brand-mark-small svg {
    width: 2rem;
    height: 2rem;
}

.dashboard-page .sidebar-brand-name {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -.018em;
}

.dashboard-page .sidebar-collapse-button {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(83, 131, 229, .18);
    border-radius: .8rem;
    background: rgba(9, 47, 126, .4);
    color: #dbe8ff;
}

.dashboard-page .sidebar-nav {
    margin-top: 3.45rem;
}

.dashboard-page .sidebar-nav-label {
    padding: 0 .65rem;
    color: #92a6d4;
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .08em;
}

.dashboard-page .sidebar-link {
    min-height: 3.7rem;
    gap: 1.15rem;
    margin-top: .75rem;
    border-radius: .9rem;
    padding: .8rem 1.18rem;
    color: #c4d2f0;
    font-size: 1.05rem;
    font-weight: 650;
}

.dashboard-page .sidebar-link svg {
    width: 1.5rem;
    height: 1.5rem;
}

.dashboard-page .sidebar-link-active {
    border: 1px solid rgba(62, 131, 255, .65);
    background: linear-gradient(102deg, #074be2 0%, rgba(24, 68, 170, .7) 100%);
    box-shadow: 0 10px 30px rgba(0, 49, 173, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
    color: #fff;
}

.dashboard-page .sidebar-account {
    min-height: 10.75rem;
    margin-right: .1rem;
    margin-left: .1rem;
    border-color: rgba(66, 118, 220, .3);
    border-radius: 1.15rem;
    padding: 1.35rem 1rem 1rem;
    background: rgba(2, 25, 78, .58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
    backdrop-filter: blur(8px);
}

.dashboard-page .sidebar-account-user {
    gap: .85rem;
}

.dashboard-page .sidebar-account-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: .8rem;
    background: linear-gradient(145deg, #fff, #e9f0ff);
    color: #0746d8;
    font-size: .85rem;
}

.dashboard-page .sidebar-account-name {
    font-size: .9rem;
    line-height: 1.3;
}

.dashboard-page .sidebar-account-email {
    margin-top: .3rem;
    color: #9fb0d8;
    font-size: .75rem;
}

.dashboard-page .sidebar-logout-button {
    min-height: 3.65rem;
    margin-top: 1.5rem;
    border-color: rgba(91, 140, 232, .46);
    border-radius: .85rem;
    background: rgba(2, 22, 70, .3);
    color: #eef4ff;
    font-size: .95rem;
}

.dashboard-page .sidebar-logout-button:hover {
    border-color: rgba(112, 159, 247, .72);
    background: rgba(17, 56, 135, .48);
}

.dashboard-page .sidebar-logout-button svg {
    width: 1.3rem;
    height: 1.3rem;
}

.dashboard-page .app-header {
    height: calc(6.5rem + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    border-color: #e3e9f3;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 1px 0 rgba(18, 47, 104, .02);
}

.dashboard-page .app-header-leading {
    gap: 1.45rem;
}

.dashboard-page .app-header-menu {
    width: 3.55rem;
    height: 3.55rem;
    border: 1px solid #e1e7f0;
    border-radius: .9rem;
    background: #fff;
    color: #40578f;
    box-shadow: 0 7px 22px rgba(19, 50, 103, .08);
}

.dashboard-page .app-header-menu:hover {
    background: #f7f9fd;
}

.dashboard-page .app-header-menu svg {
    width: 1.5rem;
    height: 1.5rem;
}

.dashboard-page .app-header-kicker {
    color: #0746d8;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.005em;
}

.dashboard-page .app-header-subtitle {
    margin-top: .2rem;
    color: #64739d;
    font-size: 1rem;
    line-height: 1.25;
}

.dashboard-page .app-header-user {
    gap: .85rem;
}

.dashboard-page .app-header-user-copy {
    max-width: 15.5rem;
}

.dashboard-page .app-header-user-name {
    color: #071441;
    font-size: 1rem;
    font-weight: 750;
}

.dashboard-page .app-header-user-role {
    margin-top: .22rem;
    color: #61709a;
    font-size: .8rem;
}

.dashboard-page .app-header-avatar {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #edf3ff, #e7eefb);
    color: #0747db;
    font-size: .88rem;
    box-shadow: none;
}

.dashboard-page .app-header-chevron {
    width: 1.35rem;
    height: 1.35rem;
    margin-left: -.5rem;
    color: #36518c;
}

.dashboard-page .app-main {
    padding-top: 2.125rem;
    background: transparent;
}

.dashboard-page .dashboard-shell {
    max-width: none;
}

.dashboard-page .dashboard-hero {
    position: relative;
    min-height: 12.5rem;
    border-radius: 1.25rem;
    padding: 1.15rem 2.5rem;
    background:
        url("../images/dashboard-hero-art.svg") center / 100% 100% no-repeat,
        linear-gradient(118deg, rgba(0, 26, 116, .08), transparent 52%),
        linear-gradient(158deg, #074adc 0%, #073ec5 42%, #052f9f 68%, #2462d6 100%);
    box-shadow: 0 12px 28px rgba(7, 39, 125, .16);
}

.dashboard-page .dashboard-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: linear-gradient(165deg, transparent 0 58%, rgba(0, 26, 117, .1) 79%, transparent 100%);
    pointer-events: none;
}

.dashboard-page .dashboard-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 31%;
    bottom: -20.2rem;
    width: 55rem;
    height: 27rem;
    border: 1px solid rgba(104, 168, 255, .29);
    border-radius: 50%;
    transform: rotate(-3deg);
    pointer-events: none;
}

.dashboard-page .dashboard-hero::after,
.dashboard-page .hero-grid,
.dashboard-page .hero-balloons {
    display: none;
}

.dashboard-page .dashboard-hero-content {
    max-width: 36rem;
}

.dashboard-page .dashboard-hero-badge {
    min-height: 2.25rem;
    border-radius: .8rem;
    padding: .4rem .8rem;
    background: rgba(109, 160, 255, .28);
    color: #fff;
    font-size: .88rem;
    font-weight: 650;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}

.dashboard-page .dashboard-hero-badge svg {
    width: 1.1rem;
    height: 1.1rem;
    color: #5ce0d8;
}

.dashboard-page .dashboard-hero-title {
    margin-top: 1rem;
    color: #fff;
    font-size: 2.6rem;
    font-weight: 780;
    line-height: 1.08;
    letter-spacing: -.038em;
    overflow-wrap: anywhere;
}

.dashboard-page .dashboard-hero-description {
    max-width: 28rem;
    margin-top: .7rem;
    color: #eff4ff;
    font-size: 1rem;
    line-height: 1.55;
}

.dashboard-page .hero-grid {
    z-index: 1;
    inset: 0 0 auto auto;
    width: 6rem;
    height: 7rem;
    opacity: .45;
    background-image: radial-gradient(circle, rgba(213, 231, 255, .9) 1px, transparent 1.15px);
    background-size: .78rem .78rem;
    mask-image: linear-gradient(135deg, transparent 0, #000 25%, #000 70%, transparent 100%);
}

.dashboard-page .hero-balloons {
    inset: 0;
    width: auto;
    height: auto;
    opacity: 1;
    overflow: hidden;
}

.dashboard-page .hero-balloons span {
    position: absolute;
    border-radius: 50%;
    background: transparent;
}

.dashboard-page .hero-balloons span:nth-child(1) {
    top: -31rem;
    right: -8rem;
    left: auto;
    width: 49rem;
    height: 43rem;
    border: 5.5rem solid rgba(96, 153, 255, .095);
    transform: rotate(-15deg);
}

.dashboard-page .hero-balloons span:nth-child(2) {
    top: -23rem;
    right: -2rem;
    left: auto;
    width: 36rem;
    height: 32rem;
    border: 4.8rem solid rgba(104, 165, 255, .11);
    transform: rotate(-17deg);
}

.dashboard-page .hero-balloons span:nth-child(3) {
    right: -8.5rem;
    bottom: -21rem;
    left: auto;
    top: auto;
    width: 55rem;
    height: 28rem;
    border: 1px solid rgba(105, 168, 255, .34);
    background: linear-gradient(180deg, rgba(35, 104, 229, .17), rgba(1, 42, 147, .05));
    transform: rotate(-8deg);
}

.dashboard-page .dashboard-section-heading {
    margin-top: 2.25rem;
}

.dashboard-page .dashboard-eyebrow {
    color: #0746d8;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.25rem;
}

.dashboard-page .dashboard-section-title {
    margin-top: .38rem;
    color: #071441;
    font-size: 1.82rem;
    font-weight: 780;
    line-height: 2.25rem;
    letter-spacing: -.025em;
}

.dashboard-page .dashboard-section-description {
    margin-top: .5rem;
    color: #68769d;
    font-size: 1rem;
    line-height: 1.5rem;
}

.dashboard-page .module-count-badge {
    display: inline-flex;
    min-height: 2.5rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: .9rem;
    padding: .55rem 1.12rem;
    background: #edf3ff;
    color: #0646d9;
    font-size: .88rem;
    font-weight: 750;
}

.dashboard-page .module-grid {
    margin-top: 1.08rem;
    gap: 1.65rem;
}

.dashboard-page .dashboard-section-heading,
.dashboard-page .module-grid {
    margin-right: .45rem;
    margin-left: .45rem;
}

.dashboard-page .module-card {
    display: flex;
    min-height: 20.8rem;
    flex-direction: column;
    border-color: #e2e7f0;
    border-radius: 1.2rem;
    padding: 1.6rem;
    padding-bottom: 1.5rem;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 28px rgba(17, 43, 91, .055);
}

.dashboard-page .module-card::after {
    display: none;
}

.dashboard-page .module-icon {
    width: 4.45rem;
    height: 4.45rem;
    border-radius: .9rem;
}

.dashboard-page .module-icon svg {
    width: 2.55rem;
    height: 2.55rem;
}

.dashboard-page .module-icon-calculadora-helio {
    background: #eef4ff;
    color: #074af0;
    box-shadow: inset 0 0 0 1px #e0eaff;
}

.dashboard-page .module-icon-agendafest {
    background: #e9faf4;
    color: #059669;
    box-shadow: inset 0 0 0 1px #d6f3e8;
}

.dashboard-page .module-icon-calculafest {
    background: #f5f2ff;
    color: #762ae9;
    box-shadow: inset 0 0 0 1px #ece5ff;
}

.dashboard-page .module-card .status-badge {
    min-height: 2.4rem;
    gap: .38rem;
    padding: .52rem .9rem;
    font-size: .86rem;
    font-weight: 700;
}

.dashboard-page .module-card .status-active {
    background: #e7f8f1;
    color: #079669;
}

.dashboard-page .module-card .status-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
}

.dashboard-page .module-card-copy {
    margin-top: 1.65rem;
}

.dashboard-page .module-card-title {
    color: #071441;
    font-size: 1.4rem;
    font-weight: 780;
    line-height: 1.75rem;
    letter-spacing: -.025em;
}

.dashboard-page .module-card-description {
    min-height: 0;
    margin-top: .55rem;
    color: #63739e;
    font-size: 1.05rem;
    line-height: 1.62;
}

.dashboard-page .module-card-footer {
    margin-top: auto;
    padding-top: .8rem;
}

.dashboard-page .module-action {
    min-height: 3.65rem;
    border-radius: .8rem;
    padding: .85rem 1.15rem;
    background: #eef4ff;
    color: #0646db;
    font-size: 1rem;
    font-weight: 750;
}

.dashboard-page .module-action:hover {
    background: #0646db;
    color: #fff;
}

.dashboard-page .module-action svg {
    width: 1.4rem;
    height: 1.4rem;
}

.dashboard-page a:focus-visible,
.dashboard-page button:focus-visible {
    outline: 2px solid #fff;
    box-shadow: 0 0 0 4px #1769e8;
}

@media (min-width: 1024px) {
    .dashboard-page .app-shell {
        padding-left: 19.5rem !important;
    }

    .dashboard-page .app-header {
        padding-right: max(1.25rem, env(safe-area-inset-right));
        padding-left: max(2.05rem, env(safe-area-inset-left));
    }

    .dashboard-page .app-main {
        padding-right: max(1.85rem, env(safe-area-inset-right));
        padding-left: max(2.3rem, env(safe-area-inset-left));
    }
}

@media (max-width: 1023px) {
    .dashboard-page .app-sidebar {
        border-radius: 0 1.15rem 1.15rem 0;
    }

    .dashboard-page .app-header {
        height: calc(5rem + env(safe-area-inset-top));
    }

    .dashboard-page .app-header-menu {
        width: 3rem;
        height: 3rem;
    }

    .dashboard-page .app-main {
        padding-top: 1.75rem;
    }

    .dashboard-page .dashboard-hero {
        min-height: 12.75rem;
    }

    .dashboard-page .dashboard-hero-title {
        font-size: clamp(2.2rem, 5vw, 2.55rem);
    }
}

@media (max-width: 767px) {
    .dashboard-page .hero-balloons {
        right: 0;
        opacity: .58;
    }

    .dashboard-page .module-card {
        min-height: 20rem;
    }
}

@media (max-width: 639px) {
    .dashboard-page .app-header {
        height: calc(4.5rem + env(safe-area-inset-top));
        padding-right: max(1rem, env(safe-area-inset-right));
        padding-left: max(1rem, env(safe-area-inset-left));
    }

    .dashboard-page .app-header-leading {
        gap: .85rem;
    }

    .dashboard-page .app-header-menu {
        width: 2.75rem;
        height: 2.75rem;
        border-radius: .75rem;
    }

    .dashboard-page .app-header-kicker {
        font-size: .82rem;
    }

    .dashboard-page .app-header-subtitle,
    .dashboard-page .app-header-user-copy,
    .dashboard-page .app-header-chevron {
        display: none;
    }

    .dashboard-page .app-header-avatar {
        width: 2.75rem;
        height: 2.75rem;
        border-radius: .85rem;
    }

    .dashboard-page .app-main {
        padding: 1.25rem max(1rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    }

    .dashboard-page .dashboard-hero {
        min-height: 13rem;
        border-radius: 1.1rem;
        padding: 1.1rem;
        background-position: right center, center, center;
        background-size: auto 100%, auto, auto;
    }

    .dashboard-page .dashboard-hero-content {
        max-width: 25rem;
    }

    .dashboard-page .dashboard-hero-badge {
        min-height: 2.15rem;
        font-size: .78rem;
    }

    .dashboard-page .dashboard-hero-title {
        margin-top: 1rem;
        font-size: clamp(1.9rem, 9vw, 2.35rem);
        line-height: 1.08;
    }

    .dashboard-page .dashboard-hero-description {
        margin-top: .7rem;
        font-size: .93rem;
        line-height: 1.5;
    }

    .dashboard-page .hero-grid {
        width: 5rem;
        height: 7rem;
        opacity: .3;
    }

    .dashboard-page .dashboard-section-heading {
        margin-top: 1.75rem;
        align-items: flex-start;
    }

    .dashboard-page .dashboard-section-title {
        font-size: 1.55rem;
        line-height: 2rem;
    }

    .dashboard-page .module-count-badge {
        min-height: 2.25rem;
        padding: .45rem .8rem;
        font-size: .78rem;
    }

    .dashboard-page .module-grid {
        margin-top: 1rem;
        gap: 1rem;
    }

    .dashboard-page .module-card {
        min-height: 19.5rem;
        border-radius: 1rem;
        padding: 1.2rem;
    }

    .dashboard-page .module-icon {
        width: 3.8rem;
        height: 3.8rem;
    }

    .dashboard-page .module-icon svg {
        width: 2.15rem;
        height: 2.15rem;
    }

    .dashboard-page .module-card-copy {
        margin-top: 1.25rem;
    }

    .dashboard-page .module-action {
        min-height: 3.4rem;
    }
}

/* Full-bleed artwork for the three dashboard modules. The original PNG is
   kept lossless and rendered as three exact 724 × 724 sprite frames. */
.dashboard-page .module-card-with-art {
    isolation: isolate;
    min-height: 0;
    aspect-ratio: 1.43 / 1;
    border-color: rgba(255, 255, 255, .82);
    padding: 0;
    background: #071b57;
    box-shadow: 0 16px 34px rgba(16, 36, 82, .16);
}

.dashboard-page .module-card-with-art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 31%, rgba(1, 15, 58, .12) 47%, rgba(1, 12, 45, .93) 100%);
    pointer-events: none;
}

.dashboard-page .module-card-agendafest::before {
    background: linear-gradient(180deg, transparent 31%, rgba(0, 53, 29, .1) 47%, rgba(0, 46, 28, .92) 100%);
}

.dashboard-page .module-card-calculafest::before {
    background: linear-gradient(180deg, transparent 31%, rgba(35, 5, 91, .1) 47%, rgba(31, 4, 76, .93) 100%);
}

.dashboard-page .module-card-with-art .module-card-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
}

.dashboard-page .module-card-with-art .module-card-art {
    position: absolute;
    inset: 0;
    display: block;
    max-width: none;
    background-image: url("../images/dashboard-module-cards.png");
    background-repeat: no-repeat;
    background-position-y: center;
    background-size: 310% auto;
    image-rendering: auto;
}

.dashboard-page .module-card-art-calculadora-helio {
    background-position-x: .8%;
}

.dashboard-page .module-card-art-agendafest {
    background-position-x: 49.8%;
}

.dashboard-page .module-card-art-calculafest {
    background-position-x: 98.9%;
}

.dashboard-page .module-card-with-art:hover .module-card-art {
    transform: none;
}

.dashboard-page .module-card-with-art.module-card-locked .module-card-art {
    filter: saturate(.55);
    opacity: .74;
}

.dashboard-page .module-card-with-art.module-card-locked::before {
    background: linear-gradient(180deg, rgba(11, 20, 42, .17), rgba(5, 13, 35, .95));
}

.dashboard-page .module-card-with-art .status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    min-height: 2rem;
    border: 1px solid rgba(255, 255, 255, .7);
    padding: .38rem .72rem;
    background: rgba(247, 255, 252, .92);
    font-size: .74rem;
    box-shadow: 0 8px 20px rgba(4, 24, 58, .14);
    backdrop-filter: blur(8px);
}

.dashboard-page .module-card-with-art .status-locked {
    background: rgba(248, 250, 252, .92);
}

.dashboard-page .module-card-with-art .module-card-copy {
    position: absolute;
    right: 1.5rem;
    bottom: 4.3rem;
    left: 1.5rem;
    z-index: 2;
    margin: 0;
}

.dashboard-page .module-card-with-art .module-card-title {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.45rem;
    text-shadow: 0 2px 12px rgba(1, 8, 30, .28);
}

.dashboard-page .module-card-with-art .module-card-description {
    display: -webkit-box;
    min-height: 0;
    margin-top: .4rem;
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    font-size: .8rem;
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(1, 8, 30, .24);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.dashboard-page .module-card-with-art .module-card-footer {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    left: .75rem;
    z-index: 2;
    margin: 0;
    padding: 0;
}

.dashboard-page .module-card-with-art .module-action {
    min-height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, .58);
    background: rgba(255, 255, 255, .91);
    color: #0646db;
    box-shadow: 0 8px 24px rgba(1, 14, 47, .15);
    backdrop-filter: blur(10px);
}

.dashboard-page .module-card-agendafest .module-action {
    color: #087a4b;
}

.dashboard-page .module-card-calculafest .module-action {
    color: #6d24d8;
}

.dashboard-page .module-card-calculadora-helio .module-action:hover {
    border-color: #0754e8;
    background: #0754e8;
    color: #fff;
}

.dashboard-page .module-card-agendafest .module-action:hover {
    border-color: #07965d;
    background: #07965d;
    color: #fff;
}

.dashboard-page .module-card-calculafest .module-action:hover {
    border-color: #7426df;
    background: #7426df;
    color: #fff;
}

@media (max-width: 419px) {
    .dashboard-page .module-card-with-art {
        aspect-ratio: 1.25 / 1;
    }

    .dashboard-page .module-card-with-art .module-card-copy {
        right: 1.2rem;
        bottom: 4.3rem;
        left: 1.2rem;
    }

    .dashboard-page .module-card-with-art .module-card-title {
        font-size: 1.12rem;
    }

    .dashboard-page .module-card-with-art .module-card-description {
        font-size: .78rem;
    }
}

.dashboard-page .sidebar-modules-label {
    margin-top: 1.45rem;
}

.dashboard-page .sidebar-module-list {
    display: grid;
    gap: .42rem;
    margin-top: .65rem;
}

.dashboard-page .sidebar-module-link {
    display: flex;
    min-height: 2.85rem;
    align-items: center;
    gap: .75rem;
    border: 1px solid rgba(74, 119, 211, .2);
    border-radius: .78rem;
    padding: .48rem .7rem;
    background: rgba(5, 32, 91, .52);
    color: #d2def7;
    font-size: .88rem;
    font-weight: 650;
    text-decoration: none;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}

.dashboard-page .sidebar-module-link-calculadora-helio {
    border-color: rgba(49, 111, 238, .24);
    background: linear-gradient(90deg, rgba(13, 71, 183, .28), rgba(4, 31, 89, .48));
}

.dashboard-page .sidebar-module-link-agendafest {
    border-color: rgba(19, 157, 113, .2);
    background: linear-gradient(90deg, rgba(4, 112, 79, .2), rgba(4, 31, 89, .48));
}

.dashboard-page .sidebar-module-link-calculafest {
    border-color: rgba(131, 77, 229, .22);
    background: linear-gradient(90deg, rgba(92, 42, 172, .22), rgba(4, 31, 89, .48));
}

.dashboard-page a.sidebar-module-link:hover {
    border-color: rgba(87, 139, 240, .25);
    background: rgba(21, 67, 158, .38);
    color: #fff;
    transform: translateX(2px);
}

.dashboard-page .sidebar-module-icon {
    display: inline-flex;
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: .58rem;
    background: rgba(30, 92, 216, .24);
    color: #77a8ff;
}

.dashboard-page .sidebar-module-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.dashboard-page .sidebar-module-link-agendafest .sidebar-module-icon {
    background: rgba(5, 150, 105, .18);
    color: #5ee0b0;
}

.dashboard-page .sidebar-module-link-calculafest .sidebar-module-icon {
    background: rgba(126, 58, 237, .2);
    color: #b794ff;
}

.dashboard-page .sidebar-module-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-page .sidebar-module-link-disabled {
    cursor: not-allowed;
    opacity: .5;
}

/* Integrated module workspace */
.dashboard-page a.sidebar-module-link.sidebar-module-link-active {
    border-color: rgba(92, 148, 255, .78);
    background: linear-gradient(102deg, rgba(7, 75, 226, .92), rgba(20, 61, 158, .82));
    color: #fff;
    box-shadow: 0 9px 24px rgba(0, 31, 110, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.dashboard-page a.sidebar-module-link-agendafest.sidebar-module-link-active {
    border-color: rgba(51, 211, 153, .62);
    background: linear-gradient(102deg, rgba(4, 128, 88, .85), rgba(3, 63, 90, .76));
}

.dashboard-page a.sidebar-module-link-calculafest.sidebar-module-link-active {
    border-color: rgba(167, 119, 255, .67);
    background: linear-gradient(102deg, rgba(112, 44, 207, .86), rgba(44, 35, 126, .78));
}

.dashboard-page a.sidebar-module-link.sidebar-module-link-active:hover {
    color: #fff;
    transform: translateX(2px);
    filter: brightness(1.05);
}

.dashboard-page.module-page .module-app-main {
    min-width: 0;
}

.dashboard-page.module-page .module-workspace {
    --module-accent: #0b5ae8;
    --module-accent-dark: #073cb4;
    --module-accent-rgb: 11, 90, 232;
    --module-soft: #edf4ff;
    --module-soft-border: #dce8ff;
    --module-hero-start: #0637b8;
    --module-hero-middle: #0757dd;
    --module-hero-end: #2673e8;
    width: 100%;
    max-width: 94rem;
    margin: 0 auto;
}

.dashboard-page.module-page .module-workspace-green {
    --module-accent: #079669;
    --module-accent-dark: #047857;
    --module-accent-rgb: 7, 150, 105;
    --module-soft: #eafaf4;
    --module-soft-border: #d1f3e6;
    --module-hero-start: #036a4a;
    --module-hero-middle: #079669;
    --module-hero-end: #25b75f;
}

.dashboard-page.module-page .module-workspace-purple {
    --module-accent: #762ae9;
    --module-accent-dark: #5c1fc0;
    --module-accent-rgb: 118, 42, 233;
    --module-soft: #f5f1ff;
    --module-soft-border: #e9e0ff;
    --module-hero-start: #42149b;
    --module-hero-middle: #6820ce;
    --module-hero-end: #9633ed;
}

.dashboard-page.module-page .module-workspace-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 13rem;
    overflow: hidden;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 1.25rem;
    padding: 2rem clamp(1.75rem, 3.2vw, 3.25rem);
    background:
        radial-gradient(circle at 74% -20%, rgba(255, 255, 255, .22), transparent 32%),
        linear-gradient(125deg, var(--module-hero-start), var(--module-hero-middle) 58%, var(--module-hero-end));
    box-shadow: 0 13px 32px rgba(var(--module-accent-rgb), .2);
}

.dashboard-page.module-page .module-workspace-hero::before,
.dashboard-page.module-page .module-workspace-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-page.module-page .module-workspace-hero::before {
    right: -7rem;
    bottom: -14rem;
    width: min(52rem, 62vw);
    height: 25rem;
    transform: rotate(-9deg);
    background: linear-gradient(160deg, rgba(255, 255, 255, .09), transparent 62%);
}

.dashboard-page.module-page .module-workspace-hero::after {
    right: 10%;
    bottom: -20rem;
    width: min(59rem, 68vw);
    height: 27rem;
    opacity: .65;
}

.dashboard-page.module-page .module-workspace-hero-art {
    position: absolute;
    z-index: -1;
    inset: 0 0 auto auto;
    width: 12rem;
    height: 9rem;
    opacity: .36;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .82) 1px, transparent 1.2px);
    background-size: .75rem .75rem;
    -webkit-mask-image: linear-gradient(135deg, transparent 4%, #000 34%, #000 72%, transparent 100%);
    mask-image: linear-gradient(135deg, transparent 4%, #000 34%, #000 72%, transparent 100%);
    pointer-events: none;
}

.dashboard-page.module-page .module-workspace-hero-copy {
    position: relative;
    z-index: 1;
    width: min(100%, 42rem);
    padding-right: 7rem;
}

.dashboard-page.module-page .module-access-badge {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    gap: .48rem;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: .78rem;
    padding: .4rem .78rem;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.dashboard-page.module-page .module-access-badge svg {
    width: 1.12rem;
    height: 1.12rem;
    flex: 0 0 auto;
    color: #8ef2d0;
}

.dashboard-page.module-page .module-workspace-hero h1 {
    margin: .9rem 0 0;
    color: #fff;
    font-size: clamp(2.15rem, 3.5vw, 2.8rem);
    font-weight: 790;
    letter-spacing: -.04em;
    line-height: 1.08;
    text-wrap: balance;
}

.dashboard-page.module-page .module-workspace-hero p {
    max-width: 36rem;
    margin: .65rem 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: 1rem;
    line-height: 1.55;
}

.dashboard-page.module-page .module-workspace-hero-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: clamp(2rem, 5vw, 5rem);
    display: inline-flex;
    width: clamp(5.2rem, 7vw, 6.7rem);
    height: clamp(5.2rem, 7vw, 6.7rem);
    transform: translateY(-50%) rotate(2deg);
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08));
    color: #fff;
    box-shadow: 0 18px 38px rgba(0, 24, 75, .22), inset 0 1px 0 rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px);
}

.dashboard-page.module-page .module-workspace-hero-icon svg {
    width: 55%;
    height: 55%;
}

.dashboard-page.module-page .module-workspace-panel {
    margin-top: 1.5rem;
    border: 1px solid #e1e7f1;
    border-radius: 1.25rem;
    padding: clamp(1.35rem, 2.6vw, 2rem);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 34px rgba(20, 46, 92, .06);
}

.dashboard-page.module-page .module-workspace-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.dashboard-page.module-page .module-workspace-eyebrow {
    margin: 0;
    color: var(--module-accent);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .055em;
    line-height: 1.25;
    text-transform: uppercase;
}

.dashboard-page.module-page .module-workspace-heading h2 {
    margin: .38rem 0 0;
    color: var(--dashboard-navy);
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 780;
    letter-spacing: -.028em;
    line-height: 1.2;
}

.dashboard-page.module-page .module-workspace-heading p:not(.module-workspace-eyebrow) {
    max-width: 46rem;
    margin: .5rem 0 0;
    color: var(--dashboard-muted);
    font-size: .95rem;
    line-height: 1.55;
}

.dashboard-page.module-page .module-connected-badge {
    display: inline-flex;
    min-height: 2.35rem;
    flex: 0 0 auto;
    align-items: center;
    gap: .42rem;
    border-radius: 999px;
    padding: .5rem .82rem;
    background: #e8f8f1;
    color: #078c63;
    font-size: .78rem;
    font-weight: 750;
}

.dashboard-page.module-page .module-connected-badge svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.dashboard-page.module-page .module-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.dashboard-page.module-page .module-feature-card {
    min-width: 0;
    border: 1px solid var(--module-soft-border);
    border-radius: 1rem;
    padding: 1.2rem;
    background: linear-gradient(145deg, #fff, var(--module-soft));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.dashboard-page.module-page .module-feature-icon {
    display: inline-flex;
    width: 2.65rem;
    height: 2.65rem;
    align-items: center;
    justify-content: center;
    border-radius: .8rem;
    background: rgba(var(--module-accent-rgb), .11);
    color: var(--module-accent);
    box-shadow: inset 0 0 0 1px rgba(var(--module-accent-rgb), .08);
}

.dashboard-page.module-page .module-feature-icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.dashboard-page.module-page .module-feature-card h3 {
    margin: .9rem 0 0;
    color: var(--dashboard-navy);
    font-size: 1rem;
    font-weight: 760;
    line-height: 1.35;
}

.dashboard-page.module-page .module-feature-card p {
    margin: .42rem 0 0;
    color: var(--dashboard-muted);
    font-size: .85rem;
    line-height: 1.55;
}

.dashboard-page.module-page .module-workspace-note {
    display: flex;
    min-height: 5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.25rem;
    border: 1px solid #e5eaf2;
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    background: #f8faff;
}

.dashboard-page.module-page .module-workspace-note strong {
    color: var(--dashboard-navy);
    font-size: .9rem;
}

.dashboard-page.module-page .module-workspace-note p {
    margin: .25rem 0 0;
    color: var(--dashboard-muted);
    font-size: .82rem;
    line-height: 1.45;
}

.dashboard-page.module-page .module-dashboard-link {
    display: inline-flex;
    min-height: 2.7rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: 1px solid var(--module-soft-border);
    border-radius: .8rem;
    padding: .62rem .9rem;
    background: var(--module-soft);
    color: var(--module-accent-dark);
    font-size: .82rem;
    font-weight: 750;
    text-decoration: none;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}

.dashboard-page.module-page .module-dashboard-link:hover {
    border-color: var(--module-accent);
    background: var(--module-accent);
    color: #fff;
    transform: translateX(2px);
}

.dashboard-page.module-page .module-dashboard-link svg {
    width: 1.08rem;
    height: 1.08rem;
}

@media (max-width: 1199px) {
    .dashboard-page.module-page .module-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .dashboard-page.module-page .module-workspace-hero-copy {
        padding-right: 5rem;
    }

    .dashboard-page.module-page .module-workspace-hero-icon {
        right: 1.5rem;
        width: 4.5rem;
        height: 4.5rem;
        border-radius: 1.15rem;
        opacity: .82;
    }

    .dashboard-page.module-page .module-workspace-heading,
    .dashboard-page.module-page .module-workspace-note {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-page.module-page .module-connected-badge {
        align-self: flex-start;
    }

    .dashboard-page.module-page .module-dashboard-link {
        width: 100%;
    }
}

@media (max-width: 639px) {
    .dashboard-page.module-page .module-workspace-hero {
        min-height: 12rem;
        border-radius: 1.1rem;
        padding: 1.35rem;
    }

    .dashboard-page.module-page .module-workspace-hero-copy {
        padding-right: 0;
    }

    .dashboard-page.module-page .module-workspace-hero h1 {
        max-width: calc(100% - 3.6rem);
        font-size: clamp(1.85rem, 9vw, 2.25rem);
    }

    .dashboard-page.module-page .module-workspace-hero p {
        max-width: calc(100% - 2rem);
        font-size: .9rem;
        line-height: 1.48;
    }

    .dashboard-page.module-page .module-workspace-hero-icon {
        top: 1.25rem;
        right: 1.25rem;
        width: 3.2rem;
        height: 3.2rem;
        transform: none;
        border-radius: .9rem;
        opacity: .62;
    }

    .dashboard-page.module-page .module-workspace-panel {
        margin-top: 1rem;
        border-radius: 1.1rem;
        padding: 1.1rem;
    }

    .dashboard-page.module-page .module-feature-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: .8rem;
        margin-top: 1.15rem;
    }

    .dashboard-page.module-page .module-feature-card {
        padding: 1rem;
    }

    .dashboard-page.module-page .module-workspace-note {
        gap: .85rem;
        margin-top: 1rem;
        padding: 1rem;
    }
}
