main > .container, main > .container-fluid
{
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

:root {
    --portal-green: #078044;
    --portal-green-dark: #075c35;
    --portal-green-soft: #e8f4ec;
    --portal-ink: #171d19;
    --portal-muted: #68756d;
    --portal-border: #e2e9e4;
    --portal-surface: #ffffff;
    --portal-background: #f5f8f6;
    --portal-shadow: 0 14px 36px rgba(20, 45, 31, .08);
}

@font-face {
    font-family: "Anuphan";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/anuphan-400-thai.woff2") format("woff2");
    unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
    font-family: "Anuphan";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/anuphan-400-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Anuphan";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/anuphan-500-thai.woff2") format("woff2");
    unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
    font-family: "Anuphan";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/anuphan-500-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Anuphan";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/anuphan-600-thai.woff2") format("woff2");
    unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
    font-family: "Anuphan";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/anuphan-600-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Anuphan";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/anuphan-700-thai.woff2") format("woff2");
    unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
    font-family: "Anuphan";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/anuphan-700-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
    scroll-behavior: smooth;
}

body.portal-body {
    min-height: 100vh;
    background: var(--portal-background);
    color: var(--portal-ink);
    font-family: "Anuphan", "Leelawadee UI", "Noto Sans Thai", Tahoma, sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

body.portal-popup-body {
    min-height: 100%;
    padding: 0;
    background: #fff;
}

.portal-embedded-main {
    min-height: 100vh;
    padding: 1.25rem clamp(1rem, 3vw, 2rem) 2rem;
    background: #fff;
}

.portal-embedded-main h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.portal-mobile-nav {
    display: none;
}

.portal-sticky-header {
    position: sticky;
    z-index: 1030;
    top: 0;
}

.portal-navbar {
    isolation: isolate;
    min-height: 76px;
    padding: .65rem 0;
    background-color: #111714;
    border-bottom: 3px solid var(--portal-green);
    box-shadow: 0 5px 20px rgba(12, 24, 17, .16);
}

.portal-navbar::before,
.portal-navbar::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(90deg, rgba(7, 15, 11, .82), rgba(4, 58, 34, .78)),
        url("/main/images/header-sanam-luang-night-wide.jpg");
    background-position: center, center 52%;
    background-size: cover;
    content: "";
    pointer-events: none;
    animation: portal-header-background 24s ease-in-out infinite;
}

.portal-navbar::after {
    background-image:
        linear-gradient(90deg, rgba(7, 15, 11, .82), rgba(4, 58, 34, .78)),
        url("/main/images/header-sanam-luang-night-close.jpg");
    background-position: center, center 50%;
    animation-delay: -12s;
}

@keyframes portal-header-background {
    0%, 44% { opacity: 1; }
    50%, 94% { opacity: 0; }
    100% { opacity: 1; }
}

.portal-navbar > .container,
.portal-navbar > .container-fluid {
    max-width: 1240px;
}

.portal-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    margin-right: 2rem;
}

.portal-brand-logo {
    display: block;
    width: 148px;
    height: auto;
    filter: drop-shadow(0 1px 5px rgba(0, 0, 0, .35));
}

.portal-navbar .navbar-nav {
    gap: .3rem;
}

.portal-navbar .navbar-nav .nav-link {
    padding: .65rem .9rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, .82);
    font-size: .94rem;
    font-weight: 600;
    transition: color .18s ease, background-color .18s ease;
}

.portal-navbar .navbar-nav .nav-link:hover,
.portal-navbar .navbar-nav .nav-link:focus,
.portal-navbar .navbar-nav .show > .nav-link {
    background: rgba(16, 158, 85, .18);
    color: #fff;
}

.portal-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, .3);
    border-radius: 9px;
}

main > .portal-main-container {
    max-width: 1240px;
    padding-top: 2.25rem;
    padding-bottom: 4.5rem;
}

.portal-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
    align-items: center;
    min-height: 340px;
    margin: .25rem 0 3.25rem;
    padding: clamp(2rem, 5vw, 4.25rem);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    background: linear-gradient(118deg, #121a16 0%, #14261d 54%, #075a35 100%);
    box-shadow: 0 22px 50px rgba(18, 54, 35, .18);
    color: #fff;
}

.portal-hero::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(90deg, rgba(8, 18, 12, .91) 0%, rgba(9, 29, 19, .74) 55%, rgba(4, 67, 39, .55) 100%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: cover, 46px 46px, 46px 46px;
    content: "";
    pointer-events: none;
}

.portal-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.portal-hero-background img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    opacity: 0;
    animation: portal-hero-slide 30s ease-in-out infinite both;
}

.portal-hero-background img:nth-child(2) {
    animation-delay: 6s;
}

.portal-hero-background img:nth-child(3) {
    animation-delay: 12s;
}

.portal-hero-background img:nth-child(4) {
    animation-delay: 18s;
}

.portal-hero-background img:nth-child(5) {
    animation-delay: 24s;
}

@keyframes portal-hero-slide {
    0%, 100% { opacity: 0; }
    3%, 17% { opacity: 1; }
    22% { opacity: 0; }
}

.portal-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.portal-eyebrow,
.portal-section-kicker,
.portal-report-label {
    margin: 0;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.portal-eyebrow {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.2rem;
    color: #b7e9c9;
}

.portal-eyebrow > span,
.portal-live-indicator > span {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #40d27c;
    box-shadow: 0 0 0 4px rgba(64, 210, 124, .15);
}

.portal-hero h1 {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: -.035em;
}

.portal-hero h1 strong {
    color: #8ce0aa;
    font-weight: 800;
}

.portal-hero-description {
    max-width: 570px;
    margin: 1.15rem 0 1.6rem;
    color: rgba(255, 255, 255, .77);
    font-size: 1rem;
    line-height: 1.8;
}

.portal-hero-link {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: .72rem 1rem;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 9px;
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease;
}

.portal-hero-link:hover,
.portal-hero-link:focus {
    border-color: #8ce0aa;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.portal-install-button {
    display: inline-flex;
    align-items: center;
    margin-left: .65rem;
    padding: .72rem 1rem;
    border: 1px solid #8ce0aa;
    border-radius: 9px;
    background: #8ce0aa;
    color: #10251a;
    font-size: .9rem;
    font-weight: 800;
}

.portal-install-button[hidden] {
    display: none;
}

.portal-install-button:hover,
.portal-install-button:focus-visible {
    background: #b7e9c9;
}

.portal-hero-art {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 245px;
    place-items: center;
}

.portal-hero-ring {
    position: absolute;
    display: block;
    border: 1px solid rgba(183, 233, 201, .3);
    border-radius: 50%;
}

.portal-hero-ring--outer {
    width: min(260px, 25vw);
    aspect-ratio: 1;
}

.portal-hero-ring--inner {
    width: min(190px, 19vw);
    aspect-ratio: 1;
    border-color: rgba(183, 233, 201, .48);
}

.portal-hero-monogram {
    position: relative;
    display: grid;
    width: 126px;
    height: 126px;
    align-content: center;
    justify-items: center;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    background: rgba(7, 128, 68, .75);
    box-shadow: 0 0 0 10px rgba(7, 128, 68, .12), 0 15px 38px rgba(0, 0, 0, .22);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.portal-hero-monogram span {
    margin-top: .2rem;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: 0;
}

.portal-hero-number {
    position: absolute;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 15px;
    background: rgba(17, 23, 20, .84);
    color: #b7e9c9;
    font-size: .92rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.portal-hero-number--top {
    top: 16%;
    right: 7%;
}

.portal-hero-number--bottom {
    bottom: 12%;
    left: 7%;
}

.portal-report-section,
.portal-content {
    margin: 0 0 3.5rem;
}

.portal-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.portal-section-kicker {
    margin-bottom: .35rem;
    color: var(--portal-green);
}

.portal-section-heading h2 {
    margin: 0;
    color: var(--portal-ink);
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -.025em;
}

.portal-section-heading p:not(.portal-section-kicker) {
    margin: .4rem 0 0;
    color: var(--portal-muted);
    font-size: .94rem;
}

.portal-section-index {
    color: var(--portal-green-dark);
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}

.portal-section-index span {
    color: #9aa79f;
    font-weight: 500;
}

.portal-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.portal-report-card {
    position: relative;
    display: flex;
    min-height: 205px;
    align-items: center;
    gap: 1.4rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: 18px;
    background: var(--portal-surface);
    box-shadow: 0 8px 26px rgba(20, 45, 31, .045);
    color: var(--portal-ink);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.portal-report-card::after {
    position: absolute;
    right: -30px;
    bottom: -54px;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(7, 128, 68, .1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.portal-report-card:hover,
.portal-report-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(7, 128, 68, .4);
    box-shadow: var(--portal-shadow);
    color: var(--portal-ink);
    text-decoration: none;
}

.portal-report-card:focus-visible,
.portal-hero-link:focus-visible,
.portal-navbar a:focus-visible {
    outline: 3px solid #53c783;
    outline-offset: 3px;
}

.portal-report-code {
    display: grid;
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    place-items: center;
    border: 1px solid rgba(7, 128, 68, .18);
    border-radius: 24px;
    background: var(--portal-green-soft);
    color: var(--portal-green-dark);
    font-size: 1.55rem;
    font-weight: 800;
}

.portal-report-card--secondary .portal-report-code {
    border-color: #dce5df;
    background: #f1f4f2;
    color: #303b34;
}

.portal-report-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

.portal-report-label {
    color: var(--portal-green);
    font-size: .65rem;
}

.portal-report-content strong {
    margin-top: .42rem;
    font-size: 1.24rem;
    font-weight: 800;
}

.portal-report-description {
    margin-top: .35rem;
    color: var(--portal-muted);
    font-size: .88rem;
}

.portal-report-action {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .95rem;
    color: var(--portal-green-dark);
    font-size: .86rem;
    font-weight: 800;
}

.portal-report-action span {
    font-size: 1.15rem;
    transition: transform .18s ease;
}

.portal-report-card:hover .portal-report-action span {
    transform: translateX(4px);
}

.portal-video-section {
    margin: 0 0 3.5rem;
}

.portal-video-frame {
    position: relative;
    width: min(100%, 1080px);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(20, 45, 31, .12);
    border-radius: 20px;
    background: #101713;
    box-shadow: var(--portal-shadow);
}

.portal-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.portal-content {
    padding-top: .25rem;
}

.portal-updates-heading {
    margin-bottom: 1.5rem;
}

.portal-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem .75rem;
    border: 1px solid var(--portal-border);
    border-radius: 999px;
    background: #fff;
    color: #536158;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.portal-live-indicator > span {
    width: 7px;
    height: 7px;
    flex-basis: 7px;
    box-shadow: none;
}

.portal-content .panel {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: 16px;
    background: var(--portal-surface);
    box-shadow: 0 8px 26px rgba(20, 45, 31, .045);
}

.portal-content .portal-data-panel {
    margin-bottom: 1.35rem;
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: 18px;
    background: var(--portal-surface);
    box-shadow: 0 10px 28px rgba(20, 45, 31, .055);
}

.portal-content .portal-data-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.3rem;
    border-bottom: 1px solid var(--portal-border);
    background: linear-gradient(115deg, #fff 0%, #f5faf7 100%);
}

.portal-content .portal-data-panel-kicker {
    margin: 0 0 .25rem;
    color: var(--portal-green);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.portal-content .portal-data-panel-title {
    margin: 0;
    color: var(--portal-ink);
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.4;
}

.portal-content .portal-data-panel-description {
    margin: .25rem 0 0;
    color: var(--portal-muted);
    font-size: .84rem;
}

.portal-data-panel-index {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid rgba(7, 128, 68, .15);
    border-radius: 15px;
    background: var(--portal-green-soft);
    color: var(--portal-green-dark);
    font-size: 1rem;
    font-weight: 800;
}

.portal-content .portal-data-panel-body {
    padding: 1.1rem 1.25rem 1.25rem;
}

.portal-data-view-switcher {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    margin-bottom: 1rem;
    padding: .25rem;
    border: 1px solid var(--portal-border);
    border-radius: 11px;
    background: #f3f7f4;
}

.portal-data-view-button-option {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .4rem .7rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--portal-muted);
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.portal-data-view-button-option svg {
    width: 17px;
    height: 17px;
    flex: none;
}

.portal-data-view-button-option[aria-pressed="true"] {
    background: #fff;
    color: var(--portal-green-dark);
    box-shadow: 0 1px 4px rgba(20, 45, 31, .12);
}

.portal-data-view-button-option:focus-visible {
    outline: 3px solid var(--portal-green);
    outline-offset: 2px;
}

.portal-data-panel [data-report-view-panel][hidden] {
    display: none !important;
}

.portal-data-list {
    display: grid;
    gap: .65rem;
}

.portal-data-list-item {
    display: grid;
    grid-template-columns: minmax(130px, .75fr) minmax(160px, 1fr) minmax(220px, 1.8fr) auto;
    align-items: center;
    gap: 1rem;
    padding: .9rem 1rem;
    border: 1px solid var(--portal-border);
    border-radius: 13px;
    background: #fff;
    transition: border-color .15s ease, background-color .15s ease;
}

.portal-data-list-item:hover {
    border-color: rgba(7, 128, 68, .3);
    background: #fbfdfb;
}

.portal-data-panel--staff .portal-data-list-item {
    grid-template-columns: minmax(130px, .7fr) minmax(160px, 1fr) minmax(170px, 1.1fr) minmax(210px, 1.8fr) auto;
}

.portal-data-list-field {
    min-width: 0;
}

.portal-data-list-field > span,
.portal-data-card-field > span {
    display: block;
    margin-bottom: .2rem;
    color: var(--portal-muted);
    font-size: .7rem;
    font-weight: 600;
}

.portal-data-list-field time,
.portal-data-list-field strong,
.portal-data-list-field p {
    display: block;
    margin: 0;
    color: var(--portal-ink);
    font-size: .82rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.portal-data-list-field strong {
    font-weight: 700;
}

.portal-data-list-actions {
    justify-self: end;
}

.portal-data-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: .9rem;
}

.portal-data-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .8rem;
    padding: 1rem;
    border: 1px solid var(--portal-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(20, 45, 31, .04);
}

.portal-data-card-image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--portal-border);
    border-radius: 12px;
    background: #edf4ef;
}

.portal-data-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.portal-data-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.portal-data-card-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    background: linear-gradient(135deg, #f3f8f5, #e8f2ec);
    color: var(--portal-muted);
    font-size: .75rem;
    font-weight: 600;
}

.portal-data-card-image-placeholder svg {
    width: 32px;
    height: 32px;
    color: var(--portal-green);
}

.portal-data-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
    color: var(--portal-muted);
    font-size: .72rem;
}

.portal-data-card-header > span {
    color: var(--portal-green-dark);
    font-weight: 800;
}

.portal-data-card-title {
    margin: 0;
    color: var(--portal-ink);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.portal-data-card-field {
    min-width: 0;
}

.portal-data-card-field p {
    margin: 0;
    color: var(--portal-ink);
    font-size: .84rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.portal-data-card-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: .2rem;
}

.portal-data-empty {
    margin: 0;
    padding: 1.25rem;
    border: 1px dashed var(--portal-border);
    border-radius: 12px;
    background: #f7faf8;
    color: var(--portal-muted);
    text-align: center;
}

.portal-content .portal-data-scroll-note {
    display: none;
}

.portal-content .portal-data-grid {
    margin: 0;
    overflow-x: auto;
    border: 1px solid var(--portal-border);
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-color: #9eb8a7 #eef4f0;
    scrollbar-width: thin;
}

.portal-content .portal-data-grid .table {
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    --bs-table-striped-bg: #f6f9f7;
    --bs-table-hover-bg: #edf6f0;
    margin-bottom: 0;
    vertical-align: middle;
    font-size: .88rem;
}

.portal-content .portal-data-panel--staff .portal-data-grid .table {
    min-width: 920px;
}

.portal-content .portal-data-grid .table thead th {
    padding: .8rem .85rem;
    border-bottom: 1px solid var(--portal-border);
    background: #f1f7f3;
    color: #48594e;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.portal-content .portal-data-grid .table tbody td {
    padding: .75rem .85rem;
    border-color: #e9efeb;
    line-height: 1.5;
}

.portal-content .portal-data-grid .table tbody td:nth-child(2),
.portal-content .portal-data-grid .table tbody td:nth-child(3) {
    white-space: nowrap;
}

.portal-content .portal-data-grid .table tbody td:last-child {
    min-width: 250px;
    max-width: 420px;
    white-space: normal;
}

.portal-content .portal-data-panel--staff .portal-data-grid .table tbody td:nth-child(5) {
    min-width: 180px;
    white-space: normal;
}

.portal-data-view-button,
.portal-data-view-button:hover,
.portal-data-view-button:focus {
    border-color: var(--portal-green);
    background: var(--portal-green);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.portal-data-view-button:hover,
.portal-data-view-button:focus {
    border-color: var(--portal-green-dark);
    background: var(--portal-green-dark);
}

.portal-detail-modal .modal-content {
    height: min(88vh, 900px);
}

.portal-book-guide-modal {
    z-index: 1090;
    background: rgba(8, 15, 12, .88);
    backdrop-filter: blur(8px);
}

.portal-book-guide-modal .modal-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    background: #101713;
    color: #fff;
}

.portal-book-guide-header {
    z-index: 1;
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem clamp(1rem, 3vw, 2.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(110deg, #17241d, #101713 70%);
}

.portal-book-guide-heading,
.portal-book-guide-actions {
    display: flex;
    align-items: center;
}

.portal-book-guide-heading {
    min-width: 0;
    gap: .9rem;
}

.portal-book-guide-mark {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(220, 192, 133, .55);
    border-radius: 50%;
    color: #e5ce9e;
    font-size: .76rem;
    font-weight: 700;
}

.portal-book-guide-kicker {
    margin: 0 0 .1rem;
    color: #c5aa70;
    font-size: .73rem;
    letter-spacing: .08em;
}

.portal-book-guide-heading h2 {
    overflow: hidden;
    margin: 0;
    color: #fff;
    font-size: clamp(.95rem, 2.4vw, 1.15rem);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-book-guide-actions {
    flex: 0 0 auto;
    gap: .65rem;
}

.portal-book-guide-fullscreen,
.portal-book-guide-close {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .55rem .85rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    color: #fff;
    font: inherit;
    font-size: .88rem;
    transition: background-color .18s ease, border-color .18s ease;
}

.portal-book-guide-fullscreen {
    background: rgba(255, 255, 255, .06);
}

.portal-book-guide-close {
    border-color: #9e7940;
    background: #806334;
}

.portal-book-guide-fullscreen:hover,
.portal-book-guide-fullscreen:focus-visible {
    border-color: rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .13);
}

.portal-book-guide-close:hover,
.portal-book-guide-close:focus-visible {
    border-color: #c4a36a;
    background: #9a7941;
}

.portal-book-guide-fullscreen svg,
.portal-book-guide-close svg {
    width: 18px;
    height: 18px;
}

.portal-book-guide-viewer {
    position: relative;
    min-height: 0;
    flex: 1 1 auto;
    background: #e9e7e2;
}

.portal-book-guide-viewer iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.portal-book-guide-loading {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    background: #f1f0ec;
    color: #38453d;
    font-size: .95rem;
}

.portal-book-guide-loading[hidden] {
    display: none;
}

.portal-book-guide-spinner {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(51, 74, 59, .2);
    border-top-color: #334a3b;
    border-radius: 50%;
    animation: portal-book-guide-spin .75s linear infinite;
}

@keyframes portal-book-guide-spin {
    to {
        transform: rotate(360deg);
    }
}

.portal-detail-modal .modal-body {
    min-height: 0;
    padding: 0;
}

.portal-detail-modal iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

@media (max-width: 575.98px) {
    .portal-book-guide-header {
        min-height: 64px;
        padding: .65rem .75rem;
    }

    .portal-book-guide-mark {
        width: 38px;
        height: 38px;
    }

    .portal-book-guide-heading {
        gap: .6rem;
    }

    .portal-book-guide-kicker {
        font-size: .65rem;
    }

    .portal-book-guide-actions {
        gap: .4rem;
    }

    .portal-book-guide-fullscreen,
    .portal-book-guide-close {
        width: 40px;
        min-height: 40px;
        padding: .5rem;
    }

    .portal-book-guide-fullscreen span,
    .portal-book-guide-close span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .portal-detail-modal .modal-dialog {
        margin: .5rem;
    }

    .portal-detail-modal .modal-content {
        height: calc(100dvh - 1rem);
    }
}

.portal-image-gallery-wrap {
    display: grid;
    gap: .75rem;
}

.portal-image-gallery-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .35rem .75rem;
    color: var(--portal-ink);
    font-size: .9rem;
}

.portal-image-gallery-heading span {
    color: var(--portal-muted);
    font-size: .78rem;
}

.portal-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .75rem;
}

.portal-announcement-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.portal-announcement-gallery .portal-image-gallery-thumb {
    aspect-ratio: 16 / 10;
    box-shadow: 0 4px 14px rgba(20, 45, 31, .06);
}

.portal-tribute-map-section {
    margin: 2rem 0;
}

.portal-tribute-map-section .portal-section-heading {
    margin-bottom: 1rem;
}

.portal-tribute-map-count {
    flex: none;
    padding: .5rem .75rem;
    border: 1px solid rgba(7, 128, 68, .18);
    border-radius: 999px;
    background: var(--portal-green-soft);
    color: var(--portal-green-dark);
    font-size: .78rem;
    font-weight: 800;
}

.portal-tribute-map-card {
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(20, 45, 31, .08);
}

.portal-tribute-map {
    position: relative;
    width: 100%;
    height: clamp(360px, 55vh, 580px);
    background: #e8efeb;
}

.portal-tribute-map-status {
    position: absolute;
    z-index: 1000;
    top: 1rem;
    left: 50%;
    max-width: calc(100% - 2rem);
    padding: .65rem .9rem;
    border: 1px solid var(--portal-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 4px 14px rgba(20, 45, 31, .12);
    color: var(--portal-ink);
    font-size: .82rem;
    text-align: center;
    transform: translateX(-50%);
}

.portal-tribute-map-status[hidden] {
    display: none;
}

.portal-tribute-map-status--error {
    border-color: #efc7c7;
    color: #8b2929;
}

.portal-tribute-map .leaflet-control-attribution {
    font-size: .67rem;
}

.portal-tribute-map-popup {
    min-width: 220px;
    color: var(--portal-ink);
    font-family: inherit;
}

.portal-tribute-map-popup strong {
    display: block;
    margin-bottom: .2rem;
    color: var(--portal-green-dark);
    font-size: .95rem;
}

.portal-tribute-map-popup p {
    margin: 0 0 .55rem;
    font-size: .78rem;
}

.portal-tribute-map-plan {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    cursor: zoom-in;
}

.portal-image-gallery-thumb {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 1px solid var(--portal-border);
    border-radius: 12px;
    background: #edf4ef;
    cursor: zoom-in;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.portal-image-gallery-thumb:hover,
.portal-image-gallery-thumb:focus-visible {
    border-color: var(--portal-green);
    box-shadow: 0 6px 18px rgba(20, 45, 31, .16);
    transform: translateY(-2px);
}

.portal-image-gallery-thumb:focus-visible {
    outline: 3px solid var(--portal-green);
    outline-offset: 2px;
}

.portal-image-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portal-image-gallery-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    background: #111714;
    color: #fff;
}

.portal-image-gallery-modal .modal-header {
    border-color: rgba(255, 255, 255, .12);
}

.portal-image-gallery-modal .modal-body {
    position: relative;
    display: flex;
    min-height: min(72vh, 720px);
    align-items: center;
    justify-content: center;
    padding: 1rem 4.5rem;
    background: #0a0e0c;
}

.portal-image-gallery-modal [data-gallery-large-image] {
    display: block;
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
}

.portal-image-gallery-counter {
    margin-left: auto;
    padding-right: .9rem;
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
    font-variant-numeric: tabular-nums;
}

.portal-image-gallery-nav {
    position: absolute;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
}

.portal-image-gallery-nav:hover:not(:disabled),
.portal-image-gallery-nav:focus-visible {
    background: var(--portal-green);
}

.portal-image-gallery-nav:disabled {
    opacity: .35;
    cursor: default;
}

.portal-image-gallery-nav svg {
    width: 22px;
    height: 22px;
}

.portal-image-gallery-nav--previous {
    left: 1rem;
}

.portal-image-gallery-nav--next {
    right: 1rem;
}

@media (max-width: 575.98px) {
    .portal-image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
        gap: .55rem;
    }

    .portal-announcement-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }

    .portal-tribute-map {
        height: 55vh;
        min-height: 340px;
    }

    .portal-tribute-map-popup {
        min-width: min(220px, 65vw);
    }

    .portal-image-gallery-modal .modal-dialog {
        margin: .5rem;
    }

    .portal-image-gallery-modal .modal-body {
        min-height: calc(100dvh - 5rem);
        padding: 1rem 3rem;
    }

    .portal-image-gallery-modal [data-gallery-large-image] {
        max-height: calc(100dvh - 7rem);
    }

    .portal-image-gallery-nav {
        width: 36px;
        height: 36px;
    }

    .portal-image-gallery-nav--previous {
        left: .45rem;
    }

    .portal-image-gallery-nav--next {
        right: .45rem;
    }
}

.portal-content .portal-data-grid .pagination,
.portal-data-panel .pagination {
    flex-wrap: wrap;
    gap: .35rem;
    margin: 1rem 0 0;
}

.portal-content .portal-data-grid .pagination .page-link,
.portal-data-panel .pagination .page-link {
    border-radius: 8px;
    color: var(--portal-green-dark);
}

.portal-content .portal-data-grid .pagination .active .page-link,
.portal-data-panel .pagination .active .page-link {
    border-color: var(--portal-green);
    background: var(--portal-green);
    color: #fff;
}

.portal-content .panel-heading {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--portal-border);
    background: #fff;
}

.portal-content .panel-title {
    margin: 0;
    color: var(--portal-ink);
    font-size: 1.05rem;
    font-weight: 800;
}

.portal-content .panel-title .glyphicon {
    margin-right: .4rem;
    color: var(--portal-green);
}

.portal-content .panel-body {
    padding: 1.2rem;
}

.portal-content .panel-body > .row {
    row-gap: .35rem;
}

.portal-content .panel-body .card {
    height: 100%;
    border: 1px solid var(--portal-border);
    border-radius: 12px;
    box-shadow: none;
    transition: border-color .18s ease, transform .18s ease;
}

.portal-content .panel-body .card:hover {
    transform: translateY(-2px);
    border-color: rgba(7, 128, 68, .45);
}

.portal-content .panel-body .card-body {
    padding: .75rem;
}

.portal-content .panel-body .card-img {
    width: 100%;
    max-height: 250px;
    border-radius: 7px;
    object-fit: contain;
}

.portal-content .grid-view {
    overflow-x: auto;
}

.portal-content .table {
    --bs-table-striped-bg: #f6f9f7;
    margin-bottom: 0;
}

.portal-footer {
    border-top: 1px solid #27342c;
    background: #111714;
    color: rgba(255, 255, 255, .7);
}

.portal-footer-inner {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1240px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: .82rem;
}

.portal-footer-inner > div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.portal-footer-inner strong {
    color: #fff;
    font-size: .94rem;
}

@media (max-width: 767.98px) {
    .portal-body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }

    .portal-navbar {
        min-height: 68px;
    }

    .portal-brand-logo {
        width: min(142px, 52vw);
    }

    .portal-navbar .navbar-collapse {
        padding: .55rem 0 .35rem;
    }

    .portal-navbar .navbar-nav .nav-link {
        padding: .75rem .85rem;
    }

    .portal-mobile-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom));
        border-top: 1px solid var(--portal-border);
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -8px 24px rgba(17, 23, 20, .1);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .portal-mobile-nav-link {
        display: flex;
        min-width: 0;
        min-height: 48px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .15rem;
        padding: .25rem .35rem;
        border-radius: 12px;
        color: var(--portal-muted);
        font-size: .72rem;
        font-weight: 600;
        line-height: 1.15;
        text-align: center;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    .portal-mobile-nav-link svg {
        width: 22px;
        height: 22px;
        flex: none;
    }

    .portal-mobile-nav-link[aria-current="page"] {
        background: var(--portal-green-soft);
        color: var(--portal-green-dark);
    }

    .portal-mobile-nav-link:focus-visible {
        outline: 3px solid var(--portal-green);
        outline-offset: -3px;
    }

    main > .portal-main-container {
        padding-top: 1.25rem;
        padding-bottom: 3rem;
    }

    .portal-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        margin-bottom: 2.5rem;
        padding: 2rem 1.5rem;
        border-radius: 18px;
    }

    .portal-video-frame {
        border-radius: 15px;
    }

    .portal-hero-art {
        position: absolute;
        right: -48px;
        bottom: -46px;
        width: 190px;
        min-height: 190px;
        opacity: .42;
        pointer-events: none;
    }

    .portal-hero-ring--outer {
        width: 180px;
    }

    .portal-hero-ring--inner {
        width: 132px;
    }

    .portal-hero-monogram {
        width: 88px;
        height: 88px;
        font-size: 1.45rem;
    }

    .portal-hero-monogram span {
        font-size: .55rem;
    }

    .portal-hero-number {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: .75rem;
    }

    .portal-hero-number--top {
        top: 6%;
        right: 8%;
    }

    .portal-hero-number--bottom {
        bottom: 7%;
        left: 8%;
    }

    .portal-hero-copy {
        max-width: 100%;
    }

    .portal-hero-description {
        max-width: 460px;
        font-size: .94rem;
    }

    .portal-install-button {
        margin: .65rem 0 0;
    }

    .portal-section-heading {
        align-items: flex-start;
    }

    .portal-report-grid {
        grid-template-columns: 1fr;
    }

    .portal-report-card {
        min-height: 178px;
    }

    .portal-content .panel-body > .row > [class*="col-"] {
        width: 50%;
    }

    .portal-content .portal-data-panel {
        margin-bottom: 1rem;
        border-radius: 15px;
    }

    .portal-content .portal-data-panel-header {
        align-items: flex-start;
        gap: .65rem;
        padding: .95rem 1rem;
    }

    .portal-content .portal-data-panel-title {
        font-size: 1.06rem;
    }

    .portal-content .portal-data-panel-description {
        max-width: 34ch;
        font-size: .78rem;
        line-height: 1.5;
    }

    .portal-data-panel-index {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 13px;
        font-size: .88rem;
    }

    .portal-content .portal-data-panel-body {
        padding: .8rem;
    }

    .portal-data-view-switcher {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portal-data-view-button-option {
        gap: .25rem;
        padding: .35rem .25rem;
        font-size: .74rem;
    }

    .portal-data-list-item,
    .portal-data-panel--staff .portal-data-list-item {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: .7rem;
        padding: .85rem;
    }

    .portal-data-list-field--wide,
    .portal-data-list-actions {
        grid-column: 1 / -1;
    }

    .portal-data-list-actions {
        justify-self: start;
    }

    .portal-data-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .portal-content .portal-data-scroll-note {
        display: flex;
        align-items: center;
        gap: .4rem;
        margin: 0 0 .6rem;
        color: var(--portal-muted);
        font-size: .74rem;
    }

    .portal-content .portal-data-scroll-note > span:first-child {
        color: var(--portal-green);
        font-size: 1rem;
        font-weight: 800;
    }

    .portal-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        min-height: 96px;
    }
}

@media (max-width: 420px) {
    .portal-eyebrow {
        font-size: .6rem;
        letter-spacing: .09em;
    }

    .portal-report-card {
        gap: .9rem;
        padding: 1rem;
    }

    .portal-report-code {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        border-radius: 19px;
        font-size: 1.25rem;
    }

    .portal-report-content strong {
        font-size: 1.08rem;
    }

    .portal-report-description {
        font-size: .79rem;
    }

    .portal-live-indicator {
        padding: .4rem .55rem;
        font-size: .68rem;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }

    .portal-hero-background img {
        animation: none;
    }

    .portal-hero-background img:first-child {
        opacity: 1;
    }

    .portal-navbar::before {
        animation: none;
        opacity: 1;
    }

    .portal-navbar::after {
        animation: none;
        opacity: 0;
    }
}

.pwa-install-overlay[hidden] {
    display: none !important;
}

body.pwa-install-dialog-open {
    overflow: hidden;
}

.pwa-install-overlay {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: grid;
    padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
    place-items: center;
    background: rgb(9 17 13 / 68%);
    backdrop-filter: blur(6px);
}

.pwa-install-dialog {
    position: relative;
    width: min(100%, 480px);
    max-height: min(86vh, 680px);
    max-height: min(86dvh, 680px);
    overflow-y: auto;
    padding: clamp(24px, 6vw, 40px);
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 80px rgb(0 0 0 / 28%);
    color: #17211b;
}

.pwa-install-dialog-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #edf3ef;
    color: #38483e;
    font-size: 1.5rem;
    line-height: 1;
}

.pwa-install-icon {
    display: inline-grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 19px;
    background: #145c43;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
}

.pwa-install-dialog-kicker {
    margin: 20px 0 6px;
    color: #527362;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pwa-install-dialog h2 {
    margin: 0 36px 10px 0;
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.35;
}

.pwa-install-dialog-description,
.pwa-install-instructions {
    color: #59665e;
    line-height: 1.75;
}

.pwa-install-instructions {
    margin: 14px 0 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f2f7f4;
}

.pwa-install-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.pwa-install-dialog-actions button {
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid #145c43;
    border-radius: 999px;
    background: #145c43;
    color: #fff;
    font: inherit;
    font-weight: 800;
}

.pwa-install-dialog-actions [data-pwa-install-close] {
    border-color: #d7e2db;
    background: #fff;
    color: #39483f;
}

.pwa-install-dialog button:focus-visible {
    outline: 3px solid #e8ad41;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .pwa-install-overlay {
        align-items: end;
        padding: 12px 12px max(18px, env(safe-area-inset-bottom));
    }

    .pwa-install-dialog {
        max-height: min(82vh, 680px);
        max-height: min(82dvh, 680px);
        padding: 25px 22px;
        border-radius: 24px 24px 12px 12px;
    }
}