.tqnc{--tqnc-primary:#0F766E;--tqnc-primary-dark:#0B5A54;--tqnc-ink:#1e293b;--tqnc-muted:#64748b;--tqnc-line:#e2e8f0;--tqnc-bg:#f8fafc;--tqnc-error:#b91c1c;--tqnc-radius:12px;font-family:"Plus Jakarta Sans",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--tqnc-ink);max-width:720px;margin:0 auto}
.tqnc *{box-sizing:border-box}
.tqnc-form{background:#fff;border:1px solid var(--tqnc-line);border-radius:var(--tqnc-radius);padding:28px 24px;box-shadow:0 4px 24px rgba(15,23,42,.05)}
.tqnc-progress{height:6px;background:var(--tqnc-line);border-radius:999px;overflow:hidden;margin-bottom:10px}
.tqnc-progress-bar{display:block;height:100%;background:var(--tqnc-primary);transition:width .3s}
.tqnc-stepline{margin:0 0 20px;font-size:14px;color:var(--tqnc-muted)}
.tqnc-stepnum{font-weight:600;color:var(--tqnc-primary)}
.tqnc-screen{border:0;padding:0;margin:0}
.tqnc-field{margin:0 0 22px}
.tqnc-field[hidden]{display:none}
.tqnc-label{display:block;font-weight:600;font-size:15px;margin-bottom:6px}
.tqnc-req{color:var(--tqnc-error)}
.tqnc-help{margin:-2px 0 8px;font-size:13px;color:var(--tqnc-muted)}
.tqnc input[type=text],.tqnc input[type=email],.tqnc input[type=tel],.tqnc textarea{width:100%;font:inherit;font-size:16px;padding:12px 14px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;transition:border-color .15s,box-shadow .15s}
.tqnc input:focus,.tqnc textarea:focus{outline:none;border-color:var(--tqnc-primary);box-shadow:0 0 0 3px rgba(15,118,110,.18)}
.tqnc-options{display:flex;flex-wrap:wrap;gap:8px}
.tqnc-chip{position:relative;display:inline-flex;align-items:center;padding:10px 14px;border:1px solid #cbd5e1;border-radius:999px;background:var(--tqnc-bg);font-size:14px;cursor:pointer;user-select:none;transition:all .15s}
.tqnc-chip input{position:absolute;opacity:0;width:0;height:0}
.tqnc-chip:hover{border-color:var(--tqnc-primary)}
.tqnc-chip:has(input:checked){background:var(--tqnc-primary);border-color:var(--tqnc-primary);color:#fff;font-weight:600}
.tqnc-chip:has(input:focus-visible){box-shadow:0 0 0 3px rgba(15,118,110,.25)}
.tqnc-check{display:flex;gap:10px;align-items:flex-start;font-size:14px;padding:14px;background:var(--tqnc-bg);border-radius:10px;cursor:pointer}
.tqnc-check input{margin-top:3px;width:18px;height:18px;flex:0 0 auto}
.tqnc-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:8px}
.tqnc-btn{font:inherit;font-weight:600;font-size:15px;padding:12px 22px;border-radius:10px;border:1px solid var(--tqnc-primary);background:var(--tqnc-primary);color:#fff;cursor:pointer;transition:background .15s}
.tqnc-btn:hover{background:var(--tqnc-primary-dark)}
.tqnc-btn:disabled{opacity:.6;cursor:default}
.tqnc-btn-ghost{background:#fff;color:var(--tqnc-primary)}
.tqnc-btn-ghost:hover{background:var(--tqnc-bg)}
.tqnc-hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.tqnc-field-error{margin:6px 0 0;font-size:13px;color:var(--tqnc-error)}
.tqnc-invalid input[type=text],.tqnc-invalid input[type=email],.tqnc-invalid input[type=tel],.tqnc-invalid textarea{border-color:var(--tqnc-error)}
.tqnc-invalid .tqnc-chip{border-color:#fca5a5}
.tqnc-error-summary{margin:16px 0 0;padding:12px 14px;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;color:var(--tqnc-error);font-size:14px}
.tqnc-success{background:#fff;border:1px solid var(--tqnc-line);border-radius:var(--tqnc-radius);padding:32px 28px;text-align:center}
.tqnc-success h3{margin:0 0 10px;font-size:22px}
.tqnc-success p{margin:0 0 10px;color:var(--tqnc-muted)}
.tqnc-success strong{color:var(--tqnc-ink)}
@media (max-width:520px){.tqnc-form{padding:20px 16px}.tqnc-actions{flex-direction:column-reverse}.tqnc-btn{width:100%}}

.tqnc-section-title{margin:0 0 4px;font-size:20px}
.tqnc-save-note{margin-bottom:18px}
.tqnc input[type=date],.tqnc input[type=time],.tqnc select{font:inherit;font-size:15px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff}
.tqnc input[type=date]{width:100%}
.tqnc-roster-table{width:100%;border-collapse:collapse;font-size:14px}
.tqnc-roster-table th{text-align:left;font-weight:600;color:var(--tqnc-muted);padding:4px 6px;font-size:12px}
.tqnc-roster-table td{padding:4px 6px;vertical-align:middle}
.tqnc-roster-table select,.tqnc-roster-table input{width:100%;padding:8px 10px}
.tqnc-roster-del{border:0;background:transparent;color:var(--tqnc-muted);font-size:20px;line-height:1;cursor:pointer;padding:4px 8px}
.tqnc-roster-del:hover{color:var(--tqnc-error)}
.tqnc-roster-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:10px 0 0;font-size:14px;color:var(--tqnc-muted)}
.tqnc-roster-foot .tqnc-btn{padding:8px 14px;font-size:14px}
@media (max-width:640px){.tqnc-roster-table thead{display:none}.tqnc-roster-table tr{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px 0;border-bottom:1px solid var(--tqnc-line)}.tqnc-roster-table td{padding:0}.tqnc-roster-table td:first-child{grid-column:1/3}.tqnc-roster-table td:last-child{grid-column:1/3;text-align:right}}

.tqnc-continue{margin-top:22px;padding-top:22px;border-top:1px solid var(--tqnc-line);text-align:left}
.tqnc-continue p{color:var(--tqnc-ink)}
.tqnc-continue .tqnc-btn{display:inline-block;text-decoration:none;margin:6px 0 10px}

/* ============================================================
   UX pass — 2026-10-22
   Touch targets, sticky-header offset, labelled roster cells,
   accessible option groups, draft controls.
   ============================================================ */

/* The site chrome header is sticky (73px on mobile, 65px on desktop). Without a
   scroll margin, scrollIntoView() parks the top of the form underneath it. */
.tqnc{--tqnc-sticky:85px;scroll-margin-top:var(--tqnc-sticky)}
.tqnc .tqnc-screen,.tqnc .tqnc-field,.tqnc .tqnc-success{scroll-margin-top:var(--tqnc-sticky)}
@media (min-width:901px){.tqnc{--tqnc-sticky:77px}}

/* Option groups are now <fieldset><legend>, so the group has a real accessible
   name and the legend is clickable. Keep them looking like the old labels. */
.tqnc-group{border:0;margin:0;padding:0;min-width:0}
/* display:block (not float) — a floated legend spans the full width, and the
   flex .tqnc-options below it establishes a BFC that refuses to overlap the
   float, collapsing the options row to zero width. */
.tqnc-group>legend{display:block;float:none;width:100%;font-weight:600;font-size:15px;margin:0 0 6px;padding:0}

/* 44px minimum touch targets (chips were 36px at every viewport). */
.tqnc-chip{min-height:44px;padding:11px 16px}
.tqnc-check{min-height:44px}
.tqnc-btn{min-height:44px}
.tqnc-roster-del{min-width:44px;min-height:44px;padding:4px 8px}
.tqnc-roster-foot .tqnc-btn{min-height:44px}

/* 16px stops iOS zooming the viewport when these are focused. The roster is
   built entirely from date/time/select controls, so this is the whole grid. */
.tqnc input[type=date],.tqnc input[type=time],.tqnc select{font-size:16px;min-height:44px}
.tqnc-roster-table select,.tqnc-roster-table input{font-size:16px;min-height:44px}

/* Selected state for browsers without :has() — otherwise the hidden radio means
   a chosen chip looks identical to an unchosen one. */
@supports not selector(:has(*)){
  .tqnc-chip{padding:0;overflow:hidden}
  .tqnc-chip>span{display:block;padding:11px 16px;border-radius:999px;width:100%}
  .tqnc-chip input:checked~span{background:var(--tqnc-primary);color:#fff;font-weight:600}
  .tqnc-chip input:focus-visible~span{box-shadow:0 0 0 3px rgba(15,118,110,.25)}
}

/* Roster on phones: the header row is hidden, so label each cell in place. */
@media (max-width:640px){
  .tqnc-roster-table tr{row-gap:10px}
  .tqnc-roster-table td::before{display:block;font-weight:600;font-size:12px;color:var(--tqnc-muted);margin-bottom:3px}
  .tqnc-roster-table td:nth-child(1)::before{content:"Day"}
  .tqnc-roster-table td:nth-child(2)::before{content:"Start"}
  .tqnc-roster-table td:nth-child(3)::before{content:"End"}
  .tqnc-roster-table td:nth-child(4)::before{content:"Type"}
  .tqnc-roster-table td:nth-child(5)::before{content:"Workers"}
  .tqnc-roster-table td:last-child::before{content:none}
  .tqnc-roster-foot{flex-direction:column;align-items:stretch;text-align:center}
}
.tqnc-roster-tools{display:flex;gap:8px;flex-wrap:wrap}
/* The day column was collapsing far enough to clip "Mon" to "Mo". */
.tqnc-roster-table td:first-child{min-width:84px}
.tqnc-roster-table td:first-child select{min-width:72px}

/* Draft state: the form promises it saves as you go, so show that it did —
   and give a way to clear it before referring a different participant. */
.tqnc-formtools{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px;font-size:13px;color:var(--tqnc-muted)}
.tqnc-saved{display:inline-flex;align-items:center;gap:7px}
.tqnc-saved[hidden]{display:none}
.tqnc-saved::before{content:"";width:8px;height:8px;border-radius:50%;background:#16a34a;flex:0 0 auto}
.tqnc-reset{font:inherit;font-size:13px;background:none;border:0;color:var(--tqnc-primary);text-decoration:underline;cursor:pointer;padding:10px 2px;min-height:44px}
.tqnc-reset:hover{color:var(--tqnc-primary-dark)}

/* Error summary lists the fields and links to them, instead of just saying
   "check the highlighted fields". */
.tqnc-error-summary ul{margin:8px 0 0;padding-inline-start:20px}
.tqnc-error-summary li{margin:3px 0}
.tqnc-error-summary a{color:var(--tqnc-error);font-weight:600}
.tqnc-error-summary a:hover{text-decoration:none}

/* Live character count on the long free-text answers (some cap at 1200). */
.tqnc-count{display:block;text-align:right;font-size:12px;color:var(--tqnc-muted);margin-top:4px}
.tqnc-count-warn{color:var(--tqnc-error);font-weight:600}

/* The JS honours prefers-reduced-motion for scrolling; cover transitions too. */
@media (prefers-reduced-motion:reduce){
  .tqnc *,.tqnc *::before,.tqnc *::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
}

/* Visually hidden but announced. Defined locally so the form does not depend on
   the theme happening to provide .screen-reader-text. */
.tqnc .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Shown when every question in a section has been conditioned away. */
.tqnc-section-skip{padding:12px 14px;background:var(--tqnc-bg);border:1px dashed var(--tqnc-line);border-radius:10px;margin:0 0 18px}
.tqnc-section-skip[hidden]{display:none}

/* Keyboard focus must be visible on the summary and success panels we focus(). */
.tqnc-error-summary:focus-visible,.tqnc-success:focus-visible{outline:3px solid var(--tqnc-primary);outline-offset:2px}

/* ------------------------------------------------------------------
   The Elementor kit styles every <button> on the site with a selector
   that outranks a single class. Left alone it paints the secondary and
   icon buttons the same orange as the primary CTA — so "Back" looks
   identical to "Continue" and the roster's remove "×" becomes a block —
   and it beats [hidden], so hidden buttons still render.
   Prefixing with .tqnc wins the cascade without !important.
   The primary CTA is deliberately left as the kit renders it.
   ------------------------------------------------------------------ */
.tqnc [hidden]{display:none}

/* ------------------------------------------------------------------
   Buttons match the header "Get support" CTA exactly:
   #F87F6B coral, 999px pill, white 700 text, 0 6px 18px rgba(248,127,107,.35),
   hover #E9674F with a 1px lift. Copied from .tqnc-cta in tqn-chrome.php.
   Padding is 13px 24px rather than the header's 11px 20px purely to clear the
   44px touch-target minimum; everything else is identical.
   ------------------------------------------------------------------ */
.tqnc{--tqnc-coral:#F87F6B;--tqnc-coral-dark:#E9674F}
.tqnc .tqnc-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:13px 24px;border-radius:999px;
  background:var(--tqnc-coral);border:1px solid var(--tqnc-coral);color:#fff;
  font-weight:700;font-size:15px;line-height:1;white-space:nowrap;text-decoration:none;
  box-shadow:0 6px 18px rgba(248,127,107,.35);
  transition:background .15s,transform .15s,box-shadow .15s;
}
.tqnc .tqnc-btn:hover{background:var(--tqnc-coral-dark);border-color:var(--tqnc-coral-dark);color:#fff;transform:translateY(-1px)}
.tqnc .tqnc-btn:active{transform:none}
.tqnc .tqnc-btn:disabled{opacity:.6;transform:none;box-shadow:none;cursor:default}
.tqnc .tqnc-btn:focus-visible{outline:3px solid var(--tqnc-coral-dark);outline-offset:3px}

/* Secondary actions (Back, + Add shift, Copy last shift) use the same coral pill
   and typography, outlined rather than filled so "Back" is not mistaken for the
   primary action sitting beside it. */
.tqnc .tqnc-btn-ghost{background:#fff;color:var(--tqnc-coral-dark);border:1px solid var(--tqnc-coral);box-shadow:none}
.tqnc .tqnc-btn-ghost:hover{background:#FFF4F1;color:var(--tqnc-coral-dark);border-color:var(--tqnc-coral-dark)}

/* The roster's "×" is an icon control, not a CTA — a coral pill per row would
   read as five competing buttons. */
.tqnc .tqnc-roster-del{background:transparent;border:0;color:var(--tqnc-muted);box-shadow:none;border-radius:999px}
.tqnc .tqnc-roster-del:hover{background:#FFF4F1;color:var(--tqnc-coral-dark);transform:none}
/* Secondary, slightly destructive action — deliberately quiet. Neutral grey so it
   reads as a utility link rather than competing with the primary CTA. */
.tqnc .tqnc-reset{background:none;border:0;color:var(--tqnc-muted);text-decoration:underline;text-underline-offset:3px;box-shadow:none;font-weight:500}
.tqnc .tqnc-reset:hover{background:none;color:var(--tqnc-ink)}

/* ------------------------------------------------------------------
   Page column.
   elementor_canvas emits no content wrapper at all — Gutenberg blocks
   are direct children of <body> — so the heading and intro ran the full
   viewport width while the form sat centred at 720px. This wrapper
   (a group block with class tqnc-page) gives the text the same column
   as the form: 760px minus 20px padding each side = 720px of content.
   ------------------------------------------------------------------ */
.tqnc-page{max-width:760px;margin-inline:auto;padding-inline:20px}
.tqnc-page>h1,.tqnc-page>h2,.tqnc-page>h3,.tqnc-page>p,.tqnc-page>ul,.tqnc-page>ol{max-width:100%}
.tqnc-page>h1{margin:0 0 14px;line-height:1.2}
.tqnc-page>h2{margin:32px 0 12px;line-height:1.25}
.tqnc-page>p{margin:0 0 18px;line-height:1.65}
.tqnc-page>ul,.tqnc-page>ol{margin:0 0 18px;padding-inline-start:22px;line-height:1.65}
.tqnc-page>ul li,.tqnc-page>ol li{margin:6px 0}
.tqnc-page .tqnc{max-width:100%}
@media (max-width:520px){.tqnc-page{padding-inline:16px}}

/* drafting help */
.tqnc-ai{margin:4px 0 22px;padding:14px;border:1px dashed #99d5cf;border-radius:var(--tqnc-radius);background:#f0fdfa}
.tqnc-ai-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tqnc-ai-title{font-size:15px;color:var(--tqnc-primary-dark)}
.tqnc .tqnc-ai .tqnc-ai-open{width:auto;min-height:44px;padding:8px 12px;background:none;border:0;box-shadow:none;color:var(--tqnc-primary);font-size:14px;font-weight:600;text-decoration:underline;cursor:pointer;transform:none}
.tqnc-ai-body{margin-top:12px}
.tqnc-ai-topics{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.tqnc .tqnc-ai-topics .tqnc-ai-topic{width:auto;flex:0 0 auto}
.tqnc .tqnc-ai-topic{min-height:44px;padding:8px 14px;font-size:13px;font-weight:500;border-radius:999px;border-color:#cbd5e1;color:var(--tqnc-ink)}
.tqnc .tqnc-ai-topic.tqnc-ai-done{border-color:var(--tqnc-primary);color:var(--tqnc-primary)}
.tqnc .tqnc-ai-topic.tqnc-ai-done::before{content:"\2713\00a0"}
.tqnc .tqnc-ai-text{width:100%;box-sizing:border-box}
.tqnc-ai-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:10px}
.tqnc-ai-status{font-size:13px;color:var(--tqnc-muted)}
.tqnc-ai-result{margin-top:12px;padding:10px 12px;border-radius:10px;background:#fff;border:1px solid #99d5cf;font-size:14px}
.tqnc-ai-result.tqnc-ai-error{border-color:#fecaca;background:#fef2f2;color:var(--tqnc-error)}
.tqnc-field.tqnc-ai-filled{border-left:3px solid var(--tqnc-primary);padding-left:10px;margin-left:-13px}
.tqnc-ai-turnstile{margin:0 0 8px}
.tqnc [hidden]{display:none}

.tqnc-ai-chip{display:inline-flex;align-items:center;gap:2px}
.tqnc .tqnc-ai .tqnc-ai-info{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;background:none;box-shadow:none;cursor:pointer;color:var(--tqnc-primary);font:italic 700 14px/1 Georgia,"Times New Roman",serif;transform:none}
.tqnc .tqnc-ai .tqnc-ai-info::before{content:"";position:absolute;width:24px;height:24px;border:1.5px solid currentColor;border-radius:50%;box-sizing:border-box}
.tqnc .tqnc-ai .tqnc-ai-info{position:relative;isolation:isolate}
.tqnc .tqnc-ai .tqnc-ai-info:hover,.tqnc .tqnc-ai .tqnc-ai-info.is-open{color:#fff;background:none}
.tqnc .tqnc-ai .tqnc-ai-info:hover::before,.tqnc .tqnc-ai .tqnc-ai-info.is-open::before{background:var(--tqnc-primary);z-index:-1}
.tqnc .tqnc-ai .tqnc-ai-info:focus-visible{outline:3px solid var(--tqnc-primary);outline-offset:-6px;border-radius:50%}
.tqnc-ai-hint{margin:0 0 10px;padding:12px 14px;background:#fff;border:1px solid #99d5cf;border-left:4px solid var(--tqnc-primary);border-radius:10px;font-size:14px;line-height:1.5}
.tqnc-ai-hint p{margin:0 0 6px}
.tqnc-ai-hint p:last-child{margin:0}
.tqnc-ai-hint-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.tqnc .tqnc-ai .tqnc-ai-hint-close{width:36px;height:36px;min-height:36px;padding:0;border:0;background:none;box-shadow:none;color:var(--tqnc-muted);font-size:22px;line-height:1;cursor:pointer;transform:none}
.tqnc-ai-eg{color:var(--tqnc-muted)}
.tqnc-ai-eg span{display:inline-block;margin-right:4px;padding:1px 7px;border-radius:999px;background:#ccfbf1;color:var(--tqnc-primary-dark);font-size:12px;font-weight:600;font-style:normal}
