/* Shared look for picture. and admin. Plain, warm, readable on a phone. */
:root {
  --ink: #1f2a2e;
  --muted: #5d6b70;
  --line: #dfe5e3;
  --paper: #fbfaf7;
  --card: #ffffff;
  --accent: #2f6f5e;
  --accent-ink: #ffffff;
  --warn: #9a5b13;
  --warn-bg: #fff4e5;
  --bad: #a33a2b;
  --bad-bg: #fdeceA;
  --good-bg: #e8f3ee;
  --radius: 10px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); }
main { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }
header.site { display: flex; align-items: center; justify-content: space-between; max-width: 720px; margin: 0 auto; padding: 18px 16px 0; }
header.site .brand { font: 600 20px var(--serif); letter-spacing: .02em; color: var(--ink); text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.25; font-weight: 600; }
h1 { font-size: 30px; margin: 8px 0 12px; }
h2 { font-size: 23px; margin: 32px 0 8px; }
p { margin: 0 0 14px; }
.lede { color: var(--muted); font-size: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 16px 0; }
label { display: block; font-weight: 600; margin: 14px 0 4px; }
label .hint, .hint { font-weight: 400; color: var(--muted); font-size: 15px; }
input[type=text], input[type=email], input[type=number], select, textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c9d2cf; border-radius: 8px; background: #fff; color: var(--ink);
}
textarea { min-height: 220px; line-height: 1.5; font-size: 16px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 10px 0; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }
button, a.button { display: inline-block; text-decoration: none; font: 600 16px var(--sans); padding: 12px 18px; border-radius: 8px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); cursor: pointer; }
button.secondary { background: #fff; color: var(--accent); }
button.danger { background: #fff; color: var(--bad); border-color: var(--bad); }
button:disabled { opacity: .5; cursor: default; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.notice { padding: 12px 14px; border-radius: 8px; margin: 12px 0; }
.notice.warn { background: var(--warn-bg); color: var(--warn); }
.notice.bad { background: var(--bad-bg); color: var(--bad); }
.notice.good { background: var(--good-bg); color: var(--accent); }
.hidden { display: none !important; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font: 600 19px var(--serif); margin: 0 0 2px; padding-top: 22px; }
fieldset:first-child legend { padding-top: 4px; }
.steps { color: var(--muted); font-size: 15px; margin-bottom: 4px; }

/* The Picture itself */
.picture h1 { font-size: 32px; }
.picture h2 { border-top: 1px solid var(--line); padding-top: 20px; }
.picture table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
.picture th, .picture td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.picture th { font-weight: 600; color: var(--muted); }
.picture tr.group td { font-weight: 600; background: #f3f5f4; }
@media (max-width: 520px) { .picture table { font-size: 13px; } .picture th, .picture td { padding: 6px 4px; } }
