:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #19362f;
    background: #f4f6f3;
    font-synthesis: none;
    line-height: 1.55
}

* {
    box-sizing: border-box
}

body {
    margin: 0
}

a {
    color: #216c53;
    text-underline-offset: 3px
}

header {
    min-height: 88px;
    padding: 20px max(5vw, 24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #dce4dd;
    background: #fff
}

nav {
    display: flex;
    gap: 24px;
    align-items: center;
    font-size: 14px
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    letter-spacing: -.7px;
    text-decoration: none;
    font-weight: 700;
    color: #19362f
}

.brand>span:last-child {
    font-weight: 400
}

.mark {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #193f32;
    color: white;
    font-size: 22px;
    margin-right: 4px
}

main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 32px 80px;
    min-height: calc(100vh - 174px)
}

footer {
    border-top: 1px solid #dce4dd;
    padding: 24px max(5vw, 24px);
    font-size: 12px;
    color: #53685e;
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.eyebrow {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.8px;
    color: #537564;
    margin: 0 0 12px
}

h1 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    letter-spacing: -1.2px;
    margin: 0 0 18px;
    font-weight: 650
}

h2 {
    font-size: 21px;
    font-weight: 650;
    line-height: 1.3;
    margin: 0 0 16px;
    letter-spacing: -.35px
}

h3 {
    font-size: 18px;
    margin: 0 0 14px
}

p {
    margin: 0 0 20px
}

.intro {
    color: #526b60;
    font-size: 17px;
    margin-bottom: 32px
}

.muted {
    color: #576e63
}

.small,
small {
    font-size: 13px
}

.auth {
    max-width: 450px;
    margin: 40px auto;
    background: white;
    border: 1px solid #dce4dd;
    padding: 36px;
    border-radius: 16px
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.stack+p {
    margin-top: 24px
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600
}

input,
select,
textarea {
    display: block;
    margin-top: 8px;
    width: 100%;
    padding: 12px;
    border: 1px solid #bacac0;
    background: #fff;
    border-radius: 7px;
    color: #19362f;
    font: inherit
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid #b6d5c5;
    outline-offset: 2px
}

button,
.button {
    display: inline-block;
    border: 1px solid transparent;
    border-radius: 7px;
    padding: 11px 18px;
    background: #245b43;
    color: white;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center
}

button:hover,
.button:hover {
    background: #16452f
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid #77ab91;
    outline-offset: 3px
}

.quiet {
    color: #285541;
    background: transparent;
    border-color: #d6e0d8
}

.secondary {
    color: #285541;
    background: #edf4ef;
    border-color: #d6e0d8
}

.danger {
    color: #914334;
    background: #fff;
    border-color: #e3c9c4
}

.quiet:hover,
.secondary:hover {
    background: #e1eee4
}

.danger:hover {
    background: #faebe7
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 22px
}

.card {
    background: white;
    border: 1px solid #dce4dd;
    border-radius: 12px;
    padding: 26px;
    min-width: 0
}

.account-link {
    text-decoration: none;
    color: inherit;
    transition: border-color .15s
}

.account-link:hover {
    border-color: #7c9f8b
}

.account-link h2 {
    margin: 12px 0 32px
}

.account-link>span:last-child {
    font-size: 14px;
    color: #296b4e
}

section+section,
.grid+section {
    margin-top: 36px
}

.narrow {
    max-width: 620px
}

.heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px
}

.card .heading {
    align-items: flex-start;
    margin-bottom: 16px
}

.heading h3 {
    margin: 0
}

.badge {
    display: inline-block;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 650;
    border-radius: 30px;
    background: #edf1ed;
    color: #536b5f;
    padding: 5px 10px
}

.badge.recent {
    color: #245b43;
    background: #e1f0e6
}

.badge.stale {
    color: #815819;
    background: #fcf1db
}

.count {
    font-size: 13px;
    background: #e2e9e2;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 8px
}

.back {
    display: inline-block;
    font-size: 14px;
    margin-bottom: 32px;
    text-decoration: none
}

dl {
    font-size: 13px;
    margin: 20px 0
}

dl>div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f3ef
}

dt {
    color: #5d7066
}

dd {
    margin: 0;
    text-align: right;
    overflow-wrap: anywhere
}

.identifier {
    display: block;
    font-family: ui-monospace, monospace;
    font-size: 10px;
    color: #657b6f;
    overflow-wrap: anywhere
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px
}

.checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 400
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0
}

.table-wrap {
    overflow: auto;
    background: white;
    border: 1px solid #dce4dd;
    border-radius: 10px;
    margin-bottom: 12px
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 12px
}

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid #edf1ed
}

th {
    color: #526d5e;
    background: #f9fbf8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px
}

td {
    vertical-align: top
}

.secret-panel {
    max-width: 720px;
    margin: 32px auto
}

.secret-panel label {
    margin: 24px 0
}

textarea {
    font-family: ui-monospace, monospace;
    resize: vertical;
    overflow-wrap: anywhere
}

.empty p {
    margin-bottom: 0
}

@media(max-width:600px) {
    header {
        padding: 18px 20px;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px
    }

    nav {
        width: 100%;
        justify-content: space-between;
        gap: 12px
    }

    main {
        padding: 30px 20px 50px
    }

    .auth {
        padding: 26px;
        margin: 16px auto
    }

    .card {
        padding: 22px
    }

    .heading {
        gap: 12px
    }

    .actions {
        flex-direction: column
    }

    .actions button {
        width: 100%
    }

    footer {
        flex-direction: column;
        padding: 20px
    }

    .narrow {
        max-width: none
    }
}

h1,
h2,
h3 {
    overflow-wrap: anywhere;
    max-width: 100%;
}

.heading>div {
    min-width: 0;
}

[hidden] {
    display: none !important;
}

details {
    margin-top: 16px;
}

summary {
    cursor: pointer;
    color: #216c53;
    margin-bottom: 16px;
}

details form+form {
    margin-top: 16px;
}

.auth form+form {
    margin-top: 24px;
}

.auth form+p {
    margin-top: 20px;
}
