.btn-public-contrast {
    color: #ffffff;
    background-color: #8f5c4173;
}

.cookie-consent-public {
    line-height: normal;
}

.modal-help-frame {
    width: 100%;
    min-height: 200px;
    border: 0;
    transition-duration: 0.25s;
}

.modal-help-frame-lg {
    min-height: 300px;
}

body.public-csp-modal-open {
    overflow: hidden;
}

#helpModal.public-csp-modal-visible {
    display: flex;
    align-items: center;
    justify-content: center;
    inset: 0;
    padding: 1.75rem 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.45);
}

#helpModal.public-csp-modal-visible .modal-dialog {
    width: min(900px, calc(100vw - 2rem));
    max-width: min(900px, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    margin: 1rem auto;
    transform: none !important;
}

#helpModal.public-csp-modal-visible .modal-content {
    background: #ffffff;
    border: 0;
    border-radius: 0.375rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
}

#helpModal.public-csp-modal-visible .modal-body {
    padding: 0;
}

#helpModal.public-csp-modal-visible .psy-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
    line-height: 2rem;
}

.modal-help-frame[height] {
    display: block;
}

#helpModal.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
}

#helpModal.modal.show .modal-dialog {
    display: flex;
    width: min(900px, calc(100vw - 2rem));
    max-width: min(900px, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    margin: 1rem auto;
    transform: none !important;
}

#helpModal.modal.show .modal-content {
    display: flex;
    max-height: calc(100dvh - 2rem);
}

#helpModal.modal.show .modal-body {
    min-height: 0;
    overflow: hidden;
}

#helpModal.modal.show .modal-help-frame {
    max-height: calc(100dvh - 5rem);
    overflow: auto;
}

.public-csp-alert {
    margin: 1rem;
}

.jitsi-meet-container {
    height: 100%;
}

.temporary-signup-page {
    align-items: flex-start;
}

.temporary-signup-card {
    text-align: left;
}

.temporary-signup-copy {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.temporary-signup-copy ul {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.temporary-signup-form {
    border-top: 1px solid var(--warm-border);
    padding-top: 1.5rem;
}

.temporary-signup-honeypot {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.cookies-detail {
    height: auto;
}

.cookies-detail-content {
    margin-bottom: 15px;
}

.sidebar-brand-logo-public {
    background: #fff;
    max-width: 100%;
    padding: 15px;
}

.public-disabled-nav {
    cursor: default;
    opacity: 0.45;
}

.public-disabled-nav:hover,
.public-disabled-nav:focus {
    opacity: 0.45;
}

:root {
    --sage-green: #8BA888;
    --soft-blue: #A8C5DA;
    --warm-card: #FFFFFF;
    --warm-border: #E8E4DF;
    --text-primary: #2D3E3F;
    --text-secondary: #5A6C6D;
    --btn-font-size: clamp(0.95rem, 0.5vw + 0.8rem, 1.125rem);
    --btn-padding-y: clamp(0.6rem, 0.5vw + 0.4rem, 1rem);
    --btn-padding-x: clamp(1.25rem, 1.5vw + 0.5rem, 2rem);
}

.btn-gradient-primary {
    background: var(--action-primary);
    color: #ffffff;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: #ffffff;
    font-size: var(--btn-font-size);
    font-weight: 600;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    transition: background-color 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

.btn-gradient-primary:hover {
    background: var(--action-primary-hover);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.14);
    color: #ffffff;
    transform: translateY(-1px);
}

.auth-page {
    display: flex;
    justify-content: center;
    padding: clamp(2rem, 6vw, 4.5rem) 1rem;
}

.auth-card {
    background-color: var(--warm-card);
    border: 1px solid var(--warm-border);
    border-radius: 1.5rem;
    box-shadow: 0 20px 35px -20px rgba(45, 62, 63, 0.35);
    max-width: 34rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    width: 100%;
}

.auth-card-wide {
    max-width: 64rem;
}

.auth-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-kicker {
    color: var(--sage-green);
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.auth-title {
    color: var(--text-primary);
    font-size: clamp(1.7rem, 4vw, 2.35rem) !important;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.55;
    margin: 0 auto;
    max-width: 30rem;
}

.auth-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.auth-link-button {
    background: transparent;
    border: 0;
    color: var(--sage-green);
    display: inline-block;
    font-weight: 700;
    padding: 0;
    text-decoration: none;
}

.auth-link-button:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.auth-link-button:disabled {
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.75;
}

.auth-code-entry {
    margin: 1.5rem auto 0;
    max-width: 25rem;
    position: relative;
}

.auth-code-cells {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.auth-code-cell {
    align-items: center;
    aspect-ratio: 1;
    background: var(--warm-card);
    border: 2px solid var(--warm-border);
    border-radius: 0.75rem;
    color: var(--text-primary);
    display: flex;
    font-size: clamp(1.35rem, 4vw, 2rem);
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
}

.auth-code-entry:focus-within .auth-code-cell-active,
.auth-code-cell-filled {
    border-color: var(--sage-green);
    box-shadow: 0 0 0 0.2rem rgba(139, 168, 136, 0.22);
}

.auth-code-native {
    border: 0;
    height: 1px;
    left: 50%;
    opacity: 0;
    outline: 0;
    position: absolute;
    top: 50%;
    width: 1px;
}

.auth-method-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.auth-method-card {
    align-items: flex-start;
    background-color: var(--warm-card);
    border: 2px solid var(--warm-border);
    border-radius: 1rem;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    transition: all 0.2s ease;
}

.auth-method-card:hover,
.auth-method-card:has(input:checked) {
    border-color: var(--sage-green);
    box-shadow: 0 10px 20px -14px rgba(45, 62, 63, 0.35);
    transform: translateY(-1px);
}

.auth-method-card input {
    margin-top: 0.45rem;
}

.auth-method-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.auth-method-title {
    align-items: center;
    color: var(--text-primary);
    display: flex;
    flex-wrap: wrap;
    font-weight: 800;
    gap: 0.5rem;
}

.auth-method-description {
    color: var(--text-secondary);
    line-height: 1.45;
}

.auth-method-icon {
    color: var(--sage-green);
}

.df-surface {
    --df-sage-50: #f4f8f1;
    --df-sage-200: #cfddc7;
    --df-sage-300: #a9c1a4;
    --df-sage-700: #3f5942;
    --df-sage-900: #1f3a2a;
    --df-ink: #243d2e;
    --df-ink-muted: #6f7d72;
    --df-ink-faint: #95a299;
    --df-border: #e3e8db;
    --df-border-2: #d4dccb;
    --df-radius-md: 0.625rem;
    --df-radius-lg: 0.875rem;
    --df-shadow-1: 0 1px 2px rgba(31, 58, 42, 0.06), 0 1px 1px rgba(31, 58, 42, 0.04);
    align-items: flex-start;
    display: flex;
    justify-content: center;
    min-height: auto;
    padding: clamp(1.75rem, 5vw, 3.5rem) 1rem;
}

.df-surface--login {
    text-align: center;
}

.df-auth-card {
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius-lg);
    box-shadow: 0 18px 45px rgba(31, 58, 42, 0.14);
    max-width: 100%;
    padding: clamp(1.25rem, 3vw, 2rem);
    width: 30rem;
}

.df-auth-card--left {
    text-align: left;
}

.df-auth-card__head {
    margin-bottom: 1.25rem;
    text-align: center;
}

.df-auth-card__foot {
    margin-top: 1.25rem;
    text-align: center;
}

.df-auth-card__head .df-lede strong {
    color: var(--df-ink);
}

.df-auth-card .validation-summary-valid {
    display: none;
}

.df-auth-icon {
    margin: 0 auto 0.75rem;
}

.df-eyebrow {
    color: var(--df-sage-700);
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.df-title {
    color: var(--df-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0;
    margin: 0.25rem 0 0.375rem;
}

.df-title--lg {
    font-size: clamp(1.55rem, 3vw, 1.75rem) !important;
    line-height: 1.2;
}

.df-lede {
    color: var(--df-ink-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.df-btn {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--df-radius-md);
    color: var(--df-ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 0.84375rem;
    font-weight: 700;
    gap: 0.5rem;
    justify-content: center;
    line-height: 1.2;
    padding: 0.5625rem 1rem;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.df-btn:hover {
    text-decoration: none;
}

.df-btn:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.df-btn--primary {
    background: var(--df-sage-700);
    border-color: var(--df-sage-700);
    color: #fff;
}

.df-btn--primary:hover {
    background: var(--df-sage-900);
    border-color: var(--df-sage-900);
    color: #fff;
}

.df-btn--ghost {
    background: #fff;
    border-color: var(--df-border-2);
    color: var(--df-ink);
}

.df-btn--ghost:hover {
    background: var(--df-sage-50);
    border-color: var(--df-sage-300);
    color: var(--df-ink);
}

.df-btn--danger {
    background: #fff;
    border-color: var(--df-danger-border);
    color: var(--df-danger);
}

.df-btn--danger:hover {
    background: var(--df-danger-bg);
    color: var(--df-danger);
}

.df-btn--danger-solid {
    background: var(--df-danger);
    border-color: var(--df-danger);
    color: #fff;
}

.df-btn--danger-solid:hover {
    background: #8e3024;
    border-color: #8e3024;
    color: #fff;
}

.df-btn--link {
    background: transparent;
    border: 0;
    color: var(--df-sage-700);
    padding-left: 0;
    padding-right: 0;
}

.df-btn--link:hover {
    color: var(--df-sage-900);
    text-decoration: underline;
}

.df-btn--lg {
    font-size: 0.90625rem;
    padding: 0.6875rem 1.25rem;
}

.df-btn--block {
    width: 100%;
}

.df-icon-tile {
    align-items: center;
    background: var(--df-sage-50);
    border: 1px solid var(--df-sage-200);
    border-radius: var(--df-radius-md);
    color: var(--df-sage-700);
    display: inline-flex;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}

.df-icon-tile--neutral {
    background: #f1f3ee;
    border-color: var(--df-border);
    color: var(--df-ink-muted);
}

.df-icon-tile--lg {
    border-radius: 0.75rem;
    height: 3rem;
    width: 3rem;
}

.df-alert {
    align-items: flex-start;
    border-radius: var(--df-radius-md);
    display: flex;
    font-size: 0.8125rem;
    gap: 0.625rem;
    line-height: 1.45;
    margin-bottom: 1rem;
    padding: 0.625rem 0.875rem;
    text-align: left;
}

.df-alert--danger {
    background: #fbeae6;
    border: 1px solid #efc8bf;
    color: #b1463a;
}

.df-alert ul {
    margin: 0;
    padding-left: 1rem;
}

.df-method-divider {
    align-items: center;
    color: var(--df-ink-faint);
    display: flex;
    gap: 0.875rem;
    margin: 1rem 0;
}

.df-method-divider span {
    background: var(--df-border);
    flex: 1 1 auto;
    height: 1px;
}

.df-method-divider strong {
    flex: 0 0 auto;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.df-method-list {
    display: grid;
    gap: 0.5rem;
}

.df-method {
    align-items: center;
    appearance: none;
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius-md);
    color: var(--df-ink);
    cursor: pointer;
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    text-align: left;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
    width: 100%;
}

.df-method:hover,
.df-method:focus {
    background: var(--df-sage-50);
    border-color: var(--df-sage-300);
    box-shadow: var(--df-shadow-1);
    outline: 0;
}

.df-method__icon {
    flex: 0 0 auto;
}

.df-method__main {
    display: grid;
    flex: 1 1 auto;
    gap: 0.125rem;
    min-width: 0;
}

.df-method__title {
    color: var(--df-ink);
    font-size: 0.875rem;
    font-weight: 800;
}

.df-method__desc {
    color: var(--df-ink-muted);
    font-size: 0.78125rem;
    line-height: 1.35;
}

.df-method__chevron {
    color: var(--df-ink-faint);
    flex: 0 0 auto;
    font-size: 0.75rem;
}

.df-auth-code {
    margin-top: 1.25rem;
    position: relative;
}

.df-otp {
    display: flex;
    gap: 0.625rem;
}

.df-otp--center {
    justify-content: center;
}

.df-otp__cell {
    align-items: center;
    background: #fbfcf9;
    border: 1.5px solid var(--df-border-2);
    border-radius: var(--df-radius-md);
    color: var(--df-ink);
    display: flex;
    flex: 0 0 3.25rem;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 1.5rem;
    font-weight: 600;
    height: 3.75rem;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
    width: 3.25rem;
}

.df-auth-code:focus-within .df-otp__cell.is-active,
.df-otp__cell.is-filled {
    background: #fff;
    border-color: var(--df-sage-700);
    box-shadow: 0 0 0 0.2rem rgba(136, 165, 133, 0.18);
}

.df-auth-code.is-error .df-otp__cell.is-filled {
    border-color: #b1463a;
    color: #b1463a;
}

.df-code-timer {
    margin: 1rem auto 0;
    max-width: 17.5rem;
}

.df-code-timer__track {
    background: var(--df-border);
    border-radius: 999px;
    height: 0.25rem;
    overflow: hidden;
}

.df-code-timer__track span {
    background: var(--df-sage-700);
    border-radius: inherit;
    display: block;
    height: 100%;
    transform-origin: left center;
}

.df-auth-links {
    align-items: center;
    display: flex;
    font-size: 0.8125rem;
    gap: 0.875rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.df-auth-links span {
    color: var(--df-ink-faint);
}

.df-field {
    text-align: left;
}

.df-label {
    color: var(--df-ink);
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    text-align: left;
}

.df-input {
    background: #fff;
    border: 1px solid var(--df-border-2);
    border-radius: var(--df-radius-md);
    color: var(--df-ink);
    font-size: 0.875rem;
    padding: 0.625rem 0.75rem;
    width: 100%;
}

.df-input:focus {
    border-color: var(--df-sage-700);
    box-shadow: 0 0 0 0.2rem rgba(136, 165, 133, 0.18);
    outline: 0;
}

.df-input--mono {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
}

.df-recovery-input {
    border-width: 1.5px;
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    height: 3.75rem;
    line-height: 1;
    margin: 0 auto;
    padding: 0 0.875rem;
    text-align: center;
    text-transform: uppercase;
}

.df-mt-4 {
    margin-top: 1rem;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

.footer-left-container {
    display: flex;
    gap: 8px;
    position: relative;
    align-items: center;
}

.footer-toggle-btn {
    display: flex;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    color: inherit;
    align-items: center;
    transition: opacity 0.2s ease;
}

.footer-toggle-btn:hover,
.footer-close-btn:hover {
    opacity: 0.7;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.footer-links-box {
    display: flex;
    flex-direction: row;
    gap: 8px;
    border-radius: 4px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 0;
    top: -10px;
    z-index: 1000;
    white-space: nowrap;
    animation: slideInLeft 0.3s ease forwards;
}

.footer-links-box.collapsed {
    animation: slideOutRight 0.3s ease forwards;
    pointer-events: none;
}

.footer-close-btn {
    display: flex;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    color: inherit;
    align-items: center;
    transition: opacity 0.2s ease;
}

.footer-links-box a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .footer-left-container {
        position: initial;
    }
}

@media (max-width: 575.98px) {
    .df-otp {
        display: grid;
        gap: 0.375rem;
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .df-otp__cell {
        aspect-ratio: 52 / 60;
        flex-basis: auto;
        height: auto;
        width: auto;
    }

    .df-auth-links {
        flex-wrap: wrap;
    }

    #helpModal.public-csp-modal-visible {
        padding: 0.5rem 0;
    }

    #helpModal.public-csp-modal-visible .modal-dialog {
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
        margin: auto;
    }
}
