:root {
    --bg: #101828;
    --panel: #ffffff;
    --line: #d0d5dd;
    --primary: #2563eb;
    --text: #101828;
    --muted: #667085;
    --done: #15803d;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

.page {
    width: min(960px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 340px 1fr;
    align-content: center;
    gap: 20px;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

h1,
p {
    margin-top: 0;
}

label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 700;
}

input,
button {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 11px 12px;
    font: inherit;
}

button {
    margin-top: 14px;
    border: 0;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.message,
.session-subject {
    color: var(--muted);
}

.timer-panel {
    display: grid;
    place-items: center;
    text-align: center;
}

.timer {
    display: block;
    margin: 10px 0;
    font-size: clamp(4rem, 12vw, 8rem);
    line-height: 1;
}

.status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #dbeafe;
    color: var(--primary);
    font-weight: 700;
}

.status.concluida {
    background: #dcfce7;
    color: var(--done);
}

.timer-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 820px) {
    .page {
        grid-template-columns: 1fr;
        padding: 32px 0;
    }
}
