/* Cahuenga. One dark theme, readable at arm's length on a phone. Three Mexican colors on night blue-black, each with
   one job (John's choice, 2026-11-27): turquoise for the brand and anything to tap, barro (terracotta) for what is
   finished, rosa mexicano for trophies. The -text shades are lighter so small type stays readable on the dark panels. */
@font-face {
  font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("/static/public/fonts/archivo-800-latin.woff2") format("woff2");
}
:root {
  --bg: #12151c;
  --panel: #1b202b;
  --panel-2: #232a38;
  --line: #2f3848;
  --text: #edf0f5;
  --muted: #9aa6b8;
  --accent: #17a398;      /* turquoise: buttons and the mark */
  --accent-text: #2ec4b6;
  --accent-ink: #0d1117;
  --done: #d9623f;        /* barro */
  --done-text: #ea7a55;
  --trophy: #ec1c8c;      /* rosa mexicano */
  --trophy-text: #ff5aa8;
  --warn: #f2b441;        /* problems and warnings: amber, so they are not mistaken for any of the three */
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100dvh;
}
main { max-width: 34rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
h1 { font-size: 1.05rem; margin: 0; font-weight: 400; color: var(--muted); display: flex; align-items: center; gap: .6rem; }
h1 a { color: inherit; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); }
.brand img { width: 30px; height: 30px; display: block; }
.brand span { font-family: "Archivo", system-ui, sans-serif; font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
h2 { font-size: 1.6rem; margin: .55rem 0 0; font-weight: 650; }
p { margin: .5rem 0; }
a { color: var(--accent-text); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
[hidden] { display: none !important; }

button, .button {
  font: inherit; font-weight: 650; border: 0; border-radius: 999px; padding: .7rem 1.2rem;
  background: var(--accent); color: var(--accent-ink); cursor: pointer; text-decoration: none; display: inline-block;
}
button.quiet, .button.quiet { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); }
button:disabled { opacity: .5; cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; }

label { display: block; font-weight: 600; margin: 1rem 0 .35rem; }
input[type=password], input[type=text], input[type=email], input[type=number], textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: .75rem .85rem;
}
input[readonly] { color: var(--muted); }
.notice { border-radius: 10px; padding: .7rem .85rem; margin-top: 1rem; background: var(--panel); border: 1px solid var(--line); }
.notice.bad { border-color: var(--warn); color: var(--warn); }
.notice.warn { border-color: var(--warn); }

.gate { max-width: 24rem; margin: 12vh auto 0; padding: 0 1rem; }
.gate form { margin-top: 1.5rem; }
.gate button { width: 100%; margin-top: 1.25rem; }
