/* Public forms that applicants fill in. Most are opened on phones. */
:root { --brand: #d71920; }
body.fh-public { margin: 0; background: #eef0f3; color: #1f2933; font-size: 15px; }
/* Embedded: the last line sits at the bottom of the frame, even when the website gives the frame a fixed height. */
body.fh-public.is-embedded { background: transparent; min-height: 100vh; display: flex; flex-direction: column; }
.fh-page { max-width: 860px; margin: 32px auto 12px; background: #fff; padding: 32px 28px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.is-embedded .fh-page { width: 100%; margin: 0 auto; border-radius: 0; box-shadow: none; }
.fh-logo { text-align: center; margin-bottom: 16px; }
.fh-logo img { max-height: 90px; max-width: 100%; }
.fh-form-title { background: var(--brand); color: #fff; text-align: center; font-weight: 700; font-size: 20px; padding: 14px; letter-spacing: .4px; margin-bottom: 20px; }
/* Company letterhead. A strip cut from a letterhead page is a full page wide, margins included, so it
   runs to the edges of the card; any other picture sits centred at its own size. */
.fh-letterhead img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.fh-lh-head { margin-bottom: 20px; }
.fh-lh-foot { margin-top: 28px; }
.fh-letterhead.is-page img { width: 100%; }
.fh-lh-head.is-page { margin: -32px -28px 20px; padding-top: 10px; }
.fh-lh-foot.is-page { margin: 28px -28px -32px; padding-bottom: 10px; }
.fh-note, .fh-done { text-align: center; color: #52606d; padding: 48px 12px; }
.fh-done { color: #1f2933; font-size: 17px; }
.fh-foot { max-width: 860px; margin: 0 auto 32px; padding: 0 4px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; font-size: 11px; color: #6b7280; }
.fh-foot a { color: inherit; }
/* Embedded: "Form by Formhub" is on the website, laid over the left of this last line (see the embed codes). */
.is-embedded .fh-foot { max-width: none; margin: 0; padding: 0 2px; height: 18px; line-height: 18px; justify-content: flex-end; width: 100%; margin-top: auto; }
.fh-demo { display: inline-block; padding: 1px 8px; border-radius: 99px; background: #eef4ff; color: #1e3a8a; font-weight: 600; margin-right: 4px; }
.fh-section-bar { background: color-mix(in srgb, var(--brand) 8%, #fff); color: color-mix(in srgb, var(--brand) 80%, #111827); border-left: 4px solid var(--brand); font-weight: 600; font-size: 15px; line-height: 1.4; text-transform: uppercase; letter-spacing: .3px; padding: 8px 12px; margin: 18px 0 10px; }

/* Corners chosen for the form (Square / Rounded / Pill), on the form name bar, section bars and buttons.
   A section bar or coloured box can have its own (More options > Corners): fh-c-square / -rounded / -pill. */
.fh-corners-rounded .fh-form-title { border-radius: 10px; }
.fh-corners-rounded .fh-section-bar { border-radius: 0 8px 8px 0; }
.fh-corners-rounded .formio-component-button .btn { border-radius: 8px; }
.fh-corners-pill .fh-form-title { border-radius: 999px; padding-left: 20px; padding-right: 20px; }
.fh-corners-pill .fh-section-bar { border-radius: 0 999px 999px 0; padding-right: 20px; }
.fh-corners-pill .formio-component-button .btn { border-radius: 999px; padding-left: 1.4em; padding-right: 1.4em; }
.fh-c-square { border-radius: 0 !important; }
.fh-c-rounded { border-radius: 10px !important; }
.fh-c-pill { border-radius: 999px !important; padding-left: 20px !important; padding-right: 20px !important; }
/* A section bar keeps its square left edge, where its stripe is. */
.fh-section-bar.fh-c-rounded { border-radius: 0 10px 10px 0 !important; }
.fh-section-bar.fh-c-pill { border-radius: 0 999px 999px 0 !important; padding-left: 12px !important; }

/* Brand colour on Form.io controls */
.fh-public .btn-primary { background: var(--brand); border-color: var(--brand); }
.fh-public .btn-primary:hover, .fh-public .btn-primary:focus { filter: brightness(.92); background: var(--brand); border-color: var(--brand); }
.fh-public .form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.fh-public .card-header.bg-default, .fh-public .panel-heading { background: #f5f6f8; }
.fh-public .formio-component-signature .signature-pad-body { border: 1px solid #ced4da; border-radius: 6px; }
/* Required: a clear red * (the brand colour can be pale), a line above the form saying what it means, and a
   note under a required signature until it is signed (Kasey, 2026-12-01). */
.fh-public .field-required::after { color: #c62828; font-weight: 700; }
.fh-public .fh-required-note { font-size: 13px; color: #555; margin: 0 0 12px; }
.fh-public .fh-required-note span { color: #c62828; font-weight: 700; }
.fh-public .fh-sign-required { font-size: 13px; color: #c62828; margin-top: 2px; text-align: center; }

@media (max-width: 600px) {
  .fh-page { margin: 0; border-radius: 0; padding: 20px 14px; box-shadow: none; }
  .fh-foot { padding: 10px 14px 0; }
  .fh-form-title { font-size: 17px; margin: -20px -14px 16px; }
  .fh-lh-head + .fh-form-title { margin-top: 0; }
  /* A rounded name bar sits inside the card's edges rather than running off them. */
  .fh-corners-rounded .fh-form-title, .fh-corners-pill .fh-form-title { margin: 0 0 16px; }
  .fh-lh-head.is-page { margin: -20px -14px 14px; padding-top: 6px; }
  .fh-lh-foot.is-page { margin: 20px -14px -20px; padding-bottom: 6px; }
  /* 16px stops iPhones zooming in on every field. */
  .fh-public input, .fh-public select, .fh-public textarea, .fh-public .choices__input { font-size: 16px !important; }
  .fh-public .btn { min-height: 44px; }
  .fh-public .formio-component-columns > [class*="col-"] { width: 100%; flex: 0 0 100%; max-width: 100%; }
}

/* Day / Month / Year boxes share the row evenly, however narrow the column. */
.fh-public .formio-component-day .row > .col { min-width: 0; }
.fh-public .formio-component-day select, .fh-public .formio-component-day input { min-width: 0; width: 100%; }

/* Grouped fields (e.g. an imported Address) are titled like any other field label, not as a big heading. */
.fh-public .formio-component-fieldset legend { font-size: 1rem; font-weight: 400; margin-bottom: .5rem; padding: 0; border: 0; }
.fh-public .formio-component-fieldset > fieldset { border: 0; padding: 0; margin: 0; }

/* Sending problems show just under the form, next to the Submit button. */
.fh-error { margin: 12px 0 0; padding: 10px 14px; border-radius: 6px; background: #fde8e8; color: #9b1c1c; }
.fh-human { margin: 4px 0 12px; grid-column: 1 / -1; }

/* Button position chosen in the builder (Position: Left / Centre / Right). */
.formio-component-button.fh-align-center { text-align: center; }
.formio-component-button.fh-align-right { text-align: right; }
.formio-component-button.fh-align-full .btn, .formio-component-button .btn-block { display: block; width: 100%; }

/* Field widths chosen in the builder (Full, 3/4, 2/3, 1/2, 1/3, 1/4): each container is a grid of 12 parts and
   fields sit side by side while they fit; fh-break starts a new line. Phones show one field per line. */
.fh-public .formio-form, .fh-public .wizard-page, .fh-public [ref^="nested-"] { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1rem; align-content: start; }
.fh-public .formio-form > *, .fh-public .wizard-page > *, .fh-public [ref^="nested-"] > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 641px) {
  .fh-public .formio-form > .fh-w-three-quarters, .fh-public .wizard-page > .fh-w-three-quarters, .fh-public [ref^="nested-"] > .fh-w-three-quarters { grid-column: auto / span 9; --fh-span: 9; }
  .fh-public .formio-form > .fh-w-two-thirds, .fh-public .wizard-page > .fh-w-two-thirds, .fh-public [ref^="nested-"] > .fh-w-two-thirds { grid-column: auto / span 8; --fh-span: 8; }
  .fh-public .formio-form > .fh-w-half, .fh-public .wizard-page > .fh-w-half, .fh-public [ref^="nested-"] > .fh-w-half { grid-column: auto / span 6; --fh-span: 6; }
  .fh-public .formio-form > .fh-w-third, .fh-public .wizard-page > .fh-w-third, .fh-public [ref^="nested-"] > .fh-w-third { grid-column: auto / span 4; --fh-span: 4; }
  .fh-public .formio-form > .fh-w-quarter, .fh-public .wizard-page > .fh-w-quarter, .fh-public [ref^="nested-"] > .fh-w-quarter { grid-column: auto / span 3; --fh-span: 3; }
  .fh-public .formio-form > .fh-break, .fh-public .wizard-page > .fh-break, .fh-public [ref^="nested-"] > .fh-break { grid-column-start: 1; }
  /* Position Centre / Right: the field keeps its width on a line of its own. */
  .fh-public .formio-form > [class*="fh-w-"].fh-align-center, .fh-public .wizard-page > [class*="fh-w-"].fh-align-center, .fh-public [ref^="nested-"] > [class*="fh-w-"].fh-align-center,
  .fh-public .formio-form > [class*="fh-w-"].fh-align-right, .fh-public .wizard-page > [class*="fh-w-"].fh-align-right, .fh-public [ref^="nested-"] > [class*="fh-w-"].fh-align-right { grid-column: 1 / -1; width: calc((100% - 11rem) / 12 * var(--fh-span) + (var(--fh-span) - 1) * 1rem); }
  .fh-public .formio-form > [class*="fh-w-"].fh-align-center, .fh-public .wizard-page > [class*="fh-w-"].fh-align-center, .fh-public [ref^="nested-"] > [class*="fh-w-"].fh-align-center { justify-self: center; }
  .fh-public .formio-form > [class*="fh-w-"].fh-align-right, .fh-public .wizard-page > [class*="fh-w-"].fh-align-right, .fh-public [ref^="nested-"] > [class*="fh-w-"].fh-align-right { justify-self: end; }
}
/* Labels line up across a line: Form.io sets choice labels inline, so their top spacing was lost. */
.fh-public .formio-component-radio:has(> label.col-form-label), .fh-public .formio-component-selectboxes:has(> label.col-form-label) { padding-top: 7px; }
/* Divider: a clear line. */
.fh-public .formio-component-htmlelement hr { border: 0; border-top: 1px solid #9ca3af; opacity: 1; height: 0; margin: 12px 0; }
.fh-public .formio-component-htmlelement hr.fh-line-brand { border-top-color: var(--brand); }
/* A text block's last paragraph adds no gap under the text (its box has its own spacing). */
.fh-public .formio-component-htmlelement [ref="html"] > :last-child { margin-bottom: 0; }

/* Address lookup suggestions, under the street box. */
.fh-public .formio-component-textfield { position: relative; }
.fh-addr { position: absolute; left: 0; right: 0; z-index: 20; margin-top: 2px; background: #fff; border: 1px solid #ced4da; border-radius: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); overflow: hidden; }
.fh-addr-item { padding: 10px 12px; cursor: pointer; line-height: 1.3; min-height: 44px; }
.fh-addr-item span { color: #6c757d; }
.fh-addr-item:hover, .fh-addr-item.is-active { background: #eef3ff; }
.fh-addr-credit { padding: 4px 12px 6px; font-size: 11px; color: #6c757d; text-align: right; }

/* Pages: a quiet step line (a thin bar per page, the page name under it) instead of big buttons.
   Pages done and the current one carry the brand colour; nothing shows when there is only one page. */
.fh-public .formio-form nav[aria-label="Wizard navigation"]:has(.page-item:only-child) { display: none; }
.fh-public .formio-form nav[aria-label="Wizard navigation"] .pagination { display: flex; gap: 6px; flex-wrap: nowrap; margin: 2px 0 18px; padding: 0; }
.fh-public .formio-form nav[aria-label="Wizard navigation"] .page-item { flex: 1 1 0; min-width: 0; }
.fh-public .formio-form nav[aria-label="Wizard navigation"] .page-link { display: block; width: 100%; margin: 0; padding: 6px 0 0; border: 0; border-top: 3px solid var(--brand); border-radius: 0; background: none; box-shadow: none; color: #6b7280; font-size: 12.5px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fh-public .formio-form nav[aria-label="Wizard navigation"] .page-link:hover { color: #111827; background: none; }
.fh-public .formio-form nav[aria-label="Wizard navigation"] .page-link[data-page-no]:not([data-page-no=""])::before { content: attr(data-page-no); display: block; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #9ca3af; }
.fh-public .formio-form nav[aria-label="Wizard navigation"] .page-item.active .page-link { color: #111827; font-weight: 600; background: none; border-color: var(--brand); }
.fh-public .formio-form nav[aria-label="Wizard navigation"] .page-item.active ~ .page-item .page-link { border-top-color: #e5e7eb; }
.fh-public .formio-wizard-nav-container { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.fh-public .formio-wizard-nav-container:empty, .fh-public .formio-wizard-nav-container li:empty { display: none; }
.fh-public .btn.btn-wizard-nav-previous { background: #fff; color: #374151; border: 1px solid #d1d5db; }
.fh-public .btn.btn-wizard-nav-previous:hover, .fh-public .btn.btn-wizard-nav-previous:focus { background: #f3f4f6; color: #111827; border-color: #9ca3af; filter: none; }
@media (max-width: 600px) {
  .fh-public .formio-wizard-nav-container { flex-direction: row; flex-wrap: nowrap; }
  .fh-public .formio-wizard-nav-container li { flex: 1 1 0; margin: 0; }
  .fh-public .formio-wizard-nav-container .btn { width: 100%; margin: 0; }
}
/* A multi-page form's Submit takes the position chosen on its Submit button field. */
.fh-public .formio-wizard-nav-container.fh-submit-center { justify-content: center; }
.fh-public .formio-wizard-nav-container.fh-submit-right { justify-content: flex-end; width: 100%; margin-top: auto; }
.fh-public .formio-wizard-nav-container.fh-submit-full li:has(.btn-wizard-nav-submit) { flex: 1 1 auto; }
.fh-public .formio-wizard-nav-container.fh-submit-full .btn-wizard-nav-submit { width: 100%; }

/* Booking field: a day, then its times as buttons. The answer box itself stays hidden. */
.fh-book-value { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.fh-book { display: grid; gap: 10px; }
.fh-book-day { max-width: 320px; }
.fh-book-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.fh-book-time { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; padding: 6px 8px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; color: #111827; font: inherit; cursor: pointer; }
.fh-book-time small { font-size: 12px; color: #6b7280; }
.fh-book-time:hover:not(:disabled) { border-color: var(--brand, #2563eb); }
.fh-book-time.is-picked { background: var(--brand, #2563eb); border-color: var(--brand, #2563eb); color: #fff; }
.fh-book-time.is-picked small { color: rgba(255, 255, 255, .85); }
.fh-book-time:disabled { background: #f3f4f6; color: #9ca3af; cursor: not-allowed; text-decoration: line-through; }
.fh-book-time:disabled small { text-decoration: none; }
.fh-book-wait { margin: 0; color: #6b7280; }

/* Repeat groups (tables of rows, e.g. shifts): a clean table. A light header in the company colour, row numbers,
   no heavy grid lines, a bin to take a row out, and a dashed "Add another" under the table. */
.fh-public .datagrid-table { --fh-grid-line: #e5e7eb; --fh-grid-r: 10px; border: 0 !important; padding: 0 !important; border-collapse: separate; border-spacing: 0; margin-bottom: 0; counter-reset: fh-row; }
.fh-public .datagrid-table > :not(caption) > * > * { border: 0 !important; border-bottom: 1px solid #eef0f3 !important; background: #fff; box-shadow: none; padding: 10px 8px; vertical-align: middle; }
.fh-public .datagrid-table > thead > tr > th {
  background: color-mix(in srgb, var(--brand) 9%, #fff); color: color-mix(in srgb, var(--brand) 70%, #111827);
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap;
  border-top: 1px solid var(--fh-grid-line) !important; border-bottom-color: var(--fh-grid-line) !important;
}
.fh-public .datagrid-table > thead > tr > th:first-child { border-top-left-radius: var(--fh-grid-r); }
.fh-public .datagrid-table > thead > tr > th:last-child { border-top-right-radius: var(--fh-grid-r); }
.fh-public .datagrid-table > thead > tr > *:first-child, .fh-public .datagrid-table > tbody > tr > *:first-child { border-left: 1px solid var(--fh-grid-line) !important; padding-left: 40px; }
.fh-public .datagrid-table > thead > tr > *:last-child, .fh-public .datagrid-table > tbody > tr > *:last-child { border-right: 1px solid var(--fh-grid-line) !important; }
.fh-public .datagrid-table > tbody > tr:last-child > * { border-bottom-color: var(--fh-grid-line) !important; }
.fh-public .datagrid-table > tbody > tr:last-child > *:first-child { border-bottom-left-radius: var(--fh-grid-r); }
.fh-public .datagrid-table > tbody > tr:last-child > *:last-child { border-bottom-right-radius: var(--fh-grid-r); }
/* Row numbers */
.fh-public .datagrid-table > tbody > tr { counter-increment: fh-row; }
.fh-public .datagrid-table > tbody > tr > td:first-child { position: relative; }
.fh-public .datagrid-table > tbody > tr > td:first-child::after { content: counter(fh-row); position: absolute; left: 0; top: 50%; width: 36px; transform: translateY(-50%); text-align: center; color: #6b7280; font-weight: 600; }
.fh-public .datagrid-table > tbody > tr > td > .formio-component { margin-bottom: 0 !important; }
/* The calendar and clock sit inside the box rather than in a grey block beside it. */
.fh-public .datagrid-table .input-group > .form-control:not(:last-child) { border-right: 0; }
.fh-public .datagrid-table .input-group > .input-group-text { background: #fff; color: #6b7280; border-left: 0; }
.fh-public .datagrid-table .input-group:focus-within > .input-group-text { border-color: #86b7fe; }
/* Take a row out: a quiet bin that turns red under the mouse. */
.fh-public .datagrid-table .formio-button-remove-row { background: none; border: 0; color: #9ca3af; padding: 6px 8px; min-height: 0; font-size: 18px; line-height: 1; }
.fh-public .datagrid-table .formio-button-remove-row:hover, .fh-public .datagrid-table .formio-button-remove-row:focus-visible { color: #b91c1c; background: #fef2f2; }
.fh-public .datagrid-table .formio-button-remove-row .bi-x-circle::before { content: "\f78b"; }
/* Add another row: a dashed bar the width of the table. */
.fh-public .datagrid-table > tfoot > tr, .fh-public .datagrid-table > tfoot > tr > td { border: 0 !important; background: none; padding: 12px 0 6px; }
.fh-public .datagrid-table .formio-button-add-row { display: block; width: 100%; padding: 10px; background: none; border: 1.5px dashed color-mix(in srgb, var(--brand) 60%, #fff); color: var(--brand); font-weight: 600; border-radius: var(--fh-grid-r); }
.fh-public .datagrid-table .formio-button-add-row:hover, .fh-public .datagrid-table .formio-button-add-row:focus { background: color-mix(in srgb, var(--brand) 6%, #fff); color: var(--brand); filter: none; border-color: var(--brand); }
/* Square-cornered forms get barely rounded tables. */
.fh-public.fh-corners-square .datagrid-table { --fh-grid-r: 4px; }

/* Hours worked out on each shift, and their total under the table: plain bold numbers, not boxes. */
.fh-public .fh-hours input.form-control, .fh-public .fh-hours-total input.form-control {
  border: 0; background: none; box-shadow: none; padding-left: 0; padding-right: 0; font-weight: 700; color: #111827; opacity: 1; -webkit-text-fill-color: #111827;
}
.fh-public .datagrid-table .fh-hours input.form-control { text-align: right; padding-right: 4px; }
/* Column widths (marked by public-form.js): dates and times keep room for what's typed (19/10/2026, 16:30),
   the hours and the bin stay narrow, and text columns share what's left. */
@media (min-width: 601px) {
  .fh-public .datagrid-table.fh-cols { table-layout: fixed; width: 100%; }
  .fh-public .datagrid-table > colgroup > col.fh-col-date { width: 160px; }
  .fh-public .datagrid-table > colgroup > col.fh-col-time { width: 120px; }
  .fh-public .datagrid-table > colgroup > col.fh-col-hours { width: 76px; }
  .fh-public .datagrid-table > colgroup > col.fh-col-remove { width: 52px; }
  .fh-public .datagrid-table > colgroup > col.fh-col-date:first-child { width: 192px; }
  .fh-public .datagrid-table > colgroup > col.fh-col-time:first-child { width: 152px; }
  .fh-public .datagrid-table > thead > tr > th { white-space: normal; }
  .fh-public .datagrid-table > tbody > tr > td .form-control { padding-left: 9px; padding-right: 6px; }
}
.fh-public .fh-hours-total { display: flex; justify-content: flex-end; align-items: baseline; gap: 14px; padding: 8px 14px; margin: 0 0 14px !important; background: #f8f9fb; border-radius: 10px; }
.fh-public .fh-hours-total > label { margin: 0; font-weight: 700; color: #111827; }
.fh-public .fh-hours-total > [ref="element"] { width: 7ch; }
.fh-public .fh-hours-total input.form-control { text-align: right; padding: 0; }

/* On phones each row becomes a card: its number and bin on top, each answer under its question. */
@media (max-width: 600px) {
  .fh-public .datagrid-table, .fh-public .datagrid-table > tbody, .fh-public .datagrid-table > tbody > tr, .fh-public .datagrid-table > tbody > tr > td,
  .fh-public .datagrid-table > tfoot, .fh-public .datagrid-table > tfoot > tr, .fh-public .datagrid-table > tfoot > tr > td { display: block; width: 100% !important; }
  .fh-public .datagrid-table > colgroup, .fh-public .datagrid-table > thead { display: none; }
  .fh-public .datagrid-table > tbody > tr { position: relative; border: 1px solid var(--fh-grid-line); border-radius: var(--fh-grid-r); padding: 36px 14px 8px; margin-bottom: 10px; background: #fff; }
  .fh-public .datagrid-table > tbody > tr > td, .fh-public .datagrid-table > tbody > tr > td:first-child, .fh-public .datagrid-table > tbody > tr > td:last-child { border: 0 !important; border-radius: 0 !important; padding: 5px 0 !important; position: static !important; }
  .fh-public .datagrid-table > tbody > tr > td:first-child::after { left: 14px; top: 10px; width: auto; transform: none; color: var(--brand); font-size: 16px; }
  .fh-public .datagrid-table > tbody > tr > td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    color: color-mix(in srgb, var(--brand) 70%, #111827);
  }
  .fh-public .datagrid-table > tbody > tr > td:last-child:not([data-label]) { position: absolute !important; top: 4px; right: 6px; width: auto !important; padding: 0 !important; }
  .fh-public .datagrid-table .formio-button-remove-row { padding: 8px 10px; min-height: 40px; }
  /* Times (e.g. Start and Finish) share a line, two to a line; everything else takes the full width. */
  .fh-public .datagrid-table > tbody > tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; }
  .fh-public .datagrid-table > tbody > tr > td { grid-column: 1 / -1; width: auto !important; }
  .fh-public .datagrid-table > tbody > tr > td:has(input[data-fh-time]) { grid-column: auto; }
  /* The shift's hours on one line: HOURS 8.5 */
  .fh-public .datagrid-table > tbody > tr > td:has(> .fh-hours) { display: flex; align-items: baseline; gap: 10px; width: auto; }
  .fh-public .datagrid-table > tbody > tr > td:has(> .fh-hours)::before { margin: 0 !important; }
  .fh-public .datagrid-table .fh-hours input.form-control { text-align: left; height: auto; }
  .fh-public .datagrid-table > tfoot > tr > td { padding: 2px 0 6px !important; }
}

/* Payment field: the amount, then Stripe's card box. */
.fh-payment { display: grid; gap: 10px; padding: 14px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; }
.fh-pay-amount { font-weight: 600; font-size: 16px; }
.fh-pay-card { min-height: 44px; }
.fh-pay-card.is-sample { display: flex; align-items: center; padding: 12px; border: 1px dashed #cbd5e1; border-radius: 6px; color: #6b7280; font-size: 14px; }
.fh-pay-note { font-size: 13px; color: #6b7280; }
.fh-pay-note:empty { display: none; }
.fh-payment.is-free .fh-pay-card, .fh-payment.is-free .fh-pay-note { display: none; }

/* Check work rights block (Home Affairs) */
.fh-visa { display: grid; gap: 10px; padding: 14px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; }
.fh-visa-who { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.fh-visa-btn { justify-self: start; min-height: 44px; }
.fh-visa.is-done .fh-visa-btn { display: none; }
.fh-visa-msg { font-size: 14px; padding: 8px 10px; border-radius: 6px; }
.fh-visa-msg:empty { display: none; }
.fh-visa-msg.is-busy { background: #f1f5f9; color: #334155; }
.fh-visa-msg.is-ok { background: #e7f5ed; color: #166534; font-weight: 600; }
.fh-visa-msg.is-ok::before { content: "\2713  "; }
.fh-visa-msg.is-warn { background: #fff4d6; color: #7c4a03; }
.fh-visa-msg.is-bad { background: #fdecec; color: #b42318; }
.fh-visa-note { font-size: 13px; color: #6b7280; }
/* The hidden "checked" answer: only its message shows, under the block, when the button wasn't pressed. */
.fh-visa-gate { margin-top: -6px; }
.fh-visa-gate input, .fh-visa-gate label, .fh-visa-gate .required-star { display: none !important; }
.fh-abn { margin-top: 22px; text-align: center; font-size: 12px; color: #6b7280; }

/* Upload field: a slim box like the other answers ("Add photo or file", a camera on phones, a paperclip), then
   each file as a slim green row with a small picture, the name, a tick and an ✕. Shared by forms and the builder. */
.fh-public .formio-component-file { display: flex; flex-direction: column; container-type: inline-size; }
.fh-public .formio-component-file > * { order: 5; }
.fh-public .formio-component-file > label { order: 0; }
.fh-public .formio-component-file > .form-text { order: 1; margin: -2px 0 8px; }
.fh-public .formio-component-file > .list-group { order: 2; }
.fh-public .formio-component-file > .fileSelector { order: 3; }
.fh-public .formio-component-file .fileSelector {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 38px; margin: 0; padding: 4px 10px; border: 1px solid #ced4da; border-radius: 6px;
  background: #fff; color: #6b7280; font-weight: 400; line-height: 1.3; text-align: left; transition: border-color .15s, box-shadow .15s;
}
.fh-public .formio-component-file .list-group:has(.list-group-item:not(.list-group-header)) + .fileSelector, .fh-public .formio-component-file .list-group:has(.list-group-item:not(.list-group-header)) ~ .fileSelector { margin-top: 8px; }
.fh-public .formio-component-file .fileSelector:hover { border-color: color-mix(in srgb, var(--brand) 55%, #ced4da); }
.fh-public .formio-component-file .fileSelector.fileDragOver { border-color: var(--brand); border-style: dashed; background: color-mix(in srgb, var(--brand) 6%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.fh-public .formio-component-file.has-error .fileSelector, .fh-public .formio-component-file.formio-error-wrapper .fileSelector { border-color: #dc3545; }
/* The paperclip: Form.io's upload icon, drawn in the company colour. */
.fh-public .formio-component-file .fileSelector > .bi-cloud-upload { order: 4; flex: none; width: 18px; height: 18px; font-size: 0; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5l-8.5 8.5a5.5 5.5 0 0 1-7.8-7.8l9-9a3.7 3.7 0 0 1 5.2 5.2l-9 9a1.8 1.8 0 0 1-2.6-2.6l8.3-8.3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5l-8.5 8.5a5.5 5.5 0 0 1-7.8-7.8l9-9a3.7 3.7 0 0 1 5.2 5.2l-9 9a1.8 1.8 0 0 1-2.6-2.6l8.3-8.3'/%3E%3C/svg%3E") center / contain no-repeat; }
.fh-public .formio-component-file .fileSelector > .bi-cloud-upload::before { display: none; }
/* Phones: a camera that opens the camera straight away. It sits above the box's own click area. */
.fh-public .formio-component-file .fileSelector .fh-up-cam { order: 3; position: relative; z-index: 1; flex: none; width: 34px; height: 30px; margin: -4px -6px -4px 0; padding: 0; border: 0; background: none; cursor: pointer; }
.fh-public .formio-component-file .fileSelector .fh-up-cam::before { content: ""; display: block; width: 20px; height: 20px; margin: auto; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.fh-public .formio-component-file .fileSelector .browse { order: 1; flex: 1; min-width: 0; color: #6b7280; text-decoration: none; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fh-public .formio-component-file .fileSelector .browse .bi { display: none; }
/* The whole box opens the file picker, not just the words. */
.fh-public .formio-component-file .fileSelector .browse::before { content: ""; position: absolute; inset: 0; border-radius: 6px; }
/* The size limit, on the right of a wide box only. */
.fh-public .formio-component-file .fileSelector::after { content: ""; order: 2; }
@container (min-width: 440px) { .fh-public .formio-component-file .fileSelector::after { content: var(--fh-upload-hint, ""); flex: none; color: #9aa3ae; font-size: 12.5px; } }
.fh-public .formio-component-file .fileSelector .loader-wrapper { order: 5; position: static; width: auto; height: auto; background: none; }
.fh-public .formio-component-file .fileSelector .loader { width: 18px; height: 18px; margin: 0; border-width: 2px; }
/* Each file added. */
.fh-public .formio-component-file .list-group { margin: 0; border: 0; gap: 8px; }
.fh-public .formio-component-file .list-group-header { display: none !important; }
.fh-public .formio-component-file .list-group-item {
  min-height: 38px; margin: 0; padding: 4px 6px 4px 5px; border: 1px solid #2e9b4f !important; border-radius: 6px !important; background: #fff !important;
  box-shadow: 0 0 0 3px rgba(46, 155, 79, .15);
}
.fh-public .formio-component-file .list-group-item > .row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto auto 24px; grid-template-areas: "pic name size eye tick remove"; column-gap: 8px; align-items: center; margin: 0; }
/* A photo sign for photos (the form adds it, with an eye to see the whole photo), or the kind of file (PDF). */
.fh-public .formio-component-file .list-group-item > .row::before {
  content: attr(data-ext); grid-area: pic; width: 28px; height: 28px; border-radius: 5px; display: grid; place-items: center;
  color: var(--brand); font-size: 9.5px; font-weight: 700; background: color-mix(in srgb, var(--brand) 9%, #fff);
}
.fh-public .formio-component-file .list-group-item > .row:has(.fh-up-pic)::before { display: none; }
.fh-public .formio-component-file .fh-up-pic { grid-area: pic; width: 28px; max-width: none; height: 28px; padding: 0; margin: 0; border-radius: 5px; display: grid; place-items: center; color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, #fff); }
.fh-public .formio-component-file .fh-up-eye { grid-area: eye; position: relative; z-index: 1; width: 28px; max-width: none; margin: 0; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--brand); display: grid; place-items: center; cursor: pointer; min-height: 0; }
.fh-public .formio-component-file .fh-up-eye:hover { background: color-mix(in srgb, var(--brand) 9%, #fff); }
.fh-public .formio-component-file .fh-up-pic svg, .fh-public .formio-component-file .fh-up-eye svg { width: 17px; height: 17px; display: block; }
.fh-public .formio-component-file .list-group-item > .row::after { content: ""; grid-area: tick; width: 20px; height: 20px; border-radius: 50%; background: #2e9b4f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
/* A narrow box (a quarter of the line) leaves out the tick, so the name has room: the green outline says it's in. */
@container (max-width: 320px) { .fh-public .formio-component-file .list-group-item > .row { column-gap: 6px; } .fh-public .formio-component-file .list-group-item > .row::after { display: none; } }
.fh-public .formio-component-file .list-group-item > .row > div { width: auto; max-width: none; padding: 0; flex: none; }
.fh-public .formio-component-file .list-group-item > .row > .col-md-9 { grid-area: name; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14px; }
/* Uploaded files can't be opened from the form, so the name isn't a link. */
.fh-public .formio-component-file .list-group-item > .row > .col-md-9 a { color: #1f2933; text-decoration: none; pointer-events: none; }
.fh-public .formio-component-file .list-group-item > .row > .col-md-2 { grid-area: size; color: #6b7280; font-size: 12.5px; white-space: nowrap; display: none; }
@container (min-width: 440px) { .fh-public .formio-component-file .list-group-item > .row > .col-md-2 { display: block; } }
.fh-public .formio-component-file .list-group-item > .row > .col-md-1 { grid-area: remove; }
.fh-public .formio-component-file .list-group-item [ref="removeLink"] { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #6b7280; cursor: pointer; font-size: 0; }
.fh-public .formio-component-file .list-group-item [ref="removeLink"]::before { content: "✕"; font-family: inherit; font-size: 13px; font-weight: 400; }
.fh-public .formio-component-file .list-group-item [ref="removeLink"]:hover { color: #b91c1c; background: #fef2f2; }
.fh-public .formio-component-file .progress { height: 6px; border-radius: 4px; margin: 4px 0 0; grid-column: 1 / -1; }
.fh-public .formio-component-file .progress-bar { background: var(--brand); }

/* A time-only picker (hour : minute) is only as wide as it needs, so on a phone it isn't pushed off the screen. */
.flatpickr-calendar.noCalendar { width: 190px !important; }
.flatpickr-calendar.noCalendar .flatpickr-time { max-height: 44px; }

/* NSW security licence check: a sign inside the number box (shield, spinner, then tick or cross), and the
   register's answer under the line. */
.fh-lic-group { position: relative; }
.fh-lic-group > .form-control { padding-right: 40px; }
.fh-public .fh-lic-sign { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; padding: 3px; border: 0; border-radius: 50%; background: none; color: #a9b4c2; display: flex; align-items: center; justify-content: center; cursor: pointer; min-height: 0; }
.fh-public .fh-lic-sign:disabled { cursor: default; }
.fh-lic-sign svg { width: 100%; height: 100%; display: block; }
.fh-lic-group.is-busy .fh-lic-sign { color: var(--brand); animation: fh-lic-spin .8s linear infinite; }
@keyframes fh-lic-spin { from { transform: translateY(-50%) rotate(0); } to { transform: translateY(-50%) rotate(360deg); } }
.fh-lic-group.is-ok .fh-lic-sign { background: #2e9b4f; color: #fff; padding: 4px; }
.fh-lic-group.is-warn .fh-lic-sign { background: #d4881c; color: #fff; padding: 4px; }
.fh-lic-group.is-bad .fh-lic-sign { background: #c0262d; color: #fff; padding: 5px; }
.fh-lic-group.is-retry .fh-lic-sign { color: #6b7280; }
.fh-public .fh-lic-group.is-ok > .form-control { border-color: #2e9b4f; box-shadow: 0 0 0 3px rgba(46,155,79,.15); }
.fh-public .fh-lic-group.is-warn > .form-control { border-color: #d4881c; box-shadow: 0 0 0 3px rgba(212,136,28,.15); }
.fh-public .fh-lic-group.is-bad > .form-control { border-color: #c0262d; box-shadow: 0 0 0 3px rgba(192,38,45,.12); }
.fh-public .fh-lic-res { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; margin: 0 0 1rem; padding: 12px 16px; border-radius: 8px; border: 1px solid; font-size: .92rem; }
.fh-lic-res[hidden] { display: none !important; }
.fh-lic-res.is-ok { background: #ecf8ef; border-color: #b7e1c1; }
.fh-lic-res.is-warn { background: #fdf3e6; border-color: #f0d3a6; }
.fh-lic-res.is-bad { background: #fdecec; border-color: #f3c2c2; }
.fh-lic-ico { flex: none; width: 26px; height: 26px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.is-ok .fh-lic-ico { background: #2e9b4f; } .is-warn .fh-lic-ico { background: #d4881c; } .is-bad .fh-lic-ico { background: #c0262d; }
.fh-lic-body { flex: 1; min-width: 0; }
.fh-lic-head { font-weight: 700; margin-bottom: 4px; }
.fh-lic-res dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 0; }
.fh-lic-res dt { font-weight: 400; color: #666; } .fh-lic-res dd { margin: 0; }
.fh-lic-tag { display: inline-block; background: #fff; border: 1px solid #d1d5db; border-radius: 12px; padding: 1px 9px; margin: 0 4px 3px 0; font-size: .8rem; }
.fh-lic-note { color: #555; font-size: .85rem; margin-top: 6px; }
.fh-lic-locked input { background: #f6f7f8 !important; }
.fh-lic-locked .input-group { pointer-events: none; }
@media (max-width: 640px) { .fh-lic-res dl { grid-template-columns: 1fr; } .fh-lic-res dt { margin-top: 4px; } }

/* Check work rights box: an outlined panel in the form colour (or its own, --fh-box), with a heading bar. */
.fh-vbox { --fh-c: var(--fh-box, var(--brand)); }
.fh-vbox > .card { border: 2px solid var(--fh-c) !important; border-radius: 12px; overflow: hidden; margin: 18px 0; }
.fh-vbox > .card > .card-header { background: var(--fh-c) !important; color: #fff; border: 0; padding: 10px 16px; }
.fh-vbox > .card > .card-header .card-title { color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.fh-vbox > .card > .card-header .card-title::before { content: ""; flex: none; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.3-7 10-4-1.7-7-5.5-7-10V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
.fh-vbox > .card > .card-body { background: color-mix(in srgb, var(--fh-c) 4%, #fff); padding: 16px; }
.fh-vbox-intro { font-size: 14px; color: #334155; margin: 0 0 4px; }
.fh-vbox .fh-visa { border: 0; padding: 0; background: transparent; }
.fh-vbox .fh-visa-who { display: none; }
.fh-vbox .fh-visa-btn, .fh-vbox .fh-visa-btn:hover, .fh-vbox .fh-visa-btn:focus, .fh-vbox .fh-visa-btn:active, .fh-vbox .fh-visa-btn:disabled { background: var(--fh-c) !important; border-color: var(--fh-c) !important; color: #fff !important; font-weight: 600; border-radius: 8px; padding: 10px 18px; }
.fh-vbox .fh-visa-btn:disabled { opacity: .7; }
.fh-visa-sample { display: inline-block; background: var(--fh-c, var(--brand)); color: #fff; border-radius: 8px; padding: 10px 18px; font-weight: 600; font-size: 15px; }
.fh-vbox-skip { background: #fff; border: 1px dashed #cbd5e1; border-radius: 8px; padding: 10px 12px; font-size: 14px; color: #475569; margin: 0; }
.fh-vbox-from { font-size: 12px; color: #6b7280; margin-top: 4px; }
.fh-vbox .formio-hidden { margin: 0 !important; }
@media (max-width: 600px) { .fh-vbox > .card > .card-body { padding: 14px 12px; } .fh-vbox .fh-visa-btn { width: 100%; } }

/* The whole photo an applicant added, opened from the eye on its upload row. */
.fh-up-view { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(17, 24, 39, .6); }
.fh-up-view-card { background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); max-width: 100%; }
.fh-up-view img { display: block; max-width: min(calc(100vw - 52px), 900px); max-height: 78vh; border-radius: 6px; margin: 0 auto; }
.fh-up-view-cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; font-size: 14px; }
.fh-up-view-cap b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fh-up-view-cap button { border: 0; background: none; color: var(--brand); font-weight: 600; padding: 6px 4px; }

/* Camera guide (camera-guide.js): the camera fills the screen, a frame shows where the card or page goes. */
.fh-cam { position: fixed; inset: 0; z-index: 2100; background: #000; color: #fff; overflow: hidden; font-size: 15px; }
.fh-cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fh-cam-win { position: absolute; border-radius: 12px; box-shadow: 0 0 0 200vmax rgba(0, 0, 0, .62); pointer-events: none; }
.fh-cam-win.is-page { border-radius: 4px; }
.fh-cam-c { position: absolute; width: 26px; height: 26px; border: 4px solid #fff; }
.fh-cam-c.tl { left: -3px; top: -3px; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.fh-cam-c.tr { right: -3px; top: -3px; border-left: 0; border-bottom: 0; border-top-right-radius: 14px; }
.fh-cam-c.bl { left: -3px; bottom: -3px; border-right: 0; border-top: 0; border-bottom-left-radius: 14px; }
.fh-cam-c.br { right: -3px; bottom: -3px; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }
.fh-cam-c { transition: border-color .2s; }
.fh-cam.is-good .fh-cam-c { border-color: #22c55e; }
.fh-cam.is-good .fh-cam-win { outline: 2px solid rgba(34, 197, 94, .55); }
.fh-cam.is-good .fh-cam-hint { color: #86efac; opacity: 1; font-weight: 600; }
.fh-cam.is-good .fh-cam-shut { border-color: #22c55e; animation: fh-cam-pulse 1.1s ease-in-out infinite; }
@keyframes fh-cam-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); } 60% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); } }
@media (prefers-reduced-motion: reduce) { .fh-cam.is-good .fh-cam-shut { animation: none; } }
.fh-cam-top { position: absolute; left: 0; right: 0; top: 0; padding: max(18px, env(safe-area-inset-top)) 20px 0; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.fh-cam-top b { display: block; font-size: 17px; margin-top: 8px; }
.fh-cam-top span { display: block; font-size: 14px; opacity: .88; margin-top: 2px; }
.fh-cam-bot { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px max(26px, env(safe-area-inset-bottom)); }
.fh-cam-bot[hidden], .fh-cam-msg[hidden], .fh-cam-review[hidden], .fh-cam-win[hidden], .fh-cam-small[hidden] { display: none !important; }
.fh-cam-small { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 76px; padding: 6px 0; border: 0; background: none; color: #fff; font-size: 12.5px; line-height: 1.2; }
.fh-cam-small svg { width: 25px; height: 25px; }
.fh-cam-turn { grid-column: 1; } .fh-cam-cancel { grid-column: 3; }
.fh-cam-shut { grid-column: 2; width: 74px; height: 74px; border-radius: 50%; border: 4px solid #fff; background: none; padding: 5px; }
.fh-cam-shut i { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; }
.fh-cam-shut:active i { transform: scale(.92); }
.fh-cam-shut:disabled { opacity: .45; }
.fh-cam-review { position: absolute; inset: 0; background: #111; }
.fh-cam-review img { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); max-width: 86%; max-height: 62%; border-radius: 8px; }
.fh-cam-btns { position: absolute; left: 16px; right: 16px; bottom: max(24px, env(safe-area-inset-bottom)); display: flex; gap: 10px; }
.fh-cam-btns button { flex: 1; padding: 14px 0; border: 0; border-radius: 10px; font-weight: 600; font-size: 16px; color: #fff; background: rgba(255, 255, 255, .16); }
.fh-cam-btns .fh-cam-use { background: var(--brand); }
.fh-cam-msg { position: absolute; left: 20px; right: 20px; top: 50%; transform: translateY(-50%); text-align: center; }
.fh-cam-msg p { margin: 0 0 16px; font-size: 16px; }
.fh-cam-msg button { display: block; width: 100%; margin-top: 10px; padding: 14px 0; border: 0; border-radius: 10px; font-weight: 600; font-size: 16px; color: #fff; background: rgba(255, 255, 255, .16); }
.fh-cam-msg .fh-cam-native { background: var(--brand); }

/* Working with Children Check: the state list sits in front of the number box; QLD adds "/ 2" and the expiry date. */
.fh-wwcc-group { display: flex; align-items: stretch; gap: 0; }
.fh-public .fh-wwcc-state { flex: none; width: auto; min-width: 88px; font-weight: 600; background-color: #f6f7f9; border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; }
.fh-wwcc-state[hidden], .fh-wwcc-slash[hidden], .fh-wwcc-issue[hidden], .fh-wwcc-exp[hidden] { display: none !important; }
.fh-wwcc-box { position: relative; flex: 1; min-width: 0; }
.fh-wwcc-box > .form-control { padding-right: 40px; }
.fh-public .fh-wwcc-group.has-state .fh-wwcc-box > .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.fh-wwcc-slash { flex: none; display: flex; align-items: center; padding: 0 8px; color: #6b7280; font-size: 1.1rem; }
.fh-public .fh-wwcc-issue { flex: none; width: 64px; }
.fh-wwcc-exp { margin-top: 10px; max-width: 220px; }
.fh-wwcc-exp .col-form-label { padding: 0 0 4px; }
.fh-public .fh-wwcc-group.is-ok .fh-wwcc-box > .form-control, .fh-public .fh-wwcc-group.is-ok .fh-wwcc-state { border-color: #2e9b4f; }
.fh-public .fh-wwcc-group.is-ok .fh-wwcc-box > .form-control { box-shadow: 0 0 0 3px rgba(46,155,79,.15); }
.fh-public .fh-wwcc-group.is-warn .fh-wwcc-box > .form-control { border-color: #d4881c; box-shadow: 0 0 0 3px rgba(212,136,28,.15); }
.fh-public .fh-wwcc-group.is-bad .fh-wwcc-box > .form-control { border-color: #c0262d; box-shadow: 0 0 0 3px rgba(192,38,45,.12); }
.fh-lic-res.is-grey { background: #f3f4f6; border-color: #d6dae1; }
.is-grey .fh-lic-ico { background: #6b7280; }

/* Parts filled in by an approval level ("Filled in by" in the builder): greyed out for applicants, with a note. */
.fh-public .fh-staff-part { background: #f6f7f9; border: 1px dashed #c7ccd4; border-radius: 10px; padding: 10px 12px 2px; }
.fh-public .fh-staff-part.card { padding: 0; }
.fh-public .fh-office-text { background: #f6f7f9; border: 1px dashed #c7ccd4; border-radius: 10px; padding: 8px 12px; color: #6b7280; }
.fh-public .fh-office-text::before { content: "For office use only. You don't need to fill this in."; display: block; font-size: 12.5px; font-weight: 600; color: #4b5563; margin-bottom: 4px; }
.fh-public .fh-office-text > * { margin-bottom: 0; }
.fh-public .fh-staff-note { font-size: 13px; color: #4b5563; background: #eef2ff; border-radius: 8px; padding: 6px 10px; margin-bottom: 10px; display: inline-block; }
.fh-public .fh-staff-part .form-control:disabled, .fh-public .fh-staff-field .form-control:disabled { background: #eceef1; }
.fh-public .fh-staff-part .signature-pad-body, .fh-public .fh-staff-field .signature-pad-body { opacity: .55; }

/* Tick boxes and round buttons big enough for fingers on phones (they were 16px; tester Brodie, 2026-12-01),
   with the whole line tappable. */
@media (max-width: 820px), (pointer: coarse) {
  .fh-public .form-check-input[type=radio], .fh-public .form-check-input[type=checkbox] { width: 22px; height: 22px; margin-top: 0; flex: 0 0 auto; }
  .fh-public .form-check { display: flex; align-items: center; gap: 10px; min-height: 40px; padding-left: 0; }
  .fh-public .form-check .form-check-input { float: none; margin-left: 0; }
  .fh-public .form-check-label { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
}
