.inline-proof {
  --proof-accent: #f1c86f;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.66fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(14px, 2vw, 28px);
  background: #202c29;
  color: #faf9f3;
}
.inline-proof .proof-photo { position: relative; min-width: 0; }
.inline-proof .proof-photo img { display: block; width: 100%; height: auto; max-height: none; margin: 0; }
.proof-pin {
  position: absolute; z-index: 3; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: clamp(25px, 2.4vw, 35px); height: clamp(25px, 2.4vw, 35px);
  min-height: 0; padding: 0; border: 2px solid white; border-radius: 50%;
  background: #dae2dd; color: #18211d; cursor: pointer;
  font: 700 14px/1 system-ui, sans-serif; box-shadow: 0 0 0 1px #1c2928;
}
.proof-pin[aria-pressed="true"] { background: var(--proof-accent); box-shadow: 0 0 0 2px #26312d; }
.proof-pin:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.inline-proof .proof-notes { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.inline-proof .proof-note { margin: 0; padding: 12px 15px; min-width: 0; overflow-wrap: anywhere; border: 1px solid #62716a; border-radius: 4px; }
.proof-note[data-selected="true"] { border-color: var(--proof-accent); background: #2e3a34; }
.inline-proof .proof-note strong { display: block; font: 680 .94rem/1.35 system-ui,sans-serif; color: #f5eed9; }
.inline-proof .proof-note-select { appearance: none; min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.proof-note:has(.proof-note-select) { cursor: pointer; }
.proof-note:has(.proof-note-select:focus-visible) { outline: 3px solid white; outline-offset: 2px; }
.inline-proof .proof-note-select:focus-visible { outline: 0; }
@media (hover: hover) {
  .inline-proof .proof-note:has(.proof-note-select):hover { border-color: var(--proof-accent); }
}
.inline-proof .proof-note p { margin: .42em 0 0; color: #f5f6ef; font: 400 1rem/1.45 system-ui,sans-serif; white-space: pre-line; }
.proof-connector { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.proof-connector path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.proof-connector .line-edge { stroke: #202b27; stroke-width: 4; }
.proof-connector .line-ink { stroke: var(--proof-accent); stroke-width: 2; }
.proof-connector circle { fill: var(--proof-accent); }
.proof-connector:not([data-drawn]) { visibility: hidden; }
.sample-visual { padding-block: 16px; border-block: 1px solid #c9c4b9; }
.sample-visual .sample-file { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; }
.sample-visual .sample-file p { margin: 0; }
.proof-sheet, .proof-sheet pre { min-width: 0; }
.proof-sheet pre { max-height: none; overflow: visible; white-space: pre-wrap; overflow-wrap: anywhere; }
#note-body, .voice-lab textarea { max-height: none; field-sizing: content; }
@media(max-width: 740px) {
  .inline-proof { grid-template-columns: minmax(0,1fr); padding: 12px 20px 12px 12px; gap: 16px; }
  .inline-proof .proof-note { padding: 10px 12px; }
  .fieldbook .field-tabs { flex-wrap: wrap; gap: 0 15px; overflow: visible; }
}

/* A consistent reading rhythm for introductions, instructions and longer examples. */
.pagehead, .field-guide-head, .download-preview>header { padding-block: clamp(24px, 3vw, 44px) clamp(18px, 2vw, 30px); }
.pagehead h1, .field-guide-head h1, .download-preview h1, .annual-head h1, .bug-intro h1 { line-height: 1.08; letter-spacing: -.037em; }
.field-guide-head h1, .download-preview h1 { margin-block: .23em .18em; }
.field-guide-head p, .pagehead .lead, .bug-intro p { max-width: 65ch; line-height: 1.55; }
.vf-sample, .field-steps, .field-verification, .inside-agency, .voice-lab { padding-block: clamp(20px, 2.5vw, 34px); }
.vf-sample>p { margin: 7px 0 16px; }
.field-steps ol { margin: 17px 0 0; gap: clamp(15px, 2vw, 30px); }
.field-steps li { padding: 0 4px; }
.field-steps li>strong { display: block; margin-bottom: 6px; line-height: 1.35; }
.field-steps li p, .field-verification p { line-height: 1.55; max-width: 66ch; }
.field-verification h2+p, .voice-lab h2+p { margin-top: 10px; }
.fieldbook .field-title { line-height: 1.36; margin: 9px 0 6px; }
.fieldbook .field-cover strong { line-height: 1.21; }
.annual-plan h2 { font-size: clamp(2.1rem,4.15vw,3.7rem); line-height: 1.06; letter-spacing: -.04em; }
.price-grid th, .price-grid td { overflow-wrap: anywhere; }
#note-body, .voice-lab textarea { font-size: 1rem; line-height: 1.5; box-sizing: border-box; }
#handoff-text { line-height: 1.55; font-size: .94rem; }
:where(button,select,input,textarea,a,summary):focus-visible { outline: 3px solid #806299; outline-offset: 3px; }
@media(max-width: 740px) {
  .field-steps ol { gap: 16px; }
  .fieldbook .field-tabs a { font-size: .92rem; min-height: 40px; }
  .download-preview>footer { gap: 6px 16px; }
}

.file-tools .upload { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.file-tools .upload .file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; clip-path: none; cursor: pointer; }
.file-tools .upload:focus-within { outline: 3px solid #806299; outline-offset: 3px; }
#read-note, #image-name, .voice-lab blockquote { overflow-wrap: anywhere; }
.edit-grid > *, .proof-sheet .proof-note > * { min-width: 0; max-width: 100%; }
#note-body { width: 100%; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
