/* ═══════════════════════════════════════════════════════
   chat.css  —  Morphing FAB + Q&A Panels
   chat-pre prototype
   ═══════════════════════════════════════════════════════ */

/* ── Tabler Icons — self-hosted subset (10 icons used) ── */
@font-face {
  font-family: "tabler-icons";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/tabler-icons.woff2") format("woff2");
}
.ti {
  font-family: "tabler-icons" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ti-message-circle:before   { content: "\eaed"; }
.ti-search:before           { content: "\eb1c"; }
.ti-terminal-2:before       { content: "\ebef"; }
.ti-x:before                { content: "\eb55"; }
.ti-browser:before          { content: "\ebb7"; }
.ti-bulb:before             { content: "\ea51"; }
.ti-chevron-right:before    { content: "\ea61"; }
.ti-layout-dashboard:before { content: "\f02c"; }
.ti-movie:before            { content: "\eafa"; }
.ti-vector:before           { content: "\eca9"; }

/* ── FAB wrapper ─────────────────────────────────────── */
#chat-fab {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  /* Hidden until hero is scrolled past */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

#chat-fab.fab-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease;
}

#chat-fab-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  background: var(--c-p);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  flex-shrink: 0;
  pointer-events: all;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  z-index: 2; /* sits above the satellite dots */
}

#chat-fab-btn:hover {
  transform: scale(1.08);
}

#chat-fab-btn:active {
  transform: scale(0.95);
}

/* Morph animation — icon swaps at the squish point */
@keyframes fabMorph {
  0%   { transform: scale(1); }
  38%  { transform: scale(0.68); }
  65%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

#chat-fab-btn.fab-morphing {
  animation: fabMorph 0.42s cubic-bezier(.34,1.56,.64,1);
}

/* Override hover during morph */
#chat-fab-btn.fab-morphing:hover {
  transform: none;
}

#chat-fab-icon {
  pointer-events: none;
  font-size: 19px;
  line-height: 1;
}

.chat-fab-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.22;
  pointer-events: none;
  transition: opacity 0.3s;
}

#chat-fab-btn:hover .chat-fab-ring {
  opacity: 0.44;
}

/* ── FAB button wrapper + satellite icons ────────────── */

.fab-btn-wrap {
  position: relative;
  flex-shrink: 0;
  pointer-events: none;
}

.fab-satellites {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  /* Default: tucked behind the FAB circle */
  transform: translateX(-50%) translateY(46px);
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  transition: transform 0.42s cubic-bezier(.34,1.4,.64,1), opacity 0.22s ease;
  pointer-events: none;
  z-index: 1; /* behind #chat-fab-btn which is z-index: 2 */
}

/* Scrolling: emerge from behind the circle */
.fab-satellites.sats-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.fab-sat {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  opacity: 0.28;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 1px 6px rgba(0,0,0,.4);
}

.fab-sat.fab-sat-active {
  opacity: 1;
  transform: scale(1.18);
}

.fab-sat-p { background: var(--c-p); }
.fab-sat-d { background: var(--c-d); }
.fab-sat-t { background: var(--c-t); }

/* Section indicator — label below FAB */
#chat-fab-section {
  display: none;
}

#chat-fab-section.fab-section-hidden {
  opacity: 0;
}

/* Tooltip label */
#chat-fab-label {
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  font-family: inherit;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

#chat-fab:hover #chat-fab-label {
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════
   PANEL: People — Floating Chat
   ═══════════════════════════════════════════════════════ */

#chat-panel-people {
  position: fixed;
  right: 78px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  width: 300px;
  z-index: 940;
  background: #13131c;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 8px 40px rgba(0,0,0,.55);
  max-height: min(560px, 72vh);
  display: flex;
  flex-direction: column;
}

[data-theme="light"] #chat-panel-people {
  background: #ffffff;
  border-color: rgba(0,0,0,.09);
  box-shadow: 0 8px 40px rgba(0,0,0,.14);
}

#chat-panel-people.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(-50%) translateX(0);
}

/* Chat header */
.cp-header {
  padding: 13px 14px 11px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

[data-theme="light"] .cp-header {
  border-bottom-color: rgba(0,0,0,.08);
}

.cp-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-p);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: .02em;
}

.cp-meta { flex: 1; min-width: 0; }

.cp-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  line-height: 1.2;
}

[data-theme="light"] .cp-name {
  color: #1a1a2e;
}

.cp-status {
  font-size: 10px;
  color: rgba(255,255,255,.44);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

[data-theme="light"] .cp-status {
  color: rgba(25,24,36,.5);
}

.cp-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf6e;
  flex-shrink: 0;
}

.cp-close-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  padding: 3px;
  line-height: 1;
  display: flex;
  align-items: center;
  border-radius: 5px;
  transition: color 0.12s, background 0.12s;
}

.cp-close-btn:hover {
  color: var(--text);
  background: var(--tile-h);
}

/* Message thread */
.cp-messages {
  padding: 12px 12px 6px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  scroll-behavior: smooth;
}

.msg-bot,
.msg-user {
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 12px;
  line-height: 1.6;
  max-width: 92%;
  animation: msgIn 0.18s ease;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.msg-bot {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.88);
  border-radius: 12px 12px 12px 3px;
  align-self: flex-start;
}

[data-theme="light"] .msg-bot {
  background: #f0f0f6;
  color: #1a1a2e;
}

.msg-user {
  background: var(--c-p);
  color: #fff;
  border-radius: 12px 12px 3px 12px;
  align-self: flex-end;
}

/* Quick-reply chips */
.cp-chips {
  padding: 4px 12px 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}

.chat-chip {
  padding: 5px 11px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.14);
  font-size: 11px;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
  white-space: nowrap;
}

[data-theme="light"] .chat-chip {
  border-color: rgba(0,0,0,.12);
  color: rgba(25,24,36,.5);
}

.chat-chip:hover {
  border-color: var(--c-p);
  color: var(--c-p);
  background: rgba(103,154,220,.06);
}

.chat-chip.used {
  opacity: 0.35;
  pointer-events: none;
}

/* Reset link */
.cp-reset-row {
  padding: 2px 12px 10px;
  flex-shrink: 0;
}

/* CSP-safe hidden state (replaces inline style="display:none") */
.cp-reset-row.is-hidden { display: none; }

.cp-reset-btn {
  background: none;
  border: none;
  font-size: 10px;
  color: var(--faint);
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: color 0.12s;
}

.cp-reset-btn:hover { color: var(--muted); }

/* Typing indicator */
.msg-typing {
  background: rgba(255,255,255,.07);
  border-radius: 12px 12px 12px 3px;
  align-self: flex-start;
  padding: 10px 14px;
  display: flex;
  gap: 4px;
  animation: msgIn 0.18s ease;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: typingPulse 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingPulse {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%           { opacity: 1;   transform: translateY(-3px); }
}


/* ═══════════════════════════════════════════════════════
   PANEL: Design — Spotlight
   ═══════════════════════════════════════════════════════ */

#chat-overlay-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 938;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#chat-overlay-bg.open {
  opacity: 1;
  pointer-events: all;
}

#chat-panel-design {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.97);
  width: min(420px, 94vw);
  max-height: min(72vh, 560px);
  z-index: 940;
  background: #13131c;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  display: flex;
  flex-direction: column;
}

[data-theme="light"] #chat-panel-design {
  background: #ffffff;
  border-color: rgba(0,0,0,.09);
  box-shadow: 0 16px 48px rgba(0,0,0,.16);
}

#chat-panel-design.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

/* Spotlight search row */
.ds-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}

[data-theme="light"] .ds-search-row {
  border-bottom-color: rgba(0,0,0,.08);
}

.ds-search-icon {
  font-size: 16px;
  color: var(--c-d);
  flex-shrink: 0;
}

.ds-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 14px;
  color: rgba(255,255,255,.88);
  outline: none;
  font-family: inherit;
  caret-color: var(--c-d);
}

[data-theme="light"] .ds-input {
  color: #1a1a2e;
}

.ds-input::placeholder {
  color: rgba(255,255,255,.28);
}

[data-theme="light"] .ds-input::placeholder {
  color: rgba(25,24,36,.3);
}

.ds-close-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: 5px;
  transition: color 0.12s, background 0.12s;
}

.ds-close-btn:hover {
  color: var(--text);
  background: var(--tile-h);
}

/* Spotlight list */
.ds-list {
  padding: 6px 0;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.ds-item {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.1s;
}

.ds-item:hover {
  background: rgba(255,255,255,.06);
}

.ds-item.ds-active {
  background: rgba(255,255,255,.09);
}

[data-theme="light"] .ds-item:hover {
  background: rgba(0,0,0,.04);
}

[data-theme="light"] .ds-item.ds-active {
  background: rgba(0,0,0,.06);
}

.ds-item[hidden] { display: none; }

.ds-item-ico {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(133,135,196,.12);
  border: 1px solid rgba(133,135,196,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--c-d);
  flex-shrink: 0;
}

.ds-item-text { flex: 1; min-width: 0; }

.ds-item-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  display: block;
}

[data-theme="light"] .ds-item-label {
  color: #1a1a2e;
}

.ds-item-sub {
  font-size: 11px;
  color: rgba(255,255,255,.44);
  display: block;
  margin-top: 1px;
}

[data-theme="light"] .ds-item-sub {
  color: rgba(25,24,36,.5);
}

.ds-item-arrow {
  font-size: 14px;
  color: var(--faint);
  opacity: 0;
  transition: opacity 0.1s;
}

.ds-item:hover .ds-item-arrow,
.ds-item.ds-active .ds-item-arrow {
  opacity: 1;
}

/* No-results message */
.ds-empty {
  padding: 14px 16px;
  font-size: 12px;
  color: var(--faint);
  display: none;
}

.ds-empty.show { display: block; }

/* Answer pane */
.ds-answer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 16px 16px;
  display: none;
  animation: msgIn 0.16s ease;
  background: rgba(255,255,255,.04);
  flex-shrink: 0;
}

[data-theme="light"] .ds-answer {
  border-top-color: rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
}

.ds-answer.ds-show { display: block; }

.ds-answer-eyebrow {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-d);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.ds-answer-body {
  font-size: 12.5px;
  color: rgba(255,255,255,.68);
  line-height: 1.75;
}

[data-theme="light"] .ds-answer-body {
  color: rgba(25,24,36,.62);
}


/* ═══════════════════════════════════════════════════════
   PANEL: Technology — Terminal (floating panel)
   ═══════════════════════════════════════════════════════ */

#chat-panel-tech {
  position: fixed;
  right: 78px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  width: 340px;
  z-index: 940;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, width 0.25s cubic-bezier(.34,1.2,.64,1);
}

/* Green dot: expanded size */
#chat-panel-tech.term-large {
  width: 500px;
}

#chat-panel-tech.term-large .term-outer {
  max-height: min(700px, 90vh);
}

#chat-panel-tech.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(-50%) translateX(0);
}

.term-outer {
  background: #0d1117;
  border: 1px solid rgba(157,162,194,.18);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.65);
  overflow: hidden;
  max-height: min(520px, 72vh);
  display: flex;
  flex-direction: column;
  transition: max-height 0.28s cubic-bezier(.34,1.2,.64,1);
}

/* Titlebar */
.term-titlebar {
  background: #161b22;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  user-select: none;
}

.term-dot-row { display: flex; gap: 5px; margin-right: 4px; }

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: filter 0.12s;
  flex-shrink: 0;
}

.term-dot:hover { filter: brightness(1.3) saturate(1.2); }

/* Icon hint on hover */
.term-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  text-align: center;
  line-height: 10px;
  font-size: 7px;
  font-weight: 900;
  color: rgba(0,0,0,.6);
  opacity: 0;
  transition: opacity 0.12s;
}
.term-dot:hover::after { opacity: 1; }
.term-dot-r { background: #ff5f56; }
.term-dot-r::after { content: '✕'; }
.term-dot-y { background: #ffbd2e; }
.term-dot-y::after { content: '–'; }
.term-dot-g { background: #27c93f; }
.term-dot-g::after { content: '+'; }

.term-title-text {
  font-size: 11px;
  color: rgba(255,255,255,.28);
  font-family: 'SF Mono', 'Fira Mono', 'Courier New', monospace;
  flex: 1;
  text-align: center;
  margin: 0;
}

.term-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.3);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  padding: 2px;
  border-radius: 4px;
  transition: color 0.12s;
}

.term-close-btn:hover { color: rgba(255,255,255,.6); }

/* Terminal body — scrollable like the chat thread */
.term-body {
  padding: 12px 18px 10px;
  font-family: 'SF Mono', 'Fira Mono', 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.75;
  color: #dce4ed;
  flex: 1;
  overflow-y: auto;
  min-height: 180px;
  scroll-behavior: smooth;
}

.term-body div { white-space: pre-wrap; }

.t-pr  { color: var(--c-t); }
.t-cmd { color: #e6edf3; font-weight: 500; }
.t-key { color: #a8d4ff; }
.t-val { color: var(--c-t); }
.t-dim { color: rgba(155,165,175,.90); }

.t-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--c-t);
  vertical-align: -2px;
  margin-left: 1px;
  animation: termBlink 1s step-end infinite;
}

@keyframes termBlink { 50% { opacity: 0; } }

.t-blink { animation: termBlink 1s step-end infinite; }

/* Typed input row */
.term-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 18px 8px;
  border-top: 1px solid rgba(157,162,194,.10);
  flex-shrink: 0;
}

.term-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'SF Mono', 'Fira Mono', 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.75;
  color: #e6edf3;
  caret-color: var(--c-t);
}

.term-input::placeholder { color: rgba(157,162,194,.28); font-style: italic; }

/* Command buttons */
.term-cmds {
  padding: 7px 16px 12px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.05);
  align-items: center;
}

.term-cmd-btn {
  padding: 4px 11px;
  border-radius: 5px;
  background: rgba(157,162,194,.07);
  border: 1px solid rgba(157,162,194,.18);
  font-family: 'SF Mono', 'Fira Mono', 'Courier New', monospace;
  font-size: 11px;
  color: var(--c-t);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
  white-space: nowrap;
}

.term-cmd-btn:hover {
  background: rgba(157,162,194,.16);
  border-color: rgba(157,162,194,.35);
}

.term-cmd-btn.term-clear {
  margin-left: auto;
  color: rgba(139,148,158,.4);
  border-color: rgba(157,162,194,.1);
}

.term-cmd-btn.term-clear:hover {
  color: rgba(139,148,158,.7);
  background: rgba(157,162,194,.08);
}

/* ── Design panel image strip ────────────────────── */
.ds-img-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 6px;
  scroll-padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
}
.ds-img-strip:empty { display: none; }

.ds-img-thumb {
  flex-shrink: 0;
  width: 110px;
  height: 72px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid var(--line);
  cursor: zoom-in;
  background: var(--tile);
  transition: opacity .18s, transform .18s, border-color .18s;
}
.ds-img-thumb:hover {
  opacity: .88;
  transform: scale(1.04);
  border-color: var(--c-d);
}

/* ── Lightbox ────────────────────────────────────── */
.ds-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: lb-in .2s ease;
}
.ds-lightbox.ds-lightbox-out {
  animation: lb-out .18s ease forwards;
}
@keyframes lb-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-out { from { opacity: 1; } to { opacity: 0; } }

.ds-lightbox img {
  max-width: min(92vw, 1000px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 72px rgba(0,0,0,.55);
  cursor: default;
  pointer-events: none;
  animation: lb-img-in .24s ease;
}
@keyframes lb-img-in {
  from { transform: scale(.96); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.ds-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
}
.ds-lightbox-close:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
}

/* ── Mobile: larger CST satellite circles so icons render clearly ── */
@media (max-width: 768px) {
  .fab-sat {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

/* ── Tap targets: WCAG 2.5.8 minimum 24x24 ─────── */
.cp-close-btn,
.ds-close-btn,
.term-close-btn {
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
}
