* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    color: #000000;
    font-family: 'Roboto Mono', monospace;
    line-height: 1;
    padding: 8px;
}

.container {
    width: 790px;
    height: 470px;          /* lock to device height */
    margin: 0 auto;
    overflow: hidden;       /* prevent outer scrollbars */
    display: flex;
    flex-direction: column;
}

body {
    margin: 0;
    padding: 0;             /* remove body padding */
    height: 100vh;
    overflow: hidden;
}

header {
    text-align: center;
    border-bottom: 3px solid #000;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 6px;
}

h1 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header p {
    font-size: 1.2rem;
    margin-top: 8px;
}

header h1 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header h1 #date-time {
    font-size: 1.2rem;           /* Slightly smaller than main title */
    font-weight: normal;         /* Less bold */
    color: #333;                 /* Slightly softer black for contrast */
    margin-left: 10px;           /* Small spacing after the dash */
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* always two columns */
    gap: 10px;
}

.panel {
    border: 2px solid #000;
    padding: 10px;
    min-height: 190px;
    max-height: 210px;
}

.panel h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

ul {
    list-style: none;
}

ul li {
    margin-bottom: 10px;
    font-size: 1rem;
}

ul li:first-child {
    font-weight: bold;
}

footer {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 3px solid #000;
    font-size: 1rem;
}

/* E-ink optimization: large text, high contrast, no shadows */
@media (max-width: 600px) {  /* was 900px */
    .grid {
        grid-template-columns: 1fr;
    }
    h1 { font-size: 1.2rem; }  /* adjust for tiny screens only */
    h2 { font-size: 1.0rem; }
}