    .login-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: calc(100vh - 48px);
    }
    .login-brand {
      background: linear-gradient(135deg, #0a0e1a 0%, #0d1a33 50%, #0a1628 100%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 48px;
      position: relative;
      overflow: hidden;
    }
    .login-brand::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 50% at 30% 40%, rgba(59,130,246,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 70% 70%, rgba(139,92,246,0.08) 0%, transparent 50%);
    }
    .login-brand-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
      background-size: 48px 48px;
    }
    .login-brand-content {
      position: relative;
      z-index: 1;
      text-align: center;
      max-width: 360px;
    }
    .brand-shield {
      width: 72px;
      height: 72px;
      background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 24px;
      box-shadow: 0 8px 32px rgba(59,130,246,0.35);
    }
    .brand-name { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.25; margin-bottom: 8px; color: #fff; }
    .brand-tagline { font-size: 15px; color: #fff; line-height: 1.6; }
    .brand-features {
      margin-top: 40px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      text-align: left;
    }
    .brand-feature {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      color: rgba(255,255,255,0.6);
    }
    .brand-feature-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--blue);
    }
    .login-form-side {
      background: var(--bg);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 48px;
      position: relative;
    }
    .login-form-wrap {
      width: 100%;
      max-width: 400px;
    }
    .login-heading { font-size: 24px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.3px; }
    .login-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

    /* First-run setup banner */
    .setup-banner {
      background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(139,92,246,0.08));
      border: 1px solid rgba(59,130,246,0.3);
      border-radius: 12px;
      padding: 16px 20px;
      margin-bottom: 24px;
      display: none;
    }
    .setup-banner.visible { display: block; }
    .setup-banner-title { font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 4px; letter-spacing: 0.3px; }
    .setup-banner-body { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

    /* Clear session button — subtle bottom-right */
    .clear-session-btn {
      position: fixed;
      bottom: 16px;
      right: 20px;
      font-size: 11px;
      color: var(--text-dim);
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px 10px;
      border-radius: 6px;
      font-family: inherit;
      transition: all 0.15s;
      opacity: 0.5;
      z-index: 100;
    }
    .clear-session-btn:hover {
      opacity: 1;
      background: var(--surface-2);
      color: var(--text-muted);
    }

    /* ── Cookie Consent Bar ── */
    #cookie-bar {
      position: fixed;
      bottom: 0; left: 0; right: 0;
      background: var(--surface-3, #1a1f2e);
      border-top: 1px solid var(--border, rgba(255,255,255,0.08));
      padding: 14px 24px;
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      z-index: 2000;
      transform: translateY(100%);
      transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
      box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
    }
    #cookie-bar.visible { transform: translateY(0); }
    #cookie-bar p {
      flex: 1;
      font-size: 13px;
      color: var(--text-muted, #94a3b8);
      margin: 0;
      line-height: 1.5;
      min-width: 200px;
    }
    #cookie-bar p a {
      color: var(--blue, #3b82f6);
      text-decoration: underline;
      cursor: pointer;
    }
    .cookie-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
    .cookie-btn {
      font-size: 13px;
      font-weight: 600;
      padding: 7px 18px;
      border-radius: 6px;
      border: none;
      cursor: pointer;
      font-family: inherit;
      transition: opacity 0.15s;
    }
    .cookie-btn:hover { opacity: 0.85; }
    .cookie-btn-accept { background: var(--blue, #3b82f6); color: #fff; }
    .cookie-btn-reject { background: var(--surface-2, rgba(255,255,255,0.06)); color: var(--text-muted, #94a3b8); border: 1px solid var(--border, rgba(255,255,255,0.08)); }

    /* ── Accessibility Tool Button ── */
    #a11y-fab {
      position: fixed;
      bottom: 68px;
      left: 20px;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--surface-3, #1a1f2e);
      border: 1px solid var(--border, rgba(255,255,255,0.1));
      color: var(--text-muted, #94a3b8);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1900;
      box-shadow: 0 4px 16px rgba(0,0,0,0.3);
      transition: background 0.15s, color 0.15s, transform 0.15s;
    }
    #a11y-fab:hover { background: var(--surface-2); color: var(--text); transform: scale(1.08); }
    #a11y-fab[aria-pressed="true"] { background: var(--blue, #3b82f6); color: #fff; border-color: var(--blue, #3b82f6); }
    #a11y-fab-label {
      position: fixed;
      bottom: 74px;
      left: 72px;
      font-size: 11px;
      color: var(--text-dim, #4b5563);
      white-space: nowrap;
      pointer-events: none;
      z-index: 1900;
    }

    /* ── Accessibility Panel ── */
    #a11y-panel {
      position: fixed;
      bottom: 120px;
      left: 20px;
      width: 280px;
      background: var(--surface-3, #1a1f2e);
      border: 1px solid var(--border, rgba(255,255,255,0.1));
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.4);
      z-index: 1950;
      padding: 18px;
      display: none;
      flex-direction: column;
      gap: 14px;
    }
    #a11y-panel.open { display: flex; }
    .a11y-panel-title {
      font-size: 13px;
      font-weight: 700;
      color: var(--text, #f1f5f9);
      margin-bottom: 2px;
      letter-spacing: 0.3px;
    }
    .a11y-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    .a11y-row-label {
      font-size: 13px;
      color: var(--text-muted, #94a3b8);
      flex: 1;
    }
    .a11y-toggle {
      width: 38px;
      height: 22px;
      border-radius: 11px;
      background: var(--surface-2, rgba(255,255,255,0.06));
      border: 1px solid var(--border, rgba(255,255,255,0.08));
      cursor: pointer;
      position: relative;
      transition: background 0.2s;
      flex-shrink: 0;
    }
    .a11y-toggle::after {
      content: '';
      position: absolute;
      top: 2px; left: 2px;
      width: 16px; height: 16px;
      border-radius: 50%;
      background: #fff;
      transition: left 0.2s;
      box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    }
    .a11y-toggle[aria-checked="true"] { background: var(--blue, #3b82f6); border-color: var(--blue, #3b82f6); }
    .a11y-toggle[aria-checked="true"]::after { left: 18px; }
    .a11y-font-row { display: flex; align-items: center; gap: 6px; }
    .a11y-font-btn {
      width: 28px; height: 28px;
      border-radius: 6px;
      background: var(--surface-2, rgba(255,255,255,0.06));
      border: 1px solid var(--border, rgba(255,255,255,0.08));
      color: var(--text, #f1f5f9);
      cursor: pointer;
      font-size: 13px;
      font-weight: 700;
      font-family: inherit;
      transition: background 0.15s;
      display: flex; align-items: center; justify-content: center;
    }
    .a11y-font-btn:hover { background: var(--surface-3); }
    .a11y-font-size-label {
      font-size: 12px;
      color: var(--text-muted, #94a3b8);
      min-width: 28px;
      text-align: center;
    }
    .a11y-divider { border: none; border-top: 1px solid var(--border, rgba(255,255,255,0.06)); margin: 0; }
    .a11y-reset {
      font-size: 12px;
      color: var(--text-dim, #4b5563);
      background: none;
      border: none;
      cursor: pointer;
      font-family: inherit;
      padding: 0;
      align-self: flex-start;
      transition: color 0.15s;
    }
    .a11y-reset:hover { color: var(--text-muted); }

    /* Accessibility active states applied to <html> */
    html.a11y-high-contrast { filter: contrast(1.35); }
    html.a11y-large-cursor * { cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M6 2l16 12-8 1 4.5 10-3 1.3L11 16l-5 4z' fill='white' stroke='black' stroke-width='1.5'/></svg>") 4 4, auto !important; }
    html.a11y-reduce-motion *, html.a11y-reduce-motion *::before, html.a11y-reduce-motion *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
    html.a11y-focus-visible *:focus { outline: 3px solid #f59e0b !important; outline-offset: 3px !important; }
    .clear-session-toast {
      position: fixed;
      bottom: 48px;
      right: 20px;
      background: var(--surface-3);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 8px 14px;
      font-size: 12px;
      color: var(--text);
      z-index: 101;
      opacity: 0;
      transform: translateY(4px);
      transition: all 0.2s;
      pointer-events: none;
    }
    .clear-session-toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* Reset password flow */
    .forgot-link {
      display: block;
      text-align: center;
      margin-top: 12px;
      font-size: 13px;
      color: var(--text-muted);
      cursor: pointer;
      background: none;
      border: none;
      font-family: inherit;
      padding: 4px 0;
      text-decoration: underline;
      text-underline-offset: 2px;
      transition: color 0.15s;
    }
    .forgot-link:hover { color: var(--text); }
    .reset-section { display: none; }
    .reset-section.active { display: block; }
    .reset-success-icon {
      width: 52px; height: 52px;
      border-radius: 50%;
      background: rgba(34,197,94,0.12);
      border: 1px solid rgba(34,197,94,0.3);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 16px;
      color: #22c55e;
    }
    .back-to-login {
      display: flex;
      align-items: center;
      gap: 6px;
      background: none;
      border: none;
      font-family: inherit;
      font-size: 13px;
      color: var(--text-muted);
      cursor: pointer;
      padding: 0;
      margin-bottom: 20px;
      transition: color 0.15s;
    }
    .back-to-login:hover { color: var(--text); }

    @media (max-width: 768px) {
      .login-split { grid-template-columns: 1fr; }
      .login-brand { display: none; }
      .login-form-side { padding: 32px 24px; }
    }

    .mobile-brand-header {
      display: none;
      text-align: center;
      margin-bottom: 28px;
    }
    .mobile-brand-header .brand-shield {
      width: 52px; height: 52px;
      margin: 0 auto 12px;
      border-radius: 14px;
    }
    .mobile-brand-header .brand-name { font-size: 17px; line-height: 1.25; }
    .mobile-brand-header .brand-tagline { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
    @media (max-width: 768px) {
      .mobile-brand-header { display: block; }
    }

    .topbar-brand-text {
      font-size: 13px; font-weight: 700; color: #e8edf5; letter-spacing: -.01em;
      line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      min-width: 0;
    }
    @media (max-width: 640px) {
      .topbar-brand-text { font-size: 11px; max-width: 52vw; }
      .topbar-kb-label { display: none; }
    }
    @media (max-width: 420px) {
      .topbar-brand-text { font-size: 10px; max-width: 48vw; }
      .topbar-beta-badge { display: none; }
    }



    /* ── Demo trigger button ── */
    .demo-trigger-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      padding: 11px 20px;
      background: transparent;
      border: 1px solid var(--border, rgba(255,255,255,0.14));
      border-radius: var(--radius-sm, 8px);
      color: var(--text-muted, #888);
      font-family: inherit;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.18s;
      margin-top: 12px;
    }
    .demo-trigger-btn:hover {
      border-color: rgba(79,70,229,0.5);
      color: #a5b4fc;
      background: rgba(79,70,229,0.06);
    }
    .demo-trigger-btn .pulse-dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: #22c55e;
      box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
      animation: pulse-ring 2s ease-out infinite;
      flex-shrink: 0;
    }
    @keyframes pulse-ring {
      0%   { box-shadow: 0 0 0 0   rgba(34,197,94,0.5); }
      70%  { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
      100% { box-shadow: 0 0 0 0   rgba(34,197,94,0); }
    }

    /* ── Demo overlay ── */
    #demo-overlay {
      position: fixed; inset: 0; z-index: 3000;
      background: var(--bg, #0f0f1a);
      display: flex; flex-direction: column;
      overflow: hidden;
    }
    .demo-topbar {
      display: flex; align-items: center; justify-content: space-between;
      padding: 10px 20px; background: var(--surface, #1a1a2e);
      border-bottom: 1px solid var(--border, #2a2a40);
      flex-shrink: 0;
    }
    .demo-topbar-left { display: flex; align-items: center; gap: 10px; }
    .demo-topbar-logo {
      width: 28px; height: 28px; border-radius: 7px;
      background: linear-gradient(135deg, #3b82f6, #8b5cf6);
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .demo-topbar-name { font-size: 14px; font-weight: 700; color: var(--text, #e8e8f0); }
    .demo-badge-pill {
      background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.4);
      color: #f59e0b; font-size: 9px; font-weight: 800; letter-spacing: 1.2px;
      padding: 2px 7px; border-radius: 4px; text-transform: uppercase;
    }
    .demo-live-pill {
      display: flex; align-items: center; gap: 5px;
      background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3);
      border-radius: 20px; padding: 3px 10px; font-size: 11px; color: #22c55e; font-weight: 600;
    }
    .demo-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: pulse-ring 1.5s ease-out infinite; }
    .demo-close-btn {
      background: none; border: none; cursor: pointer; color: var(--text-muted, #888);
      font-size: 13px; font-family: inherit; padding: 6px 12px; border-radius: 6px;
      font-weight: 600; display: flex; align-items: center; gap: 5px; transition: all 0.15s;
    }
    .demo-close-btn:hover { background: var(--surface-2, #2a2a40); color: var(--text, #e8e8f0); }

    .demo-body {
      display: flex; flex: 1; overflow: hidden;
    }

    /* Left sidebar */
    .demo-sidebar {
      width: 280px; flex-shrink: 0;
      border-right: 1px solid var(--border, #2a2a40);
      display: flex; flex-direction: column;
      overflow-y: auto; padding: 20px 16px; gap: 16px;
      background: var(--surface, #1a1a2e);
    }
    @media (max-width: 640px) { .demo-sidebar { display: none; } }
    .demo-case-card {
      background: var(--surface-2, #1e2035); border: 1px solid var(--border, #2a2a40);
      border-radius: 12px; padding: 16px;
    }
    .demo-case-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-dim, #444460); margin-bottom: 8px; }
    .demo-case-title { font-size: 15px; font-weight: 700; color: var(--text, #e8e8f0); margin-bottom: 6px; line-height: 1.3; }
    .demo-case-meta { font-size: 12px; color: var(--text-muted, #888); line-height: 1.6; }
    .demo-badge-ip { display: inline-block; background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.3); color: #60a5fa; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; }
    .demo-pi-card {
      background: var(--surface-2, #1e2035); border: 1px solid var(--border, #2a2a40);
      border-radius: 12px; padding: 16px;
    }
    .demo-pi-avatar {
      width: 40px; height: 40px; border-radius: 50%;
      background: linear-gradient(135deg, #3b82f6, #8b5cf6);
      display: flex; align-items: center; justify-content: center;
      font-size: 15px; font-weight: 800; color: white; flex-shrink: 0;
    }
    .demo-pi-info { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
    .demo-pi-name { font-size: 14px; font-weight: 600; color: var(--text, #e8e8f0); }
    .demo-pi-detail { font-size: 11px; color: var(--text-muted, #888); margin-top: 1px; }
    .demo-progress-wrap { margin-top: 4px; }
    .demo-progress-label { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted, #888); margin-bottom: 5px; }
    .demo-progress-bar { height: 4px; background: var(--border, #2a2a40); border-radius: 2px; overflow: hidden; }
    .demo-progress-fill { height: 100%; background: linear-gradient(90deg, #3b82f6, #8b5cf6); border-radius: 2px; transition: width 0.6s ease; width: 0%; }

    /* Main content area */
    .demo-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
    .demo-content-tabs {
      display: flex; gap: 4px; padding: 14px 20px 0;
      border-bottom: 1px solid var(--border, #2a2a40); flex-shrink: 0;
    }
    .demo-content-tab {
      display: flex; align-items: center; gap: 6px;
      padding: 8px 14px; border-radius: 8px 8px 0 0;
      font-size: 12px; font-weight: 600; cursor: pointer;
      background: none; border: 1px solid transparent;
      border-bottom: none; font-family: inherit;
      color: var(--text-muted, #888); transition: all 0.15s;
      margin-bottom: -1px;
    }
    .demo-content-tab.active {
      background: var(--surface, #1a1a2e); border-color: var(--border, #2a2a40);
      border-bottom-color: var(--surface, #1a1a2e); color: var(--text, #e8e8f0);
    }
    .demo-count-badge {
      background: var(--surface-3, #2a2a40); color: var(--text-muted, #888);
      font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 10px;
      min-width: 18px; text-align: center;
    }
    .demo-content-tab.active .demo-count-badge { background: #4f46e5; color: white; }

    .demo-tab-panel { flex: 1; overflow-y: auto; padding: 20px; display: none; }
    .demo-tab-panel.active { display: block; }

    /* Timeline items */
    .demo-timeline-wrap { display: flex; flex-direction: column; gap: 0; }
    .demo-tl-item {
      display: flex; gap: 0; opacity: 0; transform: translateY(8px);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .demo-tl-item.visible { opacity: 1; transform: translateY(0); }
    .demo-tl-left { display: flex; flex-direction: column; align-items: center; width: 32px; flex-shrink: 0; }
    .demo-tl-dot {
      width: 26px; height: 26px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; flex-shrink: 0; margin-top: 2px;
    }
    .demo-tl-dot.waypoint { background: rgba(59,130,246,0.15); border: 1.5px solid #3b82f6; }
    .demo-tl-dot.note     { background: rgba(245,158,11,0.15); border: 1.5px solid #f59e0b; }
    .demo-tl-dot.photo    { background: rgba(34,197,94,0.15);  border: 1.5px solid #22c55e; }
    .demo-tl-line { width: 1px; flex: 1; background: var(--border, #2a2a40); margin: 4px 0; min-height: 12px; }
    .demo-tl-body { flex: 1; padding: 0 0 20px 14px; min-width: 0; }
    .demo-tl-header { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
    .demo-tl-type { font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
    .demo-tl-type.waypoint { color: #60a5fa; }
    .demo-tl-type.note     { color: #fbbf24; }
    .demo-tl-type.photo    { color: #4ade80; }
    .demo-tl-time { font-size: 11px; color: var(--text-dim, #444460); font-family: monospace; }
    .demo-tl-address { font-size: 13px; color: var(--text, #e8e8f0); margin-bottom: 3px; }
    .demo-tl-gps { font-size: 11px; color: #60a5fa; font-family: monospace; margin-bottom: 3px; }
    .demo-tl-note { font-size: 13px; color: var(--text-muted, #888); line-height: 1.5; }
    .demo-tl-pi { font-size: 11px; color: var(--text-dim, #444460); font-style: italic; margin-top: 4px; }

    /* Surveillance photo cards */
    .demo-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
    .demo-photo-card {
      border-radius: 10px; overflow: hidden;
      border: 1px solid var(--border, #2a2a40);
      background: var(--surface-2, #1e2035);
      opacity: 0; transform: scale(0.96);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .demo-photo-card.visible { opacity: 1; transform: scale(1); }
    .demo-surv-photo {
      position: relative; aspect-ratio: 4/3; overflow: hidden;
      background: #060a10;
      background-image: repeating-linear-gradient(
        0deg, transparent, transparent 3px,
        rgba(255,255,255,0.012) 3px, rgba(255,255,255,0.012) 4px
      );
    }
    .demo-surv-photo::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 80% 60% at 50% 35%, rgba(20,50,80,0.7) 0%, transparent 70%);
    }
    .demo-surv-photo::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.6) 100%);
    }
    .demo-surv-ts {
      position: absolute; top: 8px; left: 8px; z-index: 2;
      font-family: monospace; font-size: 10px; color: #ffcc00;
      text-shadow: 0 1px 3px rgba(0,0,0,0.9); letter-spacing: 0.3px;
    }
    .demo-surv-rec {
      position: absolute; top: 8px; right: 10px; z-index: 2;
      display: flex; align-items: center; gap: 4px;
      font-family: monospace; font-size: 9px; color: #ff4444;
      text-shadow: 0 1px 3px rgba(0,0,0,0.9);
    }
    .demo-surv-rec-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff4444; animation: blink 1.2s step-start infinite; }
    @keyframes blink { 50% { opacity: 0; } }
    .demo-surv-icon { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; }
    .demo-surv-figure { opacity: 0.12; }
    .demo-surv-gps {
      position: absolute; bottom: 8px; left: 8px; z-index: 2;
      font-family: monospace; font-size: 9px; color: #00ff88;
      text-shadow: 0 1px 3px rgba(0,0,0,0.9); letter-spacing: 0.3px;
    }
    .demo-photo-meta { padding: 10px 12px; }
    .demo-photo-caption { font-size: 12px; color: var(--text-muted, #888); line-height: 1.4; }

    /* Demo complete state */
    .demo-complete-banner {
      margin: 0 0 20px;
      background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(139,92,246,0.08));
      border: 1px solid rgba(79,70,229,0.3);
      border-radius: 12px; padding: 16px 20px;
      display: flex; align-items: center; gap: 14px;
      display: none;
    }
    .demo-complete-banner.visible { display: flex; }
    .demo-cta-btn {
      background: linear-gradient(135deg, #4f46e5, #7c3aed);
      color: white; border: none; border-radius: 8px;
      padding: 10px 20px; font-size: 13px; font-weight: 700;
      cursor: pointer; font-family: inherit; white-space: nowrap;
      transition: opacity 0.15s; flex-shrink: 0;
    }
    .demo-cta-btn:hover { opacity: 0.88; }

    /* Mobile case info bar (replaces sidebar) */
    .demo-mobile-case {
      display: none; padding: 12px 16px;
      background: var(--surface, #1a1a2e);
      border-bottom: 1px solid var(--border, #2a2a40);
      flex-shrink: 0;
    }
    @media (max-width: 640px) {
      .demo-mobile-case { display: flex; align-items: center; gap: 10px; }
    }
    .demo-mobile-case-title { font-size: 13px; font-weight: 700; color: var(--text, #e8e8f0); }
    .demo-mobile-case-pi { font-size: 11px; color: var(--text-muted, #888); margin-top: 1px; }
