/* Chat message list, agent streaming turns, user bubbles, action cards, steps box. */

.messages {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding-bottom: 8px;
}

/* ---------- Turn entrance animation ---------- */
@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.msg-turn {
  animation: msg-in 0.2s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .msg-turn {
    animation: none;
  }
}

/* ---------- User turn ---------- */
.msg-turn.msg-user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.user-bubble {
  background: var(--user-bubble);
  color: var(--text);
  border-radius: var(--radius-lg);
  border-bottom-right-radius: 4px;
  max-width: 85%;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.user-text {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
}

.user-img-wrap {
  display: block;
  max-width: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.user-img {
  display: block;
  max-width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s;
}

.user-img:hover {
  opacity: 0.9;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  max-width: 100%;
}

.file-chip svg {
  width: 16px;
  height: 16px;
  color: var(--brand-2);
  flex-shrink: 0;
}

.file-chip .file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-chip .file-size {
  color: var(--text-3);
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---------- Agent turn ---------- */
.msg-turn.msg-agent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}

.agent-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.agent-avatar .avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-2);
}

.agent-avatar .avatar-fallback svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .agent-avatar {
    display: none;
  }
}

.agent-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ---------- Agent markdown content typography (.md) ---------- */
.agent-content.md {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  word-break: break-word;
}

.agent-content.md h1 {
  font-size: 20px;
  font-weight: 700;
  margin: 16px 0 8px;
  line-height: 1.3;
}

.agent-content.md h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 14px 0 6px;
  line-height: 1.35;
}

.agent-content.md h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 12px 0 6px;
  line-height: 1.4;
}

.agent-content.md p {
  margin: 0 0 0.75em;
  line-height: 1.6;
}

.agent-content.md p:last-child {
  margin-bottom: 0;
}

.agent-content.md ul,
.agent-content.md ol {
  padding-left: 1.4em;
  margin: 0 0 0.75em;
}

.agent-content.md li {
  margin-bottom: 4px;
}

.agent-content.md code {
  background: var(--surface-2);
  border-radius: 6px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.agent-content.md pre {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  position: relative;
  margin: 0 0 0.75em;
  line-height: 1.5;
}

.agent-content.md pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}

.agent-content.md blockquote {
  border-left: 3px solid var(--brand-2);
  padding-left: 12px;
  margin: 0 0 0.75em;
  color: var(--text-2);
}

.agent-content.md table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  font-size: 14px;
}

.agent-content.md th,
.agent-content.md td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
}

.agent-content.md th {
  background: var(--surface-2);
  font-weight: 600;
}

div.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 0.75em;
  -webkit-overflow-scrolling: touch;
}

a.hotline-link {
  color: var(--brand-2);
  font-weight: 700;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* ---------- Pre copy button ---------- */
.pre-copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pre-copy-btn:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
}

.pre-copy-btn.copied {
  color: var(--success);
  border-color: var(--success-soft);
}

.pre-copy-btn svg {
  width: 13px;
  height: 13px;
}

/* ---------- Agent action row ---------- */
.agent-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}

.msg-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.msg-action-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}

.msg-action-btn.active {
  color: var(--brand-2);
  background: var(--brand-soft);
}

.msg-action-btn svg {
  width: 14px;
  height: 14px;
}

/* ---------- Typing indicator ---------- */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 4px;
}

.dot-bounce {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  animation: dot-pulse 1.4s infinite ease-in-out both;
}

.dot-bounce:nth-child(1) {
  animation-delay: -0.32s;
}

.dot-bounce:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes dot-pulse {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------- Live steps box ---------- */
.agent-steps-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 10px;
  display: none;
}

.steps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.steps-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.steps-header svg.chevron {
  width: 15px;
  height: 15px;
  transition: transform 0.2s var(--ease);
}

.agent-steps-box.collapsed .steps-header svg.chevron {
  transform: rotate(-90deg);
}

.steps-count {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  background: var(--surface-3);
  color: var(--text-2);
  padding: 1px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.agent-steps-box.collapsed .steps-list {
  display: none;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.4;
}

.step-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-icon svg {
  width: 14px;
  height: 14px;
}

.step-info {
  flex: 1;
  min-width: 0;
}

.step-label {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.step-cmd {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 1px;
}

/* ---------- Action Cards ---------- */
.action-cards-wrap {
  margin-top: 12px;
  width: 100%;
}

.action-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.action-card:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.action-card:active {
  transform: scale(0.99);
}

.action-cards-grid.used,
.action-cards-grid.used .action-card,
.action-card.used {
  pointer-events: none !important;
  opacity: 0.5 !important;
}

.action-card-body {
  flex: 1;
  min-width: 0;
}

.action-card-title {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text);
}

.action-card-desc {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 2px;
  line-height: 1.4;
}

.action-card svg {
  color: var(--brand-2);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Notices and Callouts ---------- */
.system-notice {
  align-self: center;
  margin: 8px 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.system-notice svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.system-notice.notice-warning {
  background: var(--warning-soft);
  color: var(--warning);
  border: 1px solid var(--warning-soft);
}

.system-notice.notice-info {
  background: var(--brand-soft);
  color: var(--brand-2);
  border: 1px solid var(--brand-soft);
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13.5px;
  margin-top: 8px;
}

.callout-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid var(--danger-soft);
}

.callout-danger svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.stopped-note {
  font-size: 13px;
  font-style: italic;
  margin-top: 6px;
  color: var(--text-3);
}

/* ---------- Floating scroll-to-bottom button ---------- */
.btn-scroll-bottom {
  position: absolute;
  bottom: calc(72px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.15s, background 0.15s;
}

.btn-scroll-bottom.visible {
  opacity: 1;
  pointer-events: auto;
}

.btn-scroll-bottom:hover {
  background: var(--surface-2);
  color: var(--text);
  transform: translateX(-50%) translateY(-2px);
}

.btn-scroll-bottom svg {
  width: 18px;
  height: 18px;
}

/* ---------- onboarding greeting (canned reply to "hi", see ONBOARDING_GREETING_HTML) ---------- */
.agent-content.md .onb p { margin: 0; }
.onb { display: flex; flex-direction: column; gap: 12px; }
.onb-hi { line-height: 1.55; }

.onb-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.onb-step { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; }
.onb-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.onb-cta { font-weight: 600; }
.onb-actions { display: flex; flex-direction: column; gap: 8px; }

.onb-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.onb-btn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.onb-btn:active { transform: scale(0.99); }
.onb-btn:focus-visible { outline: 2px solid var(--brand-ring); outline-offset: 2px; }
.onb-btn svg { flex: none; width: 20px; height: 20px; color: var(--text-2); }
.onb-btn svg:last-child { width: 16px; height: 16px; color: var(--text-3); }

.onb-btn-primary { border-color: var(--brand); background: var(--brand-soft); }
.onb-btn-primary:hover { background: var(--brand-soft); border-color: var(--brand-2); }
.onb-btn-primary svg,
.onb-btn-primary svg:last-child { color: var(--brand); }

.onb-btn-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.onb-btn-title { font-weight: 600; font-size: 14px; }
.onb-btn-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.4; }

.onb-hint { font-size: 12.5px; color: var(--text-3); line-height: 1.5; }
.onb-hint a { color: var(--brand); font-weight: 600; }

/* ---------- feature cards (greeting reply + empty state; source: docs/brand/feature-cards/) ----------
   Same markup everywhere: big cards on desktop, 2-column tiles (option B) at <=640px.
   Cards keep the dark brand skin in both themes. */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 2px 0;
}
.feat-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px 14px 15px;
  border: 0;
  border-radius: 16px;
  font: inherit;
  text-align: left;
  color: #eafffb;
  cursor: pointer;
  background:
    radial-gradient(220px 160px at 100% 0%, rgba(0, 150, 130, 0.38), transparent 70%),
    linear-gradient(160deg, #06302d, #03100f 78%);
  box-shadow: 0 0 0 1px rgba(47, 245, 214, 0.22), 0 10px 26px rgba(0, 0, 0, 0.32);
  transition: transform 0.15s, box-shadow 0.15s;
}
.feat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 245, 214, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 245, 214, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(260px 200px at 90% 8%, #000 20%, transparent 75%);
  mask-image: radial-gradient(260px 200px at 90% 8%, #000 20%, transparent 75%);
}
.feat-card > * { position: relative; z-index: 1; }
.feat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(47, 245, 214, 0.5), 0 0 22px rgba(47, 245, 214, 0.18), 0 14px 30px rgba(0, 0, 0, 0.38);
}
.feat-card:active { transform: scale(0.985); }
.feat-card:focus-visible { outline: 2px solid #2ff5d6; outline-offset: 2px; }
.feat-card svg { stroke-linecap: round; stroke-linejoin: round; }

.fc-top { display: flex; align-items: center; gap: 10px; padding-right: 26px; }
.fc-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(145deg, #00b39b, #005a4e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 0 1px rgba(47, 245, 214, 0.35), 0 0 18px rgba(47, 245, 214, 0.26);
}
.fc-ic svg { width: 19px; height: 19px; color: #fff; stroke-width: 2.1; }
.fc-tag {
  min-width: 0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1.3;
  text-transform: uppercase;
  color: #2ff5d6;
  text-shadow: 0 0 10px rgba(47, 245, 214, 0.45);
}
.fc-go {
  position: absolute;
  right: 12px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(47, 245, 214, 0.1);
  box-shadow: inset 0 0 0 1px rgba(47, 245, 214, 0.35);
}
.fc-go svg { width: 13px; height: 13px; color: #2ff5d6; stroke-width: 2.6; }
.fc-ttl-m { display: block; margin-top: 10px; font-size: 15px; font-weight: 800; line-height: 1.25; letter-spacing: -0.2px; }
.fc-sub { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; line-height: 1.35; color: #9fd8cf; }
/* the long-form card parts (title, desc, visual, CTA row) are kept in the markup but not shown */
.fc-ttl, .fc-desc, .fc-vis, .fc-row { display: none; }

.fc-safe { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 12px; font-weight: 600; color: #bfeee6; }
.fc-safe svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: #2ff5d6;
  stroke-width: 2;
  filter: drop-shadow(0 0 4px rgba(47, 245, 214, 0.6));
}
.fc-safe-all { margin-top: 10px; padding-left: 2px; color: var(--text-2); }
.fc-safe-all svg { color: var(--brand-2); filter: none; }
.fc-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(90deg, #00a48e, #007968);
  box-shadow: 0 6px 18px rgba(0, 150, 130, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.fc-cta svg { width: 15px; height: 15px; stroke-width: 2.4; }

/* card visuals */
.fc-meter-l { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: #9fd8cf; }
.fc-meter-l b { color: #2ff5d6; font-size: 14px; font-weight: 800; text-shadow: 0 0 10px rgba(47, 245, 214, 0.45); }
.fc-bar {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(47, 245, 214, 0.1);
  box-shadow: inset 0 0 0 1px rgba(47, 245, 214, 0.18);
}
.fc-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #00a48e, #2ff5d6);
  box-shadow: 0 0 12px rgba(47, 245, 214, 0.6);
}
.fc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-chip {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(47, 245, 214, 0.08);
  box-shadow: inset 0 0 0 1px rgba(47, 245, 214, 0.28);
}
.fc-chip.more { color: #9fd8cf; background: transparent; box-shadow: inset 0 0 0 1px rgba(47, 245, 214, 0.18); }
.fc-cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.fc-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 2px 7px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(47, 245, 214, 0.06);
  box-shadow: inset 0 0 0 1px rgba(47, 245, 214, 0.2);
}
.fc-cell svg { width: 18px; height: 18px; color: #2ff5d6; stroke-width: 2; }
.fc-mini { display: grid; grid-template-columns: 56px 1fr 34px; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.fc-mini + .fc-mini { margin-top: 6px; }
.fc-mini > span:first-child { color: #9fd8cf; }
.fc-mini > span:last-child { text-align: right; }
.fc-mini .fc-bar { height: 6px; }
.fc-mini .fc-bar.warn .fc-fill { background: linear-gradient(90deg, #00a48e, #ffd166); box-shadow: 0 0 10px rgba(255, 209, 102, 0.45); }
.fc-batt-wrap { display: flex; align-items: center; gap: 16px; }
.fc-batt {
  position: relative;
  flex: none;
  width: 78px;
  height: 36px;
  padding: 4px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px rgba(47, 245, 214, 0.6), 0 0 14px rgba(47, 245, 214, 0.25);
}
.fc-batt::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 11px;
  width: 4px;
  height: 14px;
  border-radius: 0 3px 3px 0;
  background: rgba(47, 245, 214, 0.6);
}
.fc-batt .fc-fill { border-radius: 5px; }
.fc-batt svg { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; color: #03100f; fill: #eafffb; stroke-width: 1.2; }
.fc-stats { display: grid; gap: 3px; font-size: 12px; font-weight: 600; color: #9fd8cf; }
.fc-stats b { margin-left: 4px; color: #eafffb; font-size: 14px; font-weight: 800; }
.fc-tech { display: flex; align-items: center; gap: 12px; }
.fc-avs { display: flex; flex: none; }
.fc-av {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0e4a45, #052220);
  box-shadow: 0 0 0 2px #04201e, 0 0 0 3px rgba(47, 245, 214, 0.45);
}
.fc-av + .fc-av { margin-left: -9px; }
.fc-av svg { width: 16px; height: 16px; color: #2ff5d6; stroke-width: 2; }
.fc-tech-t { display: grid; gap: 2px; font-size: 12px; font-weight: 600; color: #9fd8cf; }
.fc-tech-t b { color: #eafffb; font-weight: 800; }

/* option B: compact 2-column tiles on phones */
@media (max-width: 640px) {
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feat-card { min-height: 112px; padding: 12px 12px 13px; }
  .feat-card:hover { transform: none; }
  .fc-top { display: block; padding-right: 0; }
  .fc-tag { display: none; }
  .fc-go { right: 10px; top: 12px; }
  .fc-ttl-m { font-size: 14px; }
  .fc-sub { font-size: 11.5px; }
}
