/* Shared stylesheet for every public form. Scoped to .ptwf. */
.ptwf {
  --ptwf-ink: #2b3033;
  --ptwf-ink-soft: #5a5f62;
  --ptwf-accent: #0a7c9b;
  --ptwf-accent-dark: #08657f;
  --ptwf-brand: #11bfed;
  --ptwf-line: #d8dcde;
  --ptwf-line-soft: #eceef0;
  --ptwf-bg: #f3f6f7;
  --ptwf-panel: #ffffff;
  --ptwf-danger: #b3261e;
  --ptwf-ok: #1c7a4a;
  --ptwf-radius: 10px;
  --ptwf-font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;

  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--ptwf-ink);
  font-family: var(--ptwf-font);
  font-size: 16px;
  line-height: 1.45;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.ptwf *,
.ptwf *::before,
.ptwf *::after { box-sizing: border-box; }

.ptwf h1, .ptwf h2, .ptwf h3, .ptwf h4,
.ptwf p, .ptwf ul, .ptwf ol, .ptwf li,
.ptwf fieldset, .ptwf legend, .ptwf figure, .ptwf table {
  margin: 0;
  padding: 0;
  border: 0;
}

.ptwf ul, .ptwf ol { list-style: none; }

/* Buttons are display:inline-flex, which otherwise beats the browser's own
   rule for the hidden attribute. */
.ptwf [hidden] { display: none !important; }

.ptwf .ptwf-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 0 40px;
  background: var(--ptwf-bg);
  border-radius: var(--ptwf-radius);
  overflow: hidden;
}

/* ---------- header ---------- */

.ptwf .ptwf-head {
  padding: 28px 26px 22px;
  background: linear-gradient(135deg, #2b3033 0%, #3d4448 100%);
  color: #fff;
}

.ptwf .ptwf-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 74%;
  margin-bottom: 16px;
}

/* Two logos are rendered: the reversed one for the dark header on screen, the
   full-colour one for the white header on paper. */
.ptwf .ptwf-logo.ptwf-logo-print { display: none; }

.ptwf .ptwf-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ptwf-brand);
  margin-bottom: 8px;
}

.ptwf .ptwf-title {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

.ptwf .ptwf-sub {
  margin-top: 10px;
  font-size: 15px;
  color: #cfd4d6;
  max-width: 62ch;
}

.ptwf .ptwf-savebar {
  margin-top: 16px;
  font-size: 13px;
  color: #a9afb2;
}

.ptwf .ptwf-savebar strong { color: #fff; font-weight: 600; }

/* ---------- tabs ---------- */

.ptwf .ptwf-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 26px 0;
  background: var(--ptwf-panel);
  border-bottom: 1px solid var(--ptwf-line);
}

.ptwf .ptwf-tab {
  appearance: none;
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  color: var(--ptwf-ink-soft);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  padding: 10px 14px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.ptwf .ptwf-tab:hover { background: var(--ptwf-line-soft); color: var(--ptwf-ink); }

.ptwf .ptwf-tab[aria-selected="true"] {
  background: var(--ptwf-bg);
  border-color: var(--ptwf-line);
  color: var(--ptwf-accent);
  margin-bottom: -1px;
}

.ptwf .ptwf-progress {
  height: 4px;
  background: var(--ptwf-line-soft);
}

.ptwf .ptwf-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ptwf-brand);
  transition: width 0.25s ease;
}

/* ---------- sections ---------- */

.ptwf .ptwf-section { display: none; padding: 26px; }
.ptwf .ptwf-section.is-active { display: block; }

.ptwf .ptwf-panel {
  background: var(--ptwf-panel);
  border: 1px solid var(--ptwf-line);
  border-radius: var(--ptwf-radius);
  padding: 22px;
  margin-bottom: 18px;
}

.ptwf .ptwf-panel:last-child { margin-bottom: 0; }

.ptwf .ptwf-h2 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ptwf-ink);
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--ptwf-brand);
}

.ptwf .ptwf-h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ptwf-ink);
  margin-bottom: 12px;
}

.ptwf .ptwf-lede {
  font-size: 14.5px;
  color: var(--ptwf-ink-soft);
  margin-bottom: 18px;
  max-width: 78ch;
}

/* ---------- fields ---------- */

.ptwf .ptwf-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.ptwf .ptwf-grid + .ptwf-grid { margin-top: 16px; }

.ptwf .ptwf-field { grid-column: span var(--span, 12); min-width: 0; }

.ptwf .ptwf-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ptwf-ink);
  margin-bottom: 6px;
}

.ptwf .ptwf-req { color: var(--ptwf-danger); margin-left: 2px; }

.ptwf .ptwf-hint {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ptwf-ink-soft);
  margin-top: 4px;
}

.ptwf input[type="text"],
.ptwf input[type="email"],
.ptwf input[type="tel"],
.ptwf input[type="date"],
.ptwf input[type="number"],
.ptwf select,
.ptwf textarea {
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ptwf-ink);
  background: #fff;
  border: 1px solid var(--ptwf-line);
  border-radius: 7px;
  padding: 9px 11px;
  margin: 0;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ptwf textarea { resize: vertical; min-height: 76px; }

.ptwf input:focus,
.ptwf select:focus,
.ptwf textarea:focus {
  outline: none;
  border-color: var(--ptwf-accent);
  box-shadow: 0 0 0 3px rgba(17, 191, 237, 0.28);
}

.ptwf input[readonly] { background: var(--ptwf-line-soft); color: var(--ptwf-ink-soft); }

.ptwf .ptwf-invalid,
.ptwf .ptwf-invalid:focus { border-color: var(--ptwf-danger); box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.13); }

.ptwf .ptwf-money { position: relative; }
.ptwf .ptwf-money::before {
  content: "$";
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--ptwf-ink-soft);
  pointer-events: none;
}
.ptwf .ptwf-money input { padding-left: 24px; }

/* ---------- choice groups ---------- */

.ptwf .ptwf-choices { display: flex; flex-wrap: wrap; gap: 8px; }

.ptwf .ptwf-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ptwf-ink);
  background: #fff;
  border: 1px solid var(--ptwf-line);
  border-radius: 999px;
  padding: 8px 15px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ptwf .ptwf-choice:hover { border-color: var(--ptwf-accent); }

.ptwf .ptwf-choice input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--ptwf-accent);
  flex: none;
}

.ptwf .ptwf-choice.is-checked {
  border-color: var(--ptwf-accent);
  background: rgba(17, 191, 237, 0.10);
  color: var(--ptwf-accent-dark);
  font-weight: 600;
}

.ptwf .ptwf-qrow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--ptwf-line-soft);
}

.ptwf .ptwf-qrow:first-child { border-top: none; padding-top: 0; }

.ptwf .ptwf-qtext { flex: 1 1 380px; min-width: 0; font-size: 14.5px; }

.ptwf .ptwf-qmark {
  display: inline-block;
  min-width: 18px;
  padding-right: 6px;
  font-weight: 700;
  color: var(--ptwf-brand);
}

.ptwf .ptwf-qsub {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: var(--ptwf-ink-soft);
}

.ptwf .ptwf-qanswer { flex: 0 0 auto; }

.ptwf .ptwf-followup {
  display: none;
  margin: 4px 0 14px 22px;
  padding: 14px 16px;
  background: #f2fbfe;
  border-left: 3px solid var(--ptwf-brand);
  border-radius: 0 8px 8px 0;
}

.ptwf .ptwf-followup.is-open { display: block; }

/* ---------- callouts ---------- */

.ptwf .ptwf-callout {
  background: #f2fbfe;
  border: 1px solid #cfeef9;
  border-left: 4px solid var(--ptwf-brand);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.ptwf .ptwf-callout h4 {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0a6a86;
  margin-bottom: 8px;
}

.ptwf .ptwf-callout li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ptwf-ink);
  margin-top: 6px;
}

.ptwf .ptwf-callout li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ptwf-brand);
}

.ptwf .ptwf-note { font-size: 13px; color: var(--ptwf-ink-soft); margin-top: 10px; }

.ptwf .ptwf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.ptwf .ptwf-privacy {
  margin-top: 16px;
  padding: 12px 14px;
  background: #f7f2f2;
  border: 1px solid #e5d2d0;
  border-radius: 8px;
  font-size: 12.5px;
  color: #7a2b25;
}

/* ---------- census table ---------- */

.ptwf .ptwf-tabletop {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.ptwf .ptwf-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ptwf-ink-soft);
  cursor: pointer;
}

.ptwf .ptwf-toggle input { width: 16px; height: 16px; margin: 0; accent-color: var(--ptwf-accent); }

.ptwf .ptwf-scroller {
  overflow-x: auto;
  border: 1px solid var(--ptwf-line);
  border-radius: 8px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.ptwf table.ptwf-census {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.ptwf table.ptwf-census th,
.ptwf table.ptwf-census td {
  border: 1px solid var(--ptwf-line);
  padding: 0;
  vertical-align: middle;
  text-align: left;
}

.ptwf table.ptwf-census thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #eef3f5;
  color: var(--ptwf-ink);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  padding: 8px 6px;
  white-space: nowrap;
}

.ptwf table.ptwf-census thead th span { display: block; font-weight: 500; color: var(--ptwf-ink-soft); }

.ptwf table.ptwf-census td input,
.ptwf table.ptwf-census td select {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 8px 7px;
  font-size: 13.5px;
  min-height: 38px;
}

.ptwf table.ptwf-census td input:focus,
.ptwf table.ptwf-census td select:focus {
  box-shadow: inset 0 0 0 2px var(--ptwf-accent);
  background: #fff;
}

.ptwf table.ptwf-census tbody tr:nth-child(even) td { background: #fbfcfe; }

/* Cells have no border of their own, so an invalid one is marked with an
   inset outline rather than a border colour. */
.ptwf table.ptwf-census td input.ptwf-invalid,
.ptwf table.ptwf-census td select.ptwf-invalid {
  background: #fdf4f3;
  box-shadow: inset 0 0 0 2px var(--ptwf-danger);
}

.ptwf .ptwf-rownum {
  text-align: center;
  font-size: 12.5px;
  color: var(--ptwf-ink-soft);
  background: #eef3f5 !important;
  padding: 0 6px;
  width: 42px;
}

.ptwf .ptwf-rowdrop { width: 38px; text-align: center; background: #eef3f5 !important; }

.ptwf .ptwf-rowdrop button {
  appearance: none;
  border: none;
  background: transparent;
  color: #9aa8b8;
  font-size: 17px;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 6px;
}

.ptwf .ptwf-rowdrop button:hover { color: var(--ptwf-danger); background: #fbeceb; }

.ptwf table.ptwf-census tfoot td {
  background: #eef3f5;
  font-weight: 700;
  padding: 10px 8px;
}

.ptwf .ptwf-totallabel { text-align: right; letter-spacing: 0.18em; font-size: 12px; }
.ptwf .ptwf-totalvalue { text-align: right; font-size: 14.5px; color: var(--ptwf-ink); white-space: nowrap; }

.ptwf .ptwf-col-w-sm { min-width: 78px; }
.ptwf .ptwf-col-w-md { min-width: 130px; }
.ptwf .ptwf-col-w-lg { min-width: 210px; }
.ptwf .ptwf-col-w-xl { min-width: 290px; }

.ptwf .ptwf-col-ssn { display: none; }
.ptwf.ptwf-ssn-on .ptwf-col-ssn { display: table-cell; }

.ptwf .ptwf-addrow {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ptwf .ptwf-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ptwf-line-soft);
  font-size: 12.5px;
  color: var(--ptwf-ink-soft);
}

.ptwf .ptwf-legend h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ptwf-ink);
  margin-bottom: 6px;
}

.ptwf .ptwf-legend li { margin-top: 3px; }

/* ---------- buttons / actions ---------- */

.ptwf .ptwf-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid var(--ptwf-line);
  background: #fff;
  color: var(--ptwf-ink);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ptwf .ptwf-btn:hover { border-color: var(--ptwf-accent); color: var(--ptwf-accent); }

.ptwf .ptwf-btn-primary {
  background: var(--ptwf-accent);
  border-color: var(--ptwf-accent);
  color: #fff;
}

.ptwf .ptwf-btn-primary:hover { background: var(--ptwf-accent-dark); border-color: var(--ptwf-accent-dark); color: #fff; }

.ptwf .ptwf-btn-submit {
  background: var(--ptwf-ok);
  border-color: var(--ptwf-ok);
  color: #fff;
  padding: 13px 30px;
  font-size: 15.5px;
}

.ptwf .ptwf-btn-submit:hover { background: #15613a; border-color: #15613a; color: #fff; }
.ptwf .ptwf-btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.ptwf .ptwf-btn-quiet { border-color: transparent; color: var(--ptwf-ink-soft); }
.ptwf .ptwf-btn-quiet:hover { color: var(--ptwf-danger); border-color: #eccecb; }

.ptwf .ptwf-sectionerror {
  display: none;
  margin-top: 18px;
  padding: 13px 16px;
  background: #fbeceb;
  border: 1px solid #eccecb;
  border-left: 4px solid var(--ptwf-danger);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: #8a201a;
}

.ptwf .ptwf-sectionerror.is-open { display: block; }

.ptwf table.ptwf-census thead th .ptwf-req {
  font-style: normal;
  margin-left: 2px;
}

.ptwf .ptwf-stepnav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.ptwf .ptwf-actions {
  margin: 0 26px;
  padding: 20px 22px;
  background: var(--ptwf-panel);
  border: 1px solid var(--ptwf-line);
  border-radius: var(--ptwf-radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ptwf .ptwf-actions .ptwf-spacer { flex: 1 1 auto; }

.ptwf .ptwf-alert {
  margin: 0 26px 18px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

.ptwf .ptwf-alert.is-open { display: block; }
.ptwf .ptwf-alert-error { background: #fbeceb; border: 1px solid #eccecb; color: #8a201a; }
.ptwf .ptwf-alert-ok { background: #e9f5ee; border: 1px solid #c3e2d1; color: #12603a; }
.ptwf .ptwf-alert-warn { background: #fdf6e6; border: 1px solid #f0dfb4; color: #0a6a86; }

.ptwf .ptwf-foot {
  margin: 18px 26px 0;
  font-size: 12px;
  color: var(--ptwf-ink-soft);
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .ptwf .ptwf-field { grid-column: span 12; }
  .ptwf .ptwf-head { padding: 22px 18px 18px; }
  .ptwf .ptwf-title { font-size: 23px; }
  .ptwf .ptwf-logo { height: 32px; max-width: 86%; }
  .ptwf .ptwf-tabs { padding: 12px 14px 0; }
  .ptwf .ptwf-section { padding: 18px 14px; }
  .ptwf .ptwf-panel { padding: 18px 15px; }
  .ptwf .ptwf-actions { margin: 0 14px; padding: 16px; }
  .ptwf .ptwf-alert { margin: 0 14px 14px; }
  .ptwf .ptwf-foot { margin: 16px 14px 0; }
  .ptwf .ptwf-qanswer { flex: 1 1 100%; }
}

/* Below this width the census grid becomes one card per employee. */
@media (max-width: 780px) {
  .ptwf .ptwf-scroller { border: none; background: transparent; overflow: visible; }
  .ptwf table.ptwf-census,
  .ptwf table.ptwf-census tbody,
  .ptwf table.ptwf-census tfoot,
  .ptwf table.ptwf-census tr,
  .ptwf table.ptwf-census td { display: block; width: 100%; }
  .ptwf table.ptwf-census thead { display: none; }

  .ptwf table.ptwf-census tbody tr {
    position: relative;
    border: 1px solid var(--ptwf-line);
    border-radius: 8px;
    background: #fff;
    padding: 40px 12px 12px;
    margin-bottom: 14px;
  }

  .ptwf table.ptwf-census tbody tr:nth-child(even) td { background: transparent; }

  .ptwf table.ptwf-census td {
    border: none;
    border-bottom: 1px solid var(--ptwf-line-soft);
    padding: 8px 0;
  }

  .ptwf table.ptwf-census td:last-child { border-bottom: none; }

  .ptwf table.ptwf-census td::before {
    content: attr(data-label);
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ptwf-ink-soft);
    margin-bottom: 3px;
  }

  .ptwf table.ptwf-census td input,
  .ptwf table.ptwf-census td select {
    border: 1px solid var(--ptwf-line);
    border-radius: 6px;
    padding: 9px 10px;
    font-size: 15px;
  }

  /* These two cells become badges pinned to the top of each card, so they need
     to outrank the generic `td` rules above. */
  .ptwf table.ptwf-census td.ptwf-rownum {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    padding: 7px 14px;
    background: #eef2f7 !important;
    border: none;
    border-radius: 8px 0 8px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--ptwf-ink);
  }

  .ptwf table.ptwf-census td.ptwf-rownum::before {
    content: "Employee ";
    display: inline;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: normal;
    text-transform: none;
    color: inherit;
  }

  .ptwf table.ptwf-census td.ptwf-rowdrop {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    padding: 0;
    border: none;
    background: transparent !important;
  }

  .ptwf table.ptwf-census td.ptwf-rowdrop::before { display: none; }
  .ptwf .ptwf-col-ssn { display: none; }
  .ptwf.ptwf-ssn-on .ptwf-col-ssn { display: block; }

  .ptwf table.ptwf-census tfoot td { border-radius: 8px; }
  .ptwf table.ptwf-census tfoot td.ptwf-tfoot-blank { display: none; }
  .ptwf .ptwf-totallabel { text-align: left; }
  .ptwf .ptwf-totalvalue { text-align: left; }
  .ptwf .ptwf-totallabel::before,
  .ptwf .ptwf-totalvalue::before { display: none; }
}

/* ---------- print ---------- */

@media print {
  .ptwf { background: #fff; font-size: 11px; }
  .ptwf .ptwf-shell { max-width: none; background: #fff; }
  .ptwf .ptwf-head { background: #fff !important; color: #000; padding: 0 0 12px; border-bottom: 2px solid #000; }
  .ptwf .ptwf-title { color: #000; font-size: 19px; }
  .ptwf .ptwf-kicker { color: #000; }
  .ptwf .ptwf-logo { display: none; }
  .ptwf .ptwf-logo.ptwf-logo-print { display: block; height: 34px; width: auto; margin-bottom: 10px; }
  .ptwf .ptwf-sub { color: #000; }
  .ptwf .ptwf-savebar,
  .ptwf .ptwf-tabs,
  .ptwf .ptwf-progress,
  .ptwf .ptwf-stepnav,
  .ptwf .ptwf-actions,
  .ptwf .ptwf-alert,
  .ptwf .ptwf-addrow,
  .ptwf .ptwf-rowdrop,
  .ptwf .ptwf-sectionerror,
  .ptwf .ptwf-toggle { display: none !important; }

  .ptwf .ptwf-section { display: block !important; padding: 14px 0; page-break-after: always; }
  .ptwf .ptwf-section:last-of-type { page-break-after: auto; }
  .ptwf .ptwf-panel { border: none; padding: 0; margin-bottom: 14px; }
  .ptwf .ptwf-scroller { overflow: visible; border: none; }
  .ptwf .ptwf-followup { display: block; }
  .ptwf.ptwf-ssn-on .ptwf-col-ssn { display: table-cell; }

  .ptwf input, .ptwf select, .ptwf textarea {
    border: none;
    border-bottom: 1px solid #000;
    border-radius: 0;
    padding: 2px 3px;
    font-size: 11px;
    color: #000;
    background: transparent;
  }

  /* The grid scrolls sideways on screen; on paper it has to fit the sheet. */
  .ptwf table.ptwf-census { font-size: 9px; width: 100%; table-layout: fixed; }
  .ptwf .ptwf-col-w-sm { min-width: 0; width: 6%; }
  .ptwf .ptwf-col-w-md { min-width: 0; width: 9%; }
  .ptwf .ptwf-col-w-lg { min-width: 0; width: 12%; }
  .ptwf .ptwf-col-w-xl { min-width: 0; width: 14%; }
  .ptwf .ptwf-rownum { width: 3%; }
  .ptwf table.ptwf-census thead th {
    white-space: normal;
    overflow-wrap: break-word;
    padding: 4px 3px;
  }
  .ptwf table.ptwf-census td input,
  .ptwf table.ptwf-census td select { width: 100%; min-width: 0; min-height: 0; padding: 3px 2px; }
  .ptwf table.ptwf-census input::-webkit-calendar-picker-indicator { display: none; }

  .ptwf table.ptwf-census th,
  .ptwf table.ptwf-census td { border: 1px solid #000; }
  .ptwf table.ptwf-census thead th { background: #e5e5e5 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ptwf table.ptwf-census td input,
  .ptwf table.ptwf-census td select { border: none; }
}

/* ---------- thank-you panel shown after a successful submit ---------- */

.ptwf .ptwf-done {
  padding: 60px 30px;
  text-align: center;
  background: var(--ptwf-panel);
}

.ptwf .ptwf-done-mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e9f5ee;
  color: var(--ptwf-ok);
  font-size: 32px;
  line-height: 62px;
}

.ptwf .ptwf-done h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ptwf-ink);
  margin-bottom: 10px;
}

.ptwf .ptwf-done p {
  font-size: 15.5px;
  color: var(--ptwf-ink-soft);
  max-width: 46ch;
  margin: 0 auto;
}

/* ---------- secure upload link inside a callout ---------- */

.ptwf .ptwf-upload {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.ptwf .ptwf-upload .ptwf-hint { margin-top: 0; flex: 1 1 240px; }
