/* Ask the record. Design 002: paper, olive, the nine app colors. */
.ar-ask {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}
.ar-lead {
  margin: 0;
  color: var(--fd-ink, #29372e);
  font: 400 17px/1.45 "Newsreader", "Source Serif 4", Georgia, serif;
}
.ar-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}
.ar-label {
  flex: 1 1 100%;
  color: var(--fd-muted, #586653);
  font: 600 13px/1.3 "DM Sans", sans-serif;
}
.ar-input {
  flex: 1 1 280px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #81976b;
  border-radius: 8px;
  background: var(--fd-paper, #fffef9);
  color: var(--fd-ink, #29372e);
  font: 400 16px/1.4 "DM Sans", sans-serif;
}
.ar-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--fd-green, #526547);
  border-radius: 8px;
  background: var(--fd-green, #526547);
  color: #fffef9;
  font: 600 15px/1 "DM Sans", sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.ar-go:hover { background: #3e5234; }
.ar-go:disabled { opacity: 0.6; cursor: wait; }
.ar-sample {
  margin: 0 8px 8px 0;
  padding: 6px 10px;
  border: 1px solid var(--fd-line, #d9ded0);
  border-radius: 999px;
  background: var(--fd-paper, #fffef9);
  color: var(--fd-green-dark, #344b2c);
  font: 500 13px/1.3 "DM Sans", sans-serif;
  cursor: pointer;
}
.ar-note, .ar-status {
  margin: 0;
  color: var(--fd-muted, #586653);
  font: 400 14px/1.45 "DM Sans", sans-serif;
}
.ar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--fd-line, #d9ded0);
  border-radius: 8px;
  background: var(--fd-paper, #fffef9);
  color: inherit;
  text-decoration: none;
}
.ar-row:hover { background: #edf1e5; }
.ar-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ar-kind {
  color: #42533a;
  font: 600 11px/1.2 "DM Sans", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ar-title {
  color: var(--fd-ink, #29372e);
  font: 500 16px/1.35 "DM Sans", sans-serif;
}
.ar-sub, .ar-snip {
  color: var(--fd-muted, #586653);
  font: 400 14px/1.4 "DM Sans", sans-serif;
}
.ar-score { text-align: right; }
.ar-pct {
  display: block;
  color: var(--fd-green-dark, #344b2c);
  font: 600 25px/1 "DM Sans", sans-serif;
}
.ar-pct-blank { font-size: 14px; font-weight: 500; }
.ar-pct-label {
  display: block;
  margin-top: 2px;
  color: var(--fd-muted, #586653);
  font: 500 11px/1.2 "DM Sans", sans-serif;
}
.ar-input:focus-visible,
.ar-go:focus-visible,
.ar-sample:focus-visible,
.ar-row:focus-visible,
.ar-back:focus-visible {
  outline: 2px solid var(--fd-green, #526547);
  outline-offset: 2px;
}
.ar-arrival {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--fd-line, #d9ded0);
  border-left: 3px solid var(--fd-green, #526547);
  border-radius: 8px;
  background: var(--fd-paper, #fffef9);
}
.ar-back {
  color: var(--fd-green-dark, #344b2c);
  font: 600 14px/1.3 "DM Sans", sans-serif;
}
.ar-asked, .ar-arrival-score, .ar-line { margin: 6px 0 0; }
.ar-asked, .ar-line {
  color: var(--fd-ink, #29372e);
  font: 400 15px/1.4 "DM Sans", sans-serif;
}
.ar-k { color: var(--fd-muted, #586653); font-weight: 600; }
.ar-arrival-score {
  color: var(--fd-green-dark, #344b2c);
  font: 600 18px/1.3 "DM Sans", sans-serif;
}
@media (max-width: 640px) {
  .ar-row { grid-template-columns: 1fr; }
  .ar-score { text-align: left; }
}
