/* SUPPORT 10/30 — the 🆘 Technical support menu item + box (same file on the portal / rep app and the calling station) */
.hv-sos-item { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; font-weight: 700; padding: 6px 0; white-space: nowrap; position: relative; }
.hv-sos-item:hover { text-decoration: underline; }
.hv-sos-dot { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 9px; background: #d92d20; color: #fff; font-size: 12px; text-align: center; vertical-align: middle; }
html.hv-sos-on, html.hv-sos-on body { overflow: hidden; }
.hv-sos { position: fixed; inset: 0; z-index: 2147483000; background: rgba(10, 14, 20, 0.55); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 12px 12px; overflow-y: auto; }
.hv-sos[hidden] { display: none; }
.hv-sos-card { width: 100%; max-width: 560px; background: #ffffff; color: #101828; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); padding: 18px 18px 14px; font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: left; }
.hv-sos-top { display: flex; align-items: center; gap: 10px; }
.hv-sos-title { font-size: 20px; flex: 1; }
.hv-sos-ghost { background: none; border: 1px solid #d0d5dd; color: #344054; border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; cursor: pointer; }
.hv-sos-x { border: 0; font-size: 22px; padding: 2px 8px; }
.hv-sos-sub { margin: 6px 0 10px; color: #475467; font-size: 14px; }
.hv-sos-replying { margin: 0 0 8px; padding: 8px 10px; border-radius: 8px; background: #eff8ff; color: #175cd3; font-size: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hv-sos-replying[hidden] { display: none; }
.hv-sos-text { width: 100%; box-sizing: border-box; min-height: 104px; border: 2px solid #d0d5dd; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 17px; color: #101828; background: #fff; resize: vertical; }
.hv-sos-text:focus { outline: none; border-color: #2e90fa; }
.hv-sos-row { display: flex; gap: 10px; margin-top: 10px; }
.hv-sos-mic, .hv-sos-send { flex: 1; min-height: 60px; border-radius: 14px; border: 0; font: inherit; font-size: 20px; font-weight: 800; cursor: pointer; }
.hv-sos-mic { background: #f2f4f7; color: #101828; border: 2px solid #d0d5dd; }
.hv-sos-send { background: #d92d20; color: #fff; }
.hv-sos-send:disabled { opacity: 0.55; cursor: wait; }
.hv-sos-meter { height: 8px; margin-top: 8px; border-radius: 4px; background: #eaecf0; overflow: hidden; }
.hv-sos-meter[hidden] { display: none; }
.hv-sos-meter i { display: block; height: 100%; width: 0; background: #12b76a; transition: width 80ms linear; }
.hv-sos-status { min-height: 1.4em; margin: 10px 0 0; font-size: 15px; color: #344054; }
.hv-sos-ok { color: #067647; font-weight: 700; }
.hv-sos-bad { color: #b42318; font-weight: 700; }
.hv-sos-h { margin: 16px 0 6px; font-size: 15px; color: #475467; text-transform: uppercase; letter-spacing: 0.04em; }
.hv-sos-list { display: flex; flex-direction: column; gap: 10px; }
.hv-sos-none { color: #667085; font-size: 14px; margin: 0; }
.hv-sos-ticket { border: 1px solid #eaecf0; border-radius: 12px; padding: 10px 12px; }
.hv-sos-new { border-color: #d92d20; box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.15); }
.hv-sos-thead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.hv-sos-state { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: #f2f4f7; color: #344054; }
.hv-sos-answered { background: #ecfdf3; color: #067647; }
.hv-sos-closed { background: #f2f4f7; color: #667085; }
.hv-sos-msg { margin: 6px 0; font-size: 15px; white-space: pre-wrap; word-break: break-word; }
.hv-sos-tech { background: #ecfdf3; border-radius: 8px; padding: 6px 8px; }
.hv-sos-you b, .hv-sos-tech b { font-weight: 700; }
@media (max-width: 600px) {
  .hv-sos { padding: 0; align-items: stretch; }
  .hv-sos-card { max-width: none; min-height: 100%; border-radius: 0; padding: 14px 14px 24px; }
  .hv-sos-mic, .hv-sos-send { min-height: 72px; font-size: 22px; }
}
/* SUPPORT #2 (OFFICE's flag: the rep app's top bar was 465 px on a 390 px phone): on a phone the rep app shows just 🆘 (+ the red number) */
@media (max-width: 600px) { .hv-sos-item.link-btn .hv-sos-label { display: none; } .hv-sos-item.link-btn { font-size: 20px; padding: 2px 0; } }
/* SUPPORT #3: a new release is live — the person refreshes when it suits them */
.hv-newv { position: fixed; left: 50%; transform: translateX(-50%); top: 58px; z-index: 2147482000; background: #12b76a; color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font: 700 14px system-ui, -apple-system, sans-serif; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22); }
.hv-newv:disabled { opacity: 0.7; }
/* SUPPORT #5 the job card: what Melissa is working on, how far along, the time left */
.hv-jobs { position: fixed; left: 16px; bottom: 64px; z-index: 8990; width: min(340px, calc(100vw - 32px)); background: #fff; color: #1f2937; border: 1px solid #d0d7e2; border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16); font: 14px/1.35 system-ui, -apple-system, sans-serif; overflow: hidden; }
.hv-jobs[hidden] { display: none; }
.hv-jobs-head { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 8px; border: 0; background: #2463d1; color: #fff; padding: 8px 12px; font: 700 14px system-ui, -apple-system, sans-serif; cursor: pointer; text-align: left; }
.hv-jobs-n { font-weight: 500; opacity: 0.9; font-size: 12px; }
.hv-jobs-list { max-height: 46vh; overflow-y: auto; }
.hv-jobs-list[hidden] { display: none; }
.hv-jobs-row { padding: 8px 12px; border-top: 1px solid #eef1f5; }
.hv-jobs-goal { font-weight: 600; overflow-wrap: anywhere; }
.hv-jobs-bar { height: 6px; background: #e8edf5; border-radius: 99px; margin: 6px 0 4px; overflow: hidden; }
.hv-jobs-bar i { display: block; height: 100%; background: #12b76a; border-radius: 99px; transition: width 0.6s ease; }
.hv-jobs-words { font-size: 13px; color: #475467; }
.hv-jobs-rough { font-size: 11px; color: #98a2b3; }
.hv-jobs-check { margin-top: 4px; font-size: 12px; color: #8a4b00; background: #fff7e6; border-radius: 6px; padding: 4px 6px; }
.hv-jobs-flag { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 1px 7px; vertical-align: 1px; }
.hv-jobs-flag.late { background: #fff1d6; color: #8a4b00; }
.hv-jobs-flag.stuck { background: #fde2e1; color: #b42318; }
.hv-jobs-flag.ok { background: #e3f2ff; color: #175cd3; }
.hv-jobs-flag.q { background: #f2f4f7; color: #475467; }
.hv-jobs-flag.long { background: #ece8ff; color: #5925dc; }
.hv-jobs-more { padding: 6px 12px; font-size: 12px; color: #667085; border-top: 1px solid #eef1f5; }
/* SUPPORT #5c the jobs' live lines just above the Melissa chat box (Station) / beside her caption (HQ): one line per job, changed in place */
.hv-jl { display: flex; flex-direction: column; gap: 4px; margin: 6px 0; font: 13px/1.35 system-ui, -apple-system, sans-serif; }
.hv-jl[hidden] { display: none; }
/* 1.2.408 (Gizzy 11/1 ~2:40 PM: "a little chat part, and then a whole bunch of big text … all of that should be removed"): no job lines above the chat box. Job status lives with each agent (STATION #45 panel), not on the chat page. The card still runs, so the Station keeps getting hv:job-ended. */
.hv-jl { display: none !important; }
.hv-jl-row { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: #eef4ff; color: #1f3a68; border: 1px solid #cfdcf5; cursor: pointer; }
.hv-jl-row.amber { background: #fff6e0; color: #6b4a00; border-color: #f0d38a; }
.hv-jl-row.done { background: #eaf7ee; color: #1e5631; border-color: #bfe3c9; cursor: default; }
.hv-jl-txt { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.hv-jl-dot { width: 8px; height: 8px; border-radius: 50%; background: #2463d1; flex: none; animation: hvjl 1.2s ease-in-out infinite; }
.hv-jl-row.amber .hv-jl-dot { background: #d99a00; animation: none; }
@keyframes hvjl { 50% { opacity: 0.3; } }
.hv-jl-bar { position: absolute; left: 0; bottom: 0; height: 3px; background: #2463d1; opacity: 0.6; }
.hv-jl-steps { flex-basis: 100%; margin: 2px 0 0 14px; padding: 0 0 0 12px; font-size: 12px; color: #374151; }
.hv-jl-steps li.bad { color: #b42318; }
.hv-jl-dl { font-weight: 600; color: inherit; }
.hv-jl-more { font-size: 12px; color: #6b7280; padding-left: 10px; }
.hq-mel .hv-jl { width: 100%; max-width: 520px; text-align: left; }
@media (prefers-reduced-motion: reduce) { .hv-jl-dot { animation: none; } }
