/* The send-in and yes/no pages: plain, phone first. */
:root {
  --ink: #2b2118;
  --muted: #7a6a5c;
  --accent: #b5451b;
  --paper: #f6f1e8;
  --line: #d9cfc1;
}
* { box-sizing: border-box; }
body.page {
  margin: 0; padding: 0 0 40px;
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--paper);
}
.bar { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.bar h1 { font-size: 18px; margin: 0; }
.bar a { color: var(--accent); text-decoration: none; }
.who { color: var(--muted); font-size: 13px; margin-left: auto; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin: 14px auto; padding: 14px 16px; max-width: 720px; }
.card h2 { font-size: 15px; margin: 18px 0 6px; }
.card h2:first-child { margin-top: 0; }
.count { color: var(--muted); font-weight: normal; }
label { display: block; margin: 8px 0; }
label input:not([type=radio]):not([type=file]) { display: block; width: 100%; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; margin-top: 3px; }
button { font: inherit; }
button.primary { background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 10px 18px; margin-top: 8px; cursor: pointer; }
button.primary:disabled { background: #c9b9ab; cursor: default; }
button.link { background: none; border: 0; color: var(--accent); padding: 0; cursor: pointer; text-decoration: underline; }
.msg { color: var(--muted); font-size: 14px; margin: 6px 0; }
.hint { color: var(--muted); font-size: 13px; margin: 6px 0; }
.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-btn { display: inline-block; background: var(--accent); color: #fff; border-radius: 6px; padding: 12px 18px; cursor: pointer; }
#preview { display: block; max-width: 100%; max-height: 50vh; border-radius: 6px; margin-top: 10px; }
#map { height: 42vh; min-height: 240px; border-radius: 6px; border: 1px solid var(--line); }
.choices { display: flex; flex-direction: column; gap: 6px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; margin: 0; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); background: #fbf3ee; }
.choice input { margin-top: 4px; }
.choice small { display: block; color: var(--muted); }
.item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item .grow { flex: 1; min-width: 0; }
.item small { display: block; color: var(--muted); font-size: 13px; }
.item .name { width: 100%; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 4px; }
.item.photo img { width: 120px; height: 120px; object-fit: cover; border-radius: 6px; background: #eee; }
.actions { display: flex; flex-direction: column; gap: 6px; }
.actions button { border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; cursor: pointer; background: #fff; }
.actions .ok { background: #2e7d32; color: #fff; border-color: #2e7d32; }
.actions .no { color: #8a1c1c; }
.tag { font-size: 12px; background: #f3dcc9; color: #7a2e10; border-radius: 4px; padding: 1px 6px; margin-left: 6px; }
.recent div { padding: 3px 0; }
@media (max-width: 600px) {
  .item.photo { flex-wrap: wrap; }
  .item.photo img { width: 100%; height: auto; max-height: 50vh; }
  .actions { flex-direction: row; width: 100%; }
  .actions button { flex: 1; }
}
