body {
    font-size: 13pt;
}

button.action {
    width: 15em;
    font-size: 1em;
    text-transform: uppercase;
    padding: 0.3em;
    font-weight: bold;
}

.webusb-available, .webusb-unavailable {
    display: none;
}

.panel {
    display: none;
}

.panel.start {
    display: unset;
}

.section.connected .config-item {
    display: grid;
    grid-template-columns: auto 1fr;
}

.section.connected .config-item * {
    grid-column: 1 / span 2;
}

.section.connected .config-item label {
    font-weight: bold;
    margin-top: 1em;
}

.section.connected .config-item input {
    grid-column: 1;
    width: 20em;
}

.section.connected .config-item.function div.radio {
    display: unset;
    margin-top: 0.5em;
}

.section.connected .config-item.function div.radio input {
    width: unset;
}

.section.connected .config-item.function div.radio label {
    font-weight: bolder;
    margin-left: 0.4em;    
}

.section.connected .config-item.flip input {
    max-width: 4em;
}

.section.connected .config-item div.value {
    grid-column: 2;
    margin-left: 1em;
    font-weight: bolder;
}

.section.connected .config-item div.explain {
    font-size: smaller;
    color: #1e1e1e;
    margin-top: 0.5em;
}

.section.connected .firmware-status {
    margin-bottom: 1em;
}

.section.connected .firmware-item {
    flex-flow: row;
}

.section.connected .firmware-item div.value {
    margin-left: 0.5em;
    font-weight: bolder;
}

.section.connected .firmware-panel .up-to-date {
    font-weight: bolder;
    display: none;
}

.section.connected .firmware-panel .update-available {
    display: none;
}

.section.connected .firmware-panel .update-available .warning {
    font-weight: bolder;
    color: #ff0021;
}

.section.error {
    font-weight: bolder;
    background-color: #ff7d8e;
    padding: 1em;
    display: none;
}

.section.connected .firmware-panel .update-progress {
    display: none;
    margin-bottom: 1em;
}

.section.linux-access .code-block {
    margin-top: -2em;
    margin-bottom: 2em;
}

.section.linux-access .code-block code {
    font-weight: bolder;
    background: #555;
    color: #EEE;
    padding: 1em;
}

.section.linux-access .code-block button {
    position: relative;
    top: 2.2em;
    left: calc(100% - 6.2em);
    width: 6em;
    height: 2em;
}

.progress-bar {
    width: 20em;
    height: 2em;
    border: 1px solid silver;
    padding: 0.3em;
}

.progress-bar .progress-fill {
    width: 0%;
    height: 100%;
    background-color: #ffc600;
}