main {
    width: 100%;
    margin-left: auto;
    box-sizing: border-box;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    min-height: calc(100vh - 256px);
}
main > header {
    padding-bottom: 16px;
    text-align: center;
}
main > * {
    margin: 16px auto;
}
div.box {
    box-shadow: var(--shadow);
    padding: 8px;
    width: 100%;
}
div.panel {
    display: flex;
    flex-flow: wrap;
    gap: 64px;
}
div.panel div.box {
    margin: 8px;
    height: calc(100% - 16px);
    border-radius: 4px;
}
div.box div.box {
    width: calc(100% - 32px);
}
div.split {
    display: flex;
    flex-flow: wrap;
    width: calc(50% - 32px);
    gap: 64px;
    align-items: stretch;
}
div.split:has(> img) {
    display: inline;
}
div.row {
    display: flex;
    flex-flow: wrap;
    gap: 16px;
    width: 100%;
    align-items: baseline;
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
}
div.row-reverse {
    flex-direction: row-reverse;
}
div.row-action {
    -moz-box-flex: 0;
    flex-grow: 0;
    flex-basis: auto;
    width: calc(20% - 16px);
    position: relative;
    text-align: end;
}
div.grow {
    flex-grow: 1;
}
.error {
    color: var(--color-error);
}
h1 {
    margin: 0px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.167;
}
h2 {
    margin: 0px;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}
h4 {
    margin: 0.5em 0;
    font-size: 1.4rem;
}
p {
    margin: 0 0 0.35em;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
}
h5 {
    margin: 0;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.334;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th,
td {
    font-size: 0.875rem;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px;
    font-weight: normal;
    text-align: left;
    line-height: 1.5;
}
form > div {
    border-radius: 4px;
    margin-top: 8px;
}
label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
input,
textarea {
    color: currentColor;
    background: none;
    padding: 4px;
    min-width: 0;
    width: 100%;
    border-radius: inherit;
    border-style: solid;
    border-width: 1px;
    overflow: hidden;
    border-color: var(--color-border);
}
main button,
main [role='button'] {
    font-size: 1em;
    display: inline-flex;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    line-height: 1.75;
    text-transform: uppercase;
    min-width: 64px;
    padding: 6px 16px;
    border: 0;
    border-radius: 4px;
    color: var(--color-btn-primary);
    background-color: var(--color-primary);
    box-shadow: var(--shadow);
}
button[disabled],
[role='button'][disabled] {
    color: var(--color-disable);
    box-shadow: none;
    background-color: var(--color-disable-bg);
    pointer-events: none;
    cursor: default;
}
button:hover,
[role='button']:hover {
    background-color: var(--color-hover);
}
button.delete,
[role='button'].delete {
    background-color: var(--color-error);
}
button.delete:hover,
[role='button'].delete:hover {
    background-color: var(--color-error-hover);
}
a.qbo-connect {
    padding: 0;
    background-color: transparent;
}
progress {
    margin: 8px;
    width: calc(100% - 32px);
}
.end {
    text-align: right;
}
@media only screen and (max-width: 900px) {
    div.row-reverse {
        flex-direction: column;
    }
    div.split {
        width: 100%;
    }
}
