:root {
    --brand-primary: #7571f9;
    --brand-primary-dark: #5f58ec;
    --brand-soft: #efeeff;
}

body.auth-page {
    min-height: 100vh;
    padding: 0;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top left, rgba(117, 113, 249, 0.17), transparent 26%),
        radial-gradient(circle at bottom right, rgba(95, 88, 236, 0.14), transparent 20%),
        linear-gradient(145deg, #f7fbff 0%, #edf3fb 55%, #f6f9fd 100%);
}

.auth-shell {
    width: 100%;
}

.auth-layout {
    width: min(1220px, calc(100vw - 1.4rem));
    min-height: min(760px, calc(100vh - 1.4rem));
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(22rem, 32rem);
    gap: 0;
    overflow: hidden;
    border-radius: 1.65rem;
    border: 1px solid #d7e2f0;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 26px 64px rgba(15, 23, 42, 0.12);
    margin: auto;
}

.auth-showcase {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 28%),
        linear-gradient(160deg, #3c3891 0%, #5a54d8 56%, #7571f9 100%);
}

.auth-showcase-top {
    display: grid;
    gap: 1rem;
}

.auth-brand-badge {
    width: fit-content;
    padding: 0.6rem 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.auth-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.82;
}

.auth-copy h1 {
    margin: 0;
    font-size: clamp(1.95rem, 1.6rem + 1.15vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.auth-subcopy {
    max-width: 36rem;
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.7;
}

.auth-role-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.auth-role-strip span {
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
    font-weight: 800;
}

.auth-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.auth-feature-card,
.auth-news-panel,
.auth-helper-grid article {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-feature-card {
    padding: 0.95rem;
    border-radius: 1.1rem;
}

.auth-feature-card strong,
.auth-feature-card span {
    display: block;
}

.auth-feature-card strong {
    font-size: 0.88rem;
}

.auth-feature-card span {
    margin-top: 0.38rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.78rem;
    line-height: 1.6;
}

.auth-news-panel {
    margin-top: auto;
    padding: 1rem;
    border-radius: 1.2rem;
}

.auth-news-head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.auth-news-head span {
    display: block;
    margin-top: 0.16rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
}

.auth-news-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.9rem;
}

.auth-news-list article {
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-news-list article:first-child {
    padding-top: 0;
    border-top: 0;
}

.auth-news-list strong,
.auth-news-list span {
    display: block;
}

.auth-news-list strong {
    font-size: 0.84rem;
}

.auth-news-list span {
    margin-top: 0.22rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    line-height: 1.58;
}

.auth-panel {
    padding: 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.auth-panel-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.auth-logo {
    width: 4rem;
    height: 4rem;
    border-radius: 1.15rem;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(29, 78, 216, 0.14);
}

.auth-panel-kicker {
    margin: 0 0 0.25rem;
    color: var(--brand-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-panel-header h2 {
    margin: 0;
    color: #182235;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.auth-panel-subcopy {
    margin: 0.24rem 0 0;
    color: #66758f;
    font-size: 0.8rem;
}

.auth-alert {
    padding: 0.8rem 0.9rem;
    border-radius: 0.95rem;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.82rem;
    font-weight: 700;
}

.auth-alert-success {
    background: #ecfdf5;
    color: #166534;
}

.auth-alert p {
    margin: 0;
}

.auth-alert p + p {
    margin-top: 0.28rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.form-label {
    display: block;
    margin-bottom: 0.42rem;
    color: #182235;
    font-size: 0.78rem;
    font-weight: 800;
}

.input-shell {
    position: relative;
}

.input-shell i {
    position: absolute;
    top: 50%;
    left: 0.95rem;
    transform: translateY(-50%);
    color: #7a879c;
}

.auth-form input {
    width: 100%;
    min-height: 3rem;
    padding: 0.78rem 0.9rem 0.78rem 2.75rem;
    border: 1px solid #d9e3f0;
    border-radius: 0.95rem;
    background: #f8fbff;
    color: #182235;
    font-size: 0.86rem;
    font-weight: 600;
}

.auth-form input:focus {
    outline: none;
    border-color: rgba(117, 113, 249, 0.4);
    box-shadow: 0 0 0 0.18rem rgba(117, 113, 249, 0.14);
    background: #fff;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.checkbox-group {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #66758f;
    font-size: 0.8rem;
    font-weight: 700;
}

.checkbox-group input {
    width: 1rem;
    min-height: 1rem;
    padding: 0;
    margin: 0;
    accent-color: var(--brand-primary);
}

.forgot-password {
    color: var(--brand-primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.btn-login {
    width: 100%;
    min-height: 3.05rem;
    border: 0;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(117, 113, 249, 0.26);
}

.btn-login:hover {
    filter: brightness(1.03);
}

.auth-helper-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.auth-helper-grid article {
    padding: 0.9rem;
    border-radius: 1rem;
    color: #182235;
    background: #f7fbff;
    border-color: #d9e3f0;
}

.auth-helper-grid strong,
.auth-helper-grid span {
    display: block;
}

.auth-helper-grid strong {
    font-size: 0.82rem;
}

.auth-helper-grid span {
    margin-top: 0.24rem;
    color: #66758f;
    font-size: 0.76rem;
    line-height: 1.55;
}

.error {
    margin-top: 0.32rem;
    color: #b91c1c;
    font-size: 0.76rem;
}

@media (max-width: 991.98px) {
    .auth-layout {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .auth-showcase {
        padding: 1.35rem;
    }
}

@media (max-width: 767.98px) {
    .auth-layout {
        width: min(100vw - 0.8rem, 34rem);
        border-radius: 1.3rem;
    }

    .auth-showcase,
    .auth-panel {
        padding: 1.1rem;
    }

    .auth-feature-grid,
    .auth-helper-grid {
        grid-template-columns: 1fr;
    }

    .login-options {
        flex-direction: column;
        align-items: flex-start;
    }
}
.auth-layout-clean {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 31rem);
}

.auth-showcase-clean {
    justify-content: center;
}

.auth-feature-grid-clean {
    grid-template-columns: 1fr;
}

.auth-panel-header-clean {
    align-items: center;
}

.auth-layout-clean .auth-panel {
    padding: 1.8rem 1.6rem;
}

.auth-layout-clean .login-options {
    justify-content: flex-start;
}

@media (max-width: 991.98px) {
    .auth-layout-clean {
        grid-template-columns: 1fr;
    }
}
/* --- 2026-04-01 RedStar inspired auth refresh --- */
body.auth-page.auth-redstar {
    font-family: "Nunito Sans", sans-serif;
    background: linear-gradient(145deg, #eef3f8 0%, #e5edf5 50%, #edf2f7 100%) !important;
}

body.auth-page.auth-redstar h1,
body.auth-page.auth-redstar h2,
body.auth-page.auth-redstar h3,
body.auth-page.auth-redstar h4,
body.auth-page.auth-redstar .btn-login {
    font-family: "Poppins", sans-serif;
}

body.auth-page.auth-redstar .auth-layout {
    border-radius: 1.2rem;
    border: 1px solid #dbe4ee;
    background: #ffffff;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

body.auth-page.auth-redstar .auth-showcase {
    position: relative;
    background: linear-gradient(180deg, #17395f 0%, #14324f 54%, #0f2946 100%) !important;
}

body.auth-page.auth-redstar .auth-showcase::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -100px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(53, 191, 208, 0.18);
}

body.auth-page.auth-redstar .auth-brand-badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
}

body.auth-page.auth-redstar .auth-copy h1 {
    line-height: 1.08;
}

body.auth-page.auth-redstar .auth-feature-card {
    border-radius: 0.95rem;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
}

body.auth-page.auth-redstar .auth-panel {
    padding: 2rem 1.8rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

body.auth-page.auth-redstar .auth-panel-header {
    padding-bottom: 1rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px solid #e7edf4;
    align-items: flex-start;
}

body.auth-page.auth-redstar .auth-logo-wordmark {
    width: 10.75rem;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    box-shadow: none;
}

body.auth-page.auth-redstar .auth-panel-kicker {
    color: #2f7edb;
}

body.auth-page.auth-redstar .input-shell {
    position: relative;
    border: 1px solid #dbe4ee;
    border-radius: 0.9rem;
    background: #f8fafc;
}

body.auth-page.auth-redstar .input-shell i {
    color: #6d8096;
}

body.auth-page.auth-redstar .auth-form input {
    min-height: 3.05rem;
    border: 0;
    background: transparent;
}

body.auth-page.auth-redstar .auth-form input:focus {
    background: transparent;
    box-shadow: none;
}

body.auth-page.auth-redstar .input-shell:focus-within {
    border-color: rgba(47, 126, 219, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(47, 126, 219, 0.12);
    background: #ffffff;
}

body.auth-page.auth-redstar .btn-login {
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #2f7edb, #1e63b8);
    box-shadow: 0 14px 26px rgba(47, 126, 219, 0.22);
}

body.auth-page.auth-redstar .btn-login:hover {
    filter: none;
    background: linear-gradient(135deg, #1e63b8, #194f94);
}

body.auth-page.auth-redstar .auth-alert {
    border-radius: 0.9rem;
}
body.auth-page.auth-redstar .auth-logo-wordmark {
    display: inline-flex;
    align-items: center;
}

body.auth-page.auth-redstar .auth-logo-wordmark svg {
    width: 10.75rem;
    height: auto;
    display: block;
}

/* --- 2026-04-02 dashboard-style auth showcase refresh --- */
body.auth-page.auth-oreo-shell {
    background:
        radial-gradient(circle at top left, rgba(34, 199, 210, 0.1), transparent 22%),
        radial-gradient(circle at right bottom, rgba(37, 99, 235, 0.08), transparent 24%),
        linear-gradient(145deg, #eef3f9 0%, #e7edf5 45%, #edf2f8 100%) !important;
}

body.auth-page.auth-oreo-shell .auth-layout-dashboard {
    width: min(1280px, calc(100vw - 1.6rem));
    min-height: min(770px, calc(100vh - 1.6rem));
    grid-template-columns: minmax(0, 1.06fr) minmax(22rem, 31rem);
    border: 1px solid #dbe5f0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

body.auth-page.auth-oreo-shell .auth-showcase-dashboard {
    position: relative;
    overflow: hidden;
    justify-content: space-between;
    padding: 1.65rem;
    gap: 1.2rem;
    background:
        radial-gradient(circle at 85% 15%, rgba(112, 241, 244, 0.14), transparent 22%),
        linear-gradient(160deg, #162b4a 0%, #1d4471 55%, #148d8d 100%);
}

body.auth-page.auth-oreo-shell .auth-showcase-dashboard::before {
    content: "";
    position: absolute;
    inset: auto -110px -120px auto;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

body.auth-page.auth-oreo-shell .auth-showcase-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

body.auth-page.auth-oreo-shell .auth-brand-badge-dashboard {
    min-height: 42px;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

body.auth-page.auth-oreo-shell .auth-showcase-status {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

body.auth-page.auth-oreo-shell .auth-showcase-status span {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    min-height: 38px;
    padding: 0 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 700;
}

body.auth-page.auth-oreo-shell .auth-slider {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1 1 auto;
}

body.auth-page.auth-oreo-shell .auth-slider-stage {
    position: relative;
    min-height: 430px;
}

body.auth-page.auth-oreo-shell .auth-slide {
    display: none;
    gap: 1.05rem;
}

body.auth-page.auth-oreo-shell .auth-slide.is-active {
    display: grid;
}

body.auth-page.auth-oreo-shell .auth-copy-dashboard {
    display: grid;
    gap: 0.78rem;
}

body.auth-page.auth-oreo-shell .auth-copy-dashboard .auth-kicker {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

body.auth-page.auth-oreo-shell .auth-copy-dashboard h1 {

    font-size: clamp(2.25rem, 1.9rem + 1vw, 3.6rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

body.auth-page.auth-oreo-shell .auth-subcopy-dashboard {
    max-width: 41rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.96rem;
    line-height: 1.72;
}

body.auth-page.auth-oreo-shell .auth-slide-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

body.auth-page.auth-oreo-shell .auth-slide-metric,
body.auth-page.auth-oreo-shell .auth-slide-highlight,
body.auth-page.auth-oreo-shell .auth-insight-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.07) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.auth-page.auth-oreo-shell .auth-slide-metric {
    min-height: 112px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.auth-page.auth-oreo-shell .auth-slide-metric strong {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}

body.auth-page.auth-oreo-shell .auth-slide-metric span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.5;
}

body.auth-page.auth-oreo-shell .auth-slide-highlights,
body.auth-page.auth-oreo-shell .auth-insight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

body.auth-page.auth-oreo-shell .auth-slide-highlight,
body.auth-page.auth-oreo-shell .auth-insight-card {
    min-height: 124px;
    padding: 1rem;
}

body.auth-page.auth-oreo-shell .auth-slide-highlight strong,
body.auth-page.auth-oreo-shell .auth-insight-card strong {
    display: block;
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 800;
}

body.auth-page.auth-oreo-shell .auth-slide-highlight span,
body.auth-page.auth-oreo-shell .auth-insight-card span {
    display: block;
    margin-top: 0.42rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.8rem;
    line-height: 1.65;
}

body.auth-page.auth-oreo-shell .auth-slider-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

body.auth-page.auth-oreo-shell .auth-slider-dots,
body.auth-page.auth-oreo-shell .auth-slider-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
}

body.auth-page.auth-oreo-shell .auth-slider-dot,
body.auth-page.auth-oreo-shell .auth-slider-arrow {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.auth-page.auth-oreo-shell .auth-slider-dot {
    width: 12px;
    height: 12px;
    padding: 0;
}

body.auth-page.auth-oreo-shell .auth-slider-dot.is-active {
    width: 34px;
    background: #ffffff;
    border-color: #ffffff;
}

body.auth-page.auth-oreo-shell .auth-slider-arrow {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.auth-page.auth-oreo-shell .auth-slider-arrow:hover,
body.auth-page.auth-oreo-shell .auth-slider-dot:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard {
    position: relative;
    justify-content: flex-start;
    padding: 1.25rem 1.85rem 1.85rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

body.auth-page.auth-oreo-shell .auth-panel-header-dashboard {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    justify-items: start;
    gap: 0.42rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #e8eef5;
}

body.auth-page.auth-oreo-shell .auth-panel-header-dashboard > div {
    display: grid;
    gap: 0.04rem;
    width: 100%;
}

body.auth-page.auth-oreo-shell .auth-panel-header-dashboard h2 {
    margin: 0;
    font-size: 1.52rem;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

body.auth-page.auth-oreo-shell .auth-logo-wordmark {
    display: block;
    width: min(100%, 10.5rem);
    height: auto;
    border-radius: 0;
    box-shadow: none;
    line-height: 0;
}

body.auth-page.auth-oreo-shell .auth-logo-wordmark svg {
    display: block;
    width: 100%;
    height: auto;
}

body.auth-page.auth-oreo-shell .auth-panel-kicker {
    margin: 0;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
}

body.auth-page.auth-oreo-shell .auth-panel-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

body.auth-page.auth-oreo-shell .auth-panel-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 34px;
    padding: 0 0.85rem;
    border: 1px solid #dde8f3;
    background: linear-gradient(180deg, #fbfdff 0%, #f3f8fd 100%);
    color: #53667d;
    font-size: 0.78rem;
    font-weight: 700;
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .auth-form {
    gap: 1rem;
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .form-label {
    font-size: 0.82rem;
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .input-shell {
    border: 1px solid #d8e3ef;
    background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .input-shell:focus-within {
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.1);
    background: #ffffff;
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .auth-form input {
    min-height: 3.2rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.92rem;
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .auth-form input:focus {
    outline: none;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.auth-page.auth-oreo-shell .auth-panel-dashboard .btn-login {
    min-height: 3.25rem;
    background: linear-gradient(135deg, #0f766e, #2563eb);
    box-shadow: 0 18px 32px rgba(29, 78, 216, 0.16);
}

body.auth-page.auth-oreo-shell .auth-panel-footnote {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #72829a;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.55;
}

body.auth-page.auth-oreo-shell .auth-panel-footnote i {
    color: #0f766e;
}

@media (max-width: 1199.98px) {
    body.auth-page.auth-oreo-shell .auth-layout-dashboard {
        grid-template-columns: minmax(0, 1fr) minmax(21rem, 28rem);
    }

    body.auth-page.auth-oreo-shell .auth-slide-metrics,
    body.auth-page.auth-oreo-shell .auth-slide-highlights,
    body.auth-page.auth-oreo-shell .auth-insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    body.auth-page.auth-oreo-shell .auth-layout-dashboard {
        width: min(100vw - 1rem, 56rem);
        min-height: auto;
        grid-template-columns: 1fr;
    }

    body.auth-page.auth-oreo-shell .auth-showcase-dashboard,
    body.auth-page.auth-oreo-shell .auth-panel-dashboard {
        padding: 1.3rem;
    }

    body.auth-page.auth-oreo-shell .auth-panel-dashboard {
        padding-top: 1rem;
    }

    body.auth-page.auth-oreo-shell .auth-slider-stage {
        min-height: auto;
    }

    body.auth-page.auth-oreo-shell .auth-copy-dashboard h1 {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    body.auth-page.auth-oreo-shell .auth-layout-dashboard {
        width: min(100vw - 0.9rem, 36rem);
        border-radius: 14px;
    }

    body.auth-page.auth-oreo-shell .auth-showcase-topline,
    body.auth-page.auth-oreo-shell .auth-slider-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    body.auth-page.auth-oreo-shell .auth-showcase-status,
    body.auth-page.auth-oreo-shell .auth-panel-strip {
        width: 100%;
    }

    body.auth-page.auth-oreo-shell .auth-showcase-status span,
    body.auth-page.auth-oreo-shell .auth-panel-strip span {
        width: 100%;
        justify-content: flex-start;
    }

    body.auth-page.auth-oreo-shell .auth-slide-metrics,
    body.auth-page.auth-oreo-shell .auth-slide-highlights,
    body.auth-page.auth-oreo-shell .auth-insight-grid {
        grid-template-columns: 1fr;
    }

    body.auth-page.auth-oreo-shell .auth-slider-controls {
        width: 100%;
        justify-content: flex-end;
    }

    body.auth-page.auth-oreo-shell .auth-panel-dashboard {
        padding-top: 0.9rem;
    }

    body.auth-page.auth-oreo-shell .auth-panel-header-dashboard h2 {
        font-size: 1.4rem;
    }

    body.auth-page.auth-oreo-shell .auth-logo-wordmark {
        width: min(100%, 9.6rem);
    }
}

/* 2026-04-03 login view alignment to MatDash reference */
body.auth-page.auth-matdash-shell {
    place-items: stretch;
    padding: 1.2rem;
    background: #f5f7fb;
}

body.auth-page.auth-matdash-shell .auth-layout {
    width: min(1280px, 100%);
    min-height: calc(100vh - 2.4rem);
    border-radius: 22px;
    border-color: #e8edf5;
    box-shadow: none;
    background: #f0f4fa;
    padding: 1.2rem;
    gap: 1.1rem;
}

body.auth-page.auth-matdash-shell .auth-showcase {
    border-radius: 18px;
    background: linear-gradient(165deg, #49546d 0%, #6a5af9 58%, #5d87ff 100%);
    padding: 1.5rem;
}

body.auth-page.auth-matdash-shell .auth-panel {
    border-radius: 18px;
    border: 1px solid #e6ebf1;
    background: #ffffff;
    box-shadow: none;
}

body.auth-page.auth-matdash-shell .btn-login {
    background: linear-gradient(90deg, #6a5af9, #5d87ff);
    border-color: transparent;
}

body.auth-page.auth-matdash-shell .btn-login:hover {
    filter: brightness(0.98);
}

/* 2026-07-22 IntoThePro global brand and UI polish */
:root {
    --brand-primary: #005c8f;
    --brand-primary-dark: #003f67;
    --brand-soft: #e6f5fb;
    --intothepro-blue: #005c8f;
    --intothepro-ink: #073d59;
    --intothepro-surface: #f5fbff;
}

body.app-into-thepro-shell {
    background:
        radial-gradient(circle at top left, rgba(0, 92, 143, 0.12), transparent 30%),
        linear-gradient(180deg, #f6fbff 0%, #eef6fb 100%) !important;
    color: #102a43;
}

body.app-into-thepro-shell .intothepro-logo {
    display: block;
    width: min(176px, 100%);
    max-height: 58px;
    object-fit: contain;
}

body.app-into-thepro-shell .intothepro-logo-mobile {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

body.app-into-thepro-shell .app-sidebar,
body.app-into-thepro-shell .workspace-sidebar-shell {
    border-right: 1px solid rgba(0, 92, 143, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%) !important;
    box-shadow: 16px 0 40px rgba(7, 61, 89, 0.06) !important;
}

body.app-into-thepro-shell .app-sidebar__logo {
    border-bottom: 1px solid rgba(0, 92, 143, 0.09);
}

body.app-into-thepro-shell .app-header {
    border-bottom: 1px solid rgba(0, 92, 143, 0.12);
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 16px 42px rgba(7, 61, 89, 0.08);
}

body.app-into-thepro-shell .app-header-context-stack,
body.app-into-thepro-shell .app-header-actions-cluster,
body.app-into-thepro-shell .app-header-signal-cluster,
body.app-into-thepro-shell .app-header-pill,
body.app-into-thepro-shell .app-header-icon-link {
    border-color: rgba(0, 92, 143, 0.14) !important;
    background: rgba(246, 251, 255, 0.86) !important;
}

body.app-into-thepro-shell .app-header-icon-link:hover,
body.app-into-thepro-shell .app-header-icon-link:focus,
body.app-into-thepro-shell .app-header-icon-link.active,
body.app-into-thepro-shell .workspace-sidebar-link:hover,
body.app-into-thepro-shell .workspace-sidebar-link:focus,
body.app-into-thepro-shell .workspace-sidebar-link.active {
    color: var(--intothepro-blue) !important;
    border-color: rgba(0, 92, 143, 0.24) !important;
    background: #eaf7fc !important;
}

body.app-into-thepro-shell .workspace-sidebar-link.active::before {
    background: linear-gradient(180deg, #0f87ad, #005c8f) !important;
}

body.app-into-thepro-shell .btn-primary,
body.app-into-thepro-shell .bg-primary,
body.app-into-thepro-shell .page-item.active .page-link {
    border-color: transparent !important;
    background: linear-gradient(135deg, #0f87ad, #005c8f) !important;
    box-shadow: 0 14px 28px rgba(0, 92, 143, 0.18);
}

body.app-into-thepro-shell .surface-card,
body.app-into-thepro-shell .dashboard-card,
body.app-into-thepro-shell .stat-card,
body.app-into-thepro-shell .saas-card,
body.app-into-thepro-shell .card,
body.app-into-thepro-shell .modal-content,
body.app-into-thepro-shell .table-responsive,
body.app-into-thepro-shell .app-table-wrap {
    border-color: rgba(0, 92, 143, 0.12) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(7, 61, 89, 0.07);
}

body.app-into-thepro-shell .table tbody tr:hover {
    background: #eef9fd !important;
}

body.app-into-thepro-shell .form-control,
body.app-into-thepro-shell .form-select {
    border-color: rgba(0, 92, 143, 0.16);
    border-radius: 12px;
}

body.app-into-thepro-shell .form-control:focus,
body.app-into-thepro-shell .form-select:focus {
    border-color: rgba(0, 92, 143, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(0, 92, 143, 0.12);
}

body.auth-page.app-into-thepro-shell .auth-logo-wordmark {
    width: min(100%, 12rem);
}

body.auth-page.app-into-thepro-shell .auth-logo-wordmark img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

body.auth-page.app-into-thepro-shell .auth-brand-badge-dashboard,
body.auth-page.app-into-thepro-shell .btn-login {
    background: linear-gradient(135deg, #0f87ad, #005c8f) !important;
    border-color: transparent !important;
}

/* 2026-07-22 screenshot QA pass: logo, topbar, and sparse dashboard states */
body.app-into-thepro-shell .workspace-sidebar-shell .app-sidebar__logo {
    min-height: 72px;
    padding: 0.75rem 1.05rem;
}

body.app-into-thepro-shell .workspace-sidebar-shell .app-sidebar__logo .header-brand {
    width: 100%;
    min-width: 0;
}

body.app-into-thepro-shell .workspace-sidebar-shell .app-sidebar__logo .desktop-lgo.intothepro-logo {
    width: 100%;
    max-width: 154px;
    max-height: 44px;
    object-fit: contain;
    object-position: left center;
}

body.app-into-thepro-shell .main-header-center {
    max-width: min(27rem, 32vw);
}

body.app-into-thepro-shell .workspace-search .form-control {
    min-height: 40px;
    border-radius: 10px 0 0 10px;
    background: rgba(255, 255, 255, 0.92);
}

body.app-into-thepro-shell .workspace-search-submit {
    min-width: 44px;
    min-height: 40px;
    border-radius: 0 10px 10px 0;
}

body.app-into-thepro-shell .app-header-context-stack,
body.app-into-thepro-shell .app-header-actions-cluster,
body.app-into-thepro-shell .app-header-signal-cluster {
    border-radius: 12px;
    box-shadow: none;
}

body.app-into-thepro-shell .app-header-pill,
body.app-into-thepro-shell .app-header-icon-link {
    min-height: 38px;
    border-radius: 10px;
}

body.app-into-thepro-shell .app-header-icon-link {
    width: 38px;
    height: 38px;
}

body.app-into-thepro-shell .premium-dashboard-page .app-shell-content {
    padding-inline: clamp(0.75rem, 1.5vw, 1.5rem);
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-shell {
    gap: 1rem;
    padding-top: 1.1rem;
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-hero-card {
    grid-template-columns: minmax(22rem, 0.72fr) minmax(24rem, 1fr);
    align-items: center;
    min-height: 260px;
    padding: clamp(1.35rem, 2vw, 2rem);
    border: 1px solid rgba(0, 92, 143, 0.14) !important;
    background:
        radial-gradient(circle at 82% 18%, rgba(15, 135, 173, 0.15), transparent 26%),
        linear-gradient(135deg, #ffffff 0%, #f4fbff 55%, #eef8fc 100%) !important;
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-hero-stats:empty {
    display: none;
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-hero-card:has(.had-hero-stats:empty) {
    grid-template-columns: minmax(0, 48rem);
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-hero-copy h1 {
    max-width: 13ch;
    color: #0f2f4a;
    font-size: clamp(2.35rem, 3.2vw, 3.5rem);
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-hero-copy p {
    max-width: 46rem;
    color: #45627f;
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-hero-meta span {
    border-radius: 10px;
    color: #174968;
    background: rgba(255, 255, 255, 0.86);
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)) !important;
    align-items: stretch;
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-kpi-card {
    min-height: 12rem;
    padding: 1.15rem 1.2rem 1rem;
    border-radius: 18px !important;
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-kpi-card::after {
    content: "";
    position: absolute;
    inset: auto -2rem -2.5rem auto;
    width: 8rem;
    height: 8rem;
    border-radius: 999px;
    background: rgba(15, 135, 173, 0.08);
    pointer-events: none;
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-kpi-head strong {
    color: #0f2f4a;
    font-size: clamp(1.65rem, 2.4vw, 2.25rem);
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-kpi-card p {
    min-height: auto;
    color: #526b86;
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-kpi-metrics {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 92, 143, 0.1);
}

body.app-into-thepro-shell .hospital-admin-dashboard-page .had-kpi-icon {
    border-radius: 14px;
    color: #005c8f;
    background: #eaf7fc;
}

@media (max-width: 1399.98px) {
    body.app-into-thepro-shell .main-header-center {
        max-width: 21rem;
    }
}

@media (max-width: 991.98px) {
    body.app-into-thepro-shell .hospital-admin-dashboard-page .had-hero-card {
        grid-template-columns: 1fr;
    }

    body.app-into-thepro-shell .hospital-admin-dashboard-page .had-hero-copy h1 {
        max-width: 100%;
    }
}

/* 2026-07-22 hard alignment pass for the live admin dashboard */
body.app-page.app-oreo-shell.app-into-thepro-shell {
    --shell-sidebar-width: 312px;
    --shell-sidebar-collapsed-width: 78px;
    --shell-edge-gap: 0px;
    background: #f4f8fb !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-sidebar,
body.app-page.app-oreo-shell.app-into-thepro-shell .workspace-sidebar-shell {
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: var(--shell-sidebar-width) !important;
    max-width: var(--shell-sidebar-width) !important;
    border-radius: 0 !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header,
body.app-page.app-oreo-shell.app-into-thepro-shell .main-content,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-footer-shell {
    margin-left: var(--shell-sidebar-width) !important;
    width: calc(100vw - var(--shell-sidebar-width)) !important;
    max-width: calc(100vw - var(--shell-sidebar-width)) !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell.sidebar-collapsed .app-header,
body.app-page.app-oreo-shell.app-into-thepro-shell.sidebar-collapsed .main-content,
body.app-page.app-oreo-shell.app-into-thepro-shell.sidebar-collapsed .app-footer-shell {
    margin-left: var(--shell-sidebar-collapsed-width) !important;
    width: calc(100vw - var(--shell-sidebar-collapsed-width)) !important;
    max-width: calc(100vw - var(--shell-sidebar-collapsed-width)) !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .app-sidebar,
body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .workspace-sidebar-shell {
    width: var(--shell-sidebar-collapsed-width) !important;
    max-width: var(--shell-sidebar-collapsed-width) !important;
    overflow: hidden !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell.sidenav-toggled .app-header,
body.app-page.app-oreo-shell.app-into-thepro-shell.sidenav-toggled .main-content,
body.app-page.app-oreo-shell.app-into-thepro-shell.sidenav-toggled .app-footer-shell {
    margin-left: var(--shell-sidebar-collapsed-width) !important;
    width: calc(100vw - var(--shell-sidebar-collapsed-width)) !important;
    max-width: calc(100vw - var(--shell-sidebar-collapsed-width)) !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .workspace-sidebar-shell .app-sidebar__logo {
    min-height: 72px;
    padding: 0.75rem 0.45rem !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .workspace-sidebar-shell .header-brand {
    justify-content: center;
}

body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .workspace-sidebar-shell .desktop-lgo.intothepro-logo {
    max-width: 48px !important;
    max-height: 42px !important;
    object-fit: contain;
    object-position: center;
}

body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .workspace-sidebar-shell .main-sidemenu {
    padding: 0.75rem 0.45rem 1rem !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .workspace-sidebar-category,
body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .side-menu__label,
body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .workspace-sidebar-count,
body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .angle,
body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .slide-menu {
    display: none !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .workspace-sidebar-link {
    justify-content: center !important;
    min-height: 48px !important;
    padding: 0.75rem !important;
    border-radius: 14px !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .workspace-sidebar-icon-shell {
    width: 2.35rem !important;
    height: 2.35rem !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: transparent !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .workspace-sidebar-link.active .workspace-sidebar-icon-shell {
    color: #005c8f;
    background: #e6f5fb !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell:is(.sidenav-toggled, .sidebar-collapsed) .workspace-sidebar-link::before {
    display: none;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1300;
    min-height: 84px;
    margin-bottom: 0 !important;
    padding: 0.85rem 1.25rem !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 28px rgba(7, 61, 89, 0.05);
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header .container-fluid > .d-flex {
    min-height: 56px;
    padding-inline: 0;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header .main-container.container-fluid {
    width: 100%;
    max-width: none;
    padding-inline: 0 !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-sidebar__toggle,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-sidebar__toggle .open-toggle {
    min-height: 56px !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-sidebar__toggle {
    width: 56px;
    border: 1px solid rgba(0, 92, 143, 0.08);
    border-radius: 14px;
    background: #ffffff;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .main-content.app-content {
    min-height: calc(100vh - 84px) !important;
    padding: 1.25rem 1.25rem 2rem !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .side-app,
body.app-page.app-oreo-shell.app-into-thepro-shell .main-container.container-fluid {
    width: 100%;
    max-width: none;
    padding: 0 !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .premium-dashboard-page .app-shell-content {
    padding-inline: 0;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page .had-shell {
    max-width: none;
    margin: 0 auto;
    padding: 0 0 2rem;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page .had-hero-card {
    min-height: auto;
    padding: clamp(1.5rem, 2.2vw, 2.15rem);
}

body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page .had-hero-copy h1 {
    font-size: clamp(2.6rem, 4vw, 4.15rem);
    line-height: 0.98;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page .had-kpi-card {
    min-height: 10.5rem;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page .had-hero-card + .had-kpi-grid {
    margin-top: 0.25rem;
}

@media (min-width: 1600px) {
    body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page .had-shell {
        max-width: 1360px;
    }
}

@media (max-width: 1199.98px) {
    body.app-page.app-oreo-shell.app-into-thepro-shell {
        --shell-sidebar-width: 260px;
    }
}

@media (max-width: 991.98px) {
    body.app-page.app-oreo-shell.app-into-thepro-shell .app-header,
    body.app-page.app-oreo-shell.app-into-thepro-shell .main-content,
    body.app-page.app-oreo-shell.app-into-thepro-shell .app-footer-shell {
        margin-left: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }

    body.app-page.app-oreo-shell.app-into-thepro-shell .main-content.app-content {
        padding: 1rem !important;
    }
}

/* 2026-07-22 dashboard spacing + command bar redesign */
body.app-page.app-oreo-shell.app-into-thepro-shell {
    --shell-header-height: 74px;
    --shell-content-pad-x: 1rem;
    --shell-content-pad-y: 0.85rem;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header {
    min-height: var(--shell-header-height) !important;
    padding: 0.62rem 0.9rem !important;
    border-bottom: 0 !important;
    background: #eef6fb !important;
    box-shadow: none !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header .container-fluid > .d-flex {
    min-height: 52px !important;
    gap: 0.7rem !important;
    padding: 0.35rem !important;
    border: 1px solid rgba(0, 92, 143, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 34px rgba(7, 61, 89, 0.08);
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-sidebar__toggle,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-sidebar__toggle .open-toggle {
    min-height: 46px !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-sidebar__toggle {
    width: 48px !important;
    border: 1px solid rgba(0, 92, 143, 0.12) !important;
    border-radius: 16px !important;
    background: #f4fbff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-sidebar__toggle:hover {
    background: #e6f5fb !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .main-header-center {
    flex: 0 1 340px !important;
    max-width: 340px !important;
    min-width: 240px !important;
    margin-left: 0 !important;
    padding-inline: 0 !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .workspace-search {
    width: 100% !important;
    max-width: none !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .workspace-search .form-control {
    min-height: 44px !important;
    border: 1px solid rgba(0, 92, 143, 0.14) !important;
    border-right: 0 !important;
    border-radius: 15px 0 0 15px !important;
    background: #f8fcff !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .workspace-search-submit {
    min-width: 48px !important;
    min-height: 44px !important;
    border-radius: 0 15px 15px 0 !important;
    background: linear-gradient(135deg, #0f87ad, #005c8f) !important;
    box-shadow: 0 10px 20px rgba(0, 92, 143, 0.18) !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-toolbar {
    gap: 0.5rem !important;
    margin-left: auto;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-context-stack,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-actions-cluster,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-signal-cluster {
    gap: 0.3rem !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-pill {
    min-height: 44px !important;
    border-radius: 15px !important;
    border-color: rgba(0, 92, 143, 0.13) !important;
    background: #f7fcff !important;
    color: #34526d !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-pill-scope {
    max-width: min(20rem, 22vw) !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-pill-date {
    min-width: 8rem !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-icon-link {
    width: 44px !important;
    height: 44px !important;
    border-radius: 15px !important;
    border-color: rgba(0, 92, 143, 0.12) !important;
    background: #f7fcff !important;
    color: #0f2f4a !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-icon-link:hover,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-icon-link:focus,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-icon-link.active {
    color: #005c8f !important;
    border-color: rgba(0, 92, 143, 0.24) !important;
    background: #e6f5fb !important;
    transform: translateY(-1px);
}

body.app-page.app-oreo-shell.app-into-thepro-shell .profile-dropdown .app-header-icon-link {
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #0f87ad, #1f4e9b) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 26px rgba(0, 92, 143, 0.22);
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-profile-avatar-shell,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-profile-avatar-fallback {
    width: 46px !important;
    height: 46px !important;
    border-radius: 16px !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .main-content.app-content {
    min-height: calc(100vh - var(--shell-header-height)) !important;
    padding: var(--shell-content-pad-y) var(--shell-content-pad-x) 1.25rem !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page,
body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page > .row,
body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page .app-shell-content,
body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page .had-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page > .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page .app-shell-content {
    flex: 0 0 100% !important;
    padding: 0 !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page .had-shell {
    gap: 0.9rem !important;
    padding: 0 !important;
    align-content: start;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page .had-hero-card {
    margin: 0 !important;
    grid-template-columns: minmax(26rem, 0.85fr) minmax(25rem, 1fr) !important;
    gap: clamp(1rem, 1.8vw, 1.6rem) !important;
    padding: clamp(1.25rem, 1.8vw, 1.75rem) !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page .had-hero-copy h1 {
    font-size: clamp(2.35rem, 3.35vw, 3.75rem) !important;
}

@media (min-width: 1600px) {
    body.app-page.app-oreo-shell.app-into-thepro-shell .hospital-admin-dashboard-page .had-shell {
        max-width: none !important;
    }
}

@media (max-width: 1399.98px) {
    body.app-page.app-oreo-shell.app-into-thepro-shell .main-header-center {
        flex-basis: 300px !important;
        max-width: 300px !important;
    }

    body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-pill-scope {
        max-width: 15rem !important;
    }
}

/* 2026-07-22 reference-style topbar + slim activity feed */
body.app-page.app-oreo-shell.app-into-thepro-shell .app-header {
    min-height: 64px !important;
    padding: 0.45rem 0.75rem !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header .container-fluid > .d-flex {
    min-height: 48px !important;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(7, 61, 89, 0.06);
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-sidebar__toggle,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-sidebar__toggle .open-toggle,
body.app-page.app-oreo-shell.app-into-thepro-shell .workspace-search .form-control,
body.app-page.app-oreo-shell.app-into-thepro-shell .workspace-search-submit,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-pill,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-icon-link {
    min-height: 38px !important;
    height: 38px !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-sidebar__toggle,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-icon-link {
    width: 38px !important;
    border-radius: 12px !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header .header-icon {
    width: 18px !important;
    height: 18px !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .workspace-search-submit {
    min-width: 42px !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding-inline: 0.75rem !important;
    border-radius: 12px !important;
    font-size: 0.78rem !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-pill i {
    color: #0f87ad;
    font-size: 0.78rem;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-pill-scope {
    max-width: min(18rem, 20vw) !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-pill-date {
    min-width: auto !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-actions-cluster {
    display: none !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-context-stack,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-signal-cluster {
    gap: 0.35rem !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .profile-dropdown .app-header-icon-link,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-profile-avatar-shell,
body.app-page.app-oreo-shell.app-into-thepro-shell .app-header-profile-avatar-fallback {
    width: 40px !important;
    height: 40px !important;
    border-radius: 13px !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .side-badge {
    top: -0.3rem;
    right: -0.22rem;
    min-width: 0.95rem;
    height: 0.95rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    border: 2px solid #ffffff;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .had-activity-card {
    overflow: hidden;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .had-activity-card .surface-head {
    margin-bottom: 0.75rem;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .had-activity-list {
    max-height: 25rem;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.45rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 92, 143, 0.35) rgba(230, 245, 251, 0.72);
}

body.app-page.app-oreo-shell.app-into-thepro-shell .had-activity-list::-webkit-scrollbar {
    width: 6px;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .had-activity-list::-webkit-scrollbar-track {
    background: rgba(230, 245, 251, 0.72);
    border-radius: 999px;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .had-activity-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, #0f87ad, #005c8f);
}

body.app-page.app-oreo-shell.app-into-thepro-shell .had-activity-item {
    gap: 0.7rem !important;
    padding: 0.72rem 0.78rem !important;
    border-radius: 14px !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .had-activity-icon {
    width: 2.15rem !important;
    min-width: 2.15rem !important;
    height: 2.15rem !important;
    border-radius: 12px !important;
    font-size: 0.82rem !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .had-activity-topline strong {
    font-size: 0.84rem !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .had-activity-copy p {
    margin: 0.2rem 0 0.35rem !important;
    color: #526b86 !important;
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
}

body.app-page.app-oreo-shell.app-into-thepro-shell .had-activity-meta {
    gap: 0.45rem !important;
    color: #6d8198 !important;
    font-size: 0.7rem !important;
}
