:root {
    --ink: #17201d;
    --muted: #5e6863;
    --green-950: #123a2f;
    --green-900: #17483a;
    --green-800: #1f5b49;
    --green-100: #e8f0ec;
    --green-50: #f2f7f4;
    --gold: #b58a3a;
    --gold-light: #e5d2a8;
    --paper: #fffefb;
    --sand: #f5f1e8;
    --line: #d9dedb;
    --danger: #a32828;
    --danger-bg: #fff0f0;
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(23, 32, 29, 0.08);
    --radius: 4px;
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid #d6a94f;
    outline-offset: 3px;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.narrow {
    max-width: 940px;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--green-950);
    border-radius: var(--radius);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white);
    background: var(--green-950);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.university-name {
    display: flex;
    align-items: baseline;
    gap: 12px;
    text-decoration: none;
}

.university-name__primary {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.university-name__secondary {
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.82rem;
}

.header-cta {
    flex: 0 0 auto;
    padding: 9px 17px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: var(--radius);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}

.header-cta:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero {
    overflow: hidden;
    position: relative;
    color: var(--white);
    background-color: var(--green-950);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 32%;
    opacity: 0.22;
    background-image: repeating-linear-gradient(90deg, transparent 0, transparent 38px, rgba(255, 255, 255, 0.13) 39px, transparent 40px), repeating-linear-gradient(0deg, transparent 0, transparent 38px, rgba(255, 255, 255, 0.1) 39px, transparent 40px);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    min-height: 600px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 80px;
    align-items: center;
    padding-block: 80px 96px;
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--green-800);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow--light {
    color: var(--gold-light);
}

.hero .eyebrow {
    color: var(--gold-light);
}

.hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.4rem, 8vw, 7.3rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-university {
    margin: 28px 0 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
}

.hero-title {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 3vw, 2.35rem);
    line-height: 1.35;
}

.hero-actions {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    font-weight: 750;
    line-height: 1.2;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
    color: var(--green-950);
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.button-primary:hover {
    background: #f0deb6;
    border-color: #f0deb6;
}

.text-link {
    color: var(--green-800);
    font-weight: 750;
    text-underline-offset: 5px;
}

.hero .text-link {
    color: var(--white);
}

.hero-summary {
    align-self: end;
    margin-bottom: 10px;
    display: grid;
    gap: 10px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(8, 34, 27, 0.54);
}

.hero-summary__label {
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-summary strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    line-height: 1.35;
}

.hero-summary > span:not(.hero-summary__label, .hero-summary__rule) {
    color: rgba(255, 255, 255, 0.78);
}

.hero-summary__rule {
    height: 1px;
    margin-block: 12px 5px;
    background: rgba(255, 255, 255, 0.24);
}

.content-section {
    padding-block: 100px;
    scroll-margin-top: 24px;
}

.content-section--tinted {
    background: var(--sand);
}

.content-section--dark {
    color: var(--white);
    background: var(--green-900);
}

.section-number {
    margin: 0 0 12px;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
}

.section-number--light {
    color: var(--gold-light);
}

.content-section h2 {
    max-width: 800px;
    margin: 0 0 32px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 400;
    line-height: 1.13;
    letter-spacing: -0.025em;
}

.lead {
    max-width: 870px;
    margin: 0;
    color: #2f3b36;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.22rem, 2.2vw, 1.55rem);
    line-height: 1.62;
}

.stages {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.stage-card {
    grid-column: span 4;
    min-height: 340px;
    padding: 30px;
    border-top: 4px solid var(--green-800);
    background: var(--white);
}

.stage-card:nth-child(2) {
    grid-column: span 5;
}

.stage-card:nth-child(3) {
    grid-column: span 3;
}

.stage-card__number {
    color: var(--green-800);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.stage-card h3 {
    margin: 14px 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
}

.stage-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.section-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 60px;
    align-items: end;
}

.section-heading-row > p {
    margin: 0 0 38px;
    color: var(--muted);
}

.topic-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: topics;
    border-top: 1px solid var(--line);
}

.topic-list li {
    counter-increment: topics;
    position: relative;
    min-height: 78px;
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.08rem;
}

.topic-list li::before {
    content: counter(topics, decimal-leading-zero);
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
}

.format-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
}

.format-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.format-copy p {
    margin: 0;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.08rem;
}

.importance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.importance-copy {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.22rem;
    line-height: 1.65;
}

.importance-copy p:first-child {
    margin-top: 0;
}

.destination-list {
    padding: 8px 0 8px 28px;
    border-left: 3px solid var(--gold);
}

.destination-list p {
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.importance-conclusion {
    max-width: 650px;
    margin: 44px 0 0 auto;
    color: var(--green-800);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.application-section {
    padding-block: 100px;
    color: var(--white);
    background: var(--green-950);
    scroll-margin-top: 0;
}

.application-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(620px, 1.25fr);
    gap: 80px;
    align-items: start;
}

.application-intro {
    position: sticky;
    top: 30px;
}

.application-intro h2 {
    margin: 0 0 34px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 5vw, 4.3rem);
    font-weight: 400;
    line-height: 1;
}

.application-intro > p {
    color: rgba(255, 255, 255, 0.8);
}

.recipient {
    margin-bottom: 36px;
    padding: 24px;
    border-left: 3px solid var(--gold-light);
    background: rgba(255, 255, 255, 0.06);
}

.recipient p {
    margin: 0 0 5px;
}

.application-note {
    margin-top: 32px;
    font-size: 0.9rem;
}

.form-card {
    padding: clamp(28px, 5vw, 52px);
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-card h3 {
    margin: 0 0 34px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.form-card form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
}

.field {
    min-width: 0;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: #29332f;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.45;
}

.field label span,
.required-note span {
    color: var(--danger);
}

.field input:not([type="checkbox"]),
.field select {
    width: 100%;
    min-height: 50px;
    padding: 11px 13px;
    border: 1px solid #aeb8b3;
    border-radius: 2px;
    color: var(--ink);
    background: var(--white);
}

.field input:not([type="checkbox"]):hover,
.field select:hover {
    border-color: #718079;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
    border-color: var(--danger);
    background: #fffafa;
}

.field-error {
    margin: 6px 0 0;
    color: var(--danger);
    font-size: 0.85rem;
    font-weight: 650;
}

.checkbox-field {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 4px 10px;
    align-items: start;
    padding: 15px;
    background: var(--green-50);
}

.checkbox-field input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--green-800);
}

.checkbox-field label {
    margin: 0;
}

.checkbox-field .field-error {
    grid-column: 2;
}

.button-submit {
    width: 100%;
    color: var(--white);
    background: var(--green-800);
    border-color: var(--green-800);
}

.button-submit:hover {
    background: var(--green-950);
    border-color: var(--green-950);
}

.required-note {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.error-summary {
    margin-bottom: 28px;
    padding: 16px 18px;
    border-left: 4px solid var(--danger);
    color: #6e1d1d;
    background: var(--danger-bg);
}

.error-summary p {
    margin: 2px 0 0;
}

.success-section {
    min-height: 68vh;
    display: grid;
    place-items: center;
    padding-block: 80px;
    background: var(--sand);
}

.success-card {
    max-width: 760px;
    padding: clamp(35px, 7vw, 70px);
    text-align: center;
    background: var(--white);
    border-top: 5px solid var(--green-800);
    box-shadow: var(--shadow);
}

.success-mark {
    width: 66px;
    height: 66px;
    margin: 0 auto 26px;
    display: grid;
    place-items: center;
    border: 2px solid var(--green-800);
    border-radius: 50%;
    color: var(--green-800);
    font-size: 2rem;
}

.success-card h1 {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.12;
}

.success-card > p:not(.eyebrow) {
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 1.12rem;
}

.site-footer {
    padding-block: 34px;
    color: rgba(255, 255, 255, 0.7);
    background: #0d2c24;
    font-size: 0.83rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-inner p {
    margin: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Admin */
.admin-body {
    min-height: 100vh;
    background: #f3f5f4;
}

.admin-container {
    width: min(calc(100% - 40px), 1320px);
    margin-inline: auto;
}

.admin-header {
    color: var(--white);
    background: var(--green-950);
}

.admin-header__inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 50px;
    align-items: center;
}

.admin-brand {
    display: flex;
    flex-direction: column;
    color: var(--white);
    text-decoration: none;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.admin-brand small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.admin-nav {
    display: flex;
    align-self: stretch;
    align-items: stretch;
    gap: 5px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-bottom: 3px solid transparent;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}

.admin-nav a:hover,
.admin-nav a.is-active {
    color: var(--white);
    border-bottom-color: var(--gold-light);
}

.admin-account {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
}

.link-button {
    padding: 0;
    border: 0;
    color: var(--white);
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.admin-main {
    padding-block: 48px 80px;
}

.admin-page-heading {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
}

.admin-page-heading h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.1;
}

.admin-page-heading p:not(.eyebrow) {
    margin: 8px 0 0;
    color: var(--muted);
}

.button-admin {
    color: var(--white);
    background: var(--green-800);
    border-color: var(--green-800);
}

.button-admin:hover {
    background: var(--green-950);
    border-color: var(--green-950);
}

.stat-grid {
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.stat-card {
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid var(--line);
    background: var(--white);
}

.stat-card--total {
    color: var(--white);
    background: var(--green-900);
    border-color: var(--green-900);
}

.stat-card span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.stat-card--total span {
    color: rgba(255, 255, 255, 0.74);
}

.stat-card strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    line-height: 1;
}

.admin-card {
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--white);
}

.admin-card + .admin-card {
    margin-top: 22px;
}

.admin-card__heading {
    margin-bottom: 20px;
}

.admin-card h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th,
td {
    padding: 16px 14px;
    border-bottom: 1px solid #e5e9e7;
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    background: #f8f9f8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

td strong,
td small {
    display: block;
}

td small {
    margin-top: 3px;
    color: var(--muted);
}

tbody tr:hover {
    background: #fbfcfb;
}

.table-link,
.back-link {
    color: var(--green-800);
    font-weight: 750;
    text-underline-offset: 4px;
}

.back-link {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 0.88rem;
}

.status-badge,
.duplicate-flag {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
}

.status-new {
    color: #1d526e;
    background: #e7f4fa;
}

.status-reviewing {
    color: #715515;
    background: #fcf2d8;
}

.status-interview {
    color: #56407a;
    background: #f0eafa;
}

.status-accepted {
    color: #1a674d;
    background: #e3f4ed;
}

.status-rejected {
    color: #8a2929;
    background: #fae8e8;
}

.duplicate-flag {
    margin-top: 7px;
    color: #8a2929;
    background: #fae8e8;
}

.filter-card {
    margin-bottom: 22px;
}

.filter-form {
    display: grid;
    grid-template-columns: minmax(200px, 1.4fr) repeat(4, minmax(140px, 1fr)) auto;
    gap: 14px;
    align-items: end;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 50px;
}

.pagination {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--muted);
    font-size: 0.88rem;
}

.pagination a {
    color: var(--green-800);
    font-weight: 750;
}

.pagination [aria-disabled="true"] {
    opacity: 0.48;
}

.empty-state {
    margin: 0;
    padding: 34px;
    color: var(--muted);
    text-align: center;
    background: #f8f9f8;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    gap: 22px;
    align-items: start;
}

.detail-card h2,
.status-card h2 {
    margin-bottom: 24px;
}

.detail-list {
    margin: 0;
}

.detail-list > div {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 24px;
    padding: 15px 0;
    border-bottom: 1px solid #e7ebe9;
}

.detail-list dt {
    color: var(--muted);
    font-size: 0.83rem;
    font-weight: 700;
}

.detail-list dd {
    margin: 0;
    font-weight: 650;
}

.status-card form {
    display: grid;
    gap: 20px;
}

.duplicate-notice {
    margin-top: 24px;
    padding: 16px;
    border-left: 4px solid #b86262;
    color: #712929;
    background: var(--danger-bg);
}

.duplicate-notice p {
    margin: 5px 0 0;
}

.flash-message {
    margin-bottom: 24px;
    padding: 13px 16px;
    border-left: 4px solid var(--green-800);
    color: #1a5b46;
    background: #e8f5ef;
    font-weight: 700;
}

.login-body {
    min-height: 100vh;
    color: var(--white);
    background: var(--green-950);
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
}

.login-context {
    padding: clamp(35px, 7vw, 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.login-context h1 {
    max-width: 520px;
    margin: 0 0 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    font-weight: 400;
    line-height: 1.08;
}

.login-context > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.7);
}

.login-home {
    position: absolute;
    top: 34px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    font-weight: 700;
    text-underline-offset: 4px;
}

.login-panel {
    display: grid;
    place-items: center;
    padding: 40px;
    background: var(--sand);
}

.login-form {
    width: min(100%, 510px);
    display: grid;
    gap: 24px;
    padding: clamp(30px, 6vw, 55px);
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
}

.login-form h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.25rem;
    font-weight: 400;
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr 280px;
        gap: 45px;
    }

    .stage-card,
    .stage-card:nth-child(2) {
        grid-column: span 6;
    }

    .stage-card:nth-child(3) {
        grid-column: span 12;
        min-height: auto;
    }

    .application-grid {
        grid-template-columns: 1fr;
    }

    .application-intro {
        position: static;
        max-width: 760px;
    }

    .filter-form {
        grid-template-columns: repeat(3, 1fr);
    }

    .filter-search {
        grid-column: span 2;
    }

    .stat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .university-name {
        display: block;
    }

    .university-name__secondary {
        display: block;
        margin-top: 3px;
        padding-left: 0;
        border: 0;
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-block: 70px;
    }

    .hero-summary {
        width: min(100%, 420px);
        align-self: auto;
    }

    .content-section {
        padding-block: 75px;
    }

    .section-heading-row,
    .format-grid,
    .importance-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .section-heading-row > p {
        margin: -15px 0 25px;
    }

    .stage-card,
    .stage-card:nth-child(2),
    .stage-card:nth-child(3) {
        grid-column: span 12;
        min-height: auto;
    }

    .application-section {
        padding-block: 75px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
    }

    .admin-header__inner {
        grid-template-columns: 1fr auto;
        gap: 20px;
        padding-block: 14px;
    }

    .admin-nav {
        grid-row: 2;
        grid-column: 1 / -1;
        min-height: 46px;
        order: 3;
    }

    .admin-nav a {
        padding: 0 14px;
    }

    .admin-account > span {
        display: none;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-context {
        min-height: 390px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .login-panel {
        min-height: 520px;
    }
}

@media (max-width: 600px) {
    .container,
    .admin-container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 78px;
    }

    .university-name__primary {
        font-size: 1.05rem;
    }

    .university-name__secondary {
        max-width: 230px;
        font-size: 0.68rem;
        line-height: 1.35;
    }

    .header-cta {
        display: none;
    }

    .hero h1 {
        font-size: clamp(2.3rem, 11vw, 3.1rem);
        letter-spacing: -0.055em;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        text-align: center;
    }

    .hero-summary {
        padding: 24px;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .stage-card {
        padding: 24px;
    }

    .topic-list li {
        grid-template-columns: 45px 1fr;
        font-size: 1rem;
    }

    .importance-conclusion {
        margin-left: 0;
    }

    .application-grid {
        gap: 45px;
    }

    .form-card form {
        grid-template-columns: 1fr;
    }

    .field--full {
        grid-column: auto;
    }

    .checkbox-field {
        grid-template-columns: 22px 1fr;
    }

    .checkbox-field .field-error {
        grid-column: 2;
    }

    .form-card {
        padding: 25px 18px;
    }

    .admin-main {
        padding-block: 32px 60px;
    }

    .admin-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-card {
        padding: 18px;
    }

    .filter-form {
        grid-template-columns: 1fr;
    }

    .filter-search {
        grid-column: auto;
    }

    .detail-list > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .login-context,
    .login-panel {
        padding: 28px 18px;
    }

    .login-home {
        top: 22px;
    }

    .login-form {
        padding: 30px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .site-header,
    .site-footer,
    .hero-actions,
    .application-section,
    .admin-header,
    .filter-card,
    .button {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}
