
:root {
    --background: #f5f6f2;
    --surface: #ffffff;
    --text: #252b27;
    --muted: #788078;
    --border: #e7eae4;
    --accent: #64836d;
    --accent-light: #eaf1eb;
    --warning: #d59b45;
    --danger: #c66c65;
    --radius: 14px;
}

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

body {
    font-family: Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    min-height: 100vh;
}

.app {
    max-width: 1440px;
    margin: auto;
    padding: 32px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 48px;
}

.topbar h1 {
    font-size: 25px;
    font-weight: 650;
    letter-spacing: -0.6px;
}

.topbar p,
.welcome p,
.section-heading p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 7px;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--warning);
    border-radius: 50%;
}

.welcome {
    margin-bottom: 25px;
}

.welcome h2,
.section-heading h2,
.activity-section h2 {
    font-size: 19px;
    font-weight: 600;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 45px;
}

.summary-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 23px;
    min-height: 110px;
}

.summary-card span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 17px;
}

.summary-card strong {
    font-size: 24px;
    font-weight: 600;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

select {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 11px 14px;
    color: var(--text);
    font-size: 13px;
    outline: none;
}

.website-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.website-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 23px;
    min-width: 0;
}

.website-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.website-card a {
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.website-card .website-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 23px;
    padding: 7px 10px;
    background: #f1f2ef;
    border-radius: 20px;
    color: var(--muted);
    font-size: 11px;
}

.activity-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    margin-top: 35px;
}

.activity-section p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 14px;
}

footer {
    color: var(--muted);
    text-align: center;
    font-size: 12px;
    margin-top: 45px;
}

@media (max-width: 850px) {
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .website-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .app {
        padding: 20px 15px;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 35px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .summary-grid {
        gap: 10px;
    }

    .summary-card {
        padding: 16px;
    }
}
