:root {
    --theme-header-background: #444444;
    --theme-header-main-text: #fff;
    --theme-header-light-text: #999;
    --theme-error-color: #c00;
    --theme-error-text: hsl(from var(--theme-error-color) h calc(s * 3) calc(l * 0.3));
    --theme-error-background: hsl(from var(--theme-error-color) h s calc(l * 2));
    --theme-error-border: hsl(from var(--theme-error-color) h s calc(l * 0.5));
    --header-height: 7%;
    --header-gap: 0%;
}
main {
    position: absolute;
    width: calc(100% - (2 * 10px));
    top: calc(var(--header-height) + var(--header-gap));
    left: 0;
    padding: 0 10px;
    height: calc(100% - var(--header-height) + var(--header-gap));
    overflow-y: scroll
}
.error-div {
    border: 1px solid var(--theme-error-border);
    color: var(--theme-error-text);
    background-color: var(--theme-error-background);
    border-radius: 4px;
    margin-bottom: 10px;
    width: max-content;
    padding: 2px;
}
.top-container {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}
.top-container > * {
    width: max-content;
    height: min-content;

}
.top-end {
    margin: 0;
    margin-left: auto;
}

/*noinspection CssInvalidFunction*/
.top-popover {
    margin: 0;
    inset: auto;
    position: absolute;
    top: anchor(bottom);
    right: anchor(right);
}
.print-visible {
    display: none;
}
.center {
    width: max-content;
    margin: 0 auto;
}
.negative {
    color: #ff0000;
}
td{
    font-size: 1em;
}