/* Shared by the Guide and Software credits pages (SITE_LAYOUT_PLAN.md): colours, header, top bar, cards,
   buttons and status labels. index.html keeps its own styles until the layout's stage 2. */
:root { --ink: #1d2327; --muted: #5f6b73; --line: #d5dade; --bg: #f6f7f8; --card: #fff; --soft: #eef4f9;
        --accent: #1170b8; --on-accent: #fff; --brand2: #1a94d6; --bad: #a33a2b; }
@media (prefers-color-scheme: dark) {
  :root { --ink: #e6e9eb; --muted: #9aa5ad; --line: #3a4247; --bg: #15191c; --card: #1e2428; --soft: #1b2a36;
          --accent: #5cc8f0; --on-accent: #0b1f33; --brand2: #5fe0ff; --bad: #e07a68; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.55 -apple-system, system-ui, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }

.top { position: sticky; top: 0; z-index: 10; background: var(--card); border-bottom: 1px solid var(--line); }
header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; }
header h1 { font-size: 18px; margin: 0; display: flex; align-items: center; gap: 10px; }
header h1 a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 10px; }
header h1 img { width: 32px; height: 32px; display: block; }
header h1 .two { color: var(--brand2); }
header h1 .tagline { font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--muted); margin-left: 4px; }
nav.tabs { display: flex; gap: 2px; padding: 0 12px; overflow-x: auto; }
nav.tabs a { padding: 9px 14px 8px; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; font-size: 15px; }
nav.tabs a[aria-current=page] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }

.button { display: inline-block; font: inherit; font-size: 15px; padding: 6px 14px; border-radius: 6px; border: 1px solid var(--accent);
          background: var(--accent); color: var(--on-accent); cursor: pointer; text-decoration: none; text-align: center; white-space: nowrap; }
.button.quiet { background: none; color: var(--accent); }
.muted { color: var(--muted); font-size: 14px; }
main { max-width: 1080px; margin: 0 auto; padding: 20px 16px 48px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 18px 22px; margin-bottom: 16px; }

/* A button named in the text, and the status labels the page shows */
.btn { display: inline-block; padding: 0 8px; border: 1px solid var(--muted); border-radius: 5px; font-size: 14px; white-space: nowrap; }
.status { display: inline-block; padding: 1px 9px; border-radius: 10px; font-size: 13px; font-weight: 600; background: var(--soft); color: var(--accent); white-space: nowrap; }
.status.wait { background: #fde7c0; color: #7a4b00; }
.status.ok { background: #d8f0dc; color: #22652e; }
.status.bad { background: #f6d9d4; color: var(--bad); }
@media (prefers-color-scheme: dark) {
  .status.wait { background: #4a3812; color: #ffd38a; } .status.ok { background: #1d3d24; color: #8fdc9c; }
  .status.bad { background: #4a2620; color: #ffb3a6; }
}

/* VIDEO / PHOTOS tag beside a job */
.kind { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
        border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; vertical-align: 1px; }

footer.site { max-width: 1080px; margin: 0 auto; padding: 0 16px 32px; font-size: 13px; color: var(--muted); }
footer.site a { color: var(--muted); }

@media (max-width: 760px) {
  header { padding: 8px 12px; }
  header h1 { font-size: 17px; } header h1 img { width: 28px; height: 28px; }
  header h1 .tagline { display: none; }
  nav.tabs { padding: 0 4px; }
  nav.tabs a { padding: 8px 10px 7px; flex: 1; text-align: center; }
  main { padding: 12px 12px 40px; }
  .card { padding: 14px; border-radius: 6px; }
}
