:root {
    color-scheme: light;
    --army-green: #2d4a22;
    --army-green-dark: #1c3114;
    --military-gold: #d4af37;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #f1f5f9;
    color: #1e293b;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
}

.site-header {
    flex: 0 0 auto;
    background: linear-gradient(135deg, #1c3114, #2d4a22 55%, #385e2b);
    border-bottom: 4px solid var(--military-gold);
}

.top-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    flex: 0 0 auto;
    background: var(--army-green-dark);
    box-shadow: 0 4px 12px rgb(15 23 42 / 15%);
}

.mobile-brand,
.mobile-menu-button {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 60px;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
    border-radius: 0.5rem;
}

.nav-button,
.semester-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 0.5rem;
    color: #e2e8f0;
    background: transparent;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}

.nav-button {
    min-height: 42px;
    padding: 0.65rem 1rem;
    white-space: nowrap;
}

.nav-button:hover,
.semester-option:hover {
    background: #406932;
}

.nav-button[aria-current="page"] {
    background: var(--military-gold);
    color: var(--army-green-dark);
}

.semester-menu {
    position: relative;
}

.semester-options {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    z-index: 40;
    display: none;
    min-width: 230px;
    padding: 0.4rem;
    border: 1px solid #dbe3d7;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 12px 28px rgb(15 23 42 / 18%);
    transform-origin: top left;
}

.semester-menu.is-open .semester-options {
    display: grid;
    animation: submenu-expand 200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.semester-menu.is-closing .semester-options {
    display: grid;
    animation: submenu-collapse 180ms cubic-bezier(0.4, 0, 1, 1) both;
    pointer-events: none;
}

@keyframes submenu-expand {
    from {
        opacity: 0;
        transform: scale(0.08);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes submenu-collapse {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.08);
    }
}

.nav-list {
    transform-origin: top right;
}

.mobile-menu-button:focus-visible,
.nav-button:focus-visible {
    outline: 2px solid var(--military-gold);
    outline-offset: 2px;
}

@keyframes menu-expand {
    from {
        opacity: 0;
        transform: scale(0.08);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes menu-collapse {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.08);
    }
}

@keyframes menu-intro {
    0% {
        opacity: 0;
        transform: scale(0.08);
    }

    10.5%,
    91.1% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.08);
    }
}

@keyframes menu-intro-reduced {
    0% {
        opacity: 0;
        transform: scale(0.08);
    }

    10.5%,
    91.1% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.08);
    }
}

.semester-option {
    justify-content: flex-start;
    width: 100%;
    padding: 0.7rem 0.75rem;
    color: #1e293b;
}

.semester-option:hover,
.semester-option[aria-current="page"] {
    background: #edf3e9;
    color: var(--army-green-dark);
}

.page-main {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    min-height: 0;
    width: min(100% - 2rem);
    margin: auto;
    padding: clamp(0.75rem, 2.5vh, 2rem) 0;
}

.welcome-panel {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    gap: 1rem;
    overflow: hidden;
    padding: clamp(0.75rem, 2vw, 1.5rem);
    border: 1px solid #dbe3d7;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 8px 24px rgb(15 23 42 / 8%);
    text-align: center;
}

.welcome-instruction {
    flex: 0 0 auto;
    margin: 0;
    color: var(--army-green-dark);
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    font-weight: 600;
    line-height: 1.5;
}

.file-map-error {
    margin: 0;
    color: #b91c1c;
    font-size: 0.875rem;
}

.welcome-banner {
    display: block;
    flex: 0 1 auto;
    width: 100%;
    height: auto;
    max-height: calc(100% - 4rem);
    object-fit: contain;
    object-position: center;
}

.welcome-panel[hidden],
.viewer-card[hidden] {
    display: none;
}

.viewer-card {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border: 1px solid #dbe3d7;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 8px 24px rgb(15 23 42 / 8%);
}

.viewer-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.viewer-title {
    min-width: 0;
    overflow: hidden;
    color: var(--army-green-dark);
    font-size: 1rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.viewer-title-track {
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: 2rem;
}

.viewer-title-track > span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.viewer-title-track > span[aria-hidden="true"] {
    display: none;
}

@keyframes viewer-title-marquee {
    to {
        transform: translateX(calc(-50% - 1rem));
    }
}

.viewer-actions {
    display: flex;
    flex-shrink: 0;
    gap: 0.5rem;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 40px;
    padding: 0.6rem 0.85rem;
    border: 0;
    border-radius: 0.5rem;
    color: #fff;
    background: var(--army-green);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.action-button:hover:not(:disabled) {
    background: var(--army-green-dark);
}

.action-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.pdf-frame-wrap {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    background: #fff;
}

.pdf-canvas-viewport {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #fff;
    overscroll-behavior: contain;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.pdf-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translate(
        calc(-50% + var(--pdf-pan-x, 0px)),
        calc(-50% + var(--pdf-pan-y, 0px))
    ) scale(var(--pdf-zoom, 1));
    transform-origin: center;
    transition: opacity 480ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity;
}

.pdf-canvas.is-loaded:not(.is-exiting) {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.pdf-canvas.is-exiting {
    z-index: 0;
    opacity: 0;
}

.pdf-file-tabs {
    display: flex;
    flex: 0 0 auto;
    gap: 0.25rem;
    min-height: 48px;
    align-items: flex-end;
    overflow-x: auto;
    padding: 0.35rem 0.6rem 0;
    border-top: 1px solid #dbe3d7;
    background: #f1f5f9;
    scrollbar-width: thin;
}

.pdf-file-tabs[hidden] {
    display: none;
}

.pdf-file-tab {
    position: relative;
    flex: 0 0 auto;
    max-width: min(16rem, 65vw);
    min-height: 38px;
    overflow: hidden;
    padding: 0.55rem 0.9rem;
    border: 1px solid #cbd5e1;
    border-bottom: 0;
    border-radius: 0.5rem 0.5rem 0 0;
    color: #475569;
    background: #e2e8f0;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease;
}

.pdf-file-tab:hover {
    color: var(--army-green-dark);
    background: #fff;
}

.pdf-file-tab[aria-current="page"] {
    z-index: 1;
    color: var(--army-green-dark);
    background: #fff;
}

.pdf-file-tab[aria-current="page"]::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #fff;
    content: "";
}

.pdf-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 0.6rem;
    padding: 1.5rem;
    color: #64748b;
    text-align: center;
    pointer-events: none;
}

.pdf-placeholder i {
    color: #94a3b8;
    font-size: 2rem;
}

.pdf-placeholder[hidden] {
    display: none;
}

.pdf-placeholder[role="alert"] {
    color: #b91c1c;
}

.pdf-page-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    width: 46px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(255 255 255 / 35%);
    border-radius: 0.65rem;
    color: #fff;
    background: rgb(15 23 42 / 62%);
    font-size: 1.15rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.55);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: pointer;
}

.pdf-page-control.previous {
    left: 0.75rem;
    transform-origin: left center;
}

.pdf-page-control.next {
    right: 0.75rem;
    transform-origin: right center;
}

.pdf-frame-wrap.show-navigation .pdf-page-control {
    opacity: 0.82;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
    animation: page-control-intro 2s ease both;
}

.pdf-page-control:disabled {
    opacity: 0;
    pointer-events: none;
}

@keyframes page-control-intro {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.55);
    }

    12%,
    82% {
        opacity: 0.82;
        transform: translateY(-50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-50%) scale(0.55);
    }
}

.pdf-page-indicator {
    position: absolute;
    right: 50%;
    bottom: 0.75rem;
    z-index: 3;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    color: #fff;
    background: rgb(15 23 42 / 62%);
    font-size: 0.75rem;
    transform: translateX(50%);
}

.viewer-card:fullscreen {
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 0;
    background: #fff;
}

.viewer-card:fullscreen .pdf-frame-wrap {
    flex: 1;
    height: auto;
    min-height: 0;
}

.viewer-card:fullscreen .pdf-file-tabs {
    flex: 0 0 auto;
}

.dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(15 23 42 / 60%);
}

.dialog-backdrop[hidden] {
    display: none;
}

.dialog-backdrop:not([hidden]) {
    animation: dialog-backdrop-show 240ms ease-out both;
}

.dialog-backdrop.is-closing {
    animation: dialog-backdrop-hide 240ms ease-in both;
    pointer-events: none;
}

.about-dialog {
    width: min(100%, 460px);
    padding: 1.5rem;
    border-top: 4px solid var(--military-gold);
    border-radius: 0.8rem;
    background: #fff;
    box-shadow: 0 20px 50px rgb(0 0 0 / 25%);
    transform-origin: center;
    animation: dialog-content-show 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.schedule-dialog {
    width: min(100%, 480px);
    max-height: min(90vh, 720px);
    overflow-y: auto;
    padding: 1.5rem;
    border-top: 4px solid var(--military-gold);
    border-radius: 0.8rem;
    background: #fff;
    box-shadow: 0 20px 50px rgb(0 0 0 / 25%);
    transform-origin: center;
    animation: dialog-content-show 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dialog-backdrop.is-closing .about-dialog,
.dialog-backdrop.is-closing .schedule-dialog {
    animation: dialog-content-hide 240ms ease-in both;
}

@keyframes dialog-backdrop-show {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes dialog-backdrop-hide {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes dialog-content-show {
    from {
        opacity: 0;
        transform: scale(0.82);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes dialog-content-hide {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.82);
    }
}

.schedule-field {
    position: relative;
    display: grid;
    gap: 0.4rem;
    margin-top: 1rem;
    text-align: left;
}

.schedule-field label {
    color: #334155;
    font-size: 0.85rem;
    font-weight: 700;
}

.schedule-field input {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    color: #1e293b;
    background: #fff;
    font: inherit;
    font-size: 0.95rem;
}

.schedule-field input:focus {
    border-color: var(--army-green);
    outline: 2px solid rgb(45 74 34 / 20%);
}

.autocomplete-options {
    position: absolute;
    top: calc(100% + 0.2rem);
    right: 0;
    left: 0;
    z-index: 10;
    display: none;
    max-height: 190px;
    overflow-y: auto;
    padding: 0.3rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 8px 18px rgb(15 23 42 / 16%);
}

.schedule-field.has-options .autocomplete-options {
    display: grid;
}

.autocomplete-option {
    width: 100%;
    padding: 0.65rem 0.7rem;
    border: 0;
    border-radius: 0.35rem;
    background: #fff;
    color: #1e293b;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.autocomplete-option:hover,
.autocomplete-option:focus-visible {
    background: #edf3e9;
    outline: 0;
}

.autocomplete-empty {
    padding: 0.65rem 0.7rem;
    color: #64748b;
    font-size: 0.85rem;
}

.schedule-dialog-error {
    min-height: 1.25rem;
    margin: 0.8rem 0 0;
    color: #b91c1c;
    font-size: 0.85rem;
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 1.1rem;
}

.dialog-action {
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border: 0;
    border-radius: 0.45rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.dialog-action.cancel {
    background: #e2e8f0;
    color: #334155;
}

.dialog-action.confirm {
    background: var(--army-green);
    color: #fff;
}

@media (max-width: 640px), (orientation: landscape) and (max-height: 500px) {
    .site-header {
        display: none;
    }

    .top-nav {
        position: sticky;
        top: 0;
        box-shadow: 0 3px 10px rgb(15 23 42 / 20%);
    }

    .nav-scroll {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        min-height: 58px;
        padding: 0.35rem 0.65rem;
        overflow: visible;
    }

    .nav-list {
        transform: none;
    }

    .page-main {
        width: min(100% - 1rem, 1280px);
        padding-block: 0.5rem;
    }

    .welcome-panel {
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .welcome-banner {
        max-height: calc(100% - 3.5rem);
    }

    .viewer-toolbar {
        position: absolute;
        top: 0.65rem;
        right: 0.55rem;
        left: 0.55rem;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.45rem;
        padding: 0;
        border: 0;
        pointer-events: none;
    }

    .viewer-title {
        display: block;
        flex: 1 1 auto;
        max-width: calc(100% - 88px);
        min-height: 36px;
        margin: 0;
        padding: 0.5rem 0.6rem;
        /* border: 1px solid rgb(255 255 255 / 40%); */
        border-radius: 1rem;
        color: var(--army-green-dark);
        background: rgb(255 255 255 / 70%);
        font-size: 0.76rem;
        line-height: 1.2;
        text-shadow: 0 1px 1px rgb(255 255 255 / 65%);
        pointer-events: none;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        /* box-shadow: 0 1px 5px rgb(15 23 42 / 12%); */
    }

    .viewer-title.is-overflowing .viewer-title-track {
        animation: viewer-title-marquee 12s linear infinite;
    }

    .viewer-title.is-overflowing .viewer-title-track > span[aria-hidden="true"] {
        display: block;
    }

    .viewer-actions {
        flex: 0 0 auto;
        gap: 0.45rem;
        pointer-events: auto;
    }

    .action-button {
        width: 38px;
        min-height: 38px;
        padding: 0;
        border: 1px solid rgb(255 255 255 / 35%);
        border-radius: 50%;
        background: rgb(30 41 59 / 55%);
        color: rgb(255 255 255 / 82%);
        font-size: 0;
        opacity: 0.72;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        transition: opacity 150ms ease, background-color 150ms ease;
    }

    .action-button:hover:not(:disabled),
    .action-button:focus-visible {
        background: rgb(30 41 59 / 78%);
        opacity: 1;
    }

    .action-button:disabled {
        opacity: 0.42;
    }

    .action-button i {
        font-size: 0.9rem;
    }

    .action-button span {
        display: none;
    }

    .pdf-frame-wrap {
        min-height: 0;
    }

    .pdf-file-tabs {
        min-height: 44px;
        padding-right: 0.4rem;
        padding-left: 0.4rem;
    }

    .pdf-file-tab {
        min-height: 35px;
        padding: 0.5rem 0.7rem;
        font-size: 0.78rem;
    }

    .pdf-page-control {
        width: 40px;
        height: 50px;
    }

    .pdf-page-control.previous {
        left: 0.35rem;
    }

    .pdf-page-control.next {
        right: 0.35rem;
    }

    .schedule-dialog {
        padding: 1.1rem;
    }

    .mobile-brand {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        gap: 0.55rem;
        min-width: 0;
        color: #fff;
        text-decoration: none;
    }

    .mobile-brand img {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        border: 1px solid #fff;
        border-radius: 50%;
        background: #fff;
        object-fit: contain;
        padding: 2px;
    }

    .mobile-brand-text {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 1px;
    }

    .mobile-brand-school {
        overflow: hidden;
        font-size: 0.72rem;
        font-weight: 700;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-brand-subtitle {
        color: #dbe7d5;
        font-size: 0.62rem;
        line-height: 1.1;
    }

    .mobile-menu-button {
        display: inline-flex;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgb(255 255 255 / 30%);
        border-radius: 0.5rem;
        color: #fff;
        background: transparent;
        font-size: 1.1rem;
        cursor: pointer;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        right: 0.5rem;
        left: auto;
        display: none;
        width: min(20rem, calc(100vw - 1rem));
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.5rem 0.65rem 0.75rem;
        background: var(--army-green-dark);
        box-shadow: 0 8px 12px rgb(15 23 42 / 20%);
        transform-origin: top right;
    }

    body.mobile-menu-open .nav-list {
        margin-top: 9px;
        display: flex;
        animation: menu-expand 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    body.mobile-menu-open.mobile-menu-intro .nav-list {
        animation: menu-intro 2480ms linear both;
    }

    body.mobile-menu-open.mobile-menu-closing .nav-list {
        animation: menu-collapse 220ms cubic-bezier(0.4, 0, 1, 1) both;
        pointer-events: none;
    }

    .nav-list>li,
    .semester-menu {
        width: 100%;
    }

    .nav-button {
        width: 100%;
        justify-content: flex-start;
        font-size: 0.85rem;
        margin-bottom: 9px;
    }

    .semester-options {
        /* transform: translateY(8px); */
        position: static;
        min-width: 0;
        margin: 0 0.5rem 0.25rem;
        border: 0;
        background: rgb(255 255 255 / 8%);
        box-shadow: none;
        transform-origin: top left;
    }

    .semester-menu.is-open .semester-options {
        animation-name: submenu-expand;
    }

    .semester-option {
        color: #e2e8f0;
    }

    .semester-option:hover,
    .semester-option[aria-current="page"] {
        background: #406932;
        color: #fff;
    }

    .page-main {
        width: min(100% - 1rem, 1280px);
    }
}

@media (prefers-reduced-motion: reduce) {

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

    .viewer-title.is-overflowing .viewer-title-track {
        animation: viewer-title-marquee 12s linear infinite !important;
    }

    body.mobile-menu-open.mobile-menu-intro .nav-list {
        animation: menu-intro-reduced 2480ms linear both !important;
        animation-duration: 2480ms !important;
        animation-iteration-count: 1 !important;
    }

    body.mobile-menu-open:not(.mobile-menu-intro) .nav-list {
        animation-duration: 220ms !important;
        animation-iteration-count: 1 !important;
    }

    body.mobile-menu-open.mobile-menu-closing .nav-list {
        animation-duration: 220ms !important;
        animation-iteration-count: 1 !important;
    }

    .semester-menu.is-open .semester-options {
        animation-duration: 200ms !important;
        animation-iteration-count: 1 !important;
    }

    .semester-menu.is-closing .semester-options {
        animation-duration: 180ms !important;
        animation-iteration-count: 1 !important;
    }

    .pdf-canvas {
        transition-duration: 480ms !important;
    }

    .dialog-backdrop:not([hidden]),
    .dialog-backdrop.is-closing,
    .about-dialog,
    .schedule-dialog,
    .dialog-backdrop.is-closing .about-dialog,
    .dialog-backdrop.is-closing .schedule-dialog {
        animation-duration: 240ms !important;
        animation-iteration-count: 1 !important;
    }
}