@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
:root {
    color-scheme: dark;
    --accent: #ebe6d9;
    --accent-strong: #ffffff;
}
.error { color: #f1a3a3; margin-bottom: 12px; }
.notice { margin-bottom: 12px; font-size: 13px; }
.notice.success { color: #bfe3c6; }
.notice.error { color: #f1a3a3; }
.forgot { margin-top: 14px; text-align: center; }
.link-btn {
    border: 0;
    background: none;
    color: var(--muted);
    font: inherit;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}
.link-btn:hover { color: var(--accent-strong); }
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,0.5);
    z-index: 100;
}
.modal[hidden] { display: none; }
.modal__content {
    width: min(420px, 100%);
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 24px;
}
.modal__actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.modal__actions button { width: auto; flex: 1; }
