/* PDF accessibility error pages (/pdf-accessibility-errors/*), built by tools/build_problem_pages.py.
   Layout (owner 2026-11-18): text 2/3 left, the upload card 1/3 right (light blue, sticky when the whole card fits);
   one column on small screens: title, upload card, then the text. Bump CSS_V in the build script after a change. */
.crumbs { font-size: .9rem; margin: 18px 0 0; }
.pp-layout { display: grid; grid-template-columns: 1fr; grid-template-areas: "head" "side" "main"; }
.pp-head { grid-area: head; }
.pp-side { grid-area: side; }
.pp-main { grid-area: main; min-width: 0; }
@media (min-width: 900px) {
  .pp-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-areas: "head side" "main side"; column-gap: 28px; }
  .pp-side { align-self: start; padding-top: 18px; }
  .pp-side .check-form { margin-top: 0; padding: 20px; }
  .pp-side .dropzone { padding-left: 12px; padding-right: 12px; }
  .pp-main .guide { max-width: none; }
}
/* sticky only when the whole card fits on the screen: a script in the page adds .no-stick otherwise
   (the German card is taller than the English one, so a fixed screen-height rule isn't enough) */
@media (min-width: 900px) { .pp-side { position: sticky; top: 16px; } .pp-side.no-stick { position: static; } }

/* the upload card: light blue so it stands out from the grey page */
.pp-side .check-form { background: #dde8fb; border-color: #a9c1ec; }
.pp-side .dropzone { background: #fff; border-color: #9fb6e0; }
.pp-side .dropzone.uppy-is-drag-over, .pp-side .dropzone.drag-over { background: #fff; border-color: var(--brand); }
.fix-offer-title { margin: 0 0 10px; font-size: 1.3rem; }
.fix-steps { margin: 0 0 16px; padding-left: 22px; }
.fix-steps li { margin-bottom: .35em; }

/* "Where you saw this error" */
.seen-box { border: 1px solid var(--border, #d9dee7); border-radius: var(--radius, 8px); padding: 14px 18px; margin: 16px 0; background: #fff; }
.seen-box h2 { font-size: 1rem; margin: 0 0 8px; }
.seen-box dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 2px; }
.seen-box dt { font-weight: 600; }
.seen-box dd { margin: 0 0 8px; }

/* list of all error pages at the bottom */
.pp-others { columns: 2; column-gap: 28px; }
.pp-others li { break-inside: avoid; }
.pp-others li[aria-current] { font-weight: 600; }
@media (max-width: 600px) { .pp-others { columns: 1; } }

/* the upload box comes before the three steps, so its button is on the first screen (2026-12-01) */
.pp-head, .pp-side { min-width: 0; }
.pp-side .check-form { display: flex; flex-direction: column; }
.pp-side .fix-steps { order: 1; margin-top: 16px !important; }
.pp-side .privacy-note { order: 2; }
@media (max-width: 899px) {
  .pp-side .check-form { margin-top: 0; }
  .pp-head .hero { padding: 12px 0 0; }
}
