:root {
    color-scheme: light;
    font-family: ui-sans-serif, system-ui, sans-serif;
    color: #182d27;
    background: #f5f6f1;
}

body { margin: 0; }

main {
    width: min(45rem, calc(100% - 2.5rem));
    margin: clamp(2rem, 8vw, 5rem) auto;
}

header {
    align-items: center;
    border-bottom: 1px solid #c9d3ca;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
}

h1 {
    font-family: Georgia, serif;
    font-size: clamp(2rem, 6vw, 3.65rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1;
    margin: 0 0 0.65rem;
}

.count, .meta, .empty { color: #485d53; }
.count, .questions p { margin: 0; }

.refresh {
    border: 1px solid #a7b9ac;
    border-radius: 0.45rem;
    color: #234737;
    font-size: 0.9rem;
    padding: 0.55rem 0.8rem;
    text-decoration: none;
}

.refresh:hover { background: #e9efe8; }
.refresh:focus-visible { outline: 2px solid #32684b; outline-offset: 3px; }
.questions { list-style: none; margin: 0; padding: 0; }

.questions li, .empty {
    background: #fffefa;
    border: 1px solid #d7dfd5;
    border-radius: 0.65rem;
    margin: 0 0 0.7rem;
    padding: 1.15rem 1.2rem;
}

.questions p {
    font-size: 1.075rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.meta { display: block; font-size: 0.78rem; margin-top: 0.55rem; }
