/* Atmos1 accounts site. Large, calm, high-contrast: the audience finds reading hard. */
:root {
  --ink: #1f1e24;
  --ink-soft: #55535c;
  --ground: #f7f5f2;
  --card: #ffffff;
  --line: #e3dfd8;
  --accent: #194a7a;
  --accent-ink: #ffffff;
  --ok: #2e7d4f;
  --warn: #9a5b00;
  --bad: #b3261e;
  --radius: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
}
.masthead {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 1.25rem; background: var(--accent); color: var(--accent-ink);
}
.brand { color: inherit; text-decoration: none; font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; }
.nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.nav a, .nav .link-button { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.link-button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.inline { display: inline; }
.page { max-width: 44rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.footer { text-align: center; color: var(--ink-soft); padding: 1.5rem; font-size: 0.9rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; }
h1 { font-size: 1.7rem; margin: 0 0 0.75rem; line-height: 1.25; }
h2 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.1rem; }
.muted { color: var(--ink-soft); }
label { display: block; font-weight: 600; margin: 1rem 0 0.35rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], select {
  width: 100%; font: inherit; padding: 0.65rem 0.8rem; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid #7bb3f0; outline-offset: 2px; }
.button, button.button {
  display: inline-block; font: inherit; font-weight: 600; padding: 0.7rem 1.2rem; border-radius: 10px;
  border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer;
}
.button.secondary { background: #fff; color: var(--accent); }
.button.danger { background: #fff; color: var(--bad); border-color: var(--bad); }
.button + .button { margin-left: 0.6rem; }
.actions { margin-top: 1.25rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.notice { border-radius: 10px; padding: 0.8rem 1rem; margin: 0 0 1rem; border: 1px solid var(--line); background: #fbf9f5; }
.notice.error { border-color: var(--bad); color: var(--bad); }
.notice.ok { border-color: var(--ok); color: var(--ok); }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 2.2rem; letter-spacing: 0.12em; text-align: center; padding: 0.6rem 0; }
.password-once { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.4rem; letter-spacing: 0.08em; }
table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-soft); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.usage { margin: 0.5rem 0 1rem; }
.usage .bar { height: 0.8rem; border-radius: 999px; background: var(--line); overflow: hidden; margin: 0.3rem 0 0.8rem; }
.usage .fill { height: 100%; background: var(--accent); }
.usage .fill.warn { background: var(--warn); }
.usage .fill.full { background: var(--bad); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.8rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.stat .n { font-size: 1.8rem; font-weight: 700; display: block; }
.stat .l { color: var(--ink-soft); font-size: 0.9rem; }
.pill { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: var(--line); }
.pill.paid { background: #dff3e6; color: var(--ok); }
.pill.disabled { background: #fde3e1; color: var(--bad); }
form.stack .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
@media (max-width: 560px) { form.stack .row { grid-template-columns: 1fr; } html { font-size: 17px; } }
