.admin-link { display: inline; font-size: 0.8rem; font-weight: 400; font-family: inherit; letter-spacing: 0; text-transform: none; color: #5b6770; text-decoration: none; margin-left: 0.4rem; }
.admin-link:hover, .admin-link:focus { text-decoration: underline; }
.job-card .answer h1, .job-card .answer h2, .job-card .answer h3, .job-card .answer h4 { font-family: var(--display); color: var(--navy); line-height: 1.15; margin: 1em 0 0.35em; }
.job-card .answer h1 { font-size: var(--s-28); } .job-card .answer h2 { font-size: var(--s-20); } .job-card .answer h3 { font-size: var(--s-17); } .job-card .answer h4 { font-size: var(--s-15); font-family: var(--text); font-weight: 700; }
.job-card .answer ol { padding-left: 1.3rem; margin: 0 0 1em; }
.job-card .answer blockquote { margin: 0 0 1em; padding-left: 0.9rem; border-left: 3px solid var(--rule); color: var(--ink-2); }
.job-card .answer hr { border: 0; border-top: 1px solid var(--rule); margin: 1em 0; }
/* RICH TEXT classes (job descriptions). Same names and values in the CRM editor and the website's careers.css, so they look alike. */
.rt-font-body { font-family: "Barlow", "Segoe UI", sans-serif; }
.rt-font-heading { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; }
.rt-font-sans { font-family: Arial, Helvetica, sans-serif; }
.rt-font-serif { font-family: Georgia, "Times New Roman", serif; }
.rt-font-mono { font-family: "Courier New", Courier, monospace; }
.rt-size-10 { font-size: 10px; }
.rt-size-11 { font-size: 11px; }
.rt-size-12 { font-size: 12px; }
.rt-size-14 { font-size: 14px; }
.rt-size-16 { font-size: 16px; }
.rt-size-18 { font-size: 18px; }
.rt-size-20 { font-size: 20px; }
.rt-size-24 { font-size: 24px; }
.rt-size-28 { font-size: 28px; }
.rt-size-32 { font-size: 32px; }
.rt-size-36 { font-size: 36px; }
.rt-size-sm { font-size: 14px; }
.rt-size-md { font-size: 16px; }
.rt-size-lg { font-size: 20px; }
.rt-size-xl { font-size: 24px; line-height: 1.2; }
.rt-color-black { color: #1d2327; }
.rt-color-gray { color: #4a5357; }
.rt-color-navy { color: #03365c; }
.rt-color-blue { color: #0b5789; }
.rt-color-green { color: #1d7a3e; }
.rt-color-orange { color: #c75b00; }
.rt-color-red { color: #b22222; }
.rt-align-left { text-align: left; }
.rt-align-center { text-align: center; }
.rt-align-right { text-align: right; }
.rt-align-justify { text-align: justify; }
.rt-underline { text-decoration: underline; }
.rt-strike { text-decoration: line-through; }
.rt-underline.rt-strike { text-decoration: underline line-through; }
.rt-list-disc { list-style-type: disc; }
.rt-list-circle { list-style-type: circle; }
.rt-list-square { list-style-type: square; }
.rt-list-dash { list-style-type: "\2013  "; }
.rt-list-decimal { list-style-type: decimal; }
.rt-list-alpha { list-style-type: lower-alpha; }
.rt-list-roman { list-style-type: lower-roman; }
.job-card.directions { border-left: 4px solid var(--blue); }
.job-card.directions .answer { padding-bottom: 0; }
/* Skills questionnaire (shown after applying). Classes only: the site's CSP blocks inline styles. */
.careers .quest { background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); }
.careers .quest[hidden] { display: none; }
.careers .quest progress { width: 100%; height: 0.5rem; margin: 0.25rem 0 1rem; accent-color: var(--blue); }
.careers .quest-intro { white-space: pre-line; color: var(--ink-2); margin: 0 0 1.25rem; }
.careers .q-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.careers .q-text { display: block; font-weight: 400; font-size: var(--s-15); line-height: 1.5; margin-bottom: 0.7rem; white-space: pre-line; padding: 0; }
.careers .q-text.q-rich { white-space: normal; }
.careers .q-opt { display: flex; align-items: center; gap: 0.6rem; font-weight: 400; font-size: var(--s-15); line-height: 1.35; margin: 0 0 0.5rem; cursor: pointer; }
.careers .q-field .q-opt input[type="radio"], .careers .q-field .q-opt input[type="checkbox"] { width: 1.15rem; height: 1.15rem; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--blue); }
.careers .q-opt > span { flex: none; max-width: 100%; }
.careers .q-field .q-opt .q-other { flex: 1 1 8rem; width: auto; min-height: 2.4rem; padding: 0.4rem 0.6rem; }
.careers .q-scale { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 0.3rem; }
.careers .q-num { position: relative; margin: 0; }
.careers .q-num input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.careers .q-num span { display: block; text-align: center; padding: 0.6rem 0; border: 1px solid var(--rule); border-radius: 6px; font-weight: 600; background: #fff; }
.careers .q-num input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.careers .q-num input:focus-visible + span { box-shadow: 0 0 0 3px rgba(11, 87, 137, 0.35); }
.careers .q-ends { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--s-13); color: var(--ink-2); margin-top: 0.3rem; }
.careers .q-field .q-err { display: none; }
.careers .q-field.q-bad .q-err { display: block; color: var(--red); font-size: var(--s-13); font-weight: 600; margin-top: 0.3rem; }
.careers .q-field.q-bad { border-left: 3px solid var(--red); padding-left: 0.6rem; }
@media (max-width: 520px) { .careers .q-scale { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* Apply form: video introduction */
.vid-set { border: 0; padding: 0; margin: 0 0 1.2rem; min-width: 0; }
.vid-set legend { font-weight: 700; padding: 0; margin-bottom: 0.4rem; }
.vid-prompt { margin: 0 0 0.7rem; }
.vid-box { background: #f4f6f8; border: 1px solid #d6dde3; border-radius: 10px; padding: 0.8rem; }
.vid-box video[hidden], .vid-box [hidden], .vid-set [hidden] { display: none; }
.vid-timer { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; color: #b22222; margin-bottom: 0.4rem; }
.vid-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; justify-content: center; }
.vid-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.vid-status { margin: 0.6rem 0 0; text-align: center; }
.vid-status.vid-bad { color: #b22222; font-weight: 600; }
.vid-box progress, .vid-send progress { width: 100%; }
.vid-cant { margin: 0.6rem 0 0; }
.vid-set #vid-fallback { margin-top: 0.4rem; }
.vid-set #vid-fallback textarea { width: 100%; min-height: 10rem; }
.vid-set .err { display: none; }
.vid-set[aria-invalid="true"] .err { display: block; color: #b22222; font-weight: 600; margin-top: 0.4rem; }
.vid-send { background: #f4f6f8; border: 1px solid #d6dde3; border-radius: 10px; padding: 1rem; }
.vid-send[hidden] { display: none; }
.careers .vid-set[hidden], .vid-set[hidden] { display: none; }

/* Questionnaire: formatted text (paragraphs, headings, bullet lists) and comfortable spacing */
.careers .q-rich-body p, .careers .quest-intro p { margin: 0 0 0.85em; line-height: 1.55; }
.careers .q-rich-body h1, .careers .q-rich-body h2, .careers .q-rich-body h3, .careers .q-rich-body h4,
.careers .quest-intro h1, .careers .quest-intro h2, .careers .quest-intro h3, .careers .quest-intro h4 { font-family: var(--display); color: var(--navy); line-height: 1.2; margin: 0.2em 0 0.5em; font-weight: 700; }
.careers .q-rich-body h4, .careers .quest-intro h4 { font-size: var(--s-17); }
.careers .quest-intro h3 { font-size: var(--s-20); }
.careers .q-rich-body strong, .careers .quest-intro strong { font-weight: 700; }
.careers .q-rich-body ul, .careers .q-rich-body ol, .careers .quest-intro ul, .careers .quest-intro ol { margin: 0 0 1em; padding-left: 1.4rem; }
.careers .q-rich-body li, .careers .quest-intro li { margin: 0 0 0.4em; }
.careers .q-rich-body li > p, .careers .quest-intro li > p { margin: 0; }
.careers .q-rich-body > :last-child { margin-bottom: 0; }
.careers .q-req { font-weight: 600; }
.careers .q-field { margin-bottom: 0; padding: 1.4rem 0; border-top: 1px solid var(--rule); }
.careers .q-field:first-child { border-top: 0; padding-top: 0.4rem; }
.careers .q-field .q-set { margin-top: 0.2rem; }
.careers .q-field .q-opt:first-of-type { margin-top: 0.2rem; }
.careers .quest-intro { white-space: normal; margin-bottom: 1.5rem; }
.careers .quest-intro:not(.rt-content) { white-space: pre-line; }

.careers .apply { position: relative; }
.careers .cancel-app { position: absolute; top: 0.6rem; right: 0.8rem; z-index: 2; background: none; border: 0; padding: 0.25rem 0.4rem; font: inherit; font-size: 0.85rem; color: var(--muted, #5b6770); text-decoration: underline; cursor: pointer; }
.careers .apply:has(#apply-done:not([hidden])) .cancel-app, .careers .apply:has(#quest-done:not([hidden])) .cancel-app, .careers .apply[hidden] .cancel-app { display: none; }
.careers .resume-prompt { background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: 1rem 1.25rem; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.careers .resume-prompt p { margin: 0; flex: 1 1 100%; font-weight: 600; }

/* CAREERS PAGE ONLY: tighter top so the first open position shows without scrolling on a laptop (1440x900). Scoped with :has() so no other page changes. */
.page-head:has(+ .section .careers) { padding-top: 1.1rem; padding-bottom: 1rem; }
.page-head:has(+ .section .careers) h1 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); max-width: none; margin-bottom: 0.4rem; }
.page-head:has(+ .section .careers) .lead { font-size: 1.05rem; margin: 0; max-width: none; }
.section:has(> .wrap.careers) { padding-top: 1.5rem; padding-bottom: 3rem; }
.careers h2#open-h { margin-bottom: 0.6rem; }
.careers #directions { margin-bottom: 0.9rem; }
.careers #directions .job-card { padding: 0.9rem 1.4rem; }
.careers #directions h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.careers #directions .answer ol { margin: 0 0 0.3rem; }
.careers #directions .answer li { margin-bottom: 0.15rem; }
.careers #directions .answer p { margin: 0 0 0.2rem; line-height: 1.4; }

/* video setup / recording studio */
.vid-startrow { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; justify-content: center; }
.vid-startrow[hidden], .vid-studio[hidden] { display: none; }
.vid-filename { font-size: 0.95rem; color: #3b4a56; word-break: break-all; }
.vid-studio { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1rem; align-items: start; }
.vid-studio[data-mode="review"], .vid-studio[data-mode="done"] { grid-template-columns: minmax(0, 1fr); }
.vid-main { min-width: 0; }
.vid-stage { position: relative; background: #000; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; max-height: 60vh; margin: 0 auto 0.6rem; }
.vid-stage video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vid-stage video.vid-live { transform: scaleX(-1); object-fit: cover; }
.vid-count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 6rem; font-weight: 800; color: #fff; background: rgba(0, 0, 0, 0.45); }
.vid-rec { position: absolute; top: 0.6rem; left: 0.6rem; display: flex; align-items: center; gap: 0.4rem; background: rgba(0, 0, 0, 0.6); color: #fff; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px; }
.vid-rec .vid-timer { margin: 0; color: #fff; font-size: 1rem; }
.vid-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #e02424; animation: vid-blink 1s infinite; }
@keyframes vid-blink { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .vid-dot { animation: none; } }
.vid-tools[hidden], .vid-rec[hidden], .vid-count[hidden], .vid-guide[hidden], .vid-pickers[hidden] { display: none; }
.vid-meter { height: 0.8rem; background: #dfe5ea; border-radius: 999px; overflow: hidden; }
.vid-meter-bar { height: 100%; width: 0; background: #2f9e44; transition: width 0.08s linear; }
.vid-mic-msg { margin: 0.3rem 0 0.5rem; text-align: center; font-weight: 600; }
.vid-mic-msg.vid-good { color: #1b7a34; }
.vid-mic-msg.vid-bad { color: #b22222; }
.vid-pickers { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.6rem; }
.vid-pickers label { flex: 1 1 12rem; font-size: 0.9rem; }
.vid-pickers select { width: 100%; min-height: 2.6rem; }
.vid-big { font-size: 1.15rem; padding-left: 2rem; padding-right: 2rem; }
.vid-guide { background: #fff; border: 1px solid #d6dde3; border-radius: 8px; padding: 0.8rem 1rem; }
.vid-guide h4 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.vid-guide-body > :first-child { margin-top: 0; }
.vid-guide-body > :last-child { margin-bottom: 0; }
@media (max-width: 760px) { .vid-studio { grid-template-columns: minmax(0, 1fr); } .vid-count { font-size: 4.5rem; } .vid-stage { max-height: 50vh; } }

/* phones: the fixed Text us / Free quote bar (about 4.2rem tall) must never cover the apply form, video setup or questionnaire */
@media (max-width: 720px) {
  html { scroll-padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .careers { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

/* Job card benefits: a "Benefits" label over a bulleted list (classes only; the CSP blocks inline styles). */
.job-card .benefits-label { font-weight: 700; color: var(--navy); margin: 0 0 0.2rem; line-height: 1.4; }
.job-card ul.benefits { list-style: disc; padding-left: 1.3rem; margin: 0 0 0.75rem; color: var(--ink-2); line-height: 1.45; }
.job-card ul.benefits li { margin: 0; }

/* Desktop: the apply flow (form, video setup, recording, questionnaire) uses the page width instead of a 46rem column. Phones unchanged. */
@media (min-width: 1024px) {
  .careers .apply { max-width: 46rem; }
  .careers .apply .fill > .field:not(.vid-set), .careers .apply .fill > .row, .careers .apply .fill > #questions, .careers .apply .fill > .note, .careers .apply .fill > .form-error, .careers .apply .fill > .btn { max-width: 40rem; }
  .careers .apply .fill > .btn { width: auto; min-width: 14rem; }
  .careers .apply .fill > .row { display: grid; }
  .vid-studio { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .vid-box { padding: 1.2rem; }
  .vid-guide { padding: 1.1rem 1.4rem; font-size: 1.02rem; line-height: 1.5; }
  .vid-guide-body ul { padding-left: 1.3rem; }
  .careers .quest .quest-intro, .careers .quest #quest-body { max-width: 56rem; }
}

/* Questionnaire rules: follow-up questions under their answer, and the pop-up message (classes only; the CSP blocks inline styles). */
.q-follow { margin-top: 0.9rem; padding-left: 0.9rem; border-left: 3px solid var(--navy); }
.q-follow[hidden] { display: none; }
.q-follow .q-field { margin-top: 0.7rem; }
.q-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(10, 20, 30, 0.6); }
.q-modal-box { background: #fff; color: var(--ink); border-radius: 12px; padding: 1.4rem 1.3rem 1.2rem; width: 100%; max-width: 30rem; max-height: 90vh; overflow-y: auto; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); }
.q-modal-text { margin: 0 0 1.1rem; font-size: 1.08rem; line-height: 1.5; }
.q-modal-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.q-modal-actions .btn { flex: 1 1 10rem; justify-content: center; }

/* Resume (required): upload, or type the work history when the owner turns that on in the CRM */
.resume-set { border: 0; padding: 0; margin: 0 0 1.2rem; min-width: 0; }
.resume-set legend { font-weight: 700; padding: 0; margin-bottom: 0.4rem; }
.resume-choice { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin: 0 0 0.6rem; }
.resume-opt { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; font-weight: 600; }
.resume-opt input { width: auto; min-height: 0; padding: 0; margin: 0; }
.resume-instr { white-space: pre-line; margin: 0 0 0.6rem; padding: 0.7rem 0.9rem; background: rgba(0,0,0,0.04); border-radius: 0.5rem; }
.resume-set #resume-typed textarea { width: 100%; min-height: 12rem; }
.resume-set .err { display: none; color: #b22222; font-weight: 600; margin-top: 0.4rem; }
.resume-set[aria-invalid="true"] .err { display: block; }

/* basic rich text box for the typed work history */
.rte-label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.rte { border: 1px solid #b9c2c7; border-radius: 0.5rem; background: #fff; }
.rte:focus-within { outline: 2px solid #0b5789; outline-offset: 1px; }
.rte-bar { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.35rem; border-bottom: 1px solid #d6dcdf; background: #f3f5f6; border-radius: 0.5rem 0.5rem 0 0; }
.rte-bar button { min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.7rem; border: 1px solid #b9c2c7; border-radius: 0.4rem; background: #fff; color: #1d2327; font: inherit; font-size: 1rem; cursor: pointer; }
.rte-bar button:hover { background: #e8eef2; }
.rte-body { min-height: 12rem; max-height: 28rem; overflow-y: auto; padding: 0.7rem 0.8rem; outline: none; color: #1d2327; overflow-wrap: anywhere; }
.rte-body p, .rte-body div { margin: 0 0 0.5em; } .rte-body ul, .rte-body ol { margin: 0 0 0.5em; padding-left: 1.5em; } .rte-body h3 { margin: 0.4em 0 0.3em; font-size: 1.15rem; }
.rte-body[contenteditable="false"] { background: #f3f5f6; }
.rte-count { color: #b22222; font-weight: 600; margin: 0.3rem 0 0; min-height: 1.2em; }

/* address / phone / date answers in the skills questionnaire (2026-11-16) */
.careers .q-field .q-addr { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.4rem; }
.careers .q-field label.q-addr-box { display: flex; flex-direction: column; gap: 0.2rem; margin: 0; font-weight: 400; min-width: 0; }
.careers .q-field .q-addr-l { font-size: var(--s-13); color: var(--ink-2); font-weight: 400; }
.careers .q-field .q-addr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.careers .q-field .q-addr-row .q-addr-city { grid-column: 1 / -1; }
@media (min-width: 560px) { .careers .q-field .q-addr-row { grid-template-columns: 2fr 1fr 1fr; } .careers .q-field .q-addr-row .q-addr-city { grid-column: auto; } }
.careers .q-field .q-addr-err { color: var(--red); font-size: var(--s-13); font-weight: 600; margin-top: -0.2rem; }
.careers .q-field .q-addr-err[hidden] { display: none; }
.careers .q-field .q-addr-sugwrap { position: relative; }
.careers .q-field .q-sug { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 0.15rem 0 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); max-height: 17rem; overflow-y: auto; }
.careers .q-field .q-sug[hidden] { display: none; }
.careers .q-field .q-sug li { padding: 0.65rem 0.8rem; min-height: 44px; cursor: pointer; font-size: var(--s-15); }
.careers .q-field .q-sug li.on, .careers .q-field .q-sug li:hover { background: #eef3ff; }
.careers .q-field .q-old { background: #f3f5f7; border: 1px solid var(--rule); border-radius: 8px; padding: 0.5rem 0.7rem; font-size: var(--s-13); color: var(--ink-2); margin: 0.3rem 0 0.6rem; overflow-wrap: anywhere; }
.careers .q-field .q-date-row { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.4rem; }
.careers .q-field .q-date-row input[type="date"] { max-width: 16rem; }
.careers .q-field .q-date-shown { font-weight: 600; color: var(--ink-2); }
.careers .q-field .q-hint { font-size: var(--s-13); color: var(--ink-2); margin-top: 0.3rem; }
.careers .q-field input[type="tel"] { max-width: 18rem; }
.careers .q-field.q-addr-field .q-err, .careers .q-field.q-addr-field.q-bad .q-err { display: none; }
