/* The field screens: the in-app camera, photo strips, Report to Remy, Import old records, write-offs. Prime tokens only. */
.fd-page {
  display: grid;
  gap: 14px;
  padding: 4px 16px 32px;
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink);
}
.fd-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow1);
  border: 1px solid var(--cardBorder);
}
.fd-head {
  display: grid;
  gap: 2px;
}
.fd-head b,
.fd-card > b,
.fd-sub {
  font-size: 16px;
  letter-spacing: -0.01em;
}
.fd-fine,
.fd-card small,
.fd-fine {
  color: var(--ink2);
  font-size: 13px;
  line-height: 1.35;
}
.fd-note {
  margin: 0;
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.4;
}
.fd-sum {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}
.fd-heard {
  margin: 0;
  color: var(--ink2);
  font-size: 14px;
  font-style: italic;
}
.fd-warn {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}
.fd-warn::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--amber);
  vertical-align: 1px;
}
.fd-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.fd-btn,
.fd-send,
.fd-talk,
.fd-sample {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.fd-btn {
  background: var(--holdBg);
  color: var(--holdInk);
}
.fd-btn-ghost {
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line2);
}
.fd-send {
  background: var(--holdBg);
  color: var(--holdInk);
}
.fd-send:disabled,
.fd-btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.fd-sample {
  min-height: 38px;
  padding: 0 14px;
  font-weight: 500;
  font-size: 14px;
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line2);
  text-align: left;
}
.fd-sample:disabled {
  opacity: 0.5;
}
.fd-talk {
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line2);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.fd-talk[data-on] {
  background: var(--holdBg);
  color: var(--holdInk);
}
.fd-samples,
.fd-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fd-text,
.fd-field input,
.fd-field select,
.fd-more input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.fd-text {
  resize: vertical;
  min-height: 84px;
  line-height: 1.4;
}
.fd-field {
  display: grid;
  gap: 6px;
}
.fd-field > span {
  color: var(--ink2);
  font-size: 13px;
}
.fd-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fd-more {
  display: flex;
  gap: 8px;
}
.fd-more input {
  flex: 1;
  min-width: 0;
}
.fd-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 6px 0 14px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line2);
  font-size: 14px;
}
.fd-pill button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink2);
}
.fd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
  box-shadow: inset 0 0 0 1px var(--line2);
}
.fd-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}
.fd-chip[data-proof]::before {
  background: var(--forest);
}
.fd-chip[data-proof] {
  color: var(--ink);
}

/* photo strip */
.fd-strip {
  display: grid;
  gap: 10px;
}
.fd-thumbs {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
}
.fd-thumb {
  position: relative;
  display: grid;
  gap: 4px;
  flex: 0 0 132px;
}
.fd-thumb img {
  width: 132px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--bg2);
}
.fd-thumb small {
  font-size: 12px;
}
.fd-thumb .fd-chip {
  justify-self: start;
}
.fd-x {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

/* camera sheet */
.fd-cam {
  display: grid;
  gap: 14px;
  padding: 8px 16px 20px;
}
.fd-view {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: 62dvh;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #0b0f0d;
}
.fd-view[data-sim] {
  background: linear-gradient(135deg, #4b6a5a, #c9d6a8);
}
.fd-view video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fd-sim {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.fd-actions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.fd-actions .fd-btn {
  justify-self: start;
}
.fd-shutter {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 4px solid var(--card);
  border-radius: 50%;
  background: var(--holdBg);
  color: var(--holdInk);
  box-shadow: 0 0 0 2px var(--line2);
}
.fd-shutter:disabled {
  opacity: 0.4;
}
.fd-explain {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 12px 4px;
}
.fd-explain p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

/* reports */
.fd-list {
  display: grid;
  gap: 12px;
}
.fd-rhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.fd-rhead b {
  font-size: 16px;
}
.fd-facts {
  display: grid;
  gap: 6px;
  margin: 0;
}
.fd-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.fd-facts dt {
  color: var(--ink2);
}
.fd-facts dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}
.fd-plist {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.fd-plist li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.fd-ask {
  display: grid;
  gap: 10px;
}
.fd-q {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.fd-edit,
.fd-form {
  display: grid;
  gap: 12px;
}
.fd-form {
  padding: 4px 16px 24px;
}
.fd-form h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.01em;
}

/* import */
.fd-files {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fd-files li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.fd-files li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fd-lines {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.4;
}
.fd-piles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.fd-pile {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 12px;
  background: var(--bg);
}
.fd-pile b {
  font-size: 20px;
}
.fd-pile span {
  color: var(--ink2);
  font-size: 12px;
}
.fd-low {
  display: grid;
  gap: 2px;
  font-size: 14px;
}
