:root {
    font-size: 12pt;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

app {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: auto;
}

button {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    border-radius: 1rem;
    line-height: 1;
    position: relative;
    padding: 0px !important;
    min-width: 2rem;
    max-width: 2rem;
    min-height: 1rem;
    max-height: 1rem;
}

input[type="checkbox"]::after {
    background-color: black;
    content: '';
    display: block;
    border-radius: 1rem;
    position: absolute;
    left: 2px;
    top: 2px;
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    opacity: 0.5;
    transition: 0.1s left, 0.1s opacity;
}

input[type="checkbox"]:checked {}

input[type="checkbox"]:checked::after {
    left: calc(1rem + 2px);
    opacity: 1;
}

column {
    display: flex;
    flex-direction: column;
}

editable {
    display: block;
    flex-grow: 1;
}

form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

grid {
    display: grid;
}

hr {
    border-top: 1px solid var(--hrColor);
    display: block;
    flex-grow: 1;
}

img {
    object-fit: contain;
    object-position: center;
    display: block;
    width: 100%;
    max-width: 100%;
}

input {
    flex-grow: 1;
}

label {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

layout {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

a {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

ul,
ol {
    padding-left: 1rem;
}

navigator {
    display: block;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    pointer-events: none !important;
    z-index: 9999;

    &>* {
        pointer-events: all;
    }
}

output {
    text-align: center;
    flex-grow: 1;
}

page {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 1;
}

page>main {
    display: flex;
    flex-direction: column;
    width: 100%;
}

row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

select {
    flex-grow: 1;
    width: 8rem;
}

table {
    table-layout: fixed;
    width: 100%;
}

text {
    display: block;
}

textarea {
    flex-grow: 1;
    resize: vertical;
}

th {
    text-align: center;
    font-size: 0.6em;
}

view {
    display: block;
}

[disabled="true"] {
    user-select: none;
    pointer-events: none;
    opacity: 0.5;
}

* {
    box-sizing: border-box;
    background: initial;
    color: inherit;
    border: initial;
    outline: initial;
    cursor: inherit;
    margin: initial;
    padding: initial;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    text-align: inherit;
    text-decoration: inherit;
}

:root {
    font-size: 18px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}