:root {
    --adv-mode: none;
}

body {
    display: flex;
    flex-direction: column;
    background-color: ghostwhite;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-height: 90vh;
    font-size: 2vh;
    font-family: Tahoma, Arial, sans-serif;
}

label {
    padding: 5px;
    font: inherit;
    margin: 2px 2px;
}

input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    font: inherit;
}

select {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    font: inherit;
}

option {
    font-size: 1rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type=checkbox] {
    min-width: 2.5ch;
    min-height: 2.5ch;
    max-width: 2.5ch;
    max-height: 2.5ch;
    margin: 0 2.5%;
    accent-color: #28a628;
    background-color: #2bb32b;
}

.container {
    display: inherit;
    flex-direction: column;
    align-items: center;
    align-self: center;
    width: 100%;
    margin: 10px 0;
}

.fit {
    width: 100%;
    height: 100%;
}

.even-list {
    display: grid;
    grid-auto-rows: 1fr;
}

.col-sect {
    display: flex;
    flex-direction: column;
    padding: 5px 0;
}

.row-sect {
    display: flex;
    flex-direction: row;
    padding: 5px 0;
}

.inline {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
}

.primary {
    width: 33%;
    min-height: 125%;
    border: 1px solid #208c20;
    border-radius: 10px;
    background-color: #28a628;
    font-size: 175%;
    color: white;
    cursor: pointer;
    background-position: center;
    transition: background 0.8s;
}

.primary:hover {
    background: #28a628 radial-gradient(circle, transparent 1%, #28a628 1%) center/15000%;
    box-shadow: 0 0 5px #208c20;
}

.primary:active {
    filter: brightness(110%);
    background-color: #2ebf2e;
    background-size: 100%;
    transition: background 1s;
}

.secondary {
    width: 33%;
    min-height: 125%;
    border: 1px solid #208c20;
    border-radius: 10px;
    background-color: #28a628;
    font-size: 125%;
    color: white;
    cursor: pointer;
    background-position: center;
    transition: background 0.8s;
}

.secondary:hover {
    background: #28a628 radial-gradient(circle, transparent 1%, #28a628 1%) center/15000%;
    box-shadow: 0 0 5px #208c20;
}

.secondary:active {
    filter: brightness(110%);
    background-color: #2ebf2e;
    background-size: 100%;
    transition: background 1s;
}

.round-box {
    background-color: whitesmoke;
    border: 1px solid #aaa;
    border-radius: 25px;
    box-shadow: 0 0 20px #666;
    padding: 5px 7px 5px 5px;
    margin: 20px;
    max-width: 64ch;
}

.attention {
    background-color: antiquewhite;
    border: 1px solid #aaa;
    border-radius: 10px;
    padding: 5px 0;
}

.select-box {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: white;
    padding: 5px;
    margin: 10px 0 5px 0;
    border: 1px solid #aaa;
    height: 30vh;
}

.select-item {
    display: inline-flex;
    align-items: center;
    padding: 5px 0;
}

.asterisk {
    color: red;
    font-size: 0.75rem;
    vertical-align: top;
}

.box-expand {
    max-width: 770px;
    max-height: 270px;
    opacity: 200%;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
}

.box-collapse {
    max-width: 630px;
    max-height: 0;
    opacity: 0;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
}

.cpf-expand {
    max-width: 14ch;
    opacity: 1000%;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
}

.cpf-collapse {
    max-width: 0;
    opacity: 0;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
}

.adv-sect {
    display: var(--adv-mode);
}

#details {
    overflow: clip;
}