/* Shared by the signed-in workspace and its account entry points. */
:root {
    --wf-midnight: #111827;
    --wf-graphite: #374151;
    --wf-silver: #E5E7EB;
    --wf-white: #FFFFFF;
    --wf-orange: #F97316;
    --bs-link-color-rgb: 55, 65, 81;
    --bs-link-hover-color-rgb: 17, 24, 39;
}
.authenticated-brand img { display: block; max-width: 100%; max-height: 100%; }
.authentication-body { background: var(--wf-silver); color: var(--wf-midnight); }
.authentication-brand {
    display: inline-flex;
    max-width: 100%;
    margin-bottom: .75rem;
    padding: .6rem .9rem;
    border-radius: .5rem;
    background: var(--wf-midnight);
}
.authentication-brand img { width: 10rem; max-width: 100%; height: auto; }
:is(.authenticated-body, .authentication-body) .btn-primary {
    --bs-btn-color: var(--wf-white);
    --bs-btn-bg: var(--wf-midnight);
    --bs-btn-border-color: var(--wf-midnight);
    --bs-btn-hover-color: var(--wf-white);
    --bs-btn-hover-bg: var(--wf-graphite);
    --bs-btn-hover-border-color: var(--wf-graphite);
    --bs-btn-active-color: var(--wf-white);
    --bs-btn-active-bg: var(--wf-graphite);
    --bs-btn-active-border-color: var(--wf-graphite);
    --bs-btn-disabled-bg: var(--wf-graphite);
    --bs-btn-disabled-border-color: var(--wf-graphite);
    --bs-btn-focus-shadow-rgb: 55, 65, 81;
}
:is(.authenticated-body, .authentication-body) .btn-outline-primary {
    --bs-btn-color: var(--wf-midnight);
    --bs-btn-border-color: var(--wf-graphite);
    --bs-btn-hover-bg: var(--wf-midnight);
    --bs-btn-hover-border-color: var(--wf-midnight);
    --bs-btn-active-bg: var(--wf-midnight);
    --bs-btn-active-border-color: var(--wf-midnight);
    --bs-btn-disabled-color: var(--wf-graphite);
    --bs-btn-disabled-border-color: var(--wf-silver);
    --bs-btn-focus-shadow-rgb: 55, 65, 81;
}
.authenticated-body .dx-button-mode-contained.dx-button-default {
    background-color: var(--wf-midnight);
    border-color: var(--wf-midnight);
    color: var(--wf-white);
}
.authenticated-body .dx-button-mode-contained.dx-button-default:is(.dx-state-hover, .dx-state-active, .dx-state-focused) {
    background-color: var(--wf-graphite);
    border-color: var(--wf-graphite);
}
.authenticated-body .dx-button-default:is(.dx-button-mode-text, .dx-button-mode-outlined) { color: var(--wf-midnight); }
.authenticated-body .dx-button-default.dx-button-mode-outlined { border-color: var(--wf-graphite); }
.authenticated-body .dx-tab-selected::after { border-color: var(--wf-orange); }
.authenticated-body :is(.team-management-tabs, .program-workspace-tabs) a.is-active { box-shadow: inset 0 -3px var(--wf-orange); }
.authenticated-body .operations-shell {
    --operations-ink: var(--wf-midnight);
    --operations-muted: var(--wf-graphite);
    --operations-border: var(--wf-silver);
    --operations-surface: var(--wf-white);
    --operations-primary: var(--wf-midnight);
}
.authenticated-body :is(.profile-action--primary, .operations-primary-action, .communication-composer__button--primary,
    .shared-message-editor__button--primary, .dm-composer button, .group-composer button,
    .conversation-message-management__edit-actions button[type="submit"]) {
    background: var(--wf-midnight);
    border-color: var(--wf-midnight);
    color: var(--wf-white);
}
.authenticated-body :is(.profile-action--primary, .operations-primary-action, .communication-composer__button--primary,
    .shared-message-editor__button--primary, .dm-composer button, .group-composer button,
    .conversation-message-management__edit-actions button[type="submit"]):hover { background: var(--wf-graphite); }

.login-card { border-radius: 14px; box-shadow: 0 25px 60px rgba(0,0,0,.08); }
.login-card .form-control, .login-card .btn-primary { height: 46px; border-radius: 8px; }
.login-card .btn-primary { font-weight: 500; }

.login-title { font-size: 1.35rem; font-weight: 600; margin: 1.5rem 0 .25rem; }
.login-subtitle { color: #6c757d; font-size: .95rem; margin-bottom: 1.75rem; }

@media (max-width: 767.98px) {
    .login-page > .container {
        padding: 1.5rem 1rem !important;
    }

    .login-page .row {
        margin: 0;
    }

    .login-page .row > div {
        width: 100%;
        padding: 0;
    }

    .login-card .card-body {
        padding: 1.25rem !important;
    }

    .login-card .form-control,
    .login-card .btn-primary {
        min-height: 48px;
        font-size: 1rem;
    }
}

.authenticated-body .dm-message--own .dm-message__bubble { background: var(--wf-midnight); }
.authenticated-body :is(.workbench-widget__header-link, .workbench-widget__header > a,
    .operations-kicker, .personal-workbench__kicker, .communication-composer__eyebrow) { color: var(--wf-graphite); }
.authenticated-body .personal-workbench__header h1 { color: var(--wf-midnight); }
.authenticated-body .workbench-widget--brief { background: linear-gradient(105deg, #fff3ea, var(--wf-white) 55%); }
.authenticated-body .workbench-widget__icon { background: var(--wf-silver); color: var(--wf-graphite); }
:is(.authenticated-body, .authentication-body) .form-control:focus,
:is(.authenticated-body, .authentication-body) .form-select:focus {
    border-color: var(--wf-graphite);
    box-shadow: 0 0 0 .2rem rgb(55 65 81 / 18%);
}
