/* The Circle. Looks like Kari's files site (docs/good): plum, big plain type, one column of cards. Atkinson
   Hyperlegible is served by the app itself (S7 #281, SIL OFL, fonts/OFL.txt): no outside font calls, SPEC A12. */
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/AtkinsonHyperlegible-latin-ext-61eeb0eb.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/AtkinsonHyperlegible-latin-d64ba838.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/AtkinsonHyperlegible-latin-ext-840ced16.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/AtkinsonHyperlegible-latin-140e2bd2.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --paper: #f8f4f1; --surface: #ffffff; --ink: #231d22; --muted: #5f5560; --line: #ddd3da;
  --accent: #6b3f69; --accent-ink: #ffffff; --accent-soft: #f1e6f0; --bad: #9a2b2b; --good: #2c6a4c;
  --radius: 10px;
  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #171316; --surface: #211b20; --ink: #efe8ee; --muted: #b3a6b1; --line: #3a3039;
    --accent: #d3a6d0; --accent-ink: #231522; --accent-soft: #2f2230; --bad: #f0918a; --good: #84c6a3;
  }
}
:root[data-theme="dark"] {
  --paper: #171316; --surface: #211b20; --ink: #efe8ee; --muted: #b3a6b1; --line: #3a3039;
  --accent: #d3a6d0; --accent-ink: #231522; --accent-soft: #2f2230; --bad: #f0918a; --good: #84c6a3;
}
* { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
/* Text size (S7 #281): the A− / A+ stepper sets html[data-size]; every rem grows or shrinks with it. */
html[data-size="95"] { font-size: 95%; }
html[data-size="110"] { font-size: 110%; }
html[data-size="120"] { font-size: 120%; }
html[data-size="135"] { font-size: 135%; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: max(17px, 1.125rem); line-height: 1.55;
  padding: env(safe-area-inset-top, 0) max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px));
}
.wrap { max-width: 640px; margin: 0 auto; }
h1, h2 { margin: 0; line-height: 1.2; }
h1 { font-size: 2rem; color: var(--accent); }
h2 { font-size: 1.375rem; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
header.top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; padding-block: 24px 16px; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
main, main > section { display: grid; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; }
.loading, .hint { color: var(--muted); }
form { display: grid; gap: 10px; }
label { font-weight: 700; }
input, select, textarea {
  font: inherit; font-size: 1.25rem; color: var(--ink); background: var(--paper); width: 100%; min-height: 52px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px;
}
input[readonly] { background: var(--accent-soft); }
#linkText { font-size: max(17px, 1.0625rem); }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  font: inherit; font-weight: 700; min-height: 52px; padding: 10px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); justify-self: start;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn:disabled { opacity: .55; cursor: wait; }
a.link { display: inline-flex; align-items: center; }
.link { font: inherit; background: none; border: 0; padding: 8px 0; min-height: 44px; color: var(--accent); text-decoration: underline; cursor: pointer; }
.msg:empty { display: none; }
.msg { font-weight: 700; }
.msg[data-tone="bad"] { color: var(--bad); }
.msg[data-tone="good"] { color: var(--good); }
.people { list-style: none; margin: 0; padding: 0; display: grid; }
.people li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.people li:first-child { border-top: 0; }
.people .who { display: grid; }
.people .state { color: var(--muted); font-size: max(17px, 1.0625rem); }
.people .tag { font-size: max(17px, 1.0625rem); font-weight: 700; color: var(--accent); }
.people .acts { display: flex; flex-wrap: wrap; gap: 0 16px; }
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
select { appearance: auto; }
label.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 700; }
label.check input { width: 28px; min-height: 28px; height: 28px; margin: 0; accent-color: var(--accent); }
.tabs { display: flex; gap: 8px; }
.tab {
  font: inherit; font-weight: 700; min-height: 48px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.tab[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }
.reqs, .updates { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.reqs button {
  font: inherit; text-align: left; width: 100%; min-height: 64px; cursor: pointer; display: grid; gap: 4px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px;
}
.reqs strong { font-size: 1.25rem; overflow-wrap: anywhere; }
.meta, .reqs .meta { color: var(--muted); font-size: max(17px, 1.0625rem); }
.kind { font-weight: 700; color: var(--accent); }
.answered { font-weight: 700; color: var(--good); }
#rqTitle, .body, .updates li { overflow-wrap: anywhere; }
.body, .updates p { white-space: pre-wrap; }
.updates li { border-left: 4px solid var(--accent-soft); padding-left: 12px; display: grid; gap: 2px; }
.back { justify-self: start; }
#prayBtn[aria-pressed="true"] { background: var(--accent-soft); color: var(--ink); }
h3 { font-size: 1.1875rem; margin: 0; line-height: 1.25; }
.warn { font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: var(--radius); padding: 10px 14px; }
fieldset.kinds { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
fieldset.kinds legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.slots li { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 4px; overflow-wrap: anywhere; }
.slots li.past { opacity: .6; background: var(--paper); }
.slots .what { font-weight: 700; }
.slots .who { color: var(--muted); font-size: max(17px, 1.0625rem); }
.slots .acts { display: flex; flex-wrap: wrap; gap: 0 16px; align-items: center; }
.slots .acts .btn { min-height: 48px; }
#noticeState { font-weight: 700; }
/* #1107: a helper's one-time "was removed" lines, at the top of her home screen */
.gone { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gone li { font-weight: 700; color: var(--ink); background: var(--accent-soft); border-radius: var(--radius); padding: 10px 14px; overflow-wrap: anywhere; }

/* ---- S7 #281: header tools, text size, install card */
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; width: 100%; }
.textsize { display: flex; align-items: center; gap: 8px; }
.textsize .now { min-width: 6.5em; text-align: center; font-weight: 700; color: var(--muted); }
.step {
  font: inherit; font-weight: 700; min-width: 44px; min-height: 44px; padding: 4px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--accent);
}
.step:disabled { opacity: .45; cursor: default; }
.install { border-color: var(--accent); }
.install ol { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; }
.glyph { display: inline-block; vertical-align: middle; width: 1.4em; height: 1.4em; color: var(--accent); }
.glyph svg { width: 100%; height: 100%; display: block; }
.key { display: inline-block; font-weight: 700; border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; background: var(--paper); }

/* ---- the how-to (/howto): big type on screen, ONE US Letter sheet on paper */
.howto h1 { font-size: 2rem; }
.howto .lead { font-size: 1.25rem; }
.howto ol.steps { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; }
.howto section { display: grid; gap: 8px; align-content: start; }
.howto .site { font-weight: 700; color: var(--accent); overflow-wrap: anywhere; }
.howto .two { display: grid; gap: 16px; }
.howto .help { font-weight: 700; font-size: 1.25rem; }
@media (min-width: 760px) { .howto .two { grid-template-columns: 1fr 1fr; } .wrap.wide { max-width: 900px; } }
@page { size: letter; margin: 0.45in; }
@media print {
  html, html[data-size] { font-size: 13.5pt; background: #fff; }   /* print ignores the text-size step */
  body { padding: 0; font-size: 1rem; line-height: 1.3; color: #000; background: #fff; }
  .noprint, header.top .tools { display: none !important; }
  .wrap, .wrap.wide { max-width: none; }
  .card { border: 1px solid #999; padding: 8px 10px; gap: 4px; break-inside: avoid; }
  main, main > section, .howto section { gap: 6px; }
  header.top { padding: 0 0 4px; }
  .howto .two { grid-template-columns: 1fr 1fr; gap: 6px; }
  .howto h1 { font-size: 1.9rem; }
  .howto h2 { font-size: 1.15rem; }
  .howto .lead, .howto .help { font-size: 1.1rem; }
  .howto ol.steps { gap: 1px; }
}
