/* events-near-me.org Free Tools: the paper form. One design for every form, on screen, in print, in the PDF
   and in the code people copy into their own site. Ready to use as it is: a centered title, black text, plain
   writing lines, no logo box or footer (Cara, 2026-11-11). Prints well in black and white. Scoped to .paper. */
.paper {
  --p-ink: #000; --p-line: #a9b1bd; --p-rule: #5f6673; --p-accent: #1d6aad; --p-tint: #eef4fb;
  box-sizing: border-box; display: flex; flex-direction: column; width: 100%; max-width: 8.5in; margin: 0 auto;
  padding: .5in; background: #fff; color: var(--p-ink);
  font: 400 11pt/1.35 "Figtree", "Helvetica Neue", Arial, sans-serif; -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.paper *, .paper *::before, .paper *::after { box-sizing: border-box; }
.paper input { font: inherit; color: var(--p-ink); background: transparent; border: 0; border-radius: 0; margin: 0; width: 100%; outline: none; }
.paper input:focus { background: var(--p-tint); }

/* The title: centered, in capitals. */
.paper .f-title { margin: 0 0 4px; text-align: center; font-size: 22pt; line-height: 1.1; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

/* Section headings: small, spaced capitals in the accent, with a line running to the edge. */
.paper .f-sec { margin-top: 16px; }
.paper .f-sec > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 9px; font-size: 8.5pt; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--p-accent); }
.paper .f-sec > h2::after { content: ""; flex: 1; height: 1.5px; background: var(--p-line); }

/* Fields: the label sits above a writing line. Six columns, so fields share a row. */
.paper .f-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 18px; row-gap: 10px; }
.paper .f-field { display: flex; flex-direction: column; gap: 3px; }
.paper .f-field > span { font-size: 9.5pt; font-weight: 500; }
.paper .f-field input { height: 21px; border-bottom: 1.5px solid var(--p-rule); padding: 0 2px; }
.paper .s1 { grid-column: span 1; } .paper .s2 { grid-column: span 2; } .paper .s3 { grid-column: span 3; }
.paper .s4 { grid-column: span 4; } .paper .s5 { grid-column: span 5; } .paper .s6 { grid-column: span 6; }

/* Tables: a light blue header and rows tall enough to write in by hand. */
.paper .f-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.paper .f-table th { padding: 6px 7px; background: var(--p-tint); border: 1.5px solid var(--p-line); text-align: left;
  font-size: 8.5pt; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.paper .f-table td { height: .31in; padding: 0; border: 1.5px solid var(--p-line); }
.paper .f-table td input { height: 100%; padding: 0 7px; }
.paper .f-table .num, .paper .f-table .num input { text-align: center; }
.paper .f-table tfoot td { border: 0; }
.paper .f-table tfoot .f-total-label { padding-right: 10px; text-align: right; font-size: 8.5pt; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.paper .f-table tfoot .f-total { border: 2px solid var(--p-ink); font-weight: 700; }

/* Several writing lines for a longer answer. */
.paper .f-lines input + input { margin-top: 6px; }

/* Checkboxes: plain squares with the choice beside them. */
.paper .f-choices { margin: 0; padding: 0; border: 0; min-width: 0; }
.paper .f-choices legend { padding: 0; margin-bottom: 5px; font-size: 9.5pt; font-weight: 500; }
.paper .f-opts { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.paper .f-opts label { display: inline-flex; align-items: center; gap: 7px; font-size: 10pt; }
.paper input[type=checkbox] { -webkit-appearance: none; appearance: none; flex: none; width: 13px; height: 13px; margin: 0;
  border: 1.5px solid var(--p-ink); border-radius: 2px; background: #fff; display: inline-grid; place-content: center; cursor: pointer; }
.paper input[type=checkbox]:checked::after { content: ""; width: 7px; height: 4px; margin-top: -2px; border: solid var(--p-ink);
  border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.paper .f-table td input[type=checkbox] { display: grid; width: 13px; height: 13px; margin: 0 auto; padding: 0; }

/* Printed cells (task lists, rating criteria, row numbers) and group rows inside a table. */
.paper .f-table td.pre { padding: 0 7px; font-size: 10pt; }
.paper .f-table tr.grp td { height: auto; padding: 5px 7px; background: #f6f8fb; font-size: 8.5pt; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.paper .f-text { margin: 0 0 8px; font-size: 10pt; }
.paper .f-text + .f-grid, .paper .f-note + .f-sigs { margin-top: 0; }

/* Dense forms: a little less space between rows, same type size. */
.paper.compact .f-sec { margin-top: 12px; }
.paper.compact .f-grid { row-gap: 7px; }
.paper.compact .f-field input { height: 19px; }
.paper.compact .f-table td { height: .27in; }
.paper.compact .f-sig input { height: 26px; }

/* Sign-off: a short statement, then signature lines with their labels underneath. */
.paper .f-note { margin: 0 0 4px; font-size: 10.5pt; }
.paper .f-sigs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 18px; row-gap: 6px; }
.paper .f-sig { display: flex; flex-direction: column; justify-content: flex-end; }
.paper .f-sig input { height: 30px; border-bottom: 1.5px solid var(--p-ink); padding: 0 2px; }
.paper .f-sig span { margin-top: 4px; font-size: 9.5pt; font-weight: 500; }

/* A whole Letter page: the PDF, the preview picture and printing from the web page. The form sits centered
   on the page, with at least .75in above and below, so a screenshot of it has room around it (Cara, 2026-11-11). */
.paper.sheet { width: 8.5in; height: 11in; max-width: none; justify-content: center; padding-block: .75in; }
@page { size: Letter; margin: 0; }
@media print { .paper { width: 8.5in; height: 11in; max-width: none; justify-content: center; padding-block: .75in; box-shadow: none !important; border-radius: 0 !important; }
  .paper input:focus { background: transparent; } }
