@media screen {
    :root {
        --holiday-gold: linear-gradient(161deg,#fff8d4 0%,#fce28a 26%,#fff5b8 42%,#e4b439 75%,#cc951c 100%);
        --holiday-silver: linear-gradient(162deg,#fff 3%,#d7dce0 31%,#fff 45%,#b5bdc4 71%,#eceef0 93%);
        --holiday-emerald: linear-gradient(162deg,#baffd6 3%,#49e59b 31%,#baffd6 45%,#49e59b 71%,#baffd6 96%);
        --holiday-cherry: linear-gradient(150deg,#cb1034 3%,#b50926 25%,#cb1034 68%,#bb0f2d 96%);
        --holiday-brush: repeating-linear-gradient(92deg,#ffffff17 0 1px,#00000008 2px,transparent 5px);
        --holiday-gold-ink: #392004;
        --holiday-metal-ink: #252a2d;
        --holiday-emerald-ink: #0b3926;
        --holiday-cream: #fff8d4;
    }

    .login-modal-card {
        background: linear-gradient(151deg,#fffdf8,#f6f4ee 42%,#e6eceb);
        color:#172d26;
        border:2px solid #a47d34;
        box-shadow: inset 0 1px #fff,0 18px 48px #142d3080;
    }
    .login-modal-card h2 { color:#751230; }
    .login-modal-card input { background:#fff; color:#172d26; border:1px solid #68756f; }
    .login-modal-card input:focus-visible { outline:3px solid #751230; outline-offset:2px; }

    .page-plaque {
        content: url("/seasonal/holidays-2026/emerald-holiday-plaque.webp");
    }
    .page:has(.locations) .plaque {
        content: url("https://meadville.emeraldreserve.us/seasonal/holidays-2026/emerald-holiday-plaque.webp");
    }
    .page:has(.locations) .er-holiday-greeting { margin-top: min(2.8vw,24px); }
    .page:has(.locations) .er-holiday-greeting::before {
        background-image: url("https://meadville.emeraldreserve.us/seasonal/holidays-2026/accents-nov28.png");
    }

    /* Staff work-order cards and controls keep their existing dark readability,
       selection indicators and destructive colors. */
    body:has(#newQueue) { background: #151628; }
    body:has(#newQueue) .status-row .cancelled-choice,
    body:has(#newQueue) .priority-row .urgent-choice {
        --holiday-metal: var(--holiday-cherry);
        --holiday-ink: var(--holiday-cream);
    }
    :is(.login-card:has(#openLoginButton)) > :nth-child(4n+1 of .public-calendar-button, #openLoginButton),
    :is(.dashboard-actions) > :nth-child(4n+1 of button, a),
    :is(.kiosk-menu .menu-card) > :nth-child(4n+1 of .menu-button),
    :is(.login-modal-actions, .event-modal-actions, .signature-actions, .maintenance-actions) > :nth-child(4n+1 of button, a),
    :is(.mini-calendar-header, .sign-title-row) > :nth-child(4n+1 of button),
    :is(.page .locations) > :nth-child(4n+1 of .location-button),
    :is(.history-tools, .history-pager form, .maintenance-tools, .paper-scanner-launch) > :nth-child(4n+1 of button),
    :is(form:has(.activation-button), .login-card form:has(#currentPassword), form:has(.quantity-control)) > :nth-child(4n+1 of button[type=submit]),
    :is(.status-row) > :nth-child(4n+1 of button),
    :is(.priority-row, .note-actions) > :nth-child(4n+1 of button) {
        --holiday-metal: var(--holiday-gold);
        --holiday-ink: var(--holiday-gold-ink);
    }
    :is(.login-card:has(#openLoginButton)) > :nth-child(4n+2 of .public-calendar-button, #openLoginButton),
    :is(.dashboard-actions) > :nth-child(4n+2 of button, a),
    :is(.kiosk-menu .menu-card) > :nth-child(4n+2 of .menu-button),
    :is(.login-modal-actions, .event-modal-actions, .signature-actions, .maintenance-actions) > :nth-child(4n+2 of button, a),
    :is(.mini-calendar-header, .sign-title-row) > :nth-child(4n+2 of button),
    :is(.page .locations) > :nth-child(4n+2 of .location-button),
    :is(.history-tools, .history-pager form, .maintenance-tools, .paper-scanner-launch) > :nth-child(4n+2 of button),
    :is(form:has(.activation-button), .login-card form:has(#currentPassword), form:has(.quantity-control)) > :nth-child(4n+2 of button[type=submit]),
    :is(.status-row) > :nth-child(4n+2 of button),
    :is(.priority-row, .note-actions) > :nth-child(4n+2 of button) {
        --holiday-metal: var(--holiday-silver);
        --holiday-ink: var(--holiday-metal-ink);
    }
    :is(.login-card:has(#openLoginButton)) > :nth-child(4n+3 of .public-calendar-button, #openLoginButton),
    :is(.dashboard-actions) > :nth-child(4n+3 of button, a),
    :is(.kiosk-menu .menu-card) > :nth-child(4n+3 of .menu-button),
    :is(.login-modal-actions, .event-modal-actions, .signature-actions, .maintenance-actions) > :nth-child(4n+3 of button, a),
    :is(.mini-calendar-header, .sign-title-row) > :nth-child(4n+3 of button),
    :is(.page .locations) > :nth-child(4n+3 of .location-button),
    :is(.history-tools, .history-pager form, .maintenance-tools, .paper-scanner-launch) > :nth-child(4n+3 of button),
    :is(form:has(.activation-button), .login-card form:has(#currentPassword), form:has(.quantity-control)) > :nth-child(4n+3 of button[type=submit]),
    :is(.status-row) > :nth-child(4n+3 of button),
    :is(.priority-row, .note-actions) > :nth-child(4n+3 of button) {
        --holiday-metal: var(--holiday-emerald);
        --holiday-ink: var(--holiday-emerald-ink);
    }
    :is(.login-card:has(#openLoginButton)) > :nth-child(4n+4 of .public-calendar-button, #openLoginButton),
    :is(.dashboard-actions) > :nth-child(4n+4 of button, a),
    :is(.kiosk-menu .menu-card) > :nth-child(4n+4 of .menu-button),
    :is(.login-modal-actions, .event-modal-actions, .signature-actions, .maintenance-actions) > :nth-child(4n+4 of button, a),
    :is(.mini-calendar-header, .sign-title-row) > :nth-child(4n+4 of button),
    :is(.page .locations) > :nth-child(4n+4 of .location-button),
    :is(.history-tools, .history-pager form, .maintenance-tools, .paper-scanner-launch) > :nth-child(4n+4 of button),
    :is(form:has(.activation-button), .login-card form:has(#currentPassword), form:has(.quantity-control)) > :nth-child(4n+4 of button[type=submit]),
    :is(.status-row) > :nth-child(4n+4 of button),
    :is(.priority-row, .note-actions) > :nth-child(4n+4 of button) {
        --holiday-metal: var(--holiday-cherry);
        --holiday-ink: var(--holiday-cream);
    }

    :is(:is(.login-card:has(#openLoginButton)) > :is(.public-calendar-button, #openLoginButton),:is(.dashboard-actions) > :is(button, a),:is(.kiosk-menu .menu-card) > :is(.menu-button),:is(.login-modal-actions, .event-modal-actions, .signature-actions, .maintenance-actions) > :is(button, a),:is(.mini-calendar-header, .sign-title-row) > :is(button),:is(.page .locations) > :is(.location-button),:is(.history-tools, .history-pager form, .maintenance-tools, .paper-scanner-launch) > :is(button),:is(form:has(.activation-button), .login-card form:has(#currentPassword), form:has(.quantity-control)) > :is(button[type=submit]),:is(.status-row) > :is(button),:is(.priority-row, .note-actions) > :is(button)):not(:disabled):not([aria-disabled="true"]):not(.is-current):not([aria-pressed="true"]) {
        background: var(--holiday-brush), var(--holiday-metal);
        color: var(--holiday-ink);
        border-color: #6c5835;
        box-shadow: inset 0 1px 1px #ffffff83,0 2px 4px #142b2633;
        text-shadow: none;
    }
    :is(:is(.login-card:has(#openLoginButton)) > :is(.public-calendar-button, #openLoginButton),:is(.dashboard-actions) > :is(button, a),:is(.kiosk-menu .menu-card) > :is(.menu-button),:is(.login-modal-actions, .event-modal-actions, .signature-actions, .maintenance-actions) > :is(button, a),:is(.mini-calendar-header, .sign-title-row) > :is(button),:is(.page .locations) > :is(.location-button),:is(.history-tools, .history-pager form, .maintenance-tools, .paper-scanner-launch) > :is(button),:is(form:has(.activation-button), .login-card form:has(#currentPassword), form:has(.quantity-control)) > :is(button[type=submit]),:is(.status-row) > :is(button),:is(.priority-row, .note-actions) > :is(button)):not(:disabled):not([aria-disabled="true"]):not(.is-current):not([aria-pressed="true"]):hover { filter: brightness(1.06); }
    :is(:is(.login-card:has(#openLoginButton)) > :is(.public-calendar-button, #openLoginButton),:is(.dashboard-actions) > :is(button, a),:is(.kiosk-menu .menu-card) > :is(.menu-button),:is(.login-modal-actions, .event-modal-actions, .signature-actions, .maintenance-actions) > :is(button, a),:is(.mini-calendar-header, .sign-title-row) > :is(button),:is(.page .locations) > :is(.location-button),:is(.history-tools, .history-pager form, .maintenance-tools, .paper-scanner-launch) > :is(button),:is(form:has(.activation-button), .login-card form:has(#currentPassword), form:has(.quantity-control)) > :is(button[type=submit]),:is(.status-row) > :is(button),:is(.priority-row, .note-actions) > :is(button)):focus-visible {
        outline: 3px solid #751230;
        outline-offset: 3px;
    }
    body:has(#newQueue) :is(:is(.login-card:has(#openLoginButton)) > :is(.public-calendar-button, #openLoginButton),:is(.dashboard-actions) > :is(button, a),:is(.kiosk-menu .menu-card) > :is(.menu-button),:is(.login-modal-actions, .event-modal-actions, .signature-actions, .maintenance-actions) > :is(button, a),:is(.mini-calendar-header, .sign-title-row) > :is(button),:is(.page .locations) > :is(.location-button),:is(.history-tools, .history-pager form, .maintenance-tools, .paper-scanner-launch) > :is(button),:is(form:has(.activation-button), .login-card form:has(#currentPassword), form:has(.quantity-control)) > :is(button[type=submit]),:is(.status-row) > :is(button),:is(.priority-row, .note-actions) > :is(button)):focus-visible { outline-color:#fff3b0; }
    @media (forced-colors: active) {
        :is(:is(.login-card:has(#openLoginButton)) > :is(.public-calendar-button, #openLoginButton),:is(.dashboard-actions) > :is(button, a),:is(.kiosk-menu .menu-card) > :is(.menu-button),:is(.login-modal-actions, .event-modal-actions, .signature-actions, .maintenance-actions) > :is(button, a),:is(.mini-calendar-header, .sign-title-row) > :is(button),:is(.page .locations) > :is(.location-button),:is(.history-tools, .history-pager form, .maintenance-tools, .paper-scanner-launch) > :is(button),:is(form:has(.activation-button), .login-card form:has(#currentPassword), form:has(.quantity-control)) > :is(button[type=submit]),:is(.status-row) > :is(button),:is(.priority-row, .note-actions) > :is(button)):not(:disabled):not([aria-disabled="true"]):not(.is-current):not([aria-pressed="true"]) {
            background:ButtonFace; color:ButtonText; border-color:ButtonText; box-shadow:none;
        }
        :is(:is(.login-card:has(#openLoginButton)) > :is(.public-calendar-button, #openLoginButton),:is(.dashboard-actions) > :is(button, a),:is(.kiosk-menu .menu-card) > :is(.menu-button),:is(.login-modal-actions, .event-modal-actions, .signature-actions, .maintenance-actions) > :is(button, a),:is(.mini-calendar-header, .sign-title-row) > :is(button),:is(.page .locations) > :is(.location-button),:is(.history-tools, .history-pager form, .maintenance-tools, .paper-scanner-launch) > :is(button),:is(form:has(.activation-button), .login-card form:has(#currentPassword), form:has(.quantity-control)) > :is(button[type=submit]),:is(.status-row) > :is(button),:is(.priority-row, .note-actions) > :is(button)):focus-visible { outline-color:Highlight; }
    }
}
