:root
{
    --green: #2e5140;
    --ink: #263d32;
    --muted: #7d8b81;
    --paper: #fcfdf9;
}
*
{
    box-sizing: border-box;
}
[hidden]
{
    display: none !important;
}
body
{
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 13px/1.6 Arial, sans-serif;
}
button, input, textarea
{
    font: inherit;
}
a, button
{
    color: inherit;
    cursor: pointer;
}
a
{
    text-decoration: none;
}
header
{
    padding: 27px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand
{
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: -1px;
}
.brand svg
{
    width: 35px;
    height: 35px;
}
.brand > span
{
    font-size: 7px;
    font-weight: normal;
    letter-spacing: 2px;
    border-left: 1px solid #d5ded2;
    margin-left: 12px;
    padding-left: 16px;
}
.header-note
{
    font-size: 8px;
    letter-spacing: 2px;
    color: #819082;
}
.support-link
{
    background: none;
    border: 0;
    font-size: 11px;
}
.preview-bar
{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    background: #f0f3ed;
    border-top: 1px solid #e6ebe2;
    border-bottom: 1px solid #e6ebe2;
    padding: 12px 5%;
}
.preview-bar > span
{
    font-size: 8px;
    letter-spacing: 1.5px;
}
.preview-bar small
{
    color: #889785;
    font-size: 7px;
    margin-left: 15px;
}
nav
{
    display: flex;
    gap: 7px;
}
nav button
{
    background: none;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 10px;
    color: #71806f;
}
nav [aria-pressed="true"]
{
    background: white;
    color: var(--ink);
    border-color: #dce3d6;
}
.error-page
{
    text-align: center;
    max-width: 700px;
    margin: auto;
    padding: 25px 25px 37px;
    min-height: 570px;
}
.illustration
{
    position: relative;
    width: min(440px, 100%);
    height: 220px;
    margin: auto;
}
#error-number
{
    color: #e5ece1;
    font-size: 180px;
    font-weight: bold;
    letter-spacing: -10px;
    line-height: 1.05;
}
.illustration svg
{
    position: absolute;
    inset: 12px 0 0;
    width: 100%;
    height: 100%;
}
.eyebrow
{
    color: #9c7155;
    font-size: 8px;
    letter-spacing: 2px;
    font-weight: bold;
}
h1
{
    font-size: 38px;
    letter-spacing: -1.4px;
    line-height: 1.1;
    font-weight: 500;
    margin: 15px 0;
}
#error-description
{
    font-size: 12px;
    color: #788473;
}
.actions
{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 22px 0;
}
.primary, .secondary
{
    border: 1px solid var(--green);
    background: var(--green);
    color: white;
    padding: 12px 22px;
    border-radius: 5px;
    font-size: 10px;
    min-height: 42px;
}
.secondary
{
    background: none;
    color: var(--green);
    border-color: #d9e0d2;
}
#search-form
{
    display: flex;
    align-items: center;
    max-width: 360px;
    border: 1px solid #d9e0d2;
    border-radius: 5px;
    margin: 25px auto 0;
    padding: 4px;
    background: white;
}
input, textarea
{
    min-width: 0;
    width: 100%;
    padding: 12px;
    border: 1px solid #d9e0d2;
    border-radius: 4px;
    color: var(--ink);
    background: white;
}
#search-form input
{
    border: 0;
    font-size: 10px;
    flex: 1;
}
#search-form button
{
    border: 0;
    background: none;
    color: #9ba592;
    padding: 7px 12px;
}
.state-status
{
    font-size: 11px;
    color: #926b50;
    margin: 15px 0 0;
}
#search-results
{
    display: grid;
    max-width: 360px;
    gap: 6px;
    margin: 10px auto;
}
#search-results button
{
    border: 1px solid #d9e0d2;
    text-align: left;
    background: white;
    padding: 10px;
    font-size: 11px;
}
.help-section
{
    max-width: 950px;
    margin: auto;
    border-top: 1px solid #e1e7db;
    padding: 25px 25px 40px;
}
.help-section > p
{
    text-align: center;
    font-size: 7px;
    letter-spacing: 2px;
    color: #83917e;
    margin-bottom: 25px;
}
.help-links
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.help-links button
{
    border: 0;
    background: none;
    text-align: left;
    display: grid;
    grid-template-columns: 25px 1fr 15px;
    column-gap: 6px;
    align-items: center;
}
.help-links button > span
{
    font-size: 20px;
    grid-row: 1/3;
    color: #849981;
}
.help-links b
{
    font-size: 11px;
    font-weight: 500;
}
.help-links small
{
    grid-column: 2;
    font-size: 8px;
    color: #8d9786;
    margin-top: 5px;
}
.help-links i
{
    grid-column: 3;
    grid-row: 1;
    color: #8d9786;
    font-style: normal;
}
footer
{
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 5%;
    border-top: 1px solid #e6ebe2;
    color: #86937f;
    font-size: 8px;
}
footer button
{
    background: none;
    border: 0;
    font-size: 8px;
}
footer i
{
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #8fa883;
    border-radius: 50%;
    margin-right: 6px;
}
.reference
{
    font: 10px monospace;
    background: #edf1e8;
    border-radius: 3px;
    display: inline-block;
    padding: 6px 12px;
}
progress
{
    display: block;
    margin: 20px auto 10px;
    width: 270px;
    max-width: 100%;
    height: 7px;
    accent-color: var(--green);
}
.notify-form
{
    display: flex;
    gap: 8px;
    max-width: 380px;
    margin: 20px auto 0;
}
.notify-form input
{
    flex: 1;
    width: 150px;
    font-size: 11px;
}
.small
{
    font-size: 10px;
    color: var(--muted);
}
#cached-content
{
    max-width: 400px;
    margin: auto;
    padding: 15px;
    background: #edf1e8;
    text-align: left;
}
#cached-content button
{
    background: none;
    border: 0;
    text-decoration: underline;
}
dialog
{
    width: min(480px, 94vw);
    color: var(--ink);
    border: 1px solid #d9e0d2;
    border-radius: 10px;
    padding: 32px;
}
dialog::backdrop
{
    background: #263d329c;
}
.close
{
    float: right;
    background: none;
    border: 0;
    font-size: 25px;
}
dialog h2
{
    font-size: 27px;
    font-weight: normal;
    letter-spacing: -.5px;
}
dialog label
{
    display: block;
    font-size: 11px;
    margin: 15px 0;
}
dialog input, dialog textarea
{
    margin-top: 7px;
}
dialog textarea
{
    min-height: 80px;
}
#working-page
{
    padding: 20px;
    border: 1px solid #d9e0d2;
    margin-top: 25px;
}
@media (max-width: 650px)
{
    header
    {
        padding: 22px 6%;
    }
    .header-note, .brand > span
    {
        display: none;
    }
    .preview-bar
    {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 6%;
        gap: 10px;
    }
    .preview-bar small
    {
        margin-left: 10px;
    }
    nav
    {
        width: 100%;
        justify-content: space-between;
        gap: 2px;
    }
    nav button
    {
        padding: 8px 10px;
        font-size: 9px;
    }
    .error-page
    {
        padding: 25px 6% 40px;
        min-height: 550px;
    }
    .illustration
    {
        height: 205px;
    }
    #error-number
    {
        font-size: 155px;
    }
    h1
    {
        font-size: 31px;
    }
    #error-description
    {
        font-size: 11px;
    }
    .help-links
    {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .help-section > p
    {
        font-size: 6px;
        letter-spacing: 1px;
    }
    .help-links b
    {
        font-size: 13px;
    }
    .help-links small
    {
        font-size: 10px;
    }
    footer
    {
        flex-wrap: wrap;
        padding: 20px 6%;
    }
    .notify-form
    {
        flex-direction: column;
    }
    .notify-form input
    {
        width: 100%;
    }
}
