:root {
    color-scheme: dark;
    --bg: #070d18;
    --bg-elev: rgba(13, 23, 38, 0.94);
    --bg-card: rgba(15, 26, 44, 0.92);
    --bg-input: rgba(7, 17, 29, 0.94);
    --border: rgba(56, 189, 248, 0.30);
    --border-soft: rgba(148, 163, 184, 0.22);
    --text: #f8fafc;
    --muted: #cbd5e1;
    --accent: #06b6d4;
    --accent-strong: #22d3ee;
    --accent-2: #818cf8;
    --accent-ink: #031219;
    --ok: #22c55e;
    --warn: #f59e0b;
    --bad: #ef4444;
    --shadow: 0 22px 54px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    --grid-line: rgba(34, 211, 238, 0.09);
  }
  html[data-theme="light"] {
    color-scheme: light;
    --bg: #f1f5f9;
    --bg-elev: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #f8fafc;
    --border: rgba(14, 116, 144, 0.28);
    --border-soft: rgba(15, 23, 42, 0.16);
    --text: #0f172a;
    --muted: #334155;
    --accent: #0891b2;
    --accent-strong: #0e7490;
    --accent-2: #4f46e5;
    --accent-ink: #ffffff;
    --ok: #15803d;
    --warn: #b45309;
    --bad: #b91c1c;
    --shadow: 0 14px 36px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    --grid-line: rgba(8, 145, 178, 0.06);
  }
  html[data-contrast="high"] {
    --bg: #000000;
    --bg-elev: #080c12;
    --bg-card: #0b111a;
    --bg-input: #000000;
    --border: #38bdf8;
    --border-soft: #94a3b8;
    --text: #ffffff;
    --muted: #e2e8f0;
    --accent: #38bdf8;
    --accent-strong: #7dd3fc;
    --accent-ink: #000000;
    --ok: #4ade80;
    --warn: #fbbf24;
    --bad: #f87171;
    --shadow: 0 0 0 1px #38bdf8;
  }
  html[data-theme="light"][data-contrast="high"] {
    --bg: #ffffff;
    --bg-elev: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --border: #0f172a;
    --border-soft: #334155;
    --text: #000000;
    --muted: #1e293b;
    --accent: #0369a1;
    --accent-strong: #075985;
    --accent-ink: #ffffff;
  }
  html[data-text-scale="115"] { font-size: 115%; }
  html[data-text-scale="130"] { font-size: 130%; }
  html[data-spacing="wide"] body { letter-spacing: 0.035em; word-spacing: 0.1em; line-height: 1.8; }
  html[data-underline="on"] a { text-decoration: underline !important; text-underline-offset: 3px; }

  * { box-sizing: border-box; }
  html, body { max-width: 100%; overflow-x: clip; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.58;
    min-height: 100vh;
    position: relative;
  }

  /* Accessible focus ring & skip link */
  .skip-link {
    position: fixed; top: -120px; left: 16px; z-index: 9999;
    background: var(--accent); color: var(--accent-ink); padding: 10px 18px;
    border-radius: 10px; font-weight: 800; text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); transition: top 0.15s ease;
  }
  .skip-link:focus { top: 14px; outline: 3px solid #fff; outline-offset: 2px; }
  :focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 2px; border-radius: 6px; }
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }

  /* Next-Gen 3D Volumetric Stage & Cyber Perspective Grid */
  .fx-stage {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  }
  .fx-orb {
    position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.42;
    animation: orbFloat 18s ease-in-out infinite alternate;
    will-change: transform;
  }
  .fx-orb-1 {
    width: 520px; height: 520px; top: -140px; left: -100px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.55), transparent 70%);
  }
  .fx-orb-2 {
    width: 480px; height: 480px; top: 18%; right: -120px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.42), transparent 70%);
    animation-delay: -6s;
  }
  .fx-orb-3 {
    width: 420px; height: 420px; bottom: -160px; left: 32%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.35), transparent 70%);
    animation-delay: -11s;
  }
  .fx-grid-floor {
    position: absolute; left: -20%; right: -20%; bottom: -18%; height: 62vh;
    background-image:
      linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
      linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(860px) rotateX(68deg);
    transform-origin: center bottom;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.85), transparent 85%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.85), transparent 85%);
    animation: gridScroll 16s linear infinite;
  }
  @keyframes orbFloat {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(42px, 28px, 0) scale(1.08); }
  }
  @keyframes gridScroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 48px; }
  }
  @keyframes pulseLive {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  }
  @keyframes badgeFloat {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    50% { transform: translateY(-2px) rotateX(8deg) rotateY(-8deg); }
  }
  @keyframes cardRise {
    from { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.985); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  }
  @keyframes scanShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
  @keyframes traceFlow {
    0% { stroke-dashoffset: 52; }
    100% { stroke-dashoffset: 0; }
  }

  html[data-motion="reduced"] *, html[data-motion="reduced"] *::before, html[data-motion="reduced"] *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html[data-motion="reduced"] .fx-tilt { transform: none !important; }
  html[data-contrast="high"] .fx-stage { display: none; }

  a { color: var(--accent-strong); text-decoration: none; }
  a:hover { text-decoration: underline; }
  .wrap {
    position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding: 20px 18px 56px;
  }

  .topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    padding: 14px 18px; background: var(--bg-elev);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow);
  }
  .brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .logo-badge {
    width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0;
    box-shadow: 0 10px 28px rgba(6, 182, 212, 0.32);
    transform-style: preserve-3d;
    animation: badgeFloat 6s ease-in-out infinite;
  }
  .logo-badge svg { width: 48px; height: 48px; display: block; border-radius: 13px; }
  .circuit-pulse { stroke-dasharray: 8 18; animation: traceFlow 2.6s linear infinite; }
  .brand h1 { margin: 0; font-size: 1.12rem; letter-spacing: 0.01em; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
  .brand-wordmark { font-weight: 900; letter-spacing: 0.04em; color: var(--text); }
  .brand-webs { color: var(--accent-strong); }
  .brand-tag {
    font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px;
    background: rgba(6, 182, 212, 0.14); color: var(--accent-strong); border: 1px solid rgba(6, 182, 212, 0.3);
  }
  .live-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block;
    animation: pulseLive 2.2s infinite;
  }
  .brand small { display: block; color: var(--muted); font-size: 0.78rem; }
  .top-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
    border: 1px solid var(--border-soft); background: var(--bg-card); color: var(--text);
    font-size: 0.82rem; font-weight: 600; cursor: pointer; text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  }
  .pill:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-1px); }
  .pill-cta {
    background: linear-gradient(135deg, var(--accent), #0284c7);
    color: var(--accent-ink); border-color: transparent;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.28);
  }
  .pill-cta:hover { filter: brightness(1.08); }

  .hero { margin: 24px 0 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .hero h1,
  .hero h2 {
    margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.18; letter-spacing: -0.025em;
    background: none; color: var(--text); -webkit-text-fill-color: var(--text);
  }
  html[data-theme="light"] .fx-orb { opacity: 0.14; }
  html[data-contrast="high"] .hero h2 { background: none; color: var(--text); }
  .hero p { margin: 0; color: var(--muted); max-width: 740px; font-size: 0.96rem; }

  .tabs {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px;
    border-bottom: 1px solid var(--border-soft); padding-bottom: 12px;
  }
  .tab-btn {
    padding: 10px 16px; border-radius: 12px; border: 1px solid var(--border-soft);
    background: var(--bg-card); color: var(--muted); font-weight: 600; font-size: 0.92rem; cursor: pointer;
    backdrop-filter: blur(12px);
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
  }
  .tab-btn:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--text); }
  .tab-btn[aria-selected="true"], .tab-btn.active {
    background: rgba(6, 182, 212, 0.18); color: var(--text); border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.18);
  }
  .panel { display: none; }
  .panel.active { display: block; animation: cardRise 0.25s ease both; }

  .card {
    background: var(--bg-card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: 18px;
    padding: 20px; box-shadow: var(--shadow); margin-bottom: 18px;
    min-width: 0; max-width: 100%; overflow: hidden;
  }

  /* Interactive 3D Tilt + Cursor Spotlight Surface */
  .fx-tilt {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease;
    will-change: transform;
  }
  .fx-tilt::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.16), transparent 65%);
    transition: opacity 0.22s ease;
  }
  .fx-tilt:hover::after { opacity: 1; }

  .scan-form { display: flex; gap: 10px; flex-wrap: wrap; }
  .input {
    flex: 1 1 260px; min-width: 0; padding: 12px 14px; border-radius: 11px;
    border: 1px solid var(--border); background: var(--bg-input); color: var(--text);
    font-size: 0.98rem;
  }
  .input:focus { border-color: var(--accent-strong); box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.22); }
  .btn {
    padding: 11px 18px; border-radius: 11px; border: 1px solid transparent; cursor: pointer;
    font-weight: 700; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 7px;
    transition: transform 0.15s ease, filter 0.15s ease;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--accent), #0284c7); color: var(--accent-ink);
    box-shadow: 0 8px 22px rgba(6, 182, 212, 0.25);
  }
  .btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
  .btn-primary:disabled { opacity: 0.65; cursor: wait; transform: none; }
  .btn-ghost { background: transparent; color: var(--text); border-color: var(--border-soft); }
  .btn-ghost:hover { border-color: var(--accent); transform: translateY(-1px); }

  .scan-progress {
    height: 4px; border-radius: 999px; margin-top: 12px; display: none;
    background: linear-gradient(90deg, rgba(6,182,212,0.15), #22d3ee, #818cf8, rgba(6,182,212,0.15));
    background-size: 200% 100%; animation: scanShimmer 1.4s linear infinite;
  }

  .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; max-width: 100%; }
  .chip-label { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
  .chip {
    padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border-soft);
    background: var(--bg-input); color: var(--text); font-size: 0.82rem; cursor: pointer;
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
  }
  .chip:hover { border-color: var(--accent); transform: translateY(-1px); }

  .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 16px; }
  .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }

  .score-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    padding: 18px 20px; border-radius: 18px; background: var(--bg-elev);
    border: 1px solid var(--border); box-shadow: var(--shadow); margin-bottom: 16px;
  }
  .score-ring {
    width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle, var(--bg-card) 58%, transparent 60%),
                conic-gradient(var(--score-col, var(--accent)) calc(var(--pct, 0) * 1%), rgba(148,163,184,0.2) 0);
    font-weight: 900; font-size: 1.15rem; flex-shrink: 0;
    box-shadow: 0 0 28px rgba(6, 182, 212, 0.25);
  }
  .pillar-box {
    padding: 14px 16px; border-radius: 14px; background: var(--bg-input); border: 1px solid var(--border-soft);
    min-width: 0;
  }
  .pillar-box h4 { margin: 0 0 4px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
  .pillar-val { font-size: 1.35rem; font-weight: 800; }
  .pillar-bar { height: 6px; border-radius: 999px; background: rgba(148,163,184,0.2); overflow: hidden; margin-top: 8px; }
  .pillar-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1); }

  .status-row {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 0.9rem; min-width: 0;
  }
  .status-row:last-child { border-bottom: none; }
  .badge { padding: 2px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
  .b-ok { background: rgba(34, 197, 94, 0.16); color: var(--ok); border: 1px solid rgba(34,197,94,0.35); }
  .b-warn { background: rgba(245, 158, 11, 0.16); color: var(--warn); border: 1px solid rgba(245,158,11,0.35); }
  .b-bad { background: rgba(239, 68, 68, 0.16); color: var(--bad); border: 1px solid rgba(239,68,68,0.35); }
  .b-info { background: rgba(6, 182, 212, 0.16); color: var(--accent-strong); border: 1px solid rgba(6,182,212,0.35); }

  .serp-box { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border-soft); background: var(--bg-input); }
  .serp-url { font-size: 0.78rem; color: var(--ok); margin-bottom: 2px; word-break: break-all; }
  .serp-title { font-size: 1.05rem; font-weight: 700; color: var(--accent-strong); margin-bottom: 4px; }
  .serp-desc { font-size: 0.86rem; color: var(--muted); }

  .qr-preview-wrap {
    display: grid; place-items: center; padding: 20px; border-radius: 14px;
    border: 1px dashed var(--border); background: var(--bg-input); min-height: 270px;
  }
  .qr-preview-wrap svg, .qr-preview-wrap canvas {
    max-width: 240px; height: auto; border-radius: 12px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  }
  .link-row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
    padding: 10px 12px; border-radius: 11px; border: 1px solid var(--border-soft); background: var(--bg-input);
    margin-bottom: 8px; min-width: 0; max-width: 100%; overflow: hidden;
  }
  .link-meta { min-width: 0; flex: 1 1 200px; }
  .link-slug { font-weight: 700; color: var(--accent-strong); font-size: 0.94rem; word-break: break-word; }
  .link-target { font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

  /* Bulletproof Feed Grid & Tag Wrapping */
  .feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
    gap: 16px;
    width: 100%;
  }
  .feed-card {
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 18px; border-radius: 16px; background: var(--bg-input); border: 1px solid var(--border-soft);
    text-decoration: none; color: var(--text);
    min-width: 0; max-width: 100%; overflow: hidden;
    animation: cardRise 0.36s ease both;
    animation-delay: calc(var(--i, 0) * 35ms);
  }
  .feed-card:hover { border-color: var(--accent); text-decoration: none; box-shadow: 0 14px 36px rgba(6, 182, 212, 0.16); }
  .feed-title { font-weight: 700; font-size: 1rem; margin: 6px 0; color: var(--text); word-break: break-word; }
  .feed-summary { font-size: 0.86rem; color: var(--muted); margin: 0 0 12px; word-break: break-word; }
  .tag-wrap {
    display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; max-width: 100%;
  }
  .tag-pill {
    display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
    background: rgba(6, 182, 212, 0.14); color: var(--accent-strong); border: 1px solid rgba(6, 182, 212, 0.3);
  }

  .strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; margin-top: 12px; }
  .strip-card {
    display: block; padding: 15px; border-radius: 14px; border: 1px solid var(--border-soft);
    background: var(--bg-input); color: var(--text); text-decoration: none;
    min-width: 0; max-width: 100%; overflow: hidden;
  }
  .strip-card:hover { border-color: var(--accent); text-decoration: none; }
  .strip-date { font-size: 0.74rem; color: var(--accent-strong); font-weight: 600; }
  .strip-title { font-weight: 700; font-size: 0.92rem; margin: 4px 0; }
  .strip-desc { font-size: 0.8rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  .footer {
    margin-top: 32px; padding: 22px 20px; border-radius: 18px;
    background: var(--bg-elev); border: 1px solid var(--border);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px;
    color: var(--muted); font-size: 0.84rem;
  }
  .footer h4 { margin: 0 0 8px; color: var(--text); font-size: 0.9rem; }
  .footer-links { display: flex; flex-direction: column; gap: 6px; }

  .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.82rem; word-break: break-all; }
  .err-box { padding: 12px 14px; border-radius: 11px; background: rgba(239,68,68,0.14); border: 1px solid rgba(239,68,68,0.4); color: var(--bad); margin-top: 12px; }
  dialog {
    border: 1px solid var(--border); border-radius: 18px; background: var(--bg-elev); color: var(--text);
    backdrop-filter: blur(20px);
    padding: 22px; max-width: 680px; width: calc(100% - 28px); box-shadow: 0 28px 70px rgba(0,0,0,0.62);
  }
  dialog::backdrop { background: rgba(2, 6, 23, 0.76); backdrop-filter: blur(5px); }
  .a11y-opt-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 12px 0; border-bottom: 1px solid var(--border-soft);
  }
  .a11y-opt-row:last-child { border-bottom: none; }
  .muted { color: var(--muted); }
  .legal-body h3 { margin: 22px 0 8px; color: var(--accent-strong); font-size: 1.08rem; }
  .legal-body p, .legal-body li { color: var(--muted); }
  .legal-body strong { color: var(--text); }

.fx-filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;}
.fx-section{padding:20px 22px;margin-bottom:18px;}
.fx-tool-card{display:flex;flex-direction:column;gap:10px;padding:16px 18px;}
.fx-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;flex-wrap:wrap;}
.fx-card-head h3{margin:0;font-size:1.05rem;}
.fx-badge{display:inline-flex;align-items:center;padding:2px 9px;border-radius:999px;font-size:0.74rem;font-weight:700;background:rgba(56,189,248,0.14);color:var(--accent-strong);border:1px solid var(--border);}
.fx-badge.ok{background:rgba(34,197,94,0.14);color:var(--ok);border-color:rgba(34,197,94,0.35);}
.fx-badge.warn{background:rgba(245,158,11,0.14);color:var(--warn);border-color:rgba(245,158,11,0.35);}
.fx-btn-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:4px;}
.fx-meta-links{font-size:0.82rem;color:var(--muted);}
.fx-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;}
.fx-form-grid label{display:block;font-weight:600;font-size:0.86rem;margin-bottom:6px;}
.fx-form-grid .input{width:100%;}
.fx-code-box{margin:18px 0 0;padding:16px;border-radius:10px;background:var(--bg-input);border:1px solid var(--border);max-height:360px;overflow:auto;white-space:pre-wrap;font-size:0.84rem;}
.fx-stat-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center;}
.fx-qr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;align-items:start;}
