@font-face {
    font-family: Montserrat;
    src: url('/static/montserrat-600.woff2') format('woff2');
    font-weight: 600;
    font-display: swap
}

@font-face {
    font-family: Montserrat;
    src: url('/static/montserrat-700.woff2') format('woff2');
    font-weight: 700 900;
    font-display: swap
}

@font-face {
    font-family: 'Open Sans';
    src: url('/static/open-sans.woff2') format('woff2');
    font-display: swap
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #f3f6fa;
    color: #172a45;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6
}

header {
    min-height: 100px;
    background: #0c2442;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 36px;
    gap: 20px
}

.brand {
    font-family: Montserrat, 'Open Sans', sans-serif;
    color: white;
    font-size: 30px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px
}

.brand-logo {
    display: block;
    width: 190px;
    height: auto;
}

header .brand-logo {
    filter: brightness(0) invert(1)
}

.brand span {
    margin-top: 5px;
    display: block;
    font-size: 9px;
    letter-spacing: 2.8px;
    color: #a8d6f6
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px
}

.confidential {
    border: 1px solid #546a81;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 10px;
    letter-spacing: 1px
}

.shell {
    display: flex;
    min-height: calc(100vh - 156px)
}

aside {
    width: 240px;
    flex: none;
    background: white;
    border-right: 1px solid #dfe6ee;
    padding: 32px 20px
}

nav {
    display: grid;
    gap: 8px
}

nav a {
    color: #40546e;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 6px
}

nav a:hover {
    background: #e7f3fc;
    color: #0a4e7b
}

.aside-note {
    margin-top: 70px;
    background: #edf6fd;
    border-radius: 8px;
    padding: 18px;
    font-weight: 600
}

.aside-note small {
    margin-top: 14px;
    font-weight: 400
}

main {
    flex: 1;
    min-width: 0;
    max-width: 1600px;
    padding: 40px
}

h1,
h2,
h3 {
    font-family: Montserrat, 'Open Sans', sans-serif;
    line-height: 1.25;
    letter-spacing: -.5px
}

h1 {
    font-size: 32px;
    margin: 6px 0 12px
}

h2 {
    font-size: 19px;
    margin: 0 0 16px
}

h3 {
    font-size: 16px
}

p {
    margin: 10px 0 20px
}

.eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #467aa0;
    margin: 0 0 12px
}

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

.heading p {
    margin-bottom: 0;
    color: #607189
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 28px 0
}

.metric,
.panel {
    background: white;
    border: 1px solid #e0e7ef;
    border-radius: 10px;
    box-shadow: 0 3px 10px #132d4910
}

.metric {
    padding: 22px;
    border-top: 3px solid #7fc4ee
}

.metric span {
    display: block;
    color: #5d7089;
    font-size: 12px
}

.metric strong {
    font-size: 34px;
    font-weight: 700;
    display: block;
    margin-top: 8px
}

.panel {
    padding: 26px;
    margin: 24px 0
}

.grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.grid-two>.panel {
    margin-top: 0
}

.button,
button {
    background: #145a89;
    color: white;
    padding: 11px 18px;
    border: 0;
    border-radius: 6px;
    text-decoration: none;
    font: 600 13px 'Open Sans', Arial;
    cursor: pointer;
    display: inline-block
}

button:hover,
.button:hover {
    background: #0b3b62
}

button:disabled {
    opacity: .5;
    cursor: not-allowed
}

.quiet {
    background: #edf3f9;
    color: #245273
}

a {
    color: #17628f
}

small {
    display: block;
    font-size: 11px;
    color: #67788d
}

.badge {
    display: inline-block;
    white-space: nowrap;
    background: #e8f3fb;
    border: 1px solid #d5e7f6;
    border-radius: 5px;
    padding: 4px 9px;
    font-size: 11px;
    color: #286383
}

.warning {
    background: #fff4dc;
    border-color: #f4ddb1;
    color: #82530b
}

.filters {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-bottom: 20px
}

.filters label:first-child {
    flex: 1
}

label {
    display: block;
    font-weight: 600;
    font-size: 12px;
    margin: 12px 0
}

input,
select,
textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    border: 1px solid #cdd9e5;
    border-radius: 5px;
    padding: 10px 12px;
    color: #21364e;
    background: #fff;
    font: 14px 'Open Sans', Arial
}

textarea {
    min-height: 95px;
    resize: vertical
}

input:focus,
textarea:focus,
select:focus,
button:focus,
a:focus {
    outline: 3px solid #90cdf4;
    outline-offset: 2px
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    margin: 14px 0
}

.check input,
input[type=checkbox] {
    width: 18px;
    height: 18px;
    margin: 0;
    display: inline-block
}

.filters label {
    margin: 0
}

.table-wrap {
    overflow: auto
}

table {
    border-collapse: collapse;
    width: 100%;
    white-space: nowrap;
    text-align: left
}

th {
    font-size: 11px;
    color: #60768e;
    letter-spacing: .5px;
    background: #f7f9fc
}

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

td a {
    text-decoration: none
}

.empty {
    padding: 35px;
    text-align: center;
    color: #6a7f97;
    white-space: normal
}

.activity {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e5ecf3;
    padding: 14px 0
}

.activity a {
    flex: 1;
    text-decoration: none
}

.activity time {
    font-size: 11px
}

.activity form {
    margin-left: auto
}

.stats div {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid #edf1f6
}

.stats dd {
    font-weight: 700
}

.stats dt {
    font-size: 12px
}

.muted {
    font-size: 12px;
    color: #708198
}

.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0
}

.narrow {
    max-width: 820px
}

.notice {
    background: #e2f2fa;
    border-left: 4px solid #378ab4;
    padding: 15px;
    margin-bottom: 20px
}

.errorlist {
    color: #a52835
}

.account {
    border-bottom: 1px solid #e0e7ef;
    padding: 15px 0
}

.account p {
    margin: 5px 0
}

details {
    margin: 16px 0
}

summary {
    cursor: pointer;
    color: #276287;
    font-weight: 600
}

.secret {
    font-family: monospace;
    font-size: 30px;
    color: #154d79;
    padding: 20px;
    background: #eef6fc
}

.break {
    overflow-wrap: anywhere
}

pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    background: #f7f9fc;
    border-radius: 6px;
    padding: 20px;
    font: 13px 'Open Sans', Arial
}

.responses {
    overflow-wrap: anywhere
}

.responses dt {
    font-weight: 700
}

.responses dd {
    margin: 0 0 14px
}

.auth {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px
}

.auth h1 {
    font-size: 30px
}

.client-layout {
    max-width: 850px;
    margin: 20px auto
}

.intro {
    font-size: 16px;
    color: #64748a
}

progress {
    width: 100%;
    height: 6px;
    accent-color: #43a5d7;
    margin-bottom: 18px
}

footer {
    background: white;
    border-top: 1px solid #e3eaf2;
    padding: 18px 36px;
    color: #738298;
    font-size: 10px;
    display: flex;
    justify-content: space-between
}

[hidden] {
    display: none !important
}

@media(max-width:1050px) {
    aside {
        width: 200px
    }

    main {
        padding: 26px
    }

    .grid-two {
        grid-template-columns: 1fr
    }

    .cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .header-right>span:not(.confidential) {
        display: none
    }
}

@media(max-width:700px) {
    header {
        height: auto;
        padding: 16px 20px
    }

    .brand-logo {
        width: 150px
    }

    .brand span {
        font-size: 8px;
        letter-spacing: 2px
    }

    .header-right {
        gap: 8px
    }

    .confidential {
        display: none
    }

    .shell {
        display: block
    }

    aside {
        width: 100%;
        padding: 10px 16px;
        border-bottom: 1px solid #dfe6ee
    }

    aside>.eyebrow,
    .aside-note {
        display: none
    }

    nav {
        display: flex;
        overflow: auto;
        gap: 0
    }

    nav a {
        white-space: nowrap;
        font-size: 12px
    }

    main {
        padding: 24px 16px
    }

    h1 {
        font-size: 26px
    }

    .heading {
        align-items: start;
        flex-direction: column
    }

    .cards {
        gap: 10px
    }

    .metric {
        padding: 15px
    }

    .panel {
        padding: 20px
    }

    .filters {
        flex-wrap: wrap
    }

    .filters label {
        width: 100%
    }

    .activity {
        flex-wrap: wrap
    }

    .auth {
        margin: 20px auto
    }

    .grid-two {
        gap: 0
    }

    .actions button {
        flex-grow: 1
    }

    footer {
        padding: 16px;
        display: block
    }

    footer span {
        display: block
    }

    .secret {
        font-size: 24px
    }
}

@media(max-width:380px) {
    header {
        padding: 14px 16px;
        gap: 12px
    }

    .brand-logo {
        width: 120px
    }
}
