header {
    max-height: 100vh;
    overflow: auto;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

header #picker > summary {
    background-color: #006fe5;
    opacity: .95;
    backdrop-filter: blur(8px);
    color: #fff;
}

#lands a.list-group-item img {
    width: 1.5rem;
    padding-right: 0.25rem;
}


#calendar {
    display: grid;
    grid-gap: 2rem 2rem;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    margin-bottom: 5rem;
}

#calendar .calmonth {
    display: inline-block;
}

#calendar .calmonth .header {
    margin-top: 1rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

#calendar .calmonth h3 {
    font-size: 1.5rem;
}

#calendar .calmonth h4 {
    font-size: 1.2rem;
}

#calendar .calmonth table.month {
    width: 100%;
}

#calendar .calmonth table.month tr {
}

#calendar .calmonth table.month td {
    text-align: center;
    line-height: 2rem;
}

#calendar td.weekend {
    color: red;
}

#calendar td > span {
    display: inline-block;
    width: 1.75rem;
    height: 1.75rem;
    line-height: 1.75rem;
}

#calendar td.pubh > span {
    background-color: orange;
    border-radius: 50%;
    color: white;
}

#calendar td.pubh.weekend > span {
    color: red;
}

#calendar td.today > span,
#calendar td.today.weekend > span {
    background-color: red;
    border-radius: 50%;
    color: white;
}

#calendar td.schh {
    border-bottom: 0.25rem lightskyblue solid;
}

.fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 10;
}

.fab button {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

/* ---- 2026 rebuild: menu without Bootstrap's JS, listings, legend ---- */

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

#picker > summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#picker > summary::-webkit-details-marker { display: none; }

#picker[open] > summary .navbar-toggler-icon {
    transform: rotate(90deg);
}

#picker .navbar-brand {
    margin: 0;
    max-width: 75%;
    font-size: 1.25rem;
    color: #fff;
}

#picker > summary:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -3px;
}

#lands a.list-group-item.active {
    background-color: #e9f2ff;
    border-color: rgba(0, 0, 0, .125);
    color: inherit;
    font-weight: 600;
}

nav.years {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1rem 0;
}

.year-link {
    padding: .35rem .85rem;
    border: 1px solid #d0d7de;
    border-radius: 2rem;
    text-decoration: none;
    color: #006fe5;
    background: #fff;
}

.year-link.active {
    background: #006fe5;
    border-color: #006fe5;
    color: #fff;
}

.year-link.today-link {
    border-color: red;
    color: red;
}

.breadcrumb {
    background: transparent;
    padding: .75rem 0 0;
    margin-bottom: .25rem;
    font-size: .875rem;
}

main h1 {
    font-size: 1.75rem;
    margin-bottom: .5rem;
}

main h2 {
    font-size: 1.4rem;
    margin: 2rem 0 .75rem;
}

p.lead {
    font-size: 1.05rem;
    color: #444;
    max-width: 46rem;
}

ul.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: .875rem;
    color: #444;
}

ul.legend .key {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: .35rem;
    vertical-align: -.2rem;
    border-radius: 50%;
}

ul.legend .key.pubh { background: orange; }
ul.legend .key.today { background: red; }
ul.legend .key.schh {
    border-radius: 0;
    height: .25rem;
    background: lightskyblue;
    vertical-align: .15rem;
}

#calendar .calmonth h3 {
    font-size: 1.25rem;
    margin-bottom: .5rem;
}

#calendar .calmonth table.month thead th {
    font-size: .75rem;
    font-weight: 600;
    color: #6c757d;
    text-align: center;
    padding-bottom: .25rem;
}

#calendar .calmonth table.month thead abbr {
    text-decoration: none;
    border: 0;
}

table.listing {
    width: 100%;
    max-width: 46rem;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

table.listing th,
table.listing td {
    padding: .45rem .6rem;
    border-bottom: 1px solid #e6e6e6;
    text-align: left;
}

table.listing thead th {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #6c757d;
    border-bottom-width: 2px;
}

table.listing td:last-child {
    color: #6c757d;
    white-space: nowrap;
}
