/* Visual language of the four-step enrollment screens. */
.application-page {
    background: #f5f7fb;
}

.application-shell {
    width: min(100% - 48px, 1440px);
    padding-top: 22px;
}

.application-header {
    align-items: center;
    gap: 28px;
    margin-bottom: 0;
    padding-bottom: 22px;
    border-bottom: 1px solid #e4e8f2;
}

.application-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 3vw, 32px);
    flex: 1;
}

.application-main-nav a {
    color: #526078;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.application-main-nav a:hover,
.application-main-nav a:last-child {
    color: #2862e8;
}

.application-project-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 30px;
    color: #68758d;
    font-size: 13px;
}

.application-project-nav a {
    color: #2862e8;
    font-weight: 700;
    text-decoration: none;
}

.application-project-nav strong {
    overflow: hidden;
    color: #172033;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.application-project-nav .is-current {
    color: #2862e8;
    font-weight: 700;
}

.application-card {
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 22px;
}

.application-card--project {
    margin-bottom: 14px;
}

.application-card--project .application-card__topline {
    margin-bottom: 0;
}

.application-stepper-shell {
    max-width: 1080px;
    margin: 0 auto 14px;
    padding: 18px clamp(24px, 4vw, 42px);
    border: 1px solid #dce2eb;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 36px #26365a0d;
}

.application-card__topline {
    align-items: center;
    margin-bottom: 30px;
}

.application-card__topline h1 {
    margin: 0;
    color: #172033;
    font-size: clamp(22px, 3vw, 29px);
    letter-spacing: -.025em;
}

.application-card__label {
    margin-bottom: 5px;
    color: #2862e8;
}

.application-card .form-version-note {
    margin: 7px 0 0;
    color: #9aa4b5;
    font-size: 12px;
}

.stepper {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef1f5;
}

.application-stepper-shell .stepper {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.form-renderer-surface .formio-component-columns {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 16px);
    margin-right: -8px;
    margin-left: -8px;
}

.form-renderer-surface .formio-component-columns > label,
.form-renderer-surface .formio-component-columns > .control-label {
    display: none !important;
}

.form-renderer-surface .formio-component-columns > [class*='col-'] {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 8px;
    padding-left: 8px;
}

.stepper__item {
    position: relative;
    flex: 1 1 0;
    gap: 9px;
    color: #9aa4b5;
    font-size: 12px;
}

.stepper__item.is-active {
    color: #2862e8;
}

.stepper__item.is-complete {
    color: #178a4c;
}

.stepper__number {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    background: #f1f4f8;
    color: #68758d;
}

.stepper__item.is-active .stepper__number {
    background: #2862e8;
    color: #fff;
    box-shadow: 0 0 0 4px #dbeafe;
}

.stepper__item.is-complete .stepper__number {
    background: #dcfce7;
    color: #178a4c;
}

.application-step-heading {
    margin: 0 0 28px;
}

.application-step-heading__title {
    display: block;
    margin: 0;
    color: #172033;
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.03em;
}

.application-step-heading__label {
    color: #172033;
    font-weight: 800;
}

.application-step-heading > p:last-child {
    max-width: 760px;
    margin: 10px 0 0;
    color: #68758d;
    font-size: 14px;
    line-height: 1.6;
}

.form-renderer-surface .formio-component {
    margin-bottom: 22px;
}

.form-renderer-surface .formio-component-panel {
    margin-bottom: 0;
}

.form-renderer-surface .formio-component-content {
    color: #68758d;
}

.form-renderer-surface .formio-component-content p {
    margin: 0 0 18px;
}

.form-renderer-surface .formio-component-content p strong {
    color: #526078;
    font-weight: 800;
}

.form-renderer-surface .control-label {
    color: #172033;
    font-size: 14px;
    font-weight: 600;
}

.form-renderer-surface .control-label .glyphicon,
.form-renderer-surface .control-label .formio-component-required {
    color: #ef4444;
}

.form-renderer-surface .form-control,
.form-renderer-surface .choices__inner {
    min-height: 48px;
    border-color: #d5ddeb;
    border-radius: 11px;
    background: #fff;
    font-size: 14px;
}

.form-renderer-surface .form-control::placeholder,
.form-renderer-surface .choices__placeholder {
    color: #9aa4b5;
    opacity: 1;
}

@keyframes enrollment-error-background-fade {
    from {
        background-color: #f8d7da;
    }

    to {
        background-color: transparent;
    }
}

.form-renderer-surface .formio-error-wrapper {
    animation: enrollment-error-background-fade 4s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
    .form-renderer-surface .formio-error-wrapper {
        animation: none;
        background-color: transparent;
    }
}

.form-renderer-surface .formio-component-file {
    margin: 0;
    padding: 17px;
    border: 1px solid #e4e8f2;
    border-radius: 14px;
    background: #fff;
}

.form-renderer-surface .formio-component-file .fileSelector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 116px;
    margin-top: 10px;
    padding: 20px 16px;
    border: 2px dashed #c3cee0;
    border-radius: 12px;
    background: #f9fbff;
    font-size: 0;
    text-align: center;
    transition: border-color .15s, background .15s;
}

.form-renderer-surface .formio-component-file .fileSelector::before {
    content: 'Trageți fișierul aici';
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.form-renderer-surface .formio-component-file .fileSelector.fileDragOver {
    border-color: #2563eb;
    background: #eff6ff;
}

.form-renderer-surface .formio-component-file .fileSelector .btn {
    background: #fff;
    border: 1px solid #2862e8;
    color: #2862e8;
}

.form-renderer-surface .formio-component-file .fileSelector > i {
    order: -1;
    color: #2862e8;
    font-size: 24px;
}

.form-renderer-surface .formio-component-file .fileSelector > .browse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #2862e8;
    border-radius: 8px;
    background: #fff;
    color: #2862e8;
    font-size: 0;
    font-weight: 800;
    padding: 9px 13px;
    text-decoration: none;
}

.form-renderer-surface .formio-component-file .fileSelector > .browse::after {
    content: 'Selectează fișierul';
    font-size: 13px;
}

.form-renderer-surface .formio-component-file .fileSelector > .browse > i {
    font-size: 14px;
}

.form-renderer-surface .formio-component-file .fileSelector .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.form-renderer-surface .formio-component-file .list-group {
    margin: 10px 0 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.form-renderer-surface .formio-component-file .list-group-item {
    display: flex;
    align-items: center;
    min-height: 46px;
    margin: 0 0 6px;
    padding: 9px 12px;
    border: 1px solid #e4e8f2;
    border-radius: 9px;
    background: #f9fafb;
    color: #344054;
    font-size: 12px;
}

.form-renderer-surface .formio-wizard-nav-container {
    justify-content: flex-end;
    margin-top: 34px;
    padding-top: 24px;
    border-top-color: #eef1f5;
}

.form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-cancel {
    margin-right: auto;
    border-color: #2862e8;
    background: #fff;
    color: #2862e8;
}

.form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-previous {
    border-color: #d5ddeb;
    background: #fff;
    color: #526078;
}

.form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-next,
.form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-submit {
    min-width: 150px;
    background: #2862e8;
    border-color: #2862e8;
    box-shadow: 0 6px 14px #2862e82b;
    color: #fff;
}

.enrollment-summary {
    display: grid;
    gap: 17px;
    margin-bottom: 24px;
}

.enrollment-summary__group {
    padding: 17px;
    border: 1px solid #e4e8f2;
    border-radius: 14px;
    background: #f9fafb;
}

.enrollment-summary__group h3 {
    margin: 0 0 12px;
    color: #172033;
    font-size: 16px;
}

.enrollment-summary__subgroup {
    min-width: 0;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #e4e8f2;
    border-radius: 10px;
    background: #fff;
}

.enrollment-summary__subgroup h4 {
    margin: 0 0 8px;
    color: #344054;
    font-size: 14px;
}

.enrollment-summary__subgroup .enrollment-summary__subgroup {
    background: #f9fafb;
}

.enrollment-summary__row {
    display: grid;
    grid-template-columns: minmax(130px, .6fr) minmax(0, 1.4fr);
    gap: 16px;
    padding: 9px 0;
    border-top: 1px solid #eef1f5;
    font-size: 13px;
}

.enrollment-summary__row span {
    color: #68758d;
    overflow-wrap: anywhere;
}

.enrollment-summary__row strong {
    color: #172033;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.enrollment-summary__empty {
    margin: 0;
    color: #68758d;
}

@media (max-width: 850px) {
    .application-main-nav {
        gap: 12px;
    }

    .application-main-nav a:nth-child(3),
    .application-main-nav a:nth-child(4) {
        display: none;
    }
}

@media (max-width: 700px) {
    .application-shell {
        width: min(100% - 28px, 1160px);
    }

    .application-header {
        gap: 12px;
        padding-bottom: 16px;
    }

    .application-main-nav {
        justify-content: flex-end;
    }

    .application-main-nav a:nth-child(2) {
        display: none;
    }

    .application-project-nav {
        margin: 18px 0 22px;
        font-size: 12px;
    }

    .application-card {
        border-radius: 18px;
        padding: 22px 16px 24px;
    }

    .application-stepper-shell {
        border-radius: 18px;
        padding: 16px;
    }

    .form-renderer-surface .formio-component-columns > [class*='col-'] {
        flex-basis: 100%;
        max-width: 100%;
    }

    .application-card__topline {
        margin-bottom: 24px;
    }

    .stepper {
        display: flex;
        flex-wrap: nowrap;
        gap: 4px;
        margin-bottom: 26px;
        padding-bottom: 18px;
    }

    .stepper__item {
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .stepper__number {
        margin: 0 auto 6px;
    }

    .stepper__text {
        display: block;
        font-size: 10px;
        line-height: 1.3;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    .application-step-heading__title {
        font-size: 24px;
    }

    .form-renderer-surface .formio-wizard-nav-container {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .form-renderer-surface .formio-wizard-nav-container li,
    .form-renderer-surface .formio-wizard-nav-container button {
        width: 100%;
    }

    .form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-cancel {
        margin-right: 0;
    }

    .enrollment-summary__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Enrollment reference actions: draft link on the left, navigation buttons on the right. */
.application-card .form-renderer-surface .formio-wizard-nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 32px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #eef1f5;
}

.application-card .form-renderer-surface .formio-wizard-nav-container > li {
    display: flex;
    align-items: center;
    width: auto;
    margin: 0;
    padding: 0;
}

.application-card .form-renderer-surface .formio-wizard-nav-container > li:has(.btn-wizard-nav-cancel) {
    margin-right: auto;
}

.application-card .form-renderer-surface .formio-wizard-nav-container button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 32px;
    height: 32px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    box-shadow: none;
    transition: background .15s, border-color .15s, color .15s, transform .15s;
}

.application-card .form-renderer-surface .formio-wizard-nav-container button:hover {
    transform: translateY(-1px);
}

.application-card .form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-cancel {
    min-width: 0;
    min-height: 24px;
    height: 24px;
    margin: 0;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-weight: 700;
    text-align: left;
}

.application-card .form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-cancel:hover {
    background: transparent;
    color: #1d4ed8;
    text-decoration: underline;
}

.application-card .form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-previous {
    min-width: 68px;
    border: 1px solid #d1d9e6;
    background: #fff;
    color: #344054;
}

.application-card .form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-previous:hover {
    border-color: #9aa4b5;
    background: #f9fafb;
}

.application-card .form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-next,
.application-card .form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-submit {
    min-width: 90px;
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #fff;
}

.application-card .form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-next:hover,
.application-card .form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-submit:hover {
    background: #1d4ed8;
}

@media (max-width: 700px) {
    .application-card .form-renderer-surface .formio-wizard-nav-container {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .application-card .form-renderer-surface .formio-wizard-nav-container > li,
    .application-card .form-renderer-surface .formio-wizard-nav-container button {
        width: 100%;
    }

    .application-card .form-renderer-surface .formio-wizard-nav-container > li:has(.btn-wizard-nav-cancel) {
        margin-right: 0;
    }

    .application-card .form-renderer-surface .formio-wizard-nav-container .btn-wizard-nav-cancel {
        justify-content: flex-start;
    }
}

/* Uploaded file state: one compact card with filename, size, status and remove action. */
.application-card .form-renderer-surface .formio-component-file .list-group-header {
    display: none !important;
}

.application-card .form-renderer-surface .formio-component-file .list-group {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    padding: 0;
    list-style: none;
}

.application-card .form-renderer-surface .formio-component-file .list-group-item:not(.list-group-header) {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #dce2eb;
    border-radius: 10px;
    background: #fff;
}

.application-card .form-renderer-surface .formio-component-file .list-group-item:not(.list-group-header) > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 12px;
    width: 100%;
    margin: 0;
}

.application-card .form-renderer-surface .formio-component-file .list-group-item:not(.list-group-header) > .row > div {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

.application-card .form-renderer-surface .formio-component-file .list-group-item:not(.list-group-header) > .row > div:first-child {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.application-card .form-renderer-surface .formio-component-file .list-group-item:not(.list-group-header) > .row > div:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    color: #68758d;
    font-size: 11px;
}

.application-card .form-renderer-surface .formio-component-file .list-group-item:not(.list-group-header) > .row > div:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
}

.application-card .form-renderer-surface .formio-component-file .list-group-item a {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    color: #172033;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.application-card .form-renderer-surface .formio-component-file .list-group-item a::before {
    content: '▤';
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    margin-right: 8px;
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 13px;
}

.application-card .form-renderer-surface .formio-component-file .list-group-item a:hover {
    color: #2563eb;
}

.application-card .form-renderer-surface .formio-component-file .list-group-item a .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.application-card .form-renderer-surface .formio-component-file .list-group-item:not(.list-group-header):not(:has(.status)) > .row > div:first-child::after {
    content: 'Încărcat';
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    margin-left: 8px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 10px;
    font-weight: 800;
    vertical-align: middle;
}

.application-card .form-renderer-surface .formio-component-file .list-group-item [ref='removeLink'],
.application-card .form-renderer-surface .formio-component-file .list-group-item [ref='fileToSyncRemove'] {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #fecaca;
    border-radius: 7px;
    background: #fef2f2;
    color: #dc2626;
    cursor: pointer;
    font-size: 13px;
}

.application-card .form-renderer-surface .formio-component-file .list-group-item [ref='removeLink']:hover,
.application-card .form-renderer-surface .formio-component-file .list-group-item [ref='fileToSyncRemove']:hover {
    background: #fee2e2;
}

.enrollment-auth-panel {
    margin-top: 24px;
}

.enrollment-auth-panel__card {
    background: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 16px;
    padding: 24px;
    max-width: 520px;
}

.enrollment-auth-panel__description {
    color: #526078;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px;
}

.enrollment-auth-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.enrollment-auth-panel .ux-field {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.enrollment-auth-panel .ux-field[hidden] {
    display: none;
}

.enrollment-auth-panel .ux-alert[hidden] {
    display: none;
}

.enrollment-auth-panel .ux-alert {
    margin: 0 0 16px;
}

.enrollment-auth-panel .ux-field span {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.enrollment-auth-panel .ux-field input {
    border: 1px solid #d7deea;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
}

.enrollment-auth-panel .ux-field input[aria-invalid="true"] {
    border-color: #dc2626;
    box-shadow: 0 0 0 1px #dc2626;
}

/* Nota informativă: etapă inițială, citire și acces discret după confirmare. */
.enrollment-notice-gate { color: #152642; }
.enrollment-notice-gate [hidden] { display: none !important; }
.enrollment-notice-prompt { display: flex; align-items: flex-start; gap: 16px; padding: 24px 20px 28px; }
.enrollment-notice-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border: 1px solid #dce8ff; border-radius: 12px; color: #225bea; background: #edf3ff; }
.enrollment-notice-icon svg { width: 22px; height: 22px; }
.enrollment-notice-prompt__copy { min-width: 0; }
.enrollment-notice-prompt h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.4; letter-spacing: -.025em; color: #152642; }
.enrollment-notice-prompt p { max-width: 65ch; margin: 0 0 20px; font-size: 14px; line-height: 1.75; color: #52627b; }
.enrollment-notice-open.ux-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 12px 16px; border-radius: 10px; font-size: 12px; line-height: 1.5; white-space: normal; text-align: left; }
.enrollment-notice-open svg { width: 18px; height: 18px; flex-shrink: 0; }
.enrollment-notice-summary { padding: 16px 0; }
.enrollment-notice-gate > .enrollment-notice-summary { margin: 0 20px 20px; border-bottom: 1px solid #e6ecf4; }
[data-notice-summary-slot]:has(.enrollment-notice-summary) { margin-top: 20px; border-top: 1px solid #e6ecf4; }
[data-notice-summary-slot] .enrollment-notice-summary { padding-bottom: 0; }
.enrollment-notice-summary p { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; color: #18734b; font-size: 12px; line-height: 1.6; }
.enrollment-notice-summary svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }
.enrollment-notice-reopen, .enrollment-notice-inline-link { border: 0; background: transparent; color: #225bea; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.enrollment-notice-reopen { min-height: 44px; padding: 8px 0; font-size: 13px; text-align: left; }
.enrollment-notice-inline-link { display: inline; padding: 2px 4px; border-radius: 4px; }
.enrollment-notice-reopen:hover, .enrollment-notice-inline-link:hover { color: #1745be; }
body:has([data-notice-dialog][open]) { overflow: hidden; }
.enrollment-notice-dialog {
    box-sizing: border-box; position: fixed; inset: 0; margin: auto;
    width: calc(100vw - 24px); max-width: 1000px;
    height: min(880px, calc(100dvh - 24px)); max-height: calc(100dvh - 24px);
    padding: 0; overflow: hidden; border: 1px solid #dce4ef; border-radius: 18px;
    background: #fff; color: #334155;
    font-family: var(--crest-font-family, Inter, system-ui, sans-serif);
    box-shadow: 0 24px 80px rgb(15 23 42 / 24%);
}
.enrollment-notice-dialog *, .enrollment-notice-dialog *::before, .enrollment-notice-dialog *::after { box-sizing: border-box; }
.enrollment-notice-dialog[open] { display: flex; flex-direction: column; }
.enrollment-notice-dialog::backdrop { background: rgb(15 23 42 / 58%); backdrop-filter: blur(4px); }
.enrollment-notice-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-shrink: 0; padding: 20px; background: #fff; }
.enrollment-notice-eyebrow { display: block; margin-bottom: 4px; color: #52627b; font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.enrollment-notice-dialog .enrollment-notice-dialog__header h2 { margin: 0; color: #152642; font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -.03em; }
.enrollment-notice-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #dce4ef; border-radius: 12px; background: #fff; color: #52627b; cursor: pointer; }
.enrollment-notice-close:hover { background: #edf3ff; color: #225bea; border-color: #c5d6ff; }
.enrollment-notice-close svg { width: 20px; height: 20px; }
.enrollment-notice-progress { height: 3px; flex-shrink: 0; background: #edf1f7; }
.enrollment-notice-progress span { display: block; width: 0; height: 100%; background: #225bea; }
.enrollment-notice-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 24px 20px 32px; line-height: 1.8; overflow-wrap: anywhere; background: #fff; }
.enrollment-notice-content:focus-visible { outline: 2px solid #225bea; outline-offset: -4px; }
.enrollment-notice-document { font-size: 15px; line-height: 1.8; }
.enrollment-notice-document p { margin: 0 0 18px; }
.enrollment-notice-document__metadata { padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid #e6ecf4; color: #52627b; font-size: 12px; line-height: 1.8; }
.enrollment-notice-document__metadata p { margin: 0 0 8px; }
.enrollment-notice-document .enrollment-notice-document__title { margin: 0 0 24px; font-size: 22px; line-height: 1.45; font-weight: 700; letter-spacing: -.025em; color: #152642; }
.enrollment-notice-document__identity { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.enrollment-notice-document__identity span { padding: 5px 10px; border: 1px solid #e6ecf4; border-radius: 6px; color: #52627b; background: #f8faff; font-size: 12px; }
.enrollment-notice-document .enrollment-notice-chapter { margin: 36px 0 24px; padding: 18px 20px; border-left: 3px solid #225bea; border-radius: 0 10px 10px 0; background: #edf3ff; color: #1745be; font-size: 17px; line-height: 1.65; font-weight: 650; letter-spacing: -.015em; }
.enrollment-notice-chapter__number { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .08em; }
.enrollment-notice-document ul { margin: 0 0 24px; padding-left: 24px; list-style-type: disc; }
.enrollment-notice-document li { margin-bottom: 12px; padding-left: 4px; }
.enrollment-notice-document li::marker { color: #225bea; }
.enrollment-notice-document li ul { margin-top: 12px; }
.enrollment-notice-document__callout { padding: 20px; border: 1px solid #dce8ff; border-radius: 12px; background: #f8faff; }
.enrollment-notice-document__signature { margin-top: 32px; padding-top: 24px; border-top: 1px solid #dce4ef; color: #52627b; }
.enrollment-notice-document__signature p:last-child { margin-bottom: 0; }
.enrollment-notice-courses { display: block; width: 100%; margin: 28px 0; border-collapse: separate; border-spacing: 0; font-size: 13px; line-height: 1.7; }
.enrollment-notice-courses thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.enrollment-notice-courses tbody { display: block; }
.enrollment-notice-courses tr { display: block; margin-bottom: 16px; padding: 16px; border: 1px solid #dce4ef; border-radius: 12px; background: #fff; }
.enrollment-notice-courses td { display: block; padding: 8px 0; border: 0; }
.enrollment-notice-courses td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: #52627b; font-size: 11px; font-weight: 600; }
.enrollment-notice-courses td:nth-child(2) { color: #152642; font-weight: 600; }
.enrollment-notice-courses td p { margin: 0; }
.enrollment-notice-dialog__footer { display: flex; flex-direction: column; align-items: stretch; gap: 12px; flex-shrink: 0; padding: 16px 20px; border-top: 1px solid #dce4ef; background: #f8faff; }
.enrollment-notice-dialog__footer p { margin: 0; color: #52627b; font-size: 12px; line-height: 1.6; }
.enrollment-notice-dialog__footer .ux-button { min-height: 44px; white-space: normal; font-size: 12px; line-height: 1.5; text-align: center; border-radius: 10px; }
.enrollment-notice-gate :is(button, [tabindex]):focus-visible, .enrollment-notice-reopen:focus-visible, .enrollment-notice-inline-link:focus-visible { outline: 3px solid #225bea; outline-offset: 3px; }
.enrollment-notice-dialog [hidden] { display: none !important; }
.application-card:has([data-notice-gate][data-pending="true"]) .ci-loading { display: none; }
.crest-interior:not([data-ci-ready]) .application-step-heading { grid-template-columns: minmax(0, 1fr); }
.crest-interior:not([data-ci-ready]) .application-step-heading__title { grid-column: 1; }
@media (min-width: 640px) {
    .enrollment-notice-prompt { gap: 20px; padding: 32px; }
    .enrollment-notice-icon { flex-basis: 48px; height: 48px; border-radius: 14px; }
    .enrollment-notice-prompt h2 { font-size: 22px; }
    .enrollment-notice-dialog { width: calc(100vw - 48px); height: min(880px, calc(100dvh - 48px)); max-height: calc(100dvh - 48px); border-radius: 20px; }
    .enrollment-notice-dialog__header { padding: 24px 32px; }
    .enrollment-notice-content { padding: 32px 40px 40px; }
    .enrollment-notice-dialog__footer { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 32px; min-height: 84px; }
    .enrollment-notice-dialog__footer p { max-width: 52ch; }
    .enrollment-notice-dialog__footer .ux-button { flex-shrink: 0; }
}
@media (min-width: 900px) {
    .enrollment-notice-courses { display: table; table-layout: fixed; border: 1px solid #dce4ef; border-radius: 12px; overflow: hidden; font-size: 12px; }
    .enrollment-notice-courses thead { position: static; display: table-header-group; width: auto; height: auto; clip-path: none; overflow: visible; background: #edf3ff; }
    .enrollment-notice-courses tbody { display: table-row-group; }
    .enrollment-notice-courses tr { display: table-row; padding: 0; border: 0; border-radius: 0; }
    .enrollment-notice-courses th, .enrollment-notice-courses td { display: table-cell; padding: 12px 10px; text-align: left; vertical-align: top; }
    .enrollment-notice-courses th { color: #1745be; font-size: 11px; font-weight: 600; }
    .enrollment-notice-courses td { border-top: 1px solid #e6ecf4; }
    .enrollment-notice-courses th:first-child { width: 5%; }
    .enrollment-notice-courses th:nth-child(2) { width: 29%; }
    .enrollment-notice-courses th:nth-child(3) { width: 24%; }
    .enrollment-notice-courses tbody tr:nth-child(even) { background: #f8faff; }
    .enrollment-notice-courses td::before { display: none; }
}
