/* Public feedback form. The sheet and type come from day.css. This file styles
   the form, the header bar, and the shared footer. It does not add a nav item. */

body.suggest { padding-bottom: calc(65px + 16px + 24px); }

body.suggest .site-header {
  background: #F4EEDF;
  border-bottom: 1px solid var(--line, #B9A88A);
}

.suggest-form { display: grid; gap: 0.95rem; margin-top: 0.5rem; }
.suggest-form .field { display: grid; gap: 0.35rem; }
.suggest-form .field > span { font-size: 1rem; }
.suggest-form input,
.suggest-form textarea,
.suggest-form select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: #fffcf8;
  color: inherit;
  font: inherit;
}
.suggest-form textarea { min-height: 9rem; resize: vertical; }
.suggest-form button,
a.suggest-again {
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-radius: 4px;
  background: var(--sage);
  color: var(--bg);
  font: 400 1.05rem/1.2 var(--small-caps);
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.suggest-form button:hover,
a.suggest-again:hover { background: var(--sage-dark); color: var(--bg); }
.lede { margin: 0 0 1.1rem; }
.hint { margin: 0; color: var(--letter-muted); font-size: 0.95rem; }
.alert {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.7rem;
  background: color-mix(in srgb, #9c3b24 12%, #fff);
}
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.site-foot {
  padding: 1rem 1.25rem 3rem;
  text-align: center;
  color: var(--muted);
}
.site-foot .plate {
  width: min(280px, 70%);
  margin: 0 auto 1rem;
  border: 0;
  padding: 0;
  background: transparent;
}
.site-foot .plate img { background: transparent; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; justify-content: center; }
.site-foot a { color: var(--muted); }

@media (max-width: 480px) {
  .day-sheet { padding: 1.25rem 1rem 1.5rem; }
  .suggest-form button,
  a.suggest-again { width: 100%; }
}
