:root {
    --stu-blue: #0054A6;
    --stu-blue-dark: #003C78;
    --stu-blue-soft: #EAF4FF;
    --stu-red: #ED1B23;
    --stu-red-dark: #C81018;
    --ink: #18263A;
    --muted: #5C6878;
    --line: #D9E2EC;
    --surface: #FFFFFF;
    --soft: #F4F8FC;
    --shadow: 0 14px 34px rgba(17, 49, 83, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #FFFFFF;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

button,
select,
input,
textarea,
a {
    font-family: Tahoma, Arial, sans-serif;
    font-size: inherit;
    line-height: inherit;
}

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

img {
    max-width: 100%;
}

.container {
    width: 1180px;
    max-width: calc(100% - 32px);
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 2000;
    padding: 10px 16px;
    color: #FFFFFF;
    background: var(--stu-blue);
    border-radius: 8px;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 84, 166, 0.14);
    box-shadow: 0 4px 16px rgba(0, 49, 96, 0.06);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--stu-blue-dark);
    text-decoration: none;
}

.brand img {
    width: 66px;
    height: 58px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-text strong {
    font-size: 14px;
    letter-spacing: 0.02em;
}

.brand-text span {
    margin-top: 3px;
    color: #66778A;
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 11px 14px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 9px;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--stu-blue);
    background: var(--stu-blue-soft);
}

.page-intro {
    background: #FFFFFF;
    border-bottom: 1px solid #E4EBF2;
}

.page-intro-inner {
    padding-top: 30px;
    padding-bottom: 24px;
}

.page-intro-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 24px;
    align-items: end;
}

.page-intro-copy .section-kicker {
    grid-column: 1 / -1;
}

.page-intro h1 {
    margin: 5px 0 0;
    color: var(--stu-blue-dark);
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-intro-date {
    margin: 0 0 3px;
    color: var(--stu-blue);
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
}

.page-intro-note {
    grid-column: 1 / -1;
    max-width: 900px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.mini-timeline {
    position: relative;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mini-timeline:before {
    content: '';
    position: absolute;
    top: 19px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: #D9E5EF;
}

.mini-timeline-item {
    position: relative;
    z-index: 1;
    min-height: 78px;
    padding: 12px 15px 12px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #F8FBFE;
    border: 1px solid #DFE8F1;
    border-radius: 12px;
}

.mini-timeline-item:before {
    content: '';
    position: absolute;
    left: 16px;
    top: 17px;
    width: 18px;
    height: 18px;
    background: #FFFFFF;
    border: 5px solid #7FAED6;
    border-radius: 50%;
}

.mini-timeline-item.is-current:before {
    border-color: var(--stu-blue);
}

.mini-timeline-item.is-accent {
    background: #FFF8F5;
    border-color: #F0D8CD;
}

.mini-timeline-item.is-accent:before {
    border-color: var(--stu-red);
}

.mini-timeline-date {
    color: var(--stu-red-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.mini-timeline-item strong {
    margin-top: 2px;
    color: var(--stu-blue-dark);
    font-size: 16px;
    line-height: 1.3;
}

.mini-timeline-item a {
    margin-top: 3px;
    color: var(--stu-blue);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.mini-timeline-item a:hover,
.mini-timeline-item a:focus {
    text-decoration: underline;
}

.notice-strip {
    color: #FFFFFF;
    background: var(--stu-red);
}

.notice-strip-inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.notice-strip p {
    margin: 0;
}

.notice-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--stu-red);
    background: #FFFFFF;
    border-radius: 50%;
    font-weight: 900;
}

.section {
    padding: 72px 0;
}

.section-soft {
    background: var(--soft);
}

.section-heading {
    max-width: 770px;
    margin-bottom: 32px;
}

.section-kicker {
    color: var(--stu-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.section-heading h2 {
    margin: 7px 0 8px;
    color: var(--stu-blue-dark);
    font-size: 34px;
    line-height: 1.22;
}

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

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.info-card {
    position: relative;
    min-height: 210px;
    padding: 25px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 15px;
}

.info-card:after {
    content: '';
    position: absolute;
    right: -25px;
    bottom: -30px;
    width: 95px;
    height: 95px;
    background: var(--stu-blue-soft);
    border-radius: 50%;
}

.info-number {
    color: var(--stu-red);
    font-size: 13px;
    font-weight: 900;
}

.info-card h3 {
    margin: 10px 0 8px;
    color: var(--stu-blue-dark);
    font-size: 20px;
}

.info-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
}

.student-information {
    padding-top: 72px;
}

.student-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.student-action-card {
    min-height: 300px;
    padding: 28px;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-top: 5px solid var(--stu-blue);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(20, 51, 83, 0.08);
}

.student-action-card-health {
    background: #F5FAFF;
}

.student-action-card-english {
    background: #FFF8F8;
    border-top-color: var(--stu-red);
}

.student-action-index {
    width: 62px;
    height: 62px;
    min-width: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    color: #FFFFFF;
    background: #0762B5;
    border-radius: 16px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.student-action-card-english .student-action-index {
    background: var(--stu-red);
}

.student-action-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.student-action-label {
    color: var(--stu-blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.student-action-card-english .student-action-label {
    color: var(--stu-red-dark);
}

.student-action-card h3 {
    margin: 7px 0 8px;
    color: var(--stu-blue-dark);
    font-size: 24px;
    line-height: 1.25;
}

.student-action-card p {
    margin: 0 0 24px;
    color: var(--muted);
}

/* Canh vùng hành động xuống cùng đáy hai card */
.student-action-card-health .student-action-body > .btn,
.student-action-card-english .student-action-buttons-english {
    margin-top: auto;
}

/* Nút khám sức khỏe */
.student-action-card-health .btn {
    width: auto;
    min-width: 330px;
    max-width: 70%;
    min-height: 64px;
    align-self: flex-start;
}

/* Hai nút của lịch kiểm tra Tiếng Anh */
.student-action-buttons-english {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 14px;
}

.student-action-buttons-english > .btn {
    flex: 1 1 0;
    min-width: 0;
    height: 64px;
    min-height: 64px;
    margin: 0;
    padding: 12px 14px;
    gap: 8px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

/* PDF: nhẹ hơn, là tài liệu tham khảo */
.student-action-card-english .btn-english-pdf {
    color: #0757A6;
    background: #FFFFFF;
    border: 2px solid #C8DDF2;
    box-shadow: 0 4px 12px rgba(0, 84, 166, 0.08);
}

.student-action-card-english .btn-english-pdf:hover,
.student-action-card-english .btn-english-pdf:focus {
    color: #0757A6;
    background: #EEF6FF;
    border-color: #0757A6;
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(0, 84, 166, 0.14);
}

/* Tra cứu cá nhân: hành động chính */
.student-action-card-english .btn-english-lookup {
    color: #FFFFFF;
    background: var(--stu-red);
    border: 2px solid var(--stu-red);
    box-shadow: 0 5px 14px rgba(237, 28, 36, 0.16);
}

.student-action-card-english .btn-english-lookup:hover,
.student-action-card-english .btn-english-lookup:focus {
    color: #FFFFFF;
    background: var(--stu-red-dark);
    border-color: var(--stu-red-dark);
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(237, 28, 36, 0.23);
}

.student-action-card-english .action-btn-icon {
    flex: 0 0 auto;
    min-width: 34px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.student-action-card-english .btn-english-pdf .action-btn-icon {
    color: #FFFFFF;
    background: #0757A6;
}

.student-action-card-english .btn-english-lookup .action-btn-icon {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.20);
    font-size: 18px;
}

@media (min-width: 1100px) {
    .student-action-buttons-english > .btn {
        white-space: nowrap;
    }
}

@media (max-width: 700px) {
    .student-action-buttons-english {
        flex-direction: column;
    }

    .student-action-buttons-english > .btn {
        width: 100%;
        height: auto;
        min-height: 56px;
        flex: none;
    }

    .student-action-card-health .btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 56px;
    }
}


.btn-disabled {
    color: #687483;
    background: #E7ECF1;
    border-color: #D3DAE2;
    cursor: default;
}

.source-cards {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.source-card {
    min-height: 270px;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 8px 22px rgba(20, 51, 83, 0.06);
}

.source-card > img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: top;
    background: #F6F6F6;
}

.source-card-body {
    padding: 24px;
    align-self: center;
}

.source-card h3 {
    margin: 0 0 7px;
    color: var(--stu-blue-dark);
    font-size: 21px;
}

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

.text-button {
    padding: 0;
    color: var(--stu-blue);
    background: none;
    border: 0;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.major-finder {
    margin-bottom: 20px;
    padding: 24px;
    background: #FFFFFF;
    border: 2px solid #8CB7DE;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(20, 51, 83, 0.08);
}

.major-finder > label {
    display: block;
    margin-bottom: 8px;
    color: var(--stu-blue-dark);
    font-size: 17px;
    font-weight: 900;
}

.major-finder > select {
    width: 100%;
    min-height: 54px;
    padding: 11px 44px 11px 15px;
    color: var(--ink);
    background: #FFFFFF;
    border: 2px solid var(--stu-blue);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
}

.major-finder > select:focus {
    outline: 3px solid rgba(0, 84, 166, 0.18);
    outline-offset: 2px;
}

.major-result {
    margin-top: 16px;
    padding: 16px 18px;
    display: none;
    grid-template-columns: minmax(0, 1fr);
    color: var(--ink);
    background: #EDF7FF;
    border-left: 5px solid var(--stu-red);
    border-radius: 10px;
}

.major-result.is-visible {
    display: grid;
}

.major-result > span {
    color: var(--stu-red-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.major-result > strong {
    margin-top: 3px;
    color: var(--stu-blue-dark);
    font-size: 20px;
}

.major-result > p {
    margin: 4px 0 0;
}

.major-result b {
    color: var(--stu-blue);
}

.faculty-tabs-label {
    margin: 20px 0 9px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.faculty-picker {
    display: none;
    margin-bottom: 18px;
}

.faculty-picker label {
    display: block;
    margin-bottom: 7px;
    color: var(--stu-blue-dark);
    font-size: 14px;
    font-weight: 800;
}

.faculty-picker select {
    width: 100%;
    min-height: 50px;
    padding: 10px 42px 10px 14px;
    color: var(--ink);
    background: #FFFFFF;
    border: 2px solid #A7C6E3;
    border-radius: 10px;
}

.faculty-tabs {
    margin-bottom: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.faculty-tab {
    min-height: 58px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    color: var(--stu-blue-dark);
    background: #FFFFFF;
    border: 1px solid #B9CCE0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.faculty-tab span {
    min-width: 38px;
    padding: 4px 6px;
    color: var(--stu-blue);
    background: var(--stu-blue-soft);
    border-radius: 6px;
    text-align: center;
}

.faculty-tab:hover,
.faculty-tab:focus {
    border-color: var(--stu-blue);
}

.faculty-tab.is-active {
    color: #FFFFFF;
    background: var(--stu-blue);
    border-color: var(--stu-blue);
    box-shadow: 0 8px 18px rgba(0, 84, 166, 0.2);
}

.faculty-tab.is-active span {
    color: var(--stu-red);
    background: #FFFFFF;
}

.schedule-panel {
    display: none;
    padding: 28px;
    background: #FFFFFF;
    border: 1px solid #D3E0EC;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.schedule-panel.is-active {
    display: block;
}

.schedule-top {
    margin-bottom: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.7fr);
    gap: 24px;
    align-items: start;
}

.schedule-code {
    display: inline-block;
    padding: 4px 10px;
    color: var(--stu-red);
    background: #FFF0F1;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 900;
}

.schedule-top h3 {
    margin: 8px 0 12px;
    color: var(--stu-blue-dark);
    font-size: 29px;
    line-height: 1.2;
}

.major-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.major-list span {
    padding: 6px 9px;
    color: #3E5268;
    background: #F2F6FA;
    border: 1px solid #E0E8F0;
    border-radius: 7px;
    font-size: 13px;
}

.first-meeting {
    padding: 18px;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background: #F5FAFF;
    border-left: 5px solid var(--stu-red);
    border-radius: 11px;
}

.first-meeting-label {
    margin-bottom: 5px;
    color: var(--stu-blue);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.first-meeting strong {
    color: var(--stu-red-dark);
    font-size: 22px;
}

.first-meeting .place {
    margin-top: 7px;
    font-weight: 800;
}

.schedule-image-button {
    position: relative;
    width: 100%;
    padding: 0;
    display: block;
    overflow: hidden;
    background: #F6F8FA;
    border: 1px solid #BACADD;
    border-radius: 12px;
    cursor: zoom-in;
}

.schedule-image-button img {
    width: 100%;
    display: block;
}

.infographic-image-button {
    padding: 20px;
    background: #E7EFF7;
}

.infographic-frame {
    position: relative;
    width: 700px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.infographic-image-button .infographic-base {
    width: 100%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 9px 24px rgba(16, 48, 80, 0.16);
}


.schedule-image-hint {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 12px;
    color: #FFFFFF;
    background: rgba(0, 60, 120, 0.9);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.schedule-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    min-height: 46px;
    padding: 11px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    color: #FFFFFF;
    background: var(--stu-red);
    border-color: var(--stu-red);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--stu-red-dark);
    border-color: var(--stu-red-dark);
}

.btn-secondary {
    color: #FFFFFF;
    background: var(--stu-blue);
    border-color: var(--stu-blue);
}

.btn-light {
    color: var(--stu-blue-dark);
    background: #FFFFFF;
    border-color: #AFC3D8;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.check-list > div {
    min-height: 102px;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.check-list span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--stu-blue);
    border-radius: 50%;
    font-weight: 900;
}

.check-list p {
    margin: 3px 0 0;
}

.site-footer {
    padding: 27px 0;
    color: #FFFFFF;
    background: var(--stu-blue-dark);
    border-top: 5px solid var(--stu-red);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner div {
    display: flex;
    flex-direction: column;
}

.footer-inner span {
    color: #C5DCF1;
    font-size: 14px;
}

.footer-inner a {
    color: #FFFFFF;
    font-weight: 800;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: none;
}

.image-modal.is-open {
    display: block;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 18, 32, 0.82);
}

.modal-window {
    position: absolute;
    top: 3vh;
    right: 2vw;
    bottom: 3vh;
    left: 2vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 13px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.modal-header {
    min-height: 58px;
    padding: 10px 14px 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: #FFFFFF;
    background: var(--stu-blue-dark);
}

.modal-header > strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-tools button {
    width: 38px;
    height: 38px;
    padding: 0;
    color: var(--stu-blue-dark);
    background: #FFFFFF;
    border: 0;
    border-radius: 7px;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}

.modal-tools .modal-close {
    margin-left: 4px;
    color: #FFFFFF;
    background: var(--stu-red);
    font-size: 27px;
}

#zoomValue {
    min-width: 50px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}

.modal-scroll {
    flex: 1;
    padding: 12px;
    overflow: auto;
    background: #DCE4EC;
    -webkit-overflow-scrolling: touch;
}

.modal-composite {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.modal-scroll .modal-composite > #modalImage {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    background: #FFFFFF;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
    touch-action: pan-x pan-y pinch-zoom;
}

@media (max-width: 980px) {
    .hero h1 {
        font-size: 31px;
    }

    .hero-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .hero-timeline-item h2 {
        font-size: 21px;
    }

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

    .info-card {
        min-height: 0;
    }

    .source-card {
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .faculty-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .container {
        max-width: calc(100% - 24px);
    }

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

    .brand img {
        width: 52px;
        height: 48px;
    }

    .brand-text strong {
        max-width: 235px;
        font-size: 12px;
    }

    .brand-text span,
    .main-nav {
        display: none;
    }

    .hero-inner {
        padding-top: 30px;
        padding-bottom: 30px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .hero-date {
        font-size: 18px;
    }

    .hero-note {
        font-size: 14px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-info-grid {
        grid-template-columns: 1fr;
    }

    .hero-mini-card {
        padding: 16px;
        border-radius: 14px;
    }

    .hero-mini-card h2 {
        font-size: 20px;
    }

    .section {
        padding: 52px 0;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .source-cards,
    .student-action-grid,
    .check-list {
        grid-template-columns: 1fr;
    }

    .student-action-card {
        min-height: 0;
    }

    .source-card {
        min-height: 0;
        grid-template-columns: 135px minmax(0, 1fr);
    }

    .source-card > img {
        height: 225px;
    }

    .source-card-body {
        padding: 16px;
    }

    .source-card h3 {
        font-size: 18px;
    }

    .faculty-picker {
        position: static;
        padding: 10px;
        display: block;
        background: #FFFFFF;
        border: 1px solid #C8D9E8;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(18, 56, 92, 0.12);
    }

    .faculty-tabs {
        display: none;
    }

    .faculty-tabs-label {
        display: none;
    }

    .major-finder {
        padding: 18px;
        border-top-width: 2px;
        box-shadow: 0 4px 12px rgba(20, 51, 83, 0.05);
    }

    .schedule-panel {
        padding: 16px;
        border-radius: 14px;
    }

    .schedule-top {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .schedule-top h3 {
        font-size: 25px;
    }

    .first-meeting strong {
        font-size: 21px;
    }

    .schedule-image-button {
        min-height: 210px;
        overflow-x: auto;
    }

    .schedule-image-button:not(.infographic-image-button) img {
        width: 820px;
        max-width: none;
    }

    .infographic-image-button {
        min-height: 0;
        padding: 8px;
        overflow: hidden;
    }

    .infographic-frame {
        width: 100%;
        max-width: 100%;
    }

    .schedule-image-hint {
        position: sticky;
        left: 10px;
        float: left;
        margin-top: -51px;
        margin-left: 10px;
    }

    .schedule-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .modal-window {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 0;
    }

    .modal-header {
        min-height: 64px;
        padding-left: 12px;
    }

    .modal-header > strong {
        max-width: 36vw;
        font-size: 14px;
    }

    .modal-scroll {
        padding: 7px;
    }
}

@media (max-width: 520px) {
    .student-action-card {
        padding: 22px 18px;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 13px;
    }

    .student-action-index {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 11px;
        font-size: 16px;
    }

    .student-action-card h3 {
        font-size: 21px;
    }

    .student-action-card .btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .brand-text strong {
        max-width: 205px;
        font-size: 11px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .source-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .source-card > img {
        height: 210px;
    }

    .source-card-body {
        padding: 13px;
    }

    .source-card p {
        font-size: 14px;
    }

    .modal-tools button {
        width: 34px;
        height: 34px;
    }

    #zoomValue {
        min-width: 42px;
        font-size: 12px;
    }
}

/* =========================================================
   2026-09-02 - Luong chon nganh don gian cho tan sinh vien
   ========================================================= */
.major-finder {
    margin-bottom: 14px;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid #D8E3EE;
    border-top: 3px solid #4B89C9;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(20, 51, 83, 0.05);
}

.major-finder-head {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.major-finder-head label {
    display: block;
    color: var(--stu-blue-dark);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
}

.major-finder-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.major-finder > select {
    min-height: 56px;
    font-size: 17px;
    border: 1px solid #9EBAD5;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(16, 48, 80, 0.03);
}

.major-result {
    padding: 0;
    grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
    overflow: hidden;
    background: #F7FBFF;
    border: 1px solid #D6E4F0;
    border-left: 0;
    border-radius: 10px;
}

.major-result-main,
.major-result-meeting {
    padding: 17px 19px;
}

.major-result-main {
    border-left: 5px solid var(--stu-blue);
}

.major-result-meeting {
    background: #FFF8F3;
    border-left: 1px solid #E8D2C2;
}

.major-result-main > span,
.major-result-meeting > span {
    color: var(--stu-red-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.major-result-main > strong,
.major-result-meeting > strong {
    margin-top: 3px;
    display: block;
    color: var(--stu-blue-dark);
    font-size: 19px;
    line-height: 1.3;
}

.major-result-meeting > strong {
    color: var(--stu-red-dark);
}

.major-result-main p,
.major-result-meeting p {
    margin: 5px 0 0;
    color: var(--muted);
}

.major-result-main b,
.major-result-meeting b {
    color: var(--stu-blue-dark);
}

.faculty-fallback {
    margin: 14px 0 22px;
    background: #FFFFFF;
    border: 1px solid #DEE6EE;
    border-radius: 12px;
}

.faculty-fallback summary {
    padding: 13px 16px;
    color: #526477;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    list-style-position: inside;
}

.faculty-fallback[open] summary {
    color: var(--stu-blue-dark);
    border-bottom: 1px solid #E2E9F0;
}

.faculty-fallback-body {
    padding: 14px;
}

.faculty-picker {
    display: none;
}

.faculty-tabs {
    margin-bottom: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faculty-tab {
    min-height: 48px;
    justify-content: center;
    text-align: center;
}

.schedule-placeholder {
    padding: 22px;
    display: none;
    align-items: center;
    gap: 15px;
    color: #526477;
    background: #FCFEFF;
    border: 1px dashed #BCD0E2;
    border-radius: 14px;
}

.schedule-placeholder.is-visible {
    display: flex;
}

.schedule-placeholder > span {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--stu-red);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
}

.schedule-placeholder strong {
    display: block;
    color: var(--stu-blue-dark);
    font-size: 18px;
}

.schedule-placeholder p {
    margin: 3px 0 0;
}

@media (max-width: 760px) {
    .major-finder {
        padding: 18px;
        border-top-width: 2px;
        box-shadow: 0 4px 12px rgba(20, 51, 83, 0.05);
    }

    .major-finder-head {
        gap: 10px;
    }

    .major-finder-head label {
        font-size: 18px;
    }

    .major-finder > select {
        min-height: 56px;
        font-size: 16px;
    }

    .major-result {
        grid-template-columns: 1fr;
    }

    .major-result-meeting {
        border-left: 5px solid var(--stu-red);
        border-top: 1px solid #E8D2C2;
    }

    .faculty-picker {
        position: static;
        margin: 0 0 10px;
        padding: 0;
        display: block;
        border: 0;
        box-shadow: none;
    }

    .faculty-tabs {
        display: none;
    }

    .schedule-placeholder {
        padding: 18px;
        align-items: flex-start;
    }
}


/* 2026-09-02: sap xep nganh ABC + nhan manh buoi tap trung + bo banner du trong infographic */
.major-result {
    border: 2px solid #E9C7B7;
    box-shadow: 0 10px 22px rgba(160, 67, 29, 0.08);
}
.major-result-main {
    background: #F5FAFF;
}
.major-result-meeting {
    background: #FFF3EF;
    border-left: 2px solid #E7B7A0;
}
.major-result-meeting > span {
    color: var(--stu-red-dark);
    font-size: 12px;
}
.major-result-meeting > strong {
    font-size: 30px;
    line-height: 1.16;
    letter-spacing: -0.02em;
}
.major-result-meeting p {
    font-size: 16px;
}
.major-result-meeting .meeting-place-line {
    margin-top: 2px;
    color: var(--stu-blue-dark);
    font-weight: 700;
}
.major-result-meeting b {
    color: var(--stu-red-dark);
}
.first-meeting {
    padding: 20px;
    background: #FFF4F1;
    border: 2px solid #F1C6B8;
    border-left: 6px solid var(--stu-red);
    box-shadow: 0 8px 20px rgba(160, 67, 29, 0.08);
}
.first-meeting-label {
    color: var(--stu-red-dark);
    font-size: 12px;
}
.first-meeting strong {
    font-size: 28px;
    line-height: 1.15;
}
.first-meeting .meeting-date {
    margin-top: 6px;
    color: var(--stu-blue-dark);
    font-weight: 800;
}
.first-meeting .place {
    margin-top: 6px;
    color: var(--stu-red-dark);
    font-size: 17px;
    font-weight: 900;
}
@media (max-width: 760px) {
    .major-result-meeting > strong { font-size: 26px; }
    .major-result-meeting p { font-size: 15px; }
    .first-meeting strong { font-size: 25px; }
    .first-meeting .place { font-size: 16px; }
}


/* 2026-09-02: chi su dung font pho bien, co san tren Windows */
html, body, button, select, input, textarea, a, p, span, strong, b, label, summary, h1, h2, h3, h4, h5, h6 {
    font-family: Tahoma, Arial, sans-serif;
}


/* 2026-09-02: tinh gon header va phan cuoi trang */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.985);
    border-bottom: 1px solid #DDE7F0;
    box-shadow: 0 5px 20px rgba(0, 50, 95, 0.07);
}

.site-header:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--stu-blue) 0 76%, var(--stu-red) 76% 100%);
}

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

.brand {
    gap: 14px;
}

.brand-logo-wrap {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E2E9F0;
    border-radius: 14px;
    box-shadow: 0 5px 14px rgba(0, 57, 108, 0.08);
}

.brand .brand-logo-wrap img {
    width: 52px;
    height: 48px;
}

.brand-text strong {
    color: var(--stu-blue-dark);
    font-size: 15px;
    letter-spacing: 0.015em;
}

.brand-text span {
    margin-top: 5px;
    color: #6B7C8E;
    font-size: 13px;
}

.main-nav {
    padding: 5px;
    gap: 3px;
    background: #F3F7FB;
    border: 1px solid #E0E8F0;
    border-radius: 12px;
}

.main-nav a {
    position: relative;
    padding: 10px 15px;
    color: #41576C;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--stu-blue-dark);
    background: #FFFFFF;
    box-shadow: 0 3px 10px rgba(0, 60, 120, 0.08);
}

.site-footer {
    padding: 15px 0;
    color: #D7E6F4;
    background: var(--stu-blue-dark);
    border-top: 3px solid var(--stu-red);
}

.footer-inner {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
}

.footer-inner > span {
    color: #D7E6F4;
}

.footer-inner a {
    color: #FFFFFF;
    font-size: 12px;
    text-decoration: none;
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 72px;
    }

    .brand-logo-wrap {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 11px;
    }

    .brand .brand-logo-wrap img {
        width: 44px;
        height: 40px;
    }

    .brand-text strong {
        max-width: 245px;
        font-size: 12px;
    }

    .brand-text span {
        display: block;
        font-size: 11px;
    }

    .main-nav {
        display: none;
    }

    .footer-inner {
        flex-direction: row;
        align-items: center;
    }
}


/* 2026-09-02: header toi gian, dong bo voi tong the trang */
.site-header {
    position: relative;
    top: auto;
    z-index: 900;
    background: #FFFFFF;
    border: 0;
    box-shadow: none;
}

.site-header:after {
    display: none;
    content: none;
}

.header-inner {
    min-height: 72px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.brand {
    gap: 10px;
}

.brand-logo-wrap {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.brand .brand-logo-wrap img {
    width: 46px;
    height: 44px;
    object-fit: contain;
}

.brand-text {
    line-height: 1.2;
}

.brand-text strong {
    color: var(--stu-blue-dark);
    font-size: 14px;
    letter-spacing: 0;
}

.brand-text span {
    margin-top: 3px;
    color: #7B8998;
    font-size: 11px;
    font-weight: 400;
}

.main-nav {
    padding: 0;
    gap: 24px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.main-nav a {
    position: relative;
    padding: 8px 0 7px;
    color: #53677A;
    background: transparent;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
}

.main-nav a:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    height: 2px;
    background: var(--stu-blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--stu-blue);
    background: transparent;
    box-shadow: none;
}

.main-nav a:hover:after,
.main-nav a:focus:after {
    transform: scaleX(1);
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 64px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .brand-logo-wrap {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .brand .brand-logo-wrap img {
        width: 42px;
        height: 40px;
    }

    .brand-text strong {
        max-width: 245px;
        font-size: 12px;
    }

    .brand-text span {
        display: block;
        font-size: 10px;
    }

    .main-nav {
        display: none;
    }
}

.major-finder > select:focus {
    outline: 0;
    border-color: #4B89C9;
    box-shadow: 0 0 0 3px rgba(75, 137, 201, 0.14);
}


/* 2026-09-02 - Intro gon + timeline toi gian */
#lich-theo-khoa.section {
    padding-top: 38px;
}

@media (max-width: 760px) {
    .page-intro-inner {
        padding-top: 24px;
        padding-bottom: 20px;
    }

    .page-intro-copy {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .page-intro h1 {
        font-size: 27px;
    }

    .page-intro-date {
        margin-top: 8px;
        font-size: 17px;
        white-space: normal;
    }

    .mini-timeline {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .mini-timeline:before {
        display: none;
    }

    .mini-timeline-item {
        min-height: 64px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #lich-theo-khoa.section {
        padding-top: 30px;
    }
}


/* 2026-09-02 - bo noi dung lap lai trong lich chi tiet */
.schedule-panel {
    padding: 18px;
}

.schedule-detail-label {
    margin: 0 0 10px;
    color: var(--stu-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

@media (max-width: 760px) {
    .schedule-panel {
        padding: 12px;
    }

    .schedule-detail-label {
        margin-bottom: 8px;
    }
}

/* 2026-09-02 - Dong bo giao dien hien thi infographic A4 */
.schedule-panel {
    padding: 20px;
    border: 1px solid #DCE5EE;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(20, 51, 83, 0.06);
}

.schedule-detail-head {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.schedule-detail-label {
    margin: 0;
}

.a4-badge {
    padding: 5px 9px;
    color: #53677B;
    background: #F4F7FA;
    border: 1px solid #DCE5EE;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.schedule-top {
    margin-bottom: 16px;
    gap: 18px;
}

.schedule-top h3 {
    margin-bottom: 9px;
    font-size: 26px;
}

.first-meeting {
    padding: 15px 17px;
    background: #FFF8F5;
    border: 1px solid #F0D7CC;
    border-left: 4px solid var(--stu-red);
}

.first-meeting-label {
    font-size: 12px;
}

.first-meeting strong {
    font-size: 21px;
}

.infographic-image-button {
    padding: 14px;
    overflow: visible;
    background: #F5F8FB;
    border: 1px solid #D5E0EA;
    border-radius: 14px;
}

.infographic-frame {
    width: 760px;
    max-width: 100%;
    background: #FFFFFF;
}

.infographic-image-button .infographic-base {
    border: 1px solid #E1E7ED;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(20, 51, 83, 0.10);
}

.schedule-image-hint {
    position: static;
    width: max-content;
    max-width: calc(100% - 20px);
    margin: 10px auto 0;
    padding: 6px 10px;
    display: block;
    color: #466078;
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 700;
}

.schedule-actions {
    margin-top: 14px;
    justify-content: center;
}

.schedule-actions .btn {
    min-height: 42px;
    padding: 9px 15px;
}

@media (max-width: 760px) {
    .schedule-panel {
        padding: 10px;
        border-radius: 12px;
    }

    .schedule-detail-head {
        margin: 2px 2px 9px;
    }

    .schedule-top {
        gap: 12px;
    }

    .schedule-top h3 {
        font-size: 23px;
    }

    .first-meeting {
        padding: 13px 14px;
    }

    .infographic-image-button {
        padding: 5px;
        border-radius: 10px;
    }

    .infographic-image-button .infographic-base {
        border-radius: 4px;
        box-shadow: none;
    }

    .schedule-image-hint {
        position: static;
        float: none;
        left: auto;
        margin: 7px auto 2px;
        font-size: 11px;
    }
}


/* 2026-09-02 - Chinh khung xem dung ty le A4 */
.schedule-image-button.infographic-image-button {
    display: block;
}

.infographic-frame {
    width: min(720px, 100%);
    aspect-ratio: 210 / 297;
    display: block;
    margin: 0 auto;
    background: #FFFFFF;
    overflow: hidden;
}

.infographic-image-button .infographic-base {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 760px) {
    .infographic-frame {
        width: 100%;
    }
}


/* 2026-09-02 - Tieu de lich va thong bao rieng gon mot dong */
.student-information .section-heading {
    max-width: none;
    margin-bottom: 28px;
}

.student-information .section-heading h2 {
    white-space: nowrap;
}

@media (max-width: 900px) {
    .student-information .section-heading h2 {
        white-space: normal;
    }
}
