* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { background: #101827; color: #e8effa; font: 16px system-ui; margin: auto; max-width: 760px; padding: 18px; }
header, .status { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
h1 { font-size: 26px; }
h2 { font-size: 20px; margin-top: 0; }
small { color: #a7b6cb; }
section { background: #1b293d; border: 1px solid #30415a; border-radius: 18px; padding: 18px; margin: 14px 0; }
strong { font-size: 36px; }
button { border: 0; border-radius: 10px; padding: 12px; margin: 4px; background: #31465e; color: white; font: inherit; cursor: pointer; }
button:disabled { opacity: .48; cursor: default; }
.green, .online { background: #167653; }
.red { background: #a83c48; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.grid div { background: #142033; padding: 8px; border-radius: 10px; }
.pill { background: #384457; padding: 7px 12px; border-radius: 20px; font-size: 13px; }
.pill.online { background: #167653; }
p { line-height: 1.5; }
label { display: inline-flex; gap: 6px; align-items: center; }
form label { display: flex; flex-direction: column; align-items: start; margin-bottom: 12px; }
input { font: inherit; padding: 8px; border: 1px solid #687c99; border-radius: 6px; }
form input { width: min(100%, 360px); }
#quotas { display: flex; flex-wrap: wrap; gap: 8px; }
#quotas input { width: 78px; }
#qr { display: block; margin: 12px 0; background: white; max-width: 100%; height: auto; }
#journal { white-space: pre-wrap; overflow-wrap: anywhere; }
#recovery-codes { font: 15px monospace; line-height: 1.6; }
