/* Minimal, self-hosted styling for the members area. Served from this
   service's own origin so it satisfies the strict members CSP (style-src
   'self'); no inline styles, no third-party fonts or CDNs. */
:root { color-scheme: light dark; }
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, sans-serif;
    line-height: 1.6;
    background: #11151a;
    color: #e7edf3;
}
main {
    max-width: 42rem;
    margin: 0 auto;
    padding: 3rem 1.25rem;
}
h1 { font-size: 1.6rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.1rem; margin: 2rem 0 0.5rem; }
p { margin: 0.5rem 0; }
.muted { color: #93a1ad; }
a { color: #7fb3ff; }
.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.1rem;
    border-radius: 0.4rem;
    background: #2b6cb0;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.projects { list-style: none; padding: 0; margin: 0.5rem 0; }
.projects li {
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
    border: 1px solid #2a323b;
    border-radius: 0.4rem;
}
form.logout { margin-top: 2rem; }
.account-action { margin-top: 2rem; }
button.link {
    background: none;
    border: none;
    color: #93a1ad;
    cursor: pointer;
    padding: 0;
    font: inherit;
    text-decoration: underline;
}
form.departure {
    display: grid;
    gap: 0.65rem;
    margin: 1.5rem 0;
}
form.departure input,
form.departure textarea {
    width: 100%;
    border: 1px solid #46515c;
    border-radius: 0.35rem;
    padding: 0.65rem;
    background: #171d23;
    color: inherit;
    font: inherit;
}
form.departure textarea { resize: vertical; }
form.departure .btn {
    border: 0;
    cursor: pointer;
    justify-self: start;
}
.notice {
    margin: 1rem 0;
    padding: 0.8rem 1rem;
    border-left: 0.25rem solid #7fb3ff;
    background: #171d23;
}
.notice.error { border-left-color: #ff7b72; }
.notice.success { border-left-color: #56d364; }
