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

body {
    font-family: sans-serif;
    background: #f0f4f8;
    color: #333;
    min-height: 100vh;
}

.page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 32px 60px;
}

.hero {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.hero-img {
    width: 429px;
    height: 221px;
    object-fit: cover;
    border-radius: 16px;
    background: #dde3ea;
}

h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 16px;
    color: #222;
}

.status-bar {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    background: #e0e0e0;
}
.status-bar.raining { background: #d0eaff; color: #1a6fa8; }
.status-bar.clear   { background: #d4f5e2; color: #1a7a45; }
.status-bar.offline { background: #eee;    color: #999;    }

.controls {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #555;
}

.controls select {
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

.chart-wrapper {
    background: white;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

canvas {
    max-height: 420px !important;
}

a { color: #3498db; text-decoration: none; }
a:hover { text-decoration: underline; }