body {
    margin: 0;
    font-family: sans;
    font-size: 16px;
    color: #222;
    background-color: white;
}

button {
    margin: 0;
    height: 32px;
    padding: 0 10px;
    background-color: #eee;
    font-size: 14px;
}

textarea, a {
    color: #222;
}

#title {
    width: 100%;
    height: 30px;
    padding-top: 10px;
    font-size: 18px;
    text-align: center;
}

.leftbtn {
    position: absolute;
    top: 4px;
    left: 4px;
}

.rightbtn {
    position: absolute;
    top: 4px;
    right: 4px;
}

#content {
    padding: 20px;
}

#sheet {
    overflow-x: hidden;
}

.measure {
    float: left;
}

.frame {
    margin-bottom: -10px;
}

.measure textarea {
    width: 100%;
    height: 1em;
    overflow-y: scroll;
    scrollbar-width: none;
    white-space: pre;
    border: none;
    resize: none;
    font-size: 12px;
}

#picker {
    position: absolute;
    top: 38px;
    left: 4px;
    right: 0;
    background-color: #222;
    overflow-y: scroll;
}

#picker button {
    float: left;
}

#verses {
    position: fixed;
    bottom: 0;
    right: 0;
}

#editor {
    width: 100%;
    height: 600px;
    white-space: pre;
}

@media (prefers-color-scheme: dark) {

    body {
        color: white;
        background-color: #222;
    }

    button {
        color: white;
        background-color: #555;
    }

    textarea {
        color: white;
        background-color: #222;
    }

    a {
        color: white;
    }
}
