/* Classic wview-style layout. Keep in git; copied into the report root. */
body {
    margin: 0;
    color: #000;
    font-family: "Tw Cen MT", Arial, Helvetica, sans-serif;
    font-size: 14px;
    background: #dfeaf7 url(images/Clouds.jpg) repeat;
}

a {
    color: #000080;
}

.page {
    width: 95%;
    max-width: 1150px;
    margin: 12px auto;
}

.masthead {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid #8ba7c4;
}

.live {
    text-align: left;
}

.brand {
    text-align: center;
}

.logo {
    display: block;
    width: 150px;
    height: auto;
    margin: 0 auto 4px;
}

h1 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.station,
.clock {
    margin: 2px 0;
}

.clock {
    font-size: 18px;
}


.big {
    margin: 3px 0;
    font-size: 30px;
    white-space: nowrap;
}

.big img {
    vertical-align: middle;
    margin-right: 6px;
}

.layout {
    display: grid;
    grid-template-columns: 34% 66%;
    gap: 16px;
    margin-top: 14px;
}

.left,
.right {
    min-width: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid #8ba7c4;
}

h2 {
    margin: 4px 0 6px;
    text-align: center;
    font-size: 16px;
}

table.data {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.35);
}

table.data td {
    border: 1px solid #666;
    padding: 2px 4px;
    vertical-align: top;
}

table.data td:first-child {
    width: 54%;
    font-weight: bold;
}

table.data tr:nth-child(even) td {
    background: #dcdcdc;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 10px;
}

.links a {
    display: inline-block;
    padding: 4px 9px;
    border: 1px solid #555;
    background: #eee;
    text-decoration: none;
}

.links a:hover {
    background: #fff;
}

.gauges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.gauge {
    text-align: center;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid #aaa;
    padding: 2px;
}

.gauge svg {
    width: 100%;
    max-width: 150px;
    height: auto;
}

.gauge-title {
    font-size: 10px;
    font-weight: bold;
}

.gauge-value {
    font-size: 11px;
    font-weight: bold;
}

.charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.charts figure {
    margin: 0;
    text-align: center;
}

.charts img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 1px solid #999;
    background: #f5f5f5;
}

.charts figcaption {
    font-size: 12px;
    font-weight: bold;
    padding-top: 2px;
}

.footer {
    margin: 14px 0 0;
    text-align: center;
    font-size: 12px;
}

@media (max-width: 900px) {
    .masthead {
        display: block;
        text-align: center;
    }

    .live,
    .brand {
        text-align: center;
    }

    .layout {
        grid-template-columns: 1fr;
    }

    .gauges {
        grid-template-columns: repeat(2, 1fr);
    }

    .charts {
        grid-template-columns: 1fr;
    }

    .big {
        font-size: 24px;
    }
}
