:root {
    color-scheme: dark;
    font: 16px/1.5 system-ui, sans-serif;
    color: #f6f2e8;
    background: #151512;
    --muted: #c9c6b9;
    --accent: #e4ef91;
    --panel: #22231d;
    --border: #45463b;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.masthead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem max(1rem, calc((100vw - 65rem) / 2));
    border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 750; }
.mark {
    display: grid;
    place-items: center;
    width: 2.35rem;
    aspect-ratio: 1;
    border-radius: .55rem;
    color: #151512;
    background: var(--accent);
    font-size: 1.2rem;
    font-weight: 900;
}
main { width: min(65rem, calc(100% - 2rem)); margin: 1.5rem auto 4rem; }
h1, h2, p { margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 5vw, 3.35rem); letter-spacing: -.055em; line-height: 1.05; }
h2 { font-size: 1.15rem; }
p { color: var(--muted); }
#status:empty { display: none; }
#status { min-height: 1.5rem; color: var(--accent); }
.overview { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; margin: 2rem 0; flex-wrap: wrap; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.panel { padding: 1.25rem; background: var(--panel); border: 1px solid var(--border); border-radius: 1rem; margin-bottom: 1rem; overflow-wrap: anywhere; }
.login { max-width: 27rem; margin: 4rem auto; }
form { display: grid; gap: .85rem; }
form button { justify-self: start; }
label { display: grid; gap: .35rem; font-weight: 650; }
input, textarea, button { font: inherit; border-radius: .5rem; }
input, textarea { width: 100%; padding: .55rem .65rem; color: inherit; background: #171813; border: 1px solid var(--border); }
textarea { resize: vertical; }
button { padding: .5rem .8rem; background: var(--accent); color: #151512; border: 1px solid transparent; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
.secondary { background: transparent; color: inherit; border-color: var(--border); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.check { display: flex; align-items: center; gap: .55rem; }
.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent); }
.history-row { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .65rem 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
details { margin-top: .85rem; }
summary { cursor: pointer; color: var(--muted); }
details form { margin-top: .6rem; }
@media (max-width: 690px) { .dashboard-grid { grid-template-columns: 1fr; } }
