/* Client files: near-monochrome, steel-blue accent, hairline rules.
   IBM Plex is used when the visitor's device has it. The one font that ships is DejaVu Sans
   Mono Bold, for the code and last-four fields only: it tells B/8, S/5, Z/2 and G/6 apart.
   The ?v= on its url is the first 8 hex characters of the font file's SHA-256 (a test checks). */
@font-face {
  font-family: "Pickup Code";
  src: url("/static/fonts/DejaVuSansMono-Bold.ttf?v=bce60f1b") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --panel: #fbfbfc;
  --ink: #14161b;
  --muted: #565d68;
  --line: #d2d6dd;
  --accent: #2f5d7c;
  --accent-deep: #234a64;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
.topbar { border-top: 2px solid var(--ink); }
main { max-width: 36rem; margin: 0 auto; padding: 32px 20px 56px; }
h1 { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 1.25rem; overflow-wrap: anywhere; }
h2 { font-size: 1.1rem; font-weight: 600; margin: 2rem 0 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
h3 { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 0.25rem; }
h4 { font-size: 1rem; font-weight: 600; margin: 1.25rem 0 0.25rem; }
p, ul { margin-bottom: 1rem; }
ul {
  margin-left: 0;
  padding-left: 1.4em;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
label { display: block; font-weight: 500; margin: 1.25rem 0 0.4rem; }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  display: block; width: 100%; min-height: 48px; padding: 8px 12px;
  font: inherit; font-family: var(--mono); letter-spacing: 0.06em;
  color: var(--ink); background: var(--bg); border: 1px solid #8b929c; border-radius: 2px;
}
#code, #last_four {
  font-family: "Pickup Code", var(--mono); font-size: 1.5rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
textarea { resize: vertical; letter-spacing: normal; }
.leave-empty { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button, .button {
  display: inline-block; min-height: 48px; padding: 10px 22px; margin-top: 1.5rem;
  font: inherit; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer;
  color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 2px;
}
.button { margin-top: 0.5rem; }
button:hover, .button:hover { background: var(--accent-deep); color: #fff; }
button.plain { margin-top: 0; color: var(--ink); background: var(--bg); border-color: #8b929c; font-weight: 500; }
button.plain:hover { background: var(--panel); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.alert { padding: 12px 14px; margin-bottom: 0.5rem; border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--panel); }
.files { list-style: none; padding-left: 0; border-top: 1px solid var(--line); }
.files li { padding: 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.size { display: block; font-family: var(--mono); font-size: 1rem; color: var(--muted); }
.signout { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
form[action="/sign-in"] + p { margin-top: 2rem; }
h1 + .signout { margin-top: 0; padding-top: 0; border-top: 0; }
