:root
{
    --ink: #38352f;
    --paper: #f7f5ef;
    --muted: #8d877c;
    --line: #dfdacf;
    --olive: #6d735b;
}
*
{
    box-sizing: border-box;
}
body
{
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 12px/1.6 "Segoe UI", sans-serif;
}
button, input, select
{
    font: inherit;
}
button, a
{
    cursor: pointer;
    color: inherit;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible
{
    outline: 3px solid #969c70;
    outline-offset: 3px;
}
header
{
    padding: 24px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}
.brand
{
    color: var(--ink);
    text-decoration: none;
    font: 27px/1 Georgia, serif;
    letter-spacing: 3px;
}
.brand span
{
    display: block;
    font: 6px/3 monospace;
    letter-spacing: 3.2px;
}
nav
{
    display: flex;
    gap: 35px;
}
nav a
{
    text-decoration: none;
    color: #777267;
    font-size: 10px;
}
.sandbox
{
    border: 1px solid #b2b49b;
    color: var(--olive);
    padding: 5px 10px;
    font: 7px/1.5 monospace;
    letter-spacing: 1px;
}
main
{
    padding: 30px 5%;
    max-width: 1500px;
    margin: auto;
}
.intro
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 12px 0 25px;
}
.eyebrow
{
    font: 8px/1.6 monospace;
    letter-spacing: 1.5px;
    color: var(--muted);
}
h1
{
    font: 49px/1.04 Georgia, serif;
    letter-spacing: -1.5px;
    margin: 20px 0;
}
h1 em
{
    color: var(--olive);
    font-weight: normal;
}
.intro > div > p:not(.eyebrow)
{
    font-size: 11px;
    color: var(--muted);
}
.scope-note
{
    display: flex;
    align-items: center;
    gap: 18px;
    font: 8px/1.8 monospace;
    color: var(--muted);
    min-width: 220px;
}
.scope-icon
{
    width: 75px;
    height: 75px;
    border: 1px solid #b9bda4;
    border-radius: 50%;
    padding: 10px;
    color: var(--olive);
}
.scope-icon svg
{
    width: 100%;
}
.scope-note b
{
    display: block;
    color: var(--ink);
    font-size: 17px;
    font-weight: normal;
}
.scope-note small
{
    display: block;
    margin-top: 6px;
    font: 9px/1.7 "Segoe UI", sans-serif;
}
.metrics
{
    border-block: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 0;
    margin-bottom: 30px;
}
.metrics article
{
    padding: 0 25px;
    border-right: 1px solid var(--line);
}
.metrics article:first-child
{
    padding-left: 0;
}
.metrics article:last-child
{
    border: 0;
}
.metrics article > span
{
    font-size: 9px;
    color: var(--muted);
}
.metrics strong
{
    display: block;
    font: 35px/1.5 Georgia, serif;
}
.metrics small
{
    color: var(--muted);
    font-size: 8px;
    display: block;
}
.metrics .policy span
{
    font: 7px monospace;
    letter-spacing: 1px;
}
.metrics .policy strong
{
    color: var(--olive);
    font-size: 28px;
    margin: 5px 0;
}
.workspace
{
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr);
    gap: 35px;
    align-items: start;
}
.library
{
    min-width: 0;
}
.section-title, .library-foot
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.section-title .eyebrow
{
    margin: 0 0 4px;
}
h2
{
    font: 26px/1.15 Georgia, serif;
    letter-spacing: -.5px;
    margin: 0;
}
.section-title > button, .library-foot button
{
    background: transparent;
    border: 0;
    border-bottom: 1px solid #ada58f;
    padding: 3px 0;
    font-size: 9px;
    white-space: nowrap;
}
.tools
{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin: 20px 0;
}
.tools label
{
    font-size: 8px;
    color: var(--muted);
}
.tools input, .tools select
{
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    background: #fffdfa;
    padding: 9px;
    display: block;
    margin-top: 5px;
    font-size: 10px;
    color: var(--ink);
}
.assets
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 14px;
}
.asset
{
    position: relative;
    min-width: 0;
}
.asset-preview
{
    display: block;
    width: 100%;
    border: 0;
    padding: 12px;
    background: #e6e1d6;
    height: 132px;
}
.asset-preview svg
{
    height: 100%;
    width: 100%;
}
.asset:nth-child(2n) .asset-preview
{
    background: #dedfd3;
}
.asset:nth-child(3n) .asset-preview
{
    background: #e7d8ce;
}
.asset-check
{
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    accent-color: var(--olive);
    width: 14px;
    height: 14px;
    margin: 0;
}
.format
{
    position: absolute;
    top: 7px;
    right: 7px;
    background: #fdfcf8de;
    padding: 2px 6px;
    font: 7px monospace;
}
.asset h3
{
    font-size: 10px;
    font-weight: 500;
    margin: 8px 0 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.asset p
{
    color: var(--muted);
    font: 7px/1.6 monospace;
    margin: 0;
}
.asset.outside
{
    opacity: .6;
}
.library-foot
{
    margin-top: 20px;
    font-size: 9px;
    color: var(--muted);
}
.rehearsal
{
    border: 1px solid #d5d7c5;
    background: #eaecdf;
    padding: 25px;
}
.rehearsal h2
{
    font-size: 35px;
    margin-top: 15px;
}
.rehearsal > p:not(.eyebrow)
{
    color: #848874;
    font-size: 10px;
}
.plan-steps
{
    padding-left: 18px;
    margin: 25px 0;
    color: var(--olive);
}
.plan-steps li
{
    font-size: 10px;
    padding-left: 6px;
    margin-bottom: 14px;
}
.plan-steps b
{
    font-weight: 500;
    color: var(--ink);
}
.plan-steps span
{
    display: block;
    color: #8c907c;
    font-size: 8px;
    margin-top: 3px;
}
.primary, #apply
{
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: var(--ink);
    color: #fff;
    padding: 12px 14px;
    font-size: 10px;
}
.primary span
{
    float: right;
}
.report
{
    background: #f9faf3;
    padding: 15px;
    color: #778167;
    font: 8px/1.8 monospace;
    margin: 16px 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.check
{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    margin: 13px 0;
}
.check input
{
    margin: 0;
    accent-color: var(--olive);
}
.subtle
{
    color: #90937f;
    font-size: 8px;
}
#apply
{
    border: 1px solid #9fa58d;
    background: transparent;
    color: var(--olive);
    text-align: center;
    margin-top: 18px;
}
button:disabled, input:disabled
{
    opacity: .4;
    cursor: not-allowed;
}
.activity
{
    border-top: 1px solid var(--line);
    margin-top: 35px;
    padding-top: 25px;
}
.activity h2
{
    font-size: 23px;
}
pre
{
    background: #edeae2;
    border: 1px solid var(--line);
    color: #8b8578;
    padding: 20px;
    font: 9px/1.9 monospace;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    max-height: 250px;
    overflow-y: auto;
}
footer
{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    color: var(--muted);
    font: 7px/1.6 monospace;
    letter-spacing: .5px;
}
dialog
{
    width: 480px;
    max-width: calc(100vw - 28px);
    max-height: 90vh;
    padding: 28px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
}
dialog::backdrop
{
    background: #28291ecc;
}
.close
{
    border: 0;
    background: transparent;
    font-size: 24px;
    float: right;
}
#asset-art
{
    background: #e6e1d6;
    margin-top: 20px;
    height: 190px;
    padding: 20px;
}
#asset-art svg
{
    height: 100%;
    width: 100%;
}
dt
{
    font: 7px monospace;
    letter-spacing: 1px;
    color: var(--muted);
    margin-top: 18px;
}
dd
{
    margin: 5px 0 0;
    font-size: 11px;
    overflow-wrap: anywhere;
}
dialog > p:last-child
{
    font-size: 10px;
    color: var(--muted);
    margin-top: 25px;
}
[hidden]
{
    display: none !important;
}
@media (max-width: 700px)
{
    header
    {
        padding: 20px 22px;
    }
    .brand
    {
        font-size: 22px;
    }
    nav
    {
        display: none;
    }
    .sandbox
    {
        font-size: 6px;
    }
    main
    {
        padding: 25px 22px;
    }
    .intro
    {
        display: block;
    }
    h1
    {
        font-size: 39px;
        line-height: 1.1;
    }
    .scope-note
    {
        margin-top: 25px;
    }
    .scope-icon
    {
        width: 60px;
        height: 60px;
    }
    .scope-note small
    {
        display: inline;
        margin-left: 20px;
    }
    .scope-note b
    {
        display: inline;
        margin-left: 5px;
    }
    .metrics
    {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 0;
    }
    .metrics article
    {
        padding: 0 0 0 15px;
    }
    .metrics article:nth-child(odd)
    {
        padding-left: 0;
    }
    .metrics article:nth-child(even)
    {
        border: 0;
    }
    .metrics .policy strong
    {
        font-size: 25px;
    }
    .workspace
    {
        grid-template-columns: 1fr;
    }
    .section-title h2
    {
        font-size: 23px;
    }
    .assets
    {
        grid-template-columns: 1fr 1fr;
    }
    .asset-preview
    {
        height: 145px;
    }
    footer
    {
        flex-wrap: wrap;
    }
}
