* {
    box-sizing: border-box;
}
:root {
    color-scheme: light;
    --ink: #232b39;
    --muted: #596676;
    --line: #dbdfe4;
    --paper: #faf9f6;
    --brand: #ae401b;
    --nav: #172c37;
    --focus: #24719b;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font:
        15px/1.48 'Segoe UI',
        system-ui,
        sans-serif;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1 {
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
    margin-bottom: 0.8em;
}
h2 {
    font-size: 1.25rem;
    letter-spacing: -0.015em;
}
h3 {
    font-size: 1.04rem;
}
a {
    color: var(--brand);
}
button,
input,
textarea,
select {
    font: inherit;
}
input:not([type='checkbox']):not([type='radio']),
select,
textarea {
    padding: 0.55rem 0.65rem;
    border: 1px solid #aab3bb;
    border-radius: 0.42rem;
    background: white;
    color: var(--ink);
    max-width: 100%;
}
input[type='checkbox'],
input[type='radio'] {
    accent-color: var(--brand);
}
textarea {
    width: 100%;
    min-height: 5rem;
    resize: vertical;
}
button,
.button {
    background: #fff;
    border: 1px solid #b5bdc4;
    border-radius: 0.45rem;
    color: var(--ink);
    padding: 0.48rem 0.85rem;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
}
button:hover:not(:disabled),
.button:hover {
    border-color: var(--brand);
    color: var(--brand);
}
button:disabled {
    opacity: 0.55;
    cursor: default;
}
.primary,
button[type='submit'] {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}
.primary:hover:not(:disabled),
button[type='submit']:hover:not(:disabled) {
    background: #8c3214;
    color: white;
}
.danger {
    color: #a42e2e;
}
.secondary,
.quiet {
    background: white;
    color: var(--ink);
}
:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}
[hidden] {
    display: none !important;
}
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.94rem;
}
th,
td {
    padding: 0.65rem 0.7rem;
    text-align: start;
    vertical-align: middle;
    border-bottom: 1px solid var(--line);
}
th {
    color: #4c5968;
    background: #f6f6f3;
    font-size: 0.85rem;
    font-weight: 650;
}
tbody tr:last-child td {
    border-bottom: 0;
}
fieldset {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    margin: 0 0 1rem;
    padding: 1rem;
}
legend,
label {
    font-weight: 600;
}
label input:not([type='checkbox']):not([type='radio']),
label select,
label textarea {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-weight: 400;
}
.shell {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    min-height: 100vh;
}
.masthead {
    grid-column: 1/-1;
    background: var(--nav);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.78rem 2rem;
    gap: 1rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 750;
    color: inherit;
    text-decoration: none;
}
.brand > span:last-child {
    color: #ffad78;
}
.brand-mark {
    font-family: Georgia, serif;
    color: var(--nav);
    border-radius: 0.36rem;
    background: #ffad78;
    padding: 0.34rem 0.53rem;
    margin-right: 0.55rem;
    letter-spacing: 0;
}
.account,
.actions,
.toolbar {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    flex-wrap: wrap;
}
.account .quiet {
    font-size: 0.86rem;
    background: transparent;
    border-color: #69808a;
    color: white;
}
.sidebar {
    border-right: 1px solid var(--line);
    background: #f3f2ed;
    padding: 1.4rem 1rem;
}
.site-menu summary {
    display: none;
}
.nav-group {
    margin-bottom: 1.35rem;
}
.nav-group p,
.breadcrumb {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 0.35rem;
}
.nav-group p {
    padding: 0 0.7rem;
    font-weight: 650;
}
.nav-group a {
    display: block;
    padding: 0.45rem 0.7rem;
    text-decoration: none;
    color: var(--ink);
    border-radius: 0.4rem;
}
.nav-group a:hover,
.nav-group a[aria-current='page'] {
    color: #762e13;
    background: #f4decc;
}
.workspace {
    min-width: 0;
    padding: clamp(1rem, 3vw, 3rem);
    max-width: 1600px;
    width: 100%;
    margin: auto;
    align-self: start;
    margin-top: 0;
}
.breadcrumb a {
    color: inherit;
}
.panel,
.menu-section {
    background: white;
    border: 1px solid var(--line);
    border-radius: 0.7rem;
    padding: clamp(0.85rem, 1.5vw, 1.5rem);
    margin-bottom: 1rem;
}
.toolbar,
.actions {
    margin: 0.6rem 0;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
    gap: 0.85rem;
}
.table-wrap {
    overflow: auto;
    max-width: 100%;
}
.notice,
.status,
[role='status'] {
    color: var(--muted);
}
.validation,
[role='alert'],
.error {
    color: #9f2727;
}
.validation ul {
    padding-left: 1.2rem;
}
.validation-summary-valid {
    display: none;
}
.menu-index {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
    gap: 1rem;
    align-items: start;
}
.menu-index ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-index li + li {
    border-top: 1px solid var(--line);
}
.menu-index li a {
    color: var(--ink);
    text-decoration: none;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu-index li a:hover {
    color: var(--brand);
}
.menu-index li span {
    color: var(--brand);
}
.login-stage {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 1rem;
    background: #f1eee6;
}
.login-panel {
    padding: clamp(1.5rem, 5vw, 3rem);
    max-width: 410px;
    width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
}
.login-panel .brand > span:last-child {
    color: var(--brand);
}
.login-panel h1 {
    margin: 1.8rem 0 1.3rem;
    font-size: 1.8rem;
}
.login-panel form {
    display: grid;
    gap: 1rem;
}
.skip {
    position: absolute;
    left: -9999px;
}
.skip:focus {
    left: 1rem;
    top: 0.5rem;
    background: white;
    padding: 0.8rem;
    z-index: 5;
}
details > summary {
    cursor: pointer;
}
dialog {
    border: 1px solid var(--line);
    border-radius: 0.7rem;
    padding: 1.4rem;
    max-width: min(94vw, 800px);
    max-height: 88vh;
    color: var(--ink);
}
dialog::backdrop {
    background: #152c3970;
}
progress {
    accent-color: var(--brand);
}
@media (max-width: 859px) {
    .shell {
        display: block;
    }
    .masthead {
        padding: 0.75rem 1rem;
    }
    .sidebar {
        border: 0;
        border-bottom: 1px solid var(--line);
        padding: 0.6rem 1rem;
    }
    .site-menu summary {
        display: list-item;
        font-weight: 650;
    }
    .site-menu nav {
        padding-top: 0.9rem;
    }
    .account > span {
        max-width: 35vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .menu-index {
        display: block;
    }
    .table-wrap th {
        white-space: nowrap;
    }
}
@media print {
    .masthead,
    .sidebar,
    .breadcrumb,
    .skip {
        display: none !important;
    }
    .shell {
        display: block;
    }
    .workspace {
        padding: 0;
        max-width: none;
    }
}
.narrow {
    max-width: 46rem;
}
#quote-form fieldset,
#announce-form > fieldset {
    display: grid;
    gap: 0.9rem;
}
#announcements .thumb {
    float: left;
    width: 5rem;
    height: 3.6rem;
    object-fit: contain;
    margin-inline-end: 0.8rem;
}
#announce-image {
    max-width: 11rem;
    max-height: 7rem;
    object-fit: contain;
}
#announce-form fieldset fieldset {
    margin: 0;
}
.checklist {
    display: grid;
    gap: 0.28rem;
    max-height: 14rem;
    overflow-y: auto;
}
.wrap-text {
    overflow-wrap: anywhere;
    white-space: pre-line;
}
