:root {
    color-scheme: dark;
    background: #101423;
    color: #f2f4ff;
    font-family: system-ui, sans-serif;
    line-height: 1.55;
}

* { box-sizing: border-box; }

body { margin: 0; }

main {
    width: min(100% - 2rem, 42rem);
    margin: clamp(2rem, 8vw, 6rem) auto;
    padding: clamp(1.25rem, 5vw, 3rem);
    border: 1px solid #37435f;
    border-radius: 1.5rem;
    background: #1b2237;
}

header { color: #95d8f8; font-weight: 700; }

h1 {
    font-size: clamp(1.7rem, 6vw, 2.5rem);
    line-height: 1.15;
    margin: .5rem 0 1rem;
}

p { margin: 0 0 1rem; }

#sign-in { min-height: 44px; }
#status { margin: 1rem 0 0; }
#status:empty { display: none; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

button {
    border: 1px solid #a3aed0;
    border-radius: .65rem;
    padding: .65rem 1rem;
    min-height: 44px;
    color: inherit;
    background: #27334f;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

#delete { background: #a1273b; border-color: #fa9daa; }
#retry { margin-top: 1rem; }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, a:focus-visible, #status:focus { outline: 2px solid #b3e4ff; outline-offset: 4px; }
a { color: #abdcff; }

footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #46516b;
    font-size: .95rem;
}
