/* Alex Lab shared visual foundation. Tool-specific styles may keep their own accent. */
:root {
  --lab-ink: #202635;
  --lab-muted: #6c7484;
  --lab-line: #e5e8ef;
  --lab-paper: #fbfcfe;
  --lab-accent: #4257c8;
  --lab-accent-soft: #edf0ff;
  --lab-radius-sm: 12px;
  --lab-radius-md: 18px;
  --lab-shadow: 0 12px 30px rgba(32, 38, 53, 0.08);
}

html { text-rendering: optimizeLegibility; }
body { font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(66, 87, 200, 0.3);
  outline-offset: 2px;
}

.feedback-entry {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1050;
}

.feedback-entry-button {
  min-height: 34px;
  padding: .35rem .7rem;
  border: 1px solid var(--lab-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--lab-muted);
  font-size: .78rem;
  box-shadow: 0 4px 14px rgba(32, 38, 53, .08);
}

.feedback-entry-button:hover { border-color: #cbd2df; color: var(--lab-ink); }

@media (max-width: 768px) {
  .feedback-entry { right: 14px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
