:root {
    --ink: #212529;
    --muted: #6c757d;
    --line: #dee2e6;
    --paper: #fff;
    --canvas: #f4f6f9;
    --blue: #007bff;
    --blue-dark: #0056b3;
    --green: #28a745;
    --red: #dc3545;
    --radius: .25rem;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 1rem;
    line-height: 1.5;
}

h1, h2, h5, h6 {
    margin: 0 0 .5rem;
    font-weight: 500;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
.h4 { font-size: 1.5rem; }

p, ol, ul { margin: 0 0 1rem; }
strong, b { font-weight: bolder; }
small { font-size: 80%; }

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover { color: var(--blue-dark); }

img, svg { vertical-align: middle; }

hr {
    margin: 1rem 0;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.help-page { background: var(--canvas); }

.container {
    width: 100%;
    margin-inline: auto;
    padding-inline: 7.5px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-inline: -7.5px;
}

.col-sm-6, .col-lg-6 {
    width: 100%;
    padding-inline: 7.5px;
}

.main-header {
    position: relative;
    z-index: 1034;
    display: flex;
    align-items: center;
    padding: .5rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.main-header > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 0;
}

.navbar-brand {
    display: inline-block;
    margin-right: .5rem;
    padding-block: .3125rem;
    color: rgba(0, 0, 0, .9);
    font-size: 1.25rem;
    white-space: nowrap;
}

.navbar-brand:hover { color: rgba(0, 0, 0, .9); }

.brand-image {
    height: 33px;
    margin-top: -.5rem;
    margin-right: .2rem;
    border-radius: 50%;
}

.brand-text { font-weight: 300; }

.navbar-nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    display: block;
    height: 2.5rem;
    padding: .5rem 1rem;
    color: rgba(0, 0, 0, .5);
}

.nav-link:is(:focus, :hover) { color: rgba(0, 0, 0, .7); }

.content-wrapper {
    display: flow-root;
    flex: 1 0 auto;
    background: var(--canvas);
}

.content-header { padding: 15px .5rem; }
.content-header h1 { font-size: 1.8rem; }
.content { padding-inline: .5rem; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    line-height: 1.8rem;
    list-style: none;
}

.breadcrumb-item + .breadcrumb-item { padding-left: .5rem; }
.breadcrumb-item.active { color: var(--muted); }

.breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: .5rem;
    color: var(--muted);
    content: "/";
}

.main-footer {
    padding: 1rem;
    border-top: 1px solid var(--line);
    color: #869099;
    background: var(--paper);
}

@media (min-width: 576px) {
    .container { max-width: 540px; }
    .col-sm-6 { flex: 0 0 50%; }
    .float-sm-right { float: right; }
}

@media (min-width: 768px) {
    .container { max-width: 720px; }
}

@media (min-width: 992px) {
    .container { max-width: 960px; }
    .col-lg-6 { flex: 0 0 50%; }

    .help-overview > .col-lg-6 { display: flex; flex-direction: column; }
    .help-overview > .col-lg-6 > .card { flex: 1; }
}

@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-bottom: 1rem;
    border: 0 solid rgba(0, 0, 0, .125);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    overflow-wrap: break-word;
}

.card-header {
    position: relative;
    padding: .75rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    border-radius: var(--radius) var(--radius) 0 0;
}

.card-header::after, .card-body::after {
    display: block;
    clear: both;
    content: "";
}

.card-title {
    float: left;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 400;
}

.card-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

.card-text { clear: both; }
.card-text:last-child { margin-bottom: 0; }
.card-primary.card-outline { border-top: 3px solid var(--blue); }
.help-overview .card-body > ul { margin-bottom: 0; }

table { border-collapse: collapse; }
th { text-align: inherit; }
.table { width: 100%; }
.table-responsive { overflow: auto; }

.table :is(th, td) {
    padding: .75rem;
    border-top: 1px solid var(--line);
    vertical-align: top;
    background: var(--paper);
}

.table thead th {
    border-top: 0;
    border-bottom: 2px solid var(--line);
    vertical-align: bottom;
}

.card-body.p-0 .table :is(th, td):first-child { padding-left: 1.5rem; }
.card-body.p-0 .table :is(th, td):last-child { padding-right: 1.5rem; }

button, input, select, textarea {
    margin: 0;
    font: inherit;
}

label {
    display: inline-block;
    margin-bottom: .5rem;
}

label:not(.form-check-label) { font-weight: 700; }
textarea { resize: vertical; }
.form-group { margin-bottom: 1rem; }
.help-form-status { margin: 0; }
.help-form-status:not(:empty) { margin-top: .75rem; }

.form-control {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    border: 1px solid #ced4da;
    border-radius: var(--radius);
    color: #495057;
    background: var(--paper);
    background-clip: padding-box;
}

.form-control:focus {
    border-color: #80bdff;
    outline: 0;
}

.form-control::placeholder { color: #939ba2; opacity: 1; }
.form-control:disabled { background-color: #e9ecef; opacity: 1; }
textarea.form-control { height: auto; }

.form-check {
    position: relative;
    padding-left: 1.25rem;
}

.form-check-input {
    position: absolute;
    margin-top: .3rem;
    margin-left: -1.25rem;
}

.form-check-label { margin-bottom: 0; }

.form-control:is(.is-valid, .is-invalid) {
    padding-right: 2.25rem;
    border-color: var(--validation-color);
    background-repeat: no-repeat;
    background-position: right .5625rem center;
    background-size: 1.125rem;
}

.form-control.is-valid {
    --validation-color: var(--green);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2328a745' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 6 2.5 2.5L10 3'/%3E%3C/svg%3E");
}

.form-control.is-invalid {
    --validation-color: var(--red);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23dc3545' stroke-linecap='round'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath d='M6 3.5v3m0 2v.1'/%3E%3C/svg%3E");
}

select.form-control:is(.is-valid, .is-invalid) {
    padding-right: 3rem;
    background-position: right 1.5rem center;
}

textarea.form-control:is(.is-valid, .is-invalid) {
    background-position: top .5625rem right .5625rem;
}

.btn {
    display: inline-block;
    padding: .375rem .75rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--ink);
    background: transparent;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
}

.btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.btn:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.btn-primary {
    border-color: var(--blue);
    color: var(--paper);
    background: var(--blue);
}

.btn-primary:not(:disabled):is(:focus, :hover) {
    border-color: #0062cc;
    color: var(--paper);
    background: #0069d9;
}

.btn-outline-primary {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-outline-primary:hover {
    color: var(--paper);
    background: var(--blue);
}

.btn-link { color: var(--blue); }
.btn-link:hover { color: var(--blue-dark); }
.btn-link:disabled { color: var(--muted); pointer-events: none; }

.alert {
    margin-bottom: 1rem;
    padding: .75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--paper);
}

.alert-success { border-color: #23923d; background: var(--green); }
.alert-info { border-color: #148ea1; background: #17a2b8; }
.alert-danger { border-color: #d32535; background: var(--red); }

.m-0 { margin: 0; }
.mb-2 { margin-bottom: .5rem; }
.mr-2 { margin-right: .5rem; }
.card-body.p-0, .btn.p-0 { padding: 0; }
.text-nowrap { white-space: nowrap; }
.text-right { text-align: right; }
.text-success { color: var(--green); }
.text-danger { color: var(--red); }
.d-none { display: none; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}
