:root {
    --primary-dark: #003049;
    --primary-light: #669bbc;
    --accent-dark: #780000;
    --accent-light: #c1121f;
    --paper: #fdf0d5;
}

::backdrop {
    background: var(--primary-dark);
    opacity: 0.75;
}

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

html {
    font-family: sans-serif;
}

html, body {
    padding: 0;
    margin: 0;
    height: 100%;
}

body {
    background: var(--paper);
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: var(--primary-dark);
    color: white;
}

main {
    overflow: auto;
    flex: 1;
}

footer {
    background: var(--primary-light);
}

body > footer button {
    border: solid 1px white;
    border-radius: 6px;
    background: none;
    padding: 3px 8px;
    color: white;
}

.content-canvas {
    border: solid 1px darkgray;
    border-radius: 6px;
    padding: 1em;
    margin: 1em;
    background: white;
}

.page-title, .content-title {
    font-size: larger;
    font-weight: bold;
}

.content-title {
    margin-bottom: 12px;
}

.faux-link {
    cursor: pointer;
    text-decoration: underline;
}

.command-group {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.command-group .left, .command-group .right {
    display: flex;
    gap: 20px;
}

dialog {
    padding: 0;
}

dialog main {
    padding: 1em;
    min-height: 80px;
}

.button-link {
    border: solid 1px white;
    border-radius: 6px;
    background: none;
    padding: 3px 8px;
    color: white;
    text-decoration: none;
    font-size: smaller;
}