:root {
    --color-very-light: #f0f0f0;
    --color-light: #cccccc;
    --color-mid: #666666;
    --color-dark: #303030;
    --color-very-dark: #101010;

    --color-edit-light: #ffffff;
    --color-edit-mid: #cccccc;
    --color-edit-dark: #666666;

    --color-selected-light: #34373d;
    --color-selected-mid: #24272d;
    --color-selected-dark: #14171d;
}
:root {
    interpolate-size: allow-keywords;
    font-family: sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: inherit;
    vertical-align: baseline;
}
*::before, *::after {
    box-sizing: border-box;
}

html {
    text-size-adjust: none;
    background-color: var(--color-very-light);
    color: var(--color-dark);
    scroll-behavior: smooth;
    empty-cells: show;
}

body {
    /* font-size: 1rem; */
    /* line-height: 1.25rem; */
    min-height: 100dvh;
    overflow-y: scroll;
}

table { border-collapse: collapse; border-spacing: 0; }
th { text-align: left; }

textarea { overflow-y: scroll; }

input, textarea { font: inherit; color: inherit; background-color: inherit; border:none; outline: none; }
textarea:focus, input:focus { outline: 1px auto var(--color-dark);  }

button, select { font: inherit; color: inherit; background-color: inherit; border:none; }
button:focus, button:hover:not(:disabled), select:focus, select:hover { cursor:pointer; }
button:focus, button:focus-visible { outline: 1px solid var(--color-dark); }  /* FIXME: what about 'select' ? */

input[disabled], label[disabled] { cursor:default; }
label { cursor:pointer; }

img, picture, video, canvas, svg { display: block; max-width: 100%; }
img.oversized, picture.oversized, video.oversized, canvas.oversized, svg.oversized { max-width: revert; }

a { color: inherit; background-color: transparent; }

ul { list-style-type: none; }

