/* FutureVision 主题覆盖层：在各应用自己的样式之后加载，把旧调色板、字体、圆角统一映射到新令牌。 */
:root {
  --paper: var(--bg); --bg-alt: var(--bg-2); --surface: #ffffff; --surface-2: var(--bg-2);
  --ink: #141a1a; --ink-2: #3c4a49; --muted: #6b7a78; --line: #d4dedc; --line-2: #c9d6d3;
  --accent: #c8371e; --accent-dark: #a3260f; --accent-deep: #a3260f; --accent-light: #fbe6e1; --accent-soft: #fbe6e1;
  --brand: #c8371e; --primary: #c8371e; --ok: #3f7d73; --ok-bg: #e1efec; --warn: #b9771a; --warn-bg: #f6ecd2; --error: #c8371e; --error-bg: #fbe6e1;
  --radius: 2px; --radius-sm: 2px; --radius-md: 2px; --radius-lg: 4px; --r-sm: 2px; --r-md: 2px; --r-lg: 4px; --r-xl: 4px;
  --shadow: none; --shadow-1: none; --shadow-2: 0 12px 32px rgba(20, 26, 26, .14); --serif: var(--font-display); --font-serif: var(--font-display);
}
html, body, button, input, select, textarea { font-family: var(--font-display) !important; }
h1, h2, h3, h4, h5, .serif, .brand, .brand span, .app-title, .page-title, [class*="-title"]:not(svg) { font-family: var(--font-display) !important; letter-spacing: -.02em; }
body { background: var(--bg) !important; color: var(--ink) !important; }
a { color: var(--cinnabar); }
a:hover { color: var(--cinnabar-deep); }
button.primary, .button.primary, .btn-primary, [class*="primary"] > button:not([class*="ghost"]) { background: var(--cinnabar) !important; border-color: var(--cinnabar) !important; color: #fff !important; }
button.primary:hover, .button.primary:hover { background: var(--cinnabar-deep) !important; border-color: var(--cinnabar-deep) !important; }
input[type="text"], input[type="number"], input[type="url"], input[type="search"], textarea, select { border-radius: 2px !important; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

:root { --ink-3: #5f6e6c; --ink-4: #64736f; }
@media (max-width: 680px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), textarea, select { font-size: 16px !important; }
  button, [role="tab"], select, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), .tab, .pill-button { min-height: 40px; }
  .text-button:not(.fv-header *) { min-height: 40px; }
  summary { padding: 10px 0; }
}
