* {
    box-sizing:border-box;
}

body {
    margin:0;
    padding:6px;
    background:#19232e;
    color:lightblue;
    font:13px Arial,sans-serif;
}

body.home {
    background:#0b1118;
    padding:10px;
}

h1,h2 {
    color:lightgreen;
    text-align:center;
    margin:6px 0 10px;
    font-size:18px;
}

h2 {
    font-size:16px;
}

label,.orange {
    color:orange;
}

.yellow {
    color:yellow;
}

.green {
    color:lightgreen;
}

.red {
    color:red;
}

.white {
    color:white;
}

.scheduled {
    color:green;
}

input,button {
    font:inherit;
    border:1px solid #526779;
    border-radius:5px;
    padding:3px 5px;
    background:#101820;
    color:white;
}

button {
    background:#243443;
    cursor:pointer;
}

input:focus,button:focus-visible {
    outline:2px solid lightblue;
}

table {
    border-collapse:separate;
    border-spacing:0;
    margin:auto;
    max-width:100%;
    font-size:13px;
}

th {
    background:orange;
    color:black;
}

td,th {
    padding:3px 4px;
    text-align:left;
}

tr.alt td {
    color:lightgreen;
}

tr.alt td.orange {
    color:orange;
}

tr.alt td.yellow {
    color:yellow;
}

tr.alt td.red {
    color:red;
}

tr.alt td.white {
    color:white;
}

iframe {
    display:block;
    border:1px solid #354350;
    border-radius:10px;
    background:#19232e;
}

.frames {
    display:flex;
    gap:8px;
    width:max-content;
    margin:auto;
    align-items:flex-start;
}

.frames iframe {
    flex:none;
}

.login {
    display:flex;
    align-items:center;
    gap:6px;
    margin-bottom:12px;
}

.login label {
    color:lightblue;
}

.center {
    text-align:center;
}

.panel {
    border:1px solid #354350;
    border-radius:8px;
    padding:6px;
    margin:6px 0;
}

.compact {
    white-space:nowrap;
}

.date-list {
    width:100%;
    font-size:12px;
}

.date-list td {
    padding:2px;
}

.date-list button {
    font-size:11px;
    padding:3px;
}

.schedule {
    font-size:16px;
    font-weight:bold;
    text-align:center;
}

.schedule p {
    margin:8px 0;
}

/* Automatic dashboard window scaling */
body.home {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home .frames {
    display: grid;
    grid-template-columns: minmax(0,225fr) minmax(0,625fr) minmax(0,600fr);
    gap: 8px;
    width: 100%;
    flex: 1;
    min-height: 0;
    margin: 0;
    align-items: stretch;
}

.home .frames iframe {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
}
