/* Help Me Find A Job - one small stylesheet, mobile first (360px wide and up). */
:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #4d5560;
  --line: #cfd6dd;
  --card: #f4f7f5;
  --brand: #0b5d3b;
  --brand-text: #ffffff;
  --accent: #fff3c4;
  --focus: #0b3d91;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121614;
    --text: #f1f3f2;
    --muted: #b4bdb8;
    --line: #36403b;
    --card: #1b211e;
    --brand: #49c58a;
    --brand-text: #08150e;
    --accent: #3a3413;
    --focus: #9cc2ff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.125rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--brand); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; }
.brand { font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; padding: 0.75rem 0; min-height: 48px; display: inline-flex; align-items: center; }
nav.main { display: flex; gap: 0.25rem; }
nav.main a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 0.6rem; color: var(--text); }
h1 { font-size: 1.6rem; line-height: 1.2; margin: 1.25rem 0 0.5rem; }
h2 { font-size: 1.3rem; line-height: 1.25; margin: 1.75rem 0 0.5rem; }
h3 { font-size: 1.1rem; line-height: 1.3; margin: 0; }
p, ul, ol { margin: 0.5rem 0 0.75rem; }
li { margin: 0.25rem 0; }
.lead { font-size: 1.2rem; }
.small, .meta { font-size: 0.875rem; color: var(--muted); }
.note { background: var(--accent); padding: 0.75rem 1rem; border-radius: 8px; }
.crumb { margin: 0.75rem 0 0; }
.crumb a { display: inline-flex; align-items: center; min-height: 48px; }

/* Buttons and links that look like buttons: at least 48px tall. */
.btn, button.btn, .chip, .btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.1rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn { background: var(--brand); color: var(--brand-text); border: 2px solid var(--brand); }
.btn-quiet { background: transparent; color: var(--text); border: 2px solid var(--line); }
.btn-quiet[disabled] { opacity: 0.5; cursor: default; }

/* Home page centre list */
.city { margin-top: 1.5rem; }
.centres { list-style: none; padding: 0; margin: 0.5rem 0; }
.centres li { margin: 0.5rem 0; }
.centres a {
  display: block;
  min-height: 48px;
  padding: 0.6rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
}
.centres a strong { display: block; color: var(--brand); }
.centres .sum { font-size: 0.875rem; color: var(--muted); }
.steps { padding-left: 1.4rem; }

/* Centre page */
.tools { margin: 1rem 0; }
.tools label.field { display: block; font-weight: 600; margin-bottom: 0.25rem; }
input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 0 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 8px;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0; }
.chip { background: var(--bg); color: var(--text); border: 2px solid var(--line); padding: 0 0.9rem; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--brand); color: var(--brand-text); border-color: var(--brand); font-weight: 700; }
.countbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin: 0.75rem 0; }
.countbar p { margin: 0; font-weight: 700; }

ul.shops { list-style: none; padding: 0; margin: 0; }
li.shop {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--line);
  border-radius: 8px;
}
li.shop.done { border-left-color: var(--brand); }
li.shop .row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 0.5rem; }
li.shop .addr { font-size: 0.875rem; color: var(--muted); overflow-wrap: anywhere; margin: 0.25rem 0 0; }
.tag { display: inline-flex; align-items: center; min-height: 48px; padding: 0 0.9rem; border: 2px dashed var(--line); border-radius: 8px; font-weight: 600; }
.tick { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0 0.25rem; cursor: pointer; font-weight: 600; }
.tick input { width: 28px; height: 28px; margin: 0; accent-color: var(--brand); flex: none; }
li.shop .meta { margin: 0.5rem 0 0; }
li.shop .meta a { display: inline-block; padding: 0.4rem 0.1rem; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }

footer.site { margin-top: 2.5rem; padding: 1rem 0 2rem; border-top: 1px solid var(--line); }
footer.site a { display: inline-block; padding: 0.4rem 0; }
code, .tpl { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--card); padding: 0.1rem 0.35rem; border-radius: 4px; overflow-wrap: anywhere; }
.tpl { display: block; padding: 0.75rem 1rem; }
@media (min-width: 600px) {
  body { font-size: 1.0625rem; }
  h1 { font-size: 2rem; }
}
