/* Nova header — CORIS Board wordmark fills header height (h-14 = 3.5rem) */
header.bg-white.flex.items-center > div.hidden.lg\:w-60,
header.dark\:bg-gray-800.flex.items-center > div.hidden.lg\:w-60 {
    align-self: stretch;
    display: flex;
    align-items: center;
    height: 3.5rem;
}

header .lg\:w-60 a[href],
.fixed.inset-0 .border-b a[href] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 3.5rem !important;
    min-height: 3.5rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-left: 0.25rem;
}

header .lg\:w-60 a[href] svg,
.fixed.inset-0 .border-b a[href] svg,
svg.nova-sidebar-mark {
    display: block;
    height: 3.5rem !important;
    width: auto !important;
    max-height: 3.5rem;
    max-width: calc(100% - 0.25rem);
    flex-shrink: 0;
    object-fit: contain;
}

/* Login / auth — prominent wordmark above sign-in form */
.max-w-sm.flex.justify-center,
div.mx-auto.py-8.max-w-sm.flex.justify-center {
    width: 100%;
    max-width: 28rem !important;
    padding-top: 1.5rem;
    padding-bottom: 0.75rem;
}

svg.nova-auth-wordmark,
.max-w-sm.flex.justify-center svg,
.max-w-sm.flex.justify-center > span svg,
div.mx-auto.py-8.max-w-sm svg {
    display: block;
    height: 5rem !important;
    min-height: 5rem !important;
    width: auto !important;
    max-width: min(100%, 26rem) !important;
    margin-inline: auto;
}

@media (min-width: 640px) {
    svg.nova-auth-wordmark,
    .max-w-sm.flex.justify-center svg,
    .max-w-sm.flex.justify-center > span svg,
    div.mx-auto.py-8.max-w-sm svg {
        height: 6rem !important;
        min-height: 6rem !important;
        max-width: min(100%, 28rem) !important;
    }
}

/* Welcome / public pages — full logo sizing */
.nova-public-wordmark {
    height: 2.5rem;
    width: auto;
    max-height: 2.75rem;
    object-fit: contain;
}

@media (min-width: 640px) {
    .nova-public-wordmark {
        height: 2.75rem;
        max-height: 3rem;
    }
}
