/* ==========================================================
   AION ETERNAL
   Brand layer for Informes AION. Loaded after app-pro.css.
   The clinical workspace remains light and calm; navigation,
   entry points and key actions carry the cosmic AION identity.
========================================================== */

:root {
    --aion-abyss: #090b14;
    --aion-abyss-soft: #111522;
    --aion-graphite: #202534;
    --aion-iris: #6554ff;
    --aion-iris-deep: #5140e8;
    --aion-azure: #39a8ff;
    --aion-gold: #d6a84b;
    --aion-ivory: #f5f3ed;
    --aion-mist: #a8b0bf;
    --aion-white: #ffffff;

    --app-bg: #f5f3ed;
    --app-surface: #ffffff;
    --app-surface-soft: #fbfaf7;
    --app-surface-muted: #f0eee8;
    --app-text: #202534;
    --app-text-soft: #4e5666;
    --app-text-muted: #737c8d;
    --app-border: #d9d8d3;
    --app-border-soft: #e9e6df;
    --app-primary: #6554ff;
    --app-primary-hover: #5140e8;
    --app-primary-soft: #efedff;
    --app-accent: #6554ff;
    --app-info: #277fc2;
    --app-danger: #b43a45;
    --app-danger-soft: #fff1f2;
    --app-warning: #9c6a18;
    --app-success: #27745a;
    --app-radius-xs: 8px;
    --app-radius-sm: 11px;
    --app-radius-md: 15px;
    --app-radius-lg: 22px;
    --app-shadow-xs: 0 1px 2px rgba(9, 11, 20, .035), 0 8px 24px rgba(9, 11, 20, .035);
    --app-shadow-sm: 0 18px 50px rgba(9, 11, 20, .08);
    --app-focus: 0 0 0 3px rgba(101, 84, 255, .19);
    --app-header-h: 72px;
}

html {
    background: var(--aion-ivory);
}

body {
    background:
        radial-gradient(circle at 8% 0%, rgba(101, 84, 255, .045), transparent 26rem),
        radial-gradient(circle at 93% 7%, rgba(57, 168, 255, .035), transparent 28rem),
        var(--aion-ivory) !important;
    color: var(--aion-graphite);
}

::selection {
    background: rgba(101, 84, 255, .22);
    color: var(--aion-abyss);
}

p {
    color: var(--app-text-soft);
}

h1,
h2,
h3 {
    color: var(--aion-graphite);
}

/* ----------------------------------------------------------
   AION brand mark
---------------------------------------------------------- */

.brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

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

.brand-copy {
    display: grid;
    gap: 0;
    min-width: 70px;
    line-height: 1;
}

.brand-copy strong {
    color: #fff;
    font-size: 15px;
    font-weight: 790;
    letter-spacing: .16em;
}

.brand-copy small {
    margin-top: 4px;
    color: rgba(255, 255, 255, .58);
    font-size: 9px;
    font-weight: 680;
    letter-spacing: .22em;
    text-transform: uppercase;
}

/* ----------------------------------------------------------
   Navigation: deep cosmic product chrome
---------------------------------------------------------- */

.navbar {
    min-height: var(--app-header-h);
    height: auto;
    padding: 0 clamp(18px, 3.2vw, 48px);
    background:
        linear-gradient(105deg, rgba(101, 84, 255, .07), transparent 30%),
        var(--aion-abyss) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 12px 35px rgba(9, 11, 20, .11);
}

.nav-main {
    gap: clamp(16px, 2.2vw, 30px);
}

.nav-brand {
    min-height: 54px;
    gap: 11px;
    margin-right: 4px;
}

.nav-brand:hover {
    opacity: 1;
}

.nav-left,
.nav-right {
    gap: 5px;
}

.navbar a {
    color: rgba(255, 255, 255, .72);
}

.nav-left a,
.nav-logout {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 10px;
}

.navbar a:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.navbar a.nav-active,
.navbar a.nav-active:hover {
    background: rgba(101, 84, 255, .18);
    border-color: rgba(130, 117, 255, .34);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.nav-user-name {
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
}

.nav-logout {
    color: rgba(255, 255, 255, .58) !important;
}

.nav-logout:hover {
    background: rgba(180, 58, 69, .15) !important;
    color: #ffafb5 !important;
}

.nav-centre-identity {
    min-height: 38px;
    padding: 4px 11px 4px 5px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
    color: rgba(255, 255, 255, .7);
}

.nav-centre-identity img,
.centre-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
}

.centre-avatar {
    color: var(--aion-abyss);
}

/* ----------------------------------------------------------
   Page structure and section headers
---------------------------------------------------------- */

.page,
.dashboard-page {
    width: min(100%, 1280px);
    max-width: 1280px;
}

.page-header,
.patient-detail-header,
.report-top {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgba(32, 37, 52, .08);
    border-radius: 22px;
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--app-shadow-xs);
    backdrop-filter: blur(14px);
}

.page-header::before,
.patient-detail-header::before,
.report-top::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--aion-iris), var(--aion-azure));
}

.eyebrow,
.section-kicker {
    color: var(--aion-iris);
    letter-spacing: .11em;
}

.eyebrow::after,
.section-kicker::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 1px;
    margin: 0 0 3px 8px;
    background: var(--aion-gold);
}

h1 {
    font-weight: 740;
    letter-spacing: -.035em;
}

h2 {
    font-weight: 710;
}

/* ----------------------------------------------------------
   Buttons and controls
---------------------------------------------------------- */

button,
.primary-link,
.secondary-button,
.secondary-link,
.auth-primary-button,
.auth-primary-link {
    min-height: 42px;
    border-radius: 11px;
    font-weight: 690;
    transition:
        transform .16s ease,
        background .16s ease,
        border-color .16s ease,
        color .16s ease,
        box-shadow .16s ease;
}

button,
.primary-link,
.auth-primary-button,
.auth-primary-link {
    background: linear-gradient(135deg, var(--aion-iris), #745fff);
    border-color: var(--aion-iris);
    color: #fff;
    box-shadow: 0 8px 22px rgba(101, 84, 255, .18);
}

button:hover,
.primary-link:hover,
.auth-primary-button:hover,
.auth-primary-link:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--aion-iris-deep), var(--aion-iris));
    border-color: var(--aion-iris-deep);
    box-shadow: 0 12px 27px rgba(101, 84, 255, .24);
}

button:active,
.primary-link:active,
.auth-primary-button:active,
.auth-primary-link:active {
    transform: translateY(0);
}

.secondary-button,
.secondary-link {
    background: rgba(255, 255, 255, .8);
    border-color: #d8d5cf;
    color: var(--aion-graphite);
}

.secondary-button:hover,
.secondary-link:hover {
    transform: translateY(-1px);
    background: #fff;
    border-color: rgba(101, 84, 255, .42);
    color: var(--aion-iris-deep);
    box-shadow: 0 8px 18px rgba(9, 11, 20, .06);
}

.danger-button,
.danger-button:hover {
    background: var(--app-danger);
    border-color: var(--app-danger);
}

.compact-button {
    box-shadow: none;
}

/* ----------------------------------------------------------
   Form surfaces
---------------------------------------------------------- */

.form-card,
.clinical-section,
.uccap-group,
.report-card,
.data-table-wrap,
.list,
.credential-card,
.auth-card,
.login-box {
    border-color: rgba(32, 37, 52, .085);
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--app-shadow-xs);
}

.form-card,
.clinical-section,
.report-card,
.credential-card {
    border-radius: 22px;
}

.form-section h2 {
    border-left: 0;
    padding-left: 0;
}

.form-section h2::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 10px 2px 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aion-iris), var(--aion-azure));
    box-shadow: 0 0 0 4px rgba(101, 84, 255, .09);
}

label {
    color: #5f6776;
    font-weight: 610;
}

input,
textarea,
select,
.report-editor-rich {
    border-color: #d8d6d1;
    background: #fbfaf7;
    color: var(--aion-graphite);
}

input:hover,
textarea:hover,
select:hover {
    border-color: #c3c0ba;
}

input:focus,
textarea:focus,
select:focus,
.report-editor-rich:focus {
    border-color: var(--aion-iris);
    background: #fff;
    box-shadow: var(--app-focus);
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--aion-iris);
}

.uccap-group {
    border-radius: 17px;
    background: #fff;
}

.uccap-group legend {
    color: var(--aion-graphite);
}

.uccap-side-card {
    border-color: rgba(32, 37, 52, .09);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 48px rgba(9, 11, 20, .07);
    backdrop-filter: blur(16px);
}

.uccap-side-title {
    color: var(--aion-iris);
}

.uccap-side-section:hover,
.uccap-side-submenu a:hover {
    background: var(--app-primary-soft);
    color: var(--aion-iris-deep);
}

.uccap-side-submenu {
    border-left-color: rgba(101, 84, 255, .18);
}

/* ----------------------------------------------------------
   Dashboard: monumental AION entrance + calm workspace
---------------------------------------------------------- */

.centre-welcome {
    padding: 18px 20px;
    border: 1px solid rgba(32, 37, 52, .075);
    border-radius: 18px;
    background: rgba(255, 255, 255, .68);
    box-shadow: var(--app-shadow-xs);
    backdrop-filter: blur(12px);
}

.centre-welcome-logo {
    border-color: rgba(101, 84, 255, .16);
    background: linear-gradient(145deg, #fff, #f5f2ff);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}

.dashboard-stat-grid {
    gap: 14px;
}

.dashboard-stat-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(32, 37, 52, .075);
    background: rgba(255, 255, 255, .82);
}

.dashboard-stat-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 56px;
    border-radius: 0 0 0 56px;
    background: linear-gradient(145deg, rgba(101, 84, 255, .1), rgba(57, 168, 255, .03));
}

.dashboard-stat-card strong {
    color: var(--aion-graphite);
}

.dashboard-hero {
    gap: 16px;
}

.dashboard-hero-copy {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 4.6vw, 58px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 26px;
    background:
        radial-gradient(circle at 78% 34%, rgba(57, 168, 255, .22), transparent 22%),
        radial-gradient(circle at 68% 22%, rgba(101, 84, 255, .28), transparent 29%),
        linear-gradient(135deg, #090b14 0%, #111525 72%, #16182a 100%);
    box-shadow: 0 25px 65px rgba(9, 11, 20, .18);
}

.dashboard-hero-copy::before,
.dashboard-hero-copy::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.dashboard-hero-copy::before {
    width: clamp(230px, 32vw, 410px);
    aspect-ratio: 1;
    right: clamp(-105px, -7vw, -45px);
    top: 50%;
    border: clamp(18px, 2.1vw, 30px) solid transparent;
    border-top-color: rgba(101, 84, 255, .72);
    border-right-color: rgba(57, 168, 255, .56);
    border-radius: 50%;
    transform: translateY(-50%) rotate(19deg);
    opacity: .66;
}

.dashboard-hero-copy::after {
    width: 12px;
    height: 12px;
    right: clamp(105px, 12vw, 175px);
    top: clamp(70px, 8vw, 105px);
    border-radius: 50%;
    background: var(--aion-gold);
    box-shadow: 0 0 28px rgba(214, 168, 75, .48);
}

.dashboard-hero-copy > * {
    position: relative;
    z-index: 1;
    max-width: min(650px, 78%);
}

.dashboard-hero-copy .eyebrow {
    color: #a99fff;
}

.dashboard-hero-copy h2,
.dashboard-hero-copy h1 {
    max-width: 650px;
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.04;
    letter-spacing: -.048em;
}

.dashboard-hero-copy .hero-description {
    color: rgba(255, 255, 255, .68);
    font-size: 16px;
}

.dashboard-hero-copy .primary-link {
    background: linear-gradient(135deg, var(--aion-iris), #7b68ff);
    border-color: transparent;
}

.dashboard-hero-copy .secondary-link {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .17);
    color: #fff;
    backdrop-filter: blur(8px);
}

.dashboard-hero-copy .secondary-link:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .3);
}

.clinical-console {
    border: 1px solid rgba(32, 37, 52, .085);
    border-radius: 26px;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--app-shadow-xs);
}

.console-topbar {
    min-height: 58px;
    border-bottom-color: var(--app-border-soft);
}

.console-topbar::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--aion-gold);
    box-shadow: 0 0 0 5px rgba(214, 168, 75, .1);
}

.workflow-step span {
    border-color: rgba(101, 84, 255, .13);
    background: #f5f3ff;
    color: var(--aion-iris-deep);
}

.workflow-step.is-current span {
    border-color: var(--aion-iris);
    background: linear-gradient(135deg, var(--aion-iris), var(--aion-azure));
    box-shadow: 0 8px 18px rgba(101, 84, 255, .2);
}

/* ----------------------------------------------------------
   Lists, tables and cards
---------------------------------------------------------- */

.search-bar input {
    min-height: 50px;
    padding-left: 18px;
    border-color: rgba(32, 37, 52, .12);
    background: rgba(255, 255, 255, .84);
    box-shadow: var(--app-shadow-xs);
}

.list,
.data-table-wrap {
    overflow: hidden;
    border-radius: 20px;
}

.list-item {
    background: rgba(255, 255, 255, .9);
}

.list-item:hover {
    background: #faf9ff;
}

.patient-name {
    color: var(--aion-graphite);
}

.list-right a {
    color: var(--aion-iris-deep);
}

.summary-card,
.detail-item {
    border-color: rgba(32, 37, 52, .075);
    background: rgba(255, 255, 255, .9);
}

.summary-card strong,
.detail-item strong {
    color: var(--aion-graphite);
}

.data-table th {
    background: #f4f2ed;
    color: #6d7481;
}

.data-table tbody tr:hover td {
    background: #fbfaff;
}

.status-pill.is-active,
.status-pill {
    border-color: rgba(39, 116, 90, .16);
    background: rgba(39, 116, 90, .09);
}

/* ----------------------------------------------------------
   AI generator and reports
---------------------------------------------------------- */

.ai-generator-panel,
.ai-bottom-generator,
.report-card {
    border-color: rgba(101, 84, 255, .14);
    background:
        linear-gradient(145deg, rgba(101, 84, 255, .035), transparent 38%),
        rgba(255, 255, 255, .94);
}

.ai-generator-panel::before,
.ai-bottom-generator::before {
    background: linear-gradient(90deg, var(--aion-iris), var(--aion-azure));
}

.ai-generator-copy .eyebrow,
.ai-bottom-generator-copy .eyebrow {
    color: var(--aion-iris);
}

.ai-auto-detection-note,
.helper-text,
.auth-info-box,
.consent-check {
    border-color: rgba(101, 84, 255, .1);
    background: rgba(101, 84, 255, .045);
}

.report-editor-rich {
    min-height: 540px;
    padding: clamp(22px, 4vw, 46px);
    border-radius: 16px;
    background: #fffefa;
    box-shadow: inset 0 0 0 1px rgba(32, 37, 52, .025);
}

/* ----------------------------------------------------------
   Feedback and safety states
---------------------------------------------------------- */

.error-box,
.success-box,
.warning-box {
    border-radius: 12px;
}

.success-box {
    border-color: rgba(39, 116, 90, .22);
    background: rgba(39, 116, 90, .075);
}

.warning-box {
    border-color: rgba(214, 168, 75, .35);
    background: rgba(214, 168, 75, .11);
}

.error-box {
    border-color: rgba(180, 58, 69, .24);
    background: rgba(180, 58, 69, .07);
}

.modal-backdrop {
    background: rgba(9, 11, 20, .72);
    backdrop-filter: blur(8px);
}

.modal-card {
    border-color: rgba(255, 255, 255, .12);
    border-radius: 24px;
    box-shadow: 0 35px 90px rgba(9, 11, 20, .32);
}

.modal-header {
    border-bottom-color: var(--app-border-soft);
}

/* ----------------------------------------------------------
   Authentication: AION's darker, more monumental entrance
---------------------------------------------------------- */

.login-container,
.auth-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(101, 84, 255, .26), transparent 28rem),
        radial-gradient(circle at 92% 84%, rgba(57, 168, 255, .14), transparent 28rem),
        linear-gradient(135deg, #080a12 0%, #101421 58%, #15182a 100%) !important;
}

.login-container::before,
.auth-page::before {
    content: "";
    display: block !important;
    position: fixed;
    width: min(56vw, 650px);
    aspect-ratio: 1;
    right: min(-22vw, -150px);
    top: 48%;
    border: clamp(24px, 4vw, 48px) solid transparent;
    border-top-color: rgba(101, 84, 255, .22);
    border-right-color: rgba(57, 168, 255, .16);
    border-radius: 50%;
    transform: translateY(-50%) rotate(20deg);
    pointer-events: none;
}

.login-container::after,
.auth-page::after {
    content: "";
    position: fixed;
    right: 12vw;
    top: 16vh;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--aion-gold);
    box-shadow: 0 0 34px rgba(214, 168, 75, .5);
    pointer-events: none;
}

.login-container {
    grid-template-columns: minmax(360px, 610px) minmax(330px, 430px);
    gap: clamp(28px, 5vw, 76px);
    padding: clamp(24px, 5vw, 72px);
}

.auth-intro {
    position: relative;
    z-index: 1;
    padding: clamp(18px, 3vw, 30px) 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.auth-logo-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: clamp(38px, 7vh, 72px);
}

.auth-logo-lockup img {
    width: 58px;
    height: 58px;
}

.auth-logo-lockup div {
    display: grid;
    gap: 4px;
}

.auth-logo-lockup strong {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .2em;
}

.auth-logo-lockup span {
    color: rgba(255, 255, 255, .52);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
}

.auth-badge {
    margin-bottom: 20px;
    color: #a99fff;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.auth-intro h1 {
    max-width: 610px;
    color: #fff;
    font-size: clamp(38px, 5.4vw, 68px);
    line-height: .99;
    letter-spacing: -.052em;
}

.auth-intro p {
    max-width: 560px;
    color: rgba(255, 255, 255, .63);
    font-size: 16px;
    line-height: 1.7;
}

.auth-intro .auth-points span {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .72);
}

.login-box,
.auth-card {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .955);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
    backdrop-filter: blur(22px);
}

.login-box {
    padding: clamp(28px, 4vw, 42px);
    border-radius: 24px;
}

.login-box h2 {
    color: var(--aion-graphite);
    font-size: 27px;
}

.login-box label {
    margin-top: 16px;
    color: #545c6a;
    font-weight: 640;
}

.login-box input,
.auth-form input,
.auth-form-section > input {
    border-color: #d7d4ce;
    background: #fbfaf7;
}

.login-box button {
    min-height: 48px;
    margin-top: 12px;
}

.switch a,
.auth-secondary-action a {
    color: var(--aion-iris-deep);
}

.auth-page-shell {
    position: relative;
    z-index: 1;
}

.auth-card {
    border-radius: 28px;
}

.auth-card .brand-copy strong,
.auth-card .brand-copy small {
    color: inherit;
}

.auth-brand-row .eyebrow {
    color: var(--aion-iris);
}

.auth-brand-row .eyebrow::after {
    display: none;
}

.auth-form-section {
    border-color: rgba(32, 37, 52, .08);
    background: #f8f7f3;
}

.auth-step {
    background: var(--app-primary-soft);
    color: var(--aion-iris-deep);
}

.password-requirements li {
    border-color: rgba(32, 37, 52, .08);
    background: #fff;
}

/* ----------------------------------------------------------
   Reduced motion and responsive behavior
---------------------------------------------------------- */

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

@media (max-width: 1080px) {
    .login-container {
        grid-template-columns: minmax(330px, 1fr) minmax(320px, 410px);
        gap: 34px;
    }

    .auth-intro h1 {
        font-size: clamp(38px, 5.8vw, 58px);
    }

    .dashboard-hero-copy > * {
        max-width: 86%;
    }
}

@media (max-width: 900px) {
    :root {
        --app-header-h: 68px;
    }

    .navbar {
        padding: 0 18px;
    }

    .brand-copy {
        display: none;
    }

    .login-container {
        grid-template-columns: 1fr;
        align-content: center;
        max-width: 760px;
        margin: 0 auto;
    }

    .auth-intro {
        padding-bottom: 0;
    }

    .auth-logo-lockup {
        margin-bottom: 28px;
    }

    .auth-intro h1 {
        font-size: clamp(38px, 8vw, 58px);
    }

    .dashboard-hero-copy {
        min-height: 350px;
    }

    .dashboard-hero-copy > * {
        max-width: 78%;
    }
}

@media (max-width: 700px) {
    .nav-main {
        width: 100%;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 0;
    }

    .navbar {
        align-items: flex-start;
    }

    .nav-left {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .nav-left a {
        flex: 0 0 auto;
    }

    .nav-right {
        padding-top: 15px;
    }

    .dashboard-hero-copy {
        min-height: 390px;
    }

    .dashboard-hero-copy > * {
        max-width: 100%;
    }

    .dashboard-hero-copy::before {
        opacity: .28;
    }

    .dashboard-hero-copy h2,
    .dashboard-hero-copy h1 {
        font-size: clamp(32px, 10vw, 44px);
    }

    .login-container {
        display: block;
        padding: 18px;
    }

    .auth-intro {
        padding: 34px 8px 38px;
    }

    .auth-intro h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .auth-intro .auth-points {
        display: none;
    }
}

@media (max-width: 560px) {
    .navbar {
        padding: 0 14px;
    }

    .nav-right {
        display: none;
    }

    .nav-brand {
        min-height: 44px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .page,
    .dashboard-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .page-header,
    .patient-detail-header,
    .report-top,
    .form-card,
    .clinical-section,
    .report-card {
        border-radius: 18px;
    }

    .dashboard-hero-copy,
    .clinical-console {
        border-radius: 20px;
    }

    .dashboard-hero-copy {
        padding: 28px 22px;
    }

    .dashboard-hero-copy::after {
        right: 42px;
        top: 40px;
    }

    .auth-page-shell {
        padding: 10px;
    }

    .auth-card,
    .auth-card-wide {
        min-height: calc(100svh - 20px);
        border-radius: 22px;
    }
}
