/* Sara: the floating "Ask Sara" button, the live voice call and the text chat.
   Shared by index.html and videos.html (loaded by sara.js pages). */
@keyframes vote-pulse { 0% { box-shadow: 0 0 0 0 rgba(237,28,36,.55); } 70% { box-shadow: 0 0 0 16px rgba(237,28,36,0); } 100% { box-shadow: 0 0 0 0 rgba(237,28,36,0); } }
/* ---- Nora: live voice assistant ---- */
[data-nora] { display: none; }
body.nora-on [data-nora] { display: flex; }
.nora-strip { background: linear-gradient(90deg, #EEF5FC, #FFFFFF 60%, #FEF0F0); border-bottom: 1px solid var(--line); }
.nora-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; flex-wrap: wrap; }
.nora-strip .nora-copy { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nora-strip .nora-dot { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; background: radial-gradient(circle at 35% 35%, #4D9BE6, #005AAB 60%, #062B55); box-shadow: 0 0 0 4px #fff, 0 6px 18px rgba(0,90,171,.35); animation: nora-breathe 3s ease-in-out infinite; }
.nora-strip b { display: block; font-size: 17px; color: var(--blue-900); }
.nora-strip span { font-size: 14px; color: var(--muted); }
.nora-strip b .nora-name-inline { font-size: 17px; color: var(--red); font-weight: 800; }
.nora-strip .nora-talk span { font-size: 16px; color: #fff; }
.nora-talk { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px 14px 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 800; color: #fff; background: var(--blue); box-shadow: 0 10px 26px rgba(0,90,171,.35); transition: background .15s, transform .15s; }
.nora-talk:hover { background: var(--blue-700); transform: translateY(-1px); }
.nora-talk svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes nora-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }

.float-stack { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 10px; }
.float-stack .vote-float { position: relative; right: auto; bottom: auto; }
.nora-float:not(.dock-btn) { width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 35%, #2B7FD0, #005AAB 60%, #062B55); box-shadow: 0 10px 26px rgba(0,90,171,.45), 0 0 0 3px #fff; transition: transform .15s; }
body.nora-on .nora-float:not(.dock-btn) { display: grid; }
.nora-float:hover { transform: translateY(-2px) scale(1.04); }
.nora-float svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) {
  .float-stack { right: 12px; bottom: 12px; gap: 8px; }
  .nora-float { width: 46px; height: 46px; }
  .nora-strip .wrap { padding: 14px 0; }
  .nora-talk { width: 100%; justify-content: center; }
}

/* The live call: Jim's panel on the left, Sara on the right */
.nora-call { position: fixed; inset: 0; z-index: 70; display: none; background: #030A17; color: #fff; }
.nora-call.show { display: flex; }
.nc-left { flex: 0 0 47%; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 30px 40px;
  background: radial-gradient(900px 500px at 15% 0%, rgba(77,155,230,.45), transparent 60%), linear-gradient(150deg, #0A4D96 0%, #005AAB 35%, #003B72 75%, #062B55 100%); }
.nc-left::before { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none; background-image: radial-gradient(#fff 1.2px, transparent 1.2px); background-size: 22px 22px; }
.nc-left::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); }
.nc-brand { position: relative; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; }
.nc-brand img { width: 38px; height: 38px; border-radius: 50%; background: #fff; }
.nc-hero { position: relative; margin: auto 0; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; max-width: 560px; }
.nc-jim { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 6px solid rgba(255,255,255,.95); box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 12px rgba(255,255,255,.08); }
.nc-hero h2 { margin: 0; font-size: 36px; font-weight: 900; letter-spacing: -.02em; line-height: 1.05; }
.nc-role { margin: 6px 0 0; font-size: 15px; font-weight: 600; color: #BFDCF7; }
.nc-quote { margin: 18px 0 0; padding: 0 0 0 16px; border-left: 4px solid var(--red); font-size: 18px; line-height: 1.5; font-style: italic; color: #fff; }
.nc-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.nc-facts li { display: flex; gap: 10px; font-size: 14px; color: #DCEBFA; }
.nc-facts li::before { content: ""; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.nc-date { position: relative; display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: 13px; font-weight: 700; }

.nc-right { flex: 1; min-width: 0; padding: 0; display: flex; flex-direction: column; background: radial-gradient(120% 80% at 50% 30%, #0C1F3D 0%, #061226 55%, #030A17 100%); }
.nc-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 0; }
.nc-live { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #A9CBEC; }
.nc-live i { width: 8px; height: 8px; border-radius: 50%; background: #64748b; }
.nc-live i.on { background: #34d399; animation: nc-blink 1.4s infinite; }
@keyframes nc-blink { 50% { opacity: .35; } }
.nc-round { width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); }
.nc-round:hover { background: rgba(255,255,255,.2); }
.nc-round svg, .nc-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nc-body { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; padding: 16px 28px 26px; }
.nc-body > * { margin-top: auto; margin-bottom: auto; }  /* centred, but never cut off when taller than the screen */
.nc-form[hidden], .nc-callview[hidden] { display: none; }

/* The details form Sara asks for after the first question */
.nc-form { width: 100%; max-width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.nc-form > h3, .nc-form > p, .nc-form > .nc-start, .nc-form > .nc-wait { grid-column: 1 / -1; }
.nc-wait { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7FC0FF; }
.nc-wait i { width: 10px; height: 10px; border-radius: 50%; background: #4DA3FF; box-shadow: 0 0 0 0 rgba(77,163,255,.6); animation: nc-ping 1.6s infinite; }
@keyframes nc-ping { 70% { box-shadow: 0 0 0 10px rgba(77,163,255,0); } 100% { box-shadow: 0 0 0 0 rgba(77,163,255,0); } }
.nc-form h3 { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: -.01em; }
.nc-form > p { margin: -4px 0 2px; font-size: 13.5px; line-height: 1.45; color: #A9CBEC; }
.nc-form label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: #DCEBFA; }
.nc-form input { width: 100%; font: inherit; font-size: 15px; color: #fff; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.18); border-radius: 10px; padding: 10px 12px; outline: none; }
.nc-form input::placeholder { color: #6E85A6; }
.nc-form input:focus { border-color: #4DA3FF; box-shadow: 0 0 0 3px rgba(77,163,255,.25); }
.nc-form .bad input { border-color: #FF6B70; }
.nc-form .ferr { color: #FF9EA1; font-size: 12px; font-weight: 600; min-height: 0; }
.nc-form .nc-consent { grid-column: 1 / -1; font-size: 11px; line-height: 1.4; color: #7B8BA3; margin: 0; text-align: center; }
.nc-start { margin-top: 2px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px; border: 0; border-radius: 12px; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 800; color: #fff; background: var(--red); box-shadow: 0 12px 30px rgba(237,28,36,.35); }
.nc-start:hover { background: var(--red-600); }
.nc-start svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Step 2: the call */
/* The call always fits one screen: the circle scales with the height, captions scroll, buttons stay put */
.nc-callview { width: 100%; max-width: 440px; height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.nc-callview canvas { width: min(330px, 36vh); height: min(330px, 36vh); flex-shrink: 0; }
.nc-name { margin: 2px 0 0; font-size: 24px; font-weight: 900; }
.nc-status { margin: 4px 0 0; min-height: 16px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #FF6B70; text-align: center; }
.nc-caps { margin-top: 14px; width: 100%; flex: 0 1 auto; min-height: 52px; max-height: 30vh; overflow-y: auto; text-align: center; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.nc-caps .you { color: #FFC7C9; font-style: italic; font-size: 14px; margin: 0 0 10px; }
.nc-caps .her { color: rgba(255,255,255,.92); font-size: 15.5px; line-height: 1.55; margin: 0; }
.nc-caps .err { color: #FDA4AF; font-size: 14px; margin: 8px auto 0; max-width: 400px; }
.nc-controls { margin-top: 14px; flex-shrink: 0; display: flex; align-items: center; gap: 18px; }
.nc-btn { border: 0; cursor: pointer; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.nc-mute { width: 56px; height: 56px; background: rgba(255,255,255,.1); }
.nc-mute:hover { background: rgba(255,255,255,.2); }
.nc-mute.muted { background: #fff; color: #062B55; }
.nc-end { width: 64px; height: 64px; background: var(--red); box-shadow: 0 10px 30px rgba(237,28,36,.45); }
.nc-end:hover { background: var(--red-600); }
.nc-end svg { width: 28px; height: 28px; }
.nc-retry { display: none; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 900; font-size: 14px; color: #fff; background: var(--red); }
.nc-note { flex-shrink: 0; margin: 12px 0 0; max-width: 320px; text-align: center; font-size: 11px; line-height: 1.45; color: #7B8BA3; }

@media (max-width: 900px) {
  .nora-call { flex-direction: column; overflow-y: auto; }
  .nc-left { flex: 0 0 auto; padding: 16px 64px 20px 18px; }
  .nc-brand { display: none; }
  .nc-hero { grid-template-columns: 72px 1fr; gap: 14px; margin: 0; }
  .nc-jim { width: 72px; height: 72px; border-width: 3px; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
  .nc-hero h2 { font-size: 22px; }
  .nc-role { font-size: 12.5px; margin-top: 2px; }
  .nc-quote, .nc-facts, .nc-date { display: none; }
  .nc-top { position: absolute; top: 12px; right: 12px; padding: 0; }
  .nc-live { display: none; }
  .nc-right { flex: 1 0 auto; position: relative; }
  .nc-body { justify-content: flex-start; padding: 12px 18px 18px; }
  .nc-form > p { display: none; }
  .nc-callview canvas { width: min(250px, 30vh); height: min(250px, 30vh); }
  .nora-call { overflow: hidden; }
  .nc-right { flex: 1 1 auto; min-height: 0; }
  .nc-caps { max-height: 26vh; }
}
@media (max-height: 760px) { .nc-note { display: none; } }
@media (max-width: 480px) { .nc-form { grid-template-columns: 1fr; } }


/* Speech bubble that explains the round mic button */
.nora-wrap { position: relative; display: none; }
body.nora-on .nora-wrap { display: block; }
.nora-float:not(.dock-btn)::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(43,127,208,.55); animation: nora-ring 2.2s ease-out infinite; pointer-events: none; }
.nora-float { position: relative; }
@keyframes nora-ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.nora-bubble { position: absolute; right: -6px; bottom: calc(100% + 14px); width: 230px; padding: 12px 30px 12px 14px; border-radius: 14px;
  background: #fff; color: var(--ink); box-shadow: 0 14px 34px rgba(6,43,85,.28), 0 0 0 1px rgba(6,43,85,.08); cursor: pointer;
  opacity: 0; transform: translateY(8px) scale(.96); transform-origin: bottom right; pointer-events: none; transition: opacity .25s, transform .25s; }
.nora-bubble::after { content: ""; position: absolute; right: 24px; bottom: -7px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); box-shadow: 3px 3px 6px rgba(6,43,85,.08); }
.nora-bubble b { display: block; font-size: 14px; color: var(--blue-900); }
.nora-bubble .nora-ask { color: var(--red); }
.nora-bubble span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.nora-bubble .nora-ask { display: inline; margin: 0; font-size: inherit; }
.nora-bubble .nb-x { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--canvas); color: var(--muted); font-size: 15px; line-height: 1; cursor: pointer; }
.nora-bubble .nb-x:hover { background: var(--line); color: var(--ink); }
.nora-wrap.tip .nora-bubble, .nora-wrap:hover .nora-bubble { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 600px) { .nora-bubble { width: 200px; right: -4px; } }


/* ===== The chat (inline in the section, and in the floating panel) ===== */
.sc { display: flex; flex-direction: column; min-height: 0; height: 100%; background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(3,10,23,.35); }
.sc-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #fff; background: linear-gradient(120deg, #062B55, #005AAB); }
.sc-head img { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 3px; flex-shrink: 0; }
.sc-head b { display: block; font-size: 15px; font-weight: 800; }
.sc-head small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #BFDCF7; }
.sc-head small i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; }
.sc-head .sc-x { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(255,255,255,.12); font-size: 20px; line-height: 1; }
.sc-head .sc-x:hover { background: rgba(255,255,255,.25); }
.sc-log { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(#F5F9FD, #fff); scrollbar-width: thin; }
.sc-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.sc-msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.sc-msg.her { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(6,43,85,.05); }
.sc-msg.her p { margin: 0 0 8px; } .sc-msg.her p:last-child { margin-bottom: 0; }
.sc-msg.her ul, .sc-msg.her ol { margin: 4px 0 8px; padding-left: 20px; } .sc-msg.her li { margin: 2px 0; }
.sc-msg.her a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.sc-msg.her strong { color: var(--blue-900); }
.sc-msg.err { align-self: center; background: var(--red-50); color: #9F1239; border: 1px solid #FECDD3; font-size: 13px; text-align: center; }
.sc-msg.err button { margin-left: 6px; border: 0; background: none; color: #9F1239; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.sc-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 4px; }
.sc-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AB3CF; animation: sc-dot 1.2s infinite; }
.sc-typing i:nth-child(2) { animation-delay: .15s; } .sc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes sc-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.sc-starters { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sc-starters button { border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue-700); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-align: left; }
.sc-starters button:hover { background: var(--blue-100); }
.sc-form { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--blue-100); box-shadow: 0 6px 20px rgba(6,43,85,.08); }
.sc-form b { grid-column: 1 / -1; font-size: 14px; color: var(--blue-900); }
.sc-form label { display: grid; gap: 3px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.sc-form input { width: 100%; font: inherit; font-size: 14px; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 9px; outline: none; color: var(--ink); }
.sc-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,90,171,.15); }
.sc-form .bad input { border-color: var(--red); }
.sc-form .ferr { color: var(--red); font-size: 11px; font-weight: 600; }
.sc-form button { grid-column: 1 / -1; padding: 11px; border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-weight: 800; color: #fff; background: var(--red); }
.sc-form button:disabled { opacity: .6; cursor: default; }
.sc-form small { grid-column: 1 / -1; font-size: 10.5px; color: var(--muted); line-height: 1.4; }
.sc-bar { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.sc-bar textarea { flex: 1; resize: none; min-height: 44px; max-height: 120px; font: inherit; font-size: 14.5px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 12px; outline: none; color: var(--ink); }
.sc-bar textarea:focus { border-color: var(--blue); }
.sc-bar button { width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 12px; cursor: pointer; display: grid; place-items: center; color: #fff; background: var(--blue); }
.sc-bar button:disabled { opacity: .45; cursor: default; }
.sc-bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sc-note { margin: 0; padding: 0 12px 10px; font-size: 10.5px; color: var(--muted); background: #fff; }
.sara-chat-col { min-height: 520px; height: 100%; }
.sara-chat-col .sc { box-shadow: 0 30px 70px rgba(6,43,85,.18); border: 1px solid var(--line); }

/* floating chat */
.chat-float { display: none; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; place-items: center; color: #fff; position: relative;
  background: radial-gradient(circle at 35% 35%, #F0444B, #ED1C24 60%, #A50E14); box-shadow: 0 10px 26px rgba(237,28,36,.4), 0 0 0 3px #fff; transition: transform .15s; }
body.chat-on .chat-float { display: grid; }
.chat-float:hover { transform: translateY(-2px) scale(1.04); }
.chat-float svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat-pop { position: fixed; right: 18px; bottom: 84px; z-index: 60; width: 380px; height: min(600px, calc(100vh - 110px)); display: none; }
.chat-pop.show { display: block; animation: chat-up .2s ease-out; }
@keyframes chat-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .sara-sec { padding: 44px 0; }
  .sara-grid { grid-template-columns: 1fr; gap: 26px; }
  .sara-chat-col { height: 480px; min-height: 0; }
  .sara-intro { padding: 28px 22px 26px; }
}
@media (max-width: 600px) {
  .chat-float { width: 46px; height: 46px; }
  .chat-pop { inset: 0; width: auto; height: auto; }
  .chat-pop .sc { border-radius: 0; }
  .sara-btn { width: 100%; justify-content: center; }
  .sc-form { grid-template-columns: 1fr; }
}

/* Call screen: Jim's logo in the circle, and the 3-minute timer */
.nc-timer { display: inline-flex; align-items: center; gap: 7px; margin: 8px 0 0; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; color: #DCEBFA; flex-shrink: 0; }
.nc-timer[hidden] { display: none; }
.nc-timer svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nc-timer.low { background: rgba(237,28,36,.25); border-color: rgba(255,107,112,.6); color: #fff; animation: nc-blink 1s infinite; }


/* ===== Call screen: timer in the top bar, language ===== */
.nc-top-r { display: flex; align-items: center; gap: 10px; }
.nc-timer { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums;
  color: #1A1300; background: linear-gradient(180deg, #FFD54A, #FFB300); box-shadow: 0 6px 18px rgba(255,179,0,.4); flex-shrink: 0; margin: 0; border: 0; }
.nc-timer[hidden] { display: none; }
.nc-timer svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nc-timer.low { color: #fff; background: linear-gradient(180deg, #FF4D55, #D3141B); box-shadow: 0 6px 18px rgba(237,28,36,.5); animation: nc-blink 1s infinite; }
.nc-lang { font: inherit; font-size: 12.5px; font-weight: 800; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 7px 10px; outline: none; cursor: pointer; }
.nc-lang option { color: var(--ink); }
@media (max-width: 900px) {
  .nc-top { position: static; padding: 10px 12px 0; justify-content: flex-end; }
  .nc-left { padding-right: 18px; }
  .nc-top-r { gap: 6px; } .nc-timer { padding: 6px 10px; font-size: 13px; } .nc-lang { padding: 6px 6px; }
}

.sc-head select { margin-left: auto; font: inherit; font-size: 12px; font-weight: 800; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 5px 8px; outline: none; cursor: pointer; }
.sc-head select option { color: var(--ink); }
.sc-head select + .sc-x { margin-left: 8px; }
/* ===== Floating help: one compact "Ask Sara" pill with a small menu ===== */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-btn { display: none; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; color: #fff;
  background: linear-gradient(135deg, #062B55, #005AAB); box-shadow: 0 14px 34px rgba(6,43,85,.4), 0 0 0 3px #fff; transition: transform .15s; }
body.sara-on .fab-btn { display: inline-flex; }
.fab-btn:hover { transform: translateY(-2px); }
.fab-av { position: relative; width: 42px; height: 42px; flex-shrink: 0; }
.fab-av img { width: 42px; height: 42px; border-radius: 50%; background: #fff; padding: 3px; }
.fab-av i { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 2px #062B55; }
.fab-av::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(127,192,255,.7); animation: nora-ring 2.2s ease-out infinite; }
.fab-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.fab-txt small { font-size: 11px; font-weight: 700; color: #BFDCF7; }
.fab-txt b { font-size: 15px; font-weight: 900; }
.fab-x { display: none; width: 22px; font-size: 24px; line-height: 1; text-align: center; }
.fab.open .fab-x { display: block; } .fab.open .fab-txt { display: none; }
.fab.open .fab-btn { padding-right: 10px; }
.fab-menu { width: 270px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(6,43,85,.3), 0 0 0 1px rgba(6,43,85,.06);
  opacity: 0; transform: translateY(10px) scale(.97); transform-origin: bottom right; pointer-events: none; transition: opacity .18s, transform .18s; }
.fab.open .fab-menu { opacity: 1; transform: none; pointer-events: auto; }
.fab-head { padding: 8px 10px 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fab-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border: 0; border-radius: 12px; background: none; cursor: pointer; font: inherit; text-align: left; text-decoration: none; color: var(--ink); }
.fab-item:hover { background: var(--blue-50); }
.fab-item .fi { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.fab-item .fi svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fab-item.talk .fi { background: linear-gradient(135deg, #2B7FD0, #005AAB); }
.fab-item.chat .fi { background: linear-gradient(135deg, #2C4F7C, #0F2747); }
.fab-item.vote .fi { background: linear-gradient(135deg, #F0444B, #D3141B); }
.fab-item b { display: block; font-size: 14.5px; font-weight: 800; color: var(--blue-900); }
.fab-item small { display: block; font-size: 12px; color: var(--muted); }
body:not(.nora-on) .fab-item.talk, body:not(.chat-on) .fab-item.chat { display: none; }
/* Round Vote button, just left of the Ask Sara pill (or alone in the corner when Sara is off) */
.fab-vote { position: fixed; z-index: 45; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: radial-gradient(circle at 35% 30%, #F0444B, #ED1C24 55%, #B4121A); color: #fff; text-decoration: none; box-shadow: 0 12px 30px rgba(237,28,36,.45), 0 0 0 3px #fff; transition: transform .15s; }
.fab-vote:hover { transform: translateY(-2px); }
.fab-vote::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: vote-pulse 2.4s infinite; pointer-events: none; }
.fab-vote svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fab-vote span { font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
body.sara-on .fab-vote { right: 172px; bottom: 16px; }
body.sara-on .fab.open ~ .fab-vote { opacity: 0; pointer-events: none; }
.chat-pop { right: 18px; bottom: 88px; }
@media (max-width: 600px) {
  .fab { right: 12px; bottom: 12px; }
  .fab-btn { gap: 8px; padding: 5px 14px 5px 5px; }
  .fab-av, .fab-av img { width: 38px; height: 38px; }
  .fab-txt b { font-size: 14px; }
  .fab-menu { width: min(270px, calc(100vw - 24px)); }
  .chat-pop { inset: 0; }
  .fab-vote { right: 12px; bottom: 12px; width: 52px; height: 52px; }
  body.sara-on .fab-vote { right: 158px; bottom: 11px; }
}

