/* almari.store/report: the form, on the legal pages' type and colours
   (legal.css), its fields as the home page's contact form (styles.css). */
:root {
  --white: #FFFFFF;
  --line: #EBE6E3;
  --field-edge: #8F8D8D;
  --accent-pressed: #942B42;
  --wash: #F8EAE8;
}
.lede { margin: 0 0 12px; text-wrap: pretty; }
.danger { margin: 0 0 32px; font-size: 15px; color: var(--grey-dark); }
.report { display: grid; gap: 20px; }
.report h2 { margin: 16px 0 0; }
.note, .more { margin: 0; font-size: 15px; color: var(--grey-dark); text-wrap: pretty; }
.more { margin-top: 40px; }

.choice { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.choice legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 16px; }
.option {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; cursor: pointer;
}
.option:has(input:checked) { border-color: var(--accent); background: var(--wash); }
.option input { margin: 4px 0 0; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.option strong { display: block; }
.option small { display: block; color: var(--grey-dark); font-size: 15px; line-height: 1.45; }
.option:has(input:checked) small { color: var(--accent-pressed); }
.choice.small .option { padding: 12px 16px; }

.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: 15px; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid var(--field-edge); border-radius: 14px;
  padding: 13px 14px; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--cherry);
}
.option:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--cherry); }
.hint { color: var(--grey-dark); font-size: 14px; line-height: 1.45; }

.sign { display: grid; gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { margin: 4px 0 0; accent-color: var(--accent); width: 20px; height: 20px; flex: none; }

.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send {
  justify-self: start; font: inherit; font-weight: 700; color: var(--white);
  background: var(--accent); border: 0; border-radius: 999px;
  min-height: 52px; padding: 0 32px; cursor: pointer;
}
.send:hover { background: var(--accent-pressed); }
.send:disabled { opacity: 0.55; cursor: default; }
.send:focus-visible { outline: 3px solid var(--cherry); outline-offset: 3px; }
.status { margin: 0; min-height: 1.6em; color: var(--grey-dark); }
.status.error { color: var(--cherry); }

.sent { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px 8px; outline: none; }
.sent h2 { margin-top: 16px; }
[hidden] { display: none !important; }
