:root {
    color-scheme: dark;
    --background: #050a08;
    --surface: rgba(13, 24, 19, 0.92);
    --surface-strong: #111e18;
    --border: rgba(151, 179, 163, 0.14);
    --border-active: rgba(72, 219, 143, 0.6);
    --text: #f4f8f5;
    --text-soft: #9eada5;
    --green: #47df91;
    --green-strong: #2ecf7c;
    --green-dark: #123824;
    --error: #ff8c8c;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--background);
}

body {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background:
        radial-gradient(circle at 50% -10%, rgba(41, 128, 80, 0.18), transparent 40%),
        linear-gradient(160deg, #07110d 0%, var(--background) 58%, #040706 100%);
    color: var(--text);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.logout-form {
    margin: 0;
}

.login-button.is-loading span {
    opacity: 0.78;
}

.login-button.is-loading svg {
    animation: spin 0.8s linear infinite;
}

.app-shell {
    min-height: 100vh;
    min-height: 100svh;
}

.loading-state,
.error-state {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    color: var(--text-soft);
    font-size: 0.875rem;
}

.loading-state__spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.login-page {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 24px 18px;
}

.login-page::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 72%);
    content: "";
}

.login-page__glow {
    position: absolute;
    z-index: -1;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(34, 180, 102, 0.12);
    filter: blur(90px);
    pointer-events: none;
}

.login-page__glow--top {
    top: -230px;
    right: -170px;
}

.login-page__glow--bottom {
    bottom: -250px;
    left: -190px;
}

.login-card {
    width: min(100%, 460px);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(155deg, rgba(18, 32, 25, 0.96), rgba(9, 17, 13, 0.96));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.login-card__header {
    padding: 34px 26px 27px;
    text-align: center;
}

.brand-mark {
    width: clamp(92px, 28vw, 112px);
    aspect-ratio: 239 / 118;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.eyebrow {
    margin-bottom: 9px;
    color: var(--green);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.login-card h1,
.login-card h2,
.login-card p {
    margin-top: 0;
}

.login-card h1 {
    margin-bottom: 4px;
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.1;
    letter-spacing: -0.055em;
}

.login-card__subtitle {
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 500;
}

.login-card__divider {
    width: calc(100% - 52px);
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.login-card__content {
    padding: 28px 26px 26px;
}

.login-card__content h2 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.login-card__content > p {
    max-width: 350px;
    margin-bottom: 25px;
    color: #e0e9e3;
    font-size: 0.86rem;
    line-height: 1.65;
}

.field-group {
    display: flex;
    flex-direction: column;
}

.field-group label {
    margin-bottom: 9px;
    color: #dce6e0;
    font-size: 0.79rem;
    font-weight: 700;
}

.email-field {
    position: relative;
}

.email-field svg {
    position: absolute;
    top: 50%;
    left: 17px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    fill: none;
    stroke: #778a7f;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
    transition: stroke 180ms ease;
}

.email-field input {
    width: 100%;
    min-height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 15px;
    outline: none;
    background: rgba(3, 8, 6, 0.58);
    color: var(--text);
    padding: 0 16px 0 49px;
    font-size: 0.92rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.email-field input::placeholder {
    color: #65746c;
}

.email-field input:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.email-field input:focus {
    border-color: var(--border-active);
    background: rgba(6, 14, 10, 0.85);
    box-shadow: 0 0 0 4px rgba(71, 223, 145, 0.08);
}

.email-field:focus-within svg {
    stroke: var(--green);
}

.email-field input[aria-invalid="true"] {
    border-color: rgba(255, 140, 140, 0.65);
    box-shadow: 0 0 0 4px rgba(255, 140, 140, 0.07);
}

.field-hint,
.field-error {
    margin: 8px 2px 0;
    font-size: 0.68rem;
    line-height: 1.45;
}

.field-hint {
    color: #f4f8f5;
}

.field-error {
    display: none;
    color: var(--error);
}

.field-error:not(:empty) {
    display: block;
}

.login-button {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(110deg, #78f2b5 0%, #3ddd8b 48%, #20bd69 100%);
    box-shadow:
        0 16px 36px rgba(25, 207, 111, 0.3),
        0 0 30px rgba(48, 225, 135, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
    color: #020d07;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.login-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.login-button:hover {
    filter: brightness(1.06);
    box-shadow:
        0 19px 42px rgba(25, 207, 111, 0.38),
        0 0 42px rgba(48, 225, 135, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.48);
    transform: translateY(-1px);
}

.login-button:hover svg {
    transform: translateX(3px);
}

.login-button:active {
    transform: translateY(1px);
}

.login-button:focus-visible {
    outline: 3px solid rgba(71, 223, 145, 0.35);
    outline-offset: 3px;
}

.login-card__footer {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.018);
    padding: 15px 20px;
    color: #ffffff;
    font-size: 0.66rem;
    text-align: center;
}

.login-card__footer svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-copy {
    margin: 20px 0 0;
    color: #68766e;
    font-size: 0.72rem;
    text-align: center;
}

.support-copy span {
    color: #9ccbb1;
    font-weight: 700;
}

@media (min-width: 640px) {
    .login-page {
        padding: 40px 24px;
    }

    .login-card {
        width: min(calc(100% / 1.3), 460px);
        zoom: 1.3;
    }

    .support-copy {
        zoom: 1.3;
    }

    .login-card__header {
        padding: 39px 36px 31px;
    }

    .login-card__divider {
        width: calc(100% - 72px);
    }

    .login-card__content {
        padding: 32px 36px 34px;
    }

    .login-page__glow {
        width: 520px;
        height: 520px;
    }
}

@media (max-height: 720px) {
    .login-page {
        justify-content: flex-start;
    }
}

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

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

/* Área interna: lista de encontros */

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

.dashboard-page {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 12%, rgba(34, 180, 102, 0.1), transparent 24rem),
        radial-gradient(circle at 90% 38%, rgba(24, 128, 77, 0.08), transparent 28rem),
        var(--background);
}

.dashboard-page::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent 62%);
    content: "";
}

.dashboard-page__glow {
    position: absolute;
    z-index: -1;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(30, 190, 104, 0.08);
    filter: blur(100px);
    pointer-events: none;
}

.dashboard-page__glow--left {
    top: 120px;
    left: -260px;
}

.dashboard-page__glow--right {
    top: 420px;
    right: -280px;
}

.topbar {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgba(5, 12, 9, 0.9);
    backdrop-filter: blur(20px);
}

.topbar__inner {
    width: min(100%, 1280px);
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 18px;
}

.topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.topbar__brand-mark {
    width: clamp(48px, 12vw, 58px);
    aspect-ratio: 239 / 118;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.topbar__brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.mobile-menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    cursor: pointer;
}

.mobile-menu-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.main-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 16, 12, 0.98);
    padding: 14px 18px 18px;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.32);
}

.main-navigation.is-open {
    display: flex;
}

.main-navigation__link {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 11px;
    padding: 13px 12px;
    color: #becbc3;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease;
}

.main-navigation__link:hover,
.main-navigation__link.is-active {
    background: rgba(71, 223, 145, 0.08);
    color: var(--text);
}

.main-navigation__link.is-active {
    color: var(--green);
}

.main-navigation__link--external svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.user-menu {
    position: relative;
    margin-top: 7px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.user-menu__button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(71, 223, 145, 0.24);
    border-radius: 14px;
    background: rgba(71, 223, 145, 0.08);
    color: var(--green);
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease;
}

.user-menu__button:hover,
.user-menu__button[aria-expanded="true"] {
    border-color: rgba(71, 223, 145, 0.5);
    background: rgba(71, 223, 145, 0.14);
}

.user-menu__button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.user-menu__dropdown {
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #0d1913;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
}

.user-menu__identity {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px;
}

.user-menu__identity span {
    color: var(--text-soft);
    font-size: 0.65rem;
}

.user-menu__identity strong {
    color: var(--text);
    font-size: 0.76rem;
    font-weight: 700;
}

.user-menu__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.user-menu__logout {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 0;
    background: transparent;
    padding: 13px 16px;
    color: #ffaaaa;
    cursor: pointer;
    font-size: 0.74rem;
    font-weight: 700;
    text-align: left;
}

.user-menu__logout:hover {
    background: rgba(255, 120, 120, 0.07);
}

.user-menu__logout svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-main {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 44px 18px 72px;
}

.content-heading {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.content-heading__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--green);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.content-heading h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 9vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.content-heading p {
    max-width: 660px;
    margin: 0;
    color: #d8e2dc;
    font-size: 0.88rem;
    line-height: 1.7;
}

.content-heading__count {
    width: fit-content;
    display: flex;
    align-items: baseline;
    gap: 8px;
    border: 1px solid rgba(71, 223, 145, 0.15);
    border-radius: 14px;
    background: rgba(71, 223, 145, 0.055);
    padding: 11px 15px;
    color: var(--text-soft);
}

.content-heading__count strong {
    color: var(--green);
    font-size: 1.25rem;
}

.content-heading__count span {
    font-size: 0.72rem;
    font-weight: 700;
}

.meetings-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(155deg, rgba(16, 29, 23, 0.96), rgba(8, 16, 12, 0.96));
    box-shadow: 0 28px 76px rgba(0, 0, 0, 0.3);
}

.meetings-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 21px 19px;
}

.meetings-card__header h2 {
    margin: 0 0 5px;
    font-size: 1.28rem;
    letter-spacing: -0.02em;
}

.meetings-card__header p {
    margin: 0;
    color: #d5dfd9;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.meetings-table thead {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    background: rgba(255, 255, 255, 0.018);
}

.meetings-table tbody,
.meetings-table tr,
.meetings-table td {
    display: block;
}

.meetings-table tr {
    position: relative;
    padding: 20px 19px;
}

.meetings-table thead tr {
    display: flex;
    justify-content: flex-end;
    padding: 10px 19px;
}

.meetings-table thead th {
    display: none;
}

.meetings-table thead .meetings-table__sort-heading {
    display: block;
}

.date-sort-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    padding: 7px 8px;
    color: #d5e0d9;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease;
}

.date-sort-button:hover,
.date-sort-button:focus-visible {
    outline: none;
    background: rgba(71, 223, 145, 0.09);
    color: var(--green);
}

.date-sort-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(180deg);
    transition: transform 180ms ease;
}

.date-sort-button.is-ascending svg {
    transform: rotate(0deg);
}

.meeting-row {
    cursor: pointer;
    outline: none;
    transition: background 180ms ease, box-shadow 180ms ease;
}

.meeting-row:hover,
.meeting-row:focus-visible,
.meeting-row.is-activated {
    background: rgba(71, 223, 145, 0.055);
}

.meeting-row:focus-visible {
    box-shadow: inset 4px 0 0 var(--green);
}

.meetings-table tr + tr {
    border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.meetings-table td {
    padding: 0;
}

.meeting-title {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding-right: 40px;
}

.meeting-title__icon {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(71, 223, 145, 0.15);
    border-radius: 13px;
    background: rgba(71, 223, 145, 0.065);
    color: var(--green);
}

.meeting-title__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.meeting-title > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.meeting-title strong {
    color: var(--text);
    font-size: 1.03rem;
    line-height: 1.45;
}

.meeting-title__new {
    border-radius: 999px;
    background: rgba(71, 223, 145, 0.1);
    padding: 4px 7px;
    color: var(--green);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.meetings-table__date {
    margin: 13px 0 15px 55px;
    color: #c9d5ce;
    font-size: 0.94rem;
    font-weight: 600;
}

.meetings-table__date::before {
    color: #74827a;
    content: attr(data-label) ": ";
    font-weight: 500;
}

.meeting-row__indicator {
    position: absolute;
    top: 28px;
    right: 21px;
    color: #80a690;
}

.meeting-row__indicator svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: color 180ms ease, transform 180ms ease;
}

.meeting-row:hover .meeting-row__indicator svg,
.meeting-row:focus-visible .meeting-row__indicator svg {
    color: var(--green);
    transform: translateX(4px);
}

.dashboard-footer {
    border-top: 1px solid var(--border);
    background: rgba(5, 11, 8, 0.88);
}

.dashboard-footer__inner {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 34px 18px 24px;
}

.dashboard-footer__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.dashboard-footer__brand {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.dashboard-footer__navigation {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.dashboard-footer__navigation a {
    color: #aebdb4;
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
}

.dashboard-footer__navigation a:hover {
    color: var(--green);
}

.footer-logout-button {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    padding: 0 15px;
    color: #f3f7f4;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-logout-button:hover {
    border-color: rgba(255, 140, 140, 0.3);
    background: rgba(255, 120, 120, 0.06);
    color: #ffb3b3;
}

.footer-logout-button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
    padding-top: 20px;
    color: #b8c5bd;
    font-size: 0.82rem;
    line-height: 1.5;
}

@media (min-width: 760px) {
    .topbar__inner {
        padding: 0 28px;
    }

    .dashboard-main {
        padding: 58px 28px 94px;
    }

    .content-heading {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 38px;
    }

    .content-heading__count {
        margin-bottom: 4px;
    }

    .meetings-card__header {
        align-items: center;
        padding: 24px 28px;
    }

    .meetings-table thead {
        display: table-header-group;
        border: 0;
        background: transparent;
    }

    .meetings-table tbody {
        display: table-row-group;
    }

    .meetings-table tr {
        display: table-row;
        padding: 0;
    }

    .meetings-table thead tr {
        display: table-row;
        padding: 0;
    }

    .meetings-table thead th,
    .meetings-table thead .meetings-table__sort-heading {
        display: table-cell;
    }

    .meetings-table th,
    .meetings-table td {
        display: table-cell;
        padding: 17px 28px;
        text-align: left;
        vertical-align: middle;
    }

    .meetings-table th {
        border-bottom: 1px solid rgba(255, 255, 255, 0.065);
        background: rgba(255, 255, 255, 0.018);
        color: #85938b;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.09em;
        text-transform: uppercase;
    }

    .date-sort-button {
        margin: -7px -8px;
        font-size: inherit;
    }

    .meetings-table tr + tr {
        border-top: 1px solid rgba(255, 255, 255, 0.055);
    }

    .meetings-table tbody tr {
        transition: background 180ms ease;
    }

    .meetings-table tbody tr:hover {
        background: rgba(71, 223, 145, 0.026);
    }

    .meetings-table th:nth-child(2),
    .meetings-table td:nth-child(2) {
        width: 150px;
    }

    .meetings-table th:last-child,
    .meetings-table td:last-child {
        width: 76px;
    }

    .meeting-title {
        align-items: center;
        padding-right: 0;
    }

    .meeting-title > div {
        flex-direction: row;
        align-items: center;
    }

    .meetings-table__date {
        margin: 0;
    }

    .meetings-table__date::before {
        display: none;
    }

    .meeting-row__indicator {
        position: static;
        color: #769886;
        text-align: right;
    }

    .dashboard-footer__inner {
        padding: 42px 28px 26px;
    }

    .dashboard-footer__top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .dashboard-footer__navigation {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 20px;
    }

    .dashboard-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1060px) {
    .topbar {
        position: sticky;
        top: 0;
    }

    .topbar__inner {
        min-height: 82px;
    }

    .mobile-menu-button {
        display: none;
    }

    .main-navigation,
    .main-navigation.is-open {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 4px;
        border: 0;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .main-navigation__link {
        padding: 11px 12px;
        font-size: 0.95rem;
    }

    .user-menu {
        margin: 0 0 0 8px;
        padding: 0 0 0 13px;
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .user-menu__dropdown {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        width: 245px;
        margin: 0;
    }

    .content-heading__eyebrow {
        font-size: 0.76rem;
    }

    .content-heading p {
        font-size: 1rem;
    }

    .meetings-card__header h2 {
        font-size: 1.35rem;
    }

    .meetings-card__header p {
        font-size: 0.92rem;
    }

    .meetings-table th {
        font-size: 0.8rem;
    }

    .meeting-title strong {
        font-size: 1.05rem;
    }

    .meetings-table__date {
        font-size: 0.98rem;
    }

    .dashboard-footer__brand {
        font-size: 1.12rem;
    }

    .dashboard-footer__navigation a {
        font-size: 0.94rem;
    }

    .footer-logout-button {
        font-size: 0.9rem;
    }

    .dashboard-footer__bottom {
        font-size: 0.82rem;
    }
}

/* Área interna: lista de aulas */

.lesson-search-panel {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.012);
    padding: 21px 19px 23px;
}

.lesson-filter-status[hidden],
.lessons-empty-state[hidden],
#lessons-table-wrapper[hidden],
.lesson-row[hidden] {
    display: none !important;
}

.lesson-search-panel > label {
    display: block;
    margin-bottom: 10px;
    color: #eef5f0;
    font-size: 0.92rem;
    font-weight: 800;
}

.lesson-search-field {
    position: relative;
}

.lesson-search-field > svg {
    position: absolute;
    top: 50%;
    left: 17px;
    width: 21px;
    height: 21px;
    transform: translateY(-50%);
    fill: none;
    stroke: #91a299;
    stroke-width: 1.7;
    stroke-linecap: round;
    pointer-events: none;
    transition: stroke 180ms ease;
}

.lesson-search-field input {
    width: 100%;
    min-height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 15px;
    outline: none;
    background: rgba(3, 9, 6, 0.62);
    padding: 0 18px 0 51px;
    color: var(--text);
    font-size: 1rem;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.lesson-search-field input::placeholder {
    color: #829188;
}

.lesson-search-field input:focus {
    border-color: var(--border-active);
    background: rgba(5, 14, 9, 0.9);
    box-shadow: 0 0 0 4px rgba(71, 223, 145, 0.08);
}

.lesson-search-field:focus-within > svg {
    stroke: var(--green);
}

.lesson-filter-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    border: 1px solid rgba(71, 223, 145, 0.38);
    border-radius: 15px;
    background: linear-gradient(110deg, rgba(71, 223, 145, 0.16), rgba(36, 148, 87, 0.08));
    box-shadow: 0 0 28px rgba(40, 202, 117, 0.08);
    padding: 14px;
}

.lesson-filter-status__icon {
    width: 38px;
    height: 38px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 11px;
    background: rgba(71, 223, 145, 0.13);
    color: var(--green);
}

.lesson-filter-status__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lesson-filter-status > div {
    min-width: 0;
    display: flex;
    flex: 1 1 210px;
    flex-direction: column;
    gap: 3px;
}

.lesson-filter-status strong {
    color: var(--green);
    font-size: 0.85rem;
}

.lesson-filter-status > div > span {
    overflow-wrap: anywhere;
    color: #e1ebe5;
    font-size: 0.8rem;
    line-height: 1.5;
}

.lesson-filter-status > div > span b {
    color: #ffffff;
}

.lesson-filter-status button,
.lessons-empty-state button {
    min-height: 40px;
    border: 1px solid rgba(71, 223, 145, 0.3);
    border-radius: 11px;
    background: rgba(3, 13, 7, 0.38);
    padding: 0 13px;
    color: #effaf3;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    transition: border-color 180ms ease, background 180ms ease;
}

.lesson-filter-status button:hover,
.lessons-empty-state button:hover {
    border-color: var(--green);
    background: rgba(71, 223, 145, 0.12);
}

.lessons-sort-button:not(.is-active) svg {
    opacity: 0.42;
}

.lessons-sort-button.is-active {
    color: var(--green);
}

.lesson-title__icon {
    background: linear-gradient(145deg, rgba(71, 223, 145, 0.11), rgba(71, 223, 145, 0.045));
}

.lessons-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 20px 62px;
    text-align: center;
}

.lessons-empty-state > svg {
    width: 42px;
    height: 42px;
    margin-bottom: 17px;
    fill: none;
    stroke: #789086;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.lessons-empty-state h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.lessons-empty-state p {
    max-width: 390px;
    margin: 0 0 20px;
    color: #b5c2ba;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (min-width: 760px) {
    .lesson-search-panel {
        padding: 24px 28px 26px;
    }

    .lesson-search-panel > label {
        font-size: 1rem;
    }

    .lesson-filter-status {
        flex-wrap: nowrap;
        padding: 14px 16px;
    }

    .lesson-filter-status button {
        flex: 0 0 auto;
    }

    .lessons-table th:nth-child(2),
    .lessons-table td:nth-child(2) {
        width: 190px;
    }
}

/* Área interna: visualização de conteúdo */

.content-main {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 32px 18px 72px;
}

.content-back-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    border-radius: 10px;
    color: #cad6cf;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.content-back-link:hover {
    color: var(--green);
    transform: translateX(-3px);
}

.content-back-link svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.content-back-link:focus-visible {
    outline: 3px solid rgba(71, 223, 145, 0.3);
    outline-offset: 5px;
}

.content-back-link--bottom {
    margin: 26px 0 0;
}

.content-article {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 27px;
    background: linear-gradient(155deg, rgba(16, 29, 23, 0.97), rgba(8, 16, 12, 0.98));
    box-shadow: 0 30px 82px rgba(0, 0, 0, 0.34);
}

.content-article__header {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    background:
        radial-gradient(circle at 12% 10%, rgba(71, 223, 145, 0.13), transparent 45%),
        rgba(255, 255, 255, 0.012);
    padding: 30px 20px 34px;
}

.content-article__header::after {
    position: absolute;
    top: -150px;
    right: -130px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(37, 183, 105, 0.08);
    filter: blur(75px);
    content: "";
    pointer-events: none;
}

.content-article__header-inner,
.content-prose {
    width: min(100%, 820px);
    margin: 0 auto;
}

.content-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #bdcbc2;
    font-size: 0.78rem;
    font-weight: 600;
}

.content-meta__type {
    border: 1px solid rgba(71, 223, 145, 0.26);
    border-radius: 999px;
    background: rgba(71, 223, 145, 0.09);
    padding: 6px 10px;
    color: var(--green);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.content-meta__separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #64756b;
}

.content-article__header h1 {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.055em;
}

.content-article__lead {
    position: relative;
    z-index: 1;
    max-width: 730px;
    margin: 0;
    color: #d7e2db;
    font-size: 1.02rem;
    line-height: 1.72;
}

.content-prose {
    padding: 38px 20px 58px;
    color: #e0e8e3;
    font-size: 1.03rem;
    line-height: 1.85;
}

.content-prose > :first-child {
    margin-top: 0;
}

.content-prose > :last-child {
    margin-bottom: 0;
}

.content-prose h1,
.content-prose h2,
.content-prose h3 {
    scroll-margin-top: 100px;
}

.content-prose p {
    margin: 0 0 1.35em;
}

.content-prose h2 {
    margin: 0.95em 0 0.58em;
    color: #ffffff;
    font-size: clamp(1.65rem, 6vw, 2.15rem);
    line-height: 1.22;
    letter-spacing: -0.035em;
}

.content-prose h1 {
    margin: 0.9em 0 0.55em;
    color: #ffffff;
    font-size: clamp(1.9rem, 6.5vw, 2.55rem);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.content-prose h3 {
    margin: 1.1em 0 0.54em;
    color: #f4f8f5;
    font-size: clamp(1.25rem, 4.5vw, 1.52rem);
    line-height: 1.32;
    letter-spacing: -0.025em;
}

.content-prose ol,
.content-prose ul {
    margin: 0 0 1.65em;
    padding-left: 1.35em;
}

.content-prose li {
    padding-left: 0.35em;
}

.content-prose li + li {
    margin-top: 0.8em;
}

.content-prose strong {
    color: #ffffff;
}

.content-prose em {
    color: inherit;
    font-weight: inherit;
}

.content-prose a {
    color: #6ce9aa;
    text-decoration-color: rgba(108, 233, 170, 0.5);
    text-underline-offset: 0.18em;
}

.content-prose a:hover {
    color: #a0f5ca;
}

.content-prose img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.content-prose code {
    border: 1px solid rgba(71, 223, 145, 0.16);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.28);
    padding: 0.12em 0.35em;
    color: #b7f8d6;
    font-size: 0.88em;
}

.content-prose hr {
    height: 1px;
    margin: 2.2em 0;
    border: 0;
    background: rgba(255, 255, 255, 0.1);
}

.content-list-empty {
    padding: 42px 24px !important;
    color: #b8c6bd;
    text-align: center;
}

.content-not-found {
    margin: 70px auto;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(13, 27, 20, 0.94);
    padding: 48px 24px;
    text-align: center;
}

.content-not-found h1 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 5vw, 2.7rem);
}

.content-not-found p {
    margin: 0 0 24px;
    color: #c2cec7;
}

.content-not-found a {
    display: inline-flex;
    border-radius: 12px;
    background: var(--green);
    padding: 12px 18px;
    color: #04140b;
    font-weight: 800;
    text-decoration: none;
}

.content-callout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 28px 0 34px;
    border: 1px solid rgba(71, 223, 145, 0.24);
    border-radius: 17px;
    background: linear-gradient(115deg, rgba(71, 223, 145, 0.11), rgba(71, 223, 145, 0.035));
    padding: 18px;
}

.content-callout > svg {
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
    margin-top: 3px;
    fill: none;
    stroke: var(--green);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.content-callout p {
    margin: 0;
    color: #dce8e1;
    font-size: 0.95rem;
    line-height: 1.7;
}

.content-video {
    margin: 42px 0 46px;
}

.content-video__frame {
    position: relative;
    isolation: isolate;
    aspect-ratio: 16 / 9;
    display: grid;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(71, 223, 145, 0.2);
    border-radius: 19px;
    background:
        linear-gradient(135deg, rgba(16, 53, 34, 0.9), rgba(4, 10, 7, 0.98)),
        #07110d;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34), 0 0 45px rgba(35, 167, 96, 0.07);
}

.content-video__frame iframe {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.content-video__frame::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 36px 36px;
    content: "";
}

.content-video__ambient {
    position: absolute;
    z-index: -1;
    width: 55%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(44, 218, 128, 0.18);
    filter: blur(70px);
}

.content-video__label {
    position: absolute;
    top: 15px;
    left: 15px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background: rgba(2, 8, 5, 0.5);
    padding: 6px 9px;
    color: #c9d9d0;
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.content-video__play {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: linear-gradient(135deg, #72f2b2, #27ca73);
    box-shadow: 0 14px 36px rgba(25, 207, 111, 0.28), 0 0 38px rgba(48, 225, 135, 0.22);
    color: #04140b;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.content-video__play:hover {
    transform: scale(1.06);
    box-shadow: 0 18px 43px rgba(25, 207, 111, 0.38), 0 0 48px rgba(48, 225, 135, 0.28);
}

.content-video__play:focus-visible {
    outline: 4px solid rgba(115, 244, 180, 0.32);
    outline-offset: 4px;
}

.content-video__play svg {
    width: 30px;
    height: 30px;
    margin-left: 3px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.content-video__info {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(2, 8, 5, 0.58);
    padding: 10px 12px;
    backdrop-filter: blur(12px);
}

.content-video__info strong {
    overflow: hidden;
    color: #f4f8f5;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-video__info span {
    color: #a9bbb1;
    font-size: 0.67rem;
    font-weight: 700;
}

.content-video figcaption {
    margin-top: 12px;
    color: #95a69d;
    font-size: 0.75rem;
    line-height: 1.6;
    text-align: center;
}

.content-prose blockquote {
    position: relative;
    margin: 36px 0;
    border-left: 4px solid var(--green);
    border-radius: 0 15px 15px 0;
    background: rgba(255, 255, 255, 0.025);
    padding: 21px 22px;
}

.content-prose blockquote p {
    margin: 0;
    color: #edf5f0;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.75;
}

.content-end-note {
    margin-top: 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
}

.content-end-note > span {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.content-end-note p {
    margin: 0;
    color: #cdd9d2;
}

@media (min-width: 760px) {
    .content-main {
        padding: 50px 28px 94px;
    }

    .content-back-link {
        margin-bottom: 24px;
        font-size: 1rem;
    }

    .content-back-link--bottom {
        margin: 30px 0 0;
    }

    .content-article__header {
        padding: 48px 44px 52px;
    }

    .content-prose {
        padding: 58px 44px 82px;
        font-size: 1.12rem;
    }

    .content-callout {
        gap: 17px;
        padding: 22px 24px;
    }

    .content-callout p {
        font-size: 1rem;
    }

    .content-video__label {
        top: 21px;
        left: 21px;
        padding: 7px 11px;
        font-size: 0.68rem;
    }

    .content-video__play {
        width: 82px;
        height: 82px;
    }

    .content-video__info {
        right: 21px;
        bottom: 21px;
        left: 21px;
        padding: 12px 15px;
    }

    .content-video__info strong {
        font-size: 0.85rem;
    }

    .content-video__info span {
        font-size: 0.76rem;
    }

    .content-video figcaption {
        font-size: 0.83rem;
    }
}
