/* Approved Doppler theme, applied only when data-theme=dark. */
@font-face{font-family:VseQRInter;src:url('/assets/inter.ttf?v=3c4e05b2eb693e93') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
html[data-theme="dark"]{color-scheme:only dark;--color-canvas:#1c1624;--color-paper:#2d2734;--color-surface-alt:#3a3340;--color-ink:#f1f0ec;--color-ink-soft:#e4e1dd;--color-mid-gray:#a5a2a5;--color-hairline:rgb(229 231 235 / .15);--color-ember:#ff8b8b;--bg:#1c1624;--panel:#2d2734;--ink:#f1f0ec;--muted:#a5a2a5;--line:rgb(229 231 235 / .15);--accent:#f1f0ec;--error:#ff8b8b;--brand:#b997ff;--go:#00f575;--ash:#d0c9c4;--iron:#55505b;--raised:#3a3340;--radius-cards:20px;--radius-inputs:12px;--radius-buttons:12px;--shadow-card:none;font-family:VseQRInter,Inter,Geist,ui-sans-serif,system-ui,sans-serif;font-weight:450;line-height:1.5}
html[data-theme="dark"],html[data-theme="dark"] body{color-scheme:only dark;background:var(--bg);color:var(--ink)}
html[data-theme="dark"] body{font-size:15px;font-weight:450;line-height:1.5}
html[data-theme="dark"] h1{font-size:32px;line-height:1.15;letter-spacing:-.01em;font-weight:500}
html[data-theme="dark"] h2{font-size:24px;line-height:1.2;letter-spacing:-.01em;font-weight:500}
html[data-theme="dark"] h3{font-size:18px;line-height:1.4;letter-spacing:-.01em;font-weight:500}
html[data-theme="dark"] strong{font-weight:500}
html[data-theme="dark"] a{color:var(--ink)}
html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .section-head .eyebrow,html[data-theme="dark"] .analytics-panel .section-head .eyebrow{color:var(--brand);font-size:12px;letter-spacing:.03em;font-weight:450}
html[data-theme="dark"] .hint,html[data-theme="dark"] .muted,html[data-theme="dark"] .contact-url,html[data-theme="dark"] .below,html[data-theme="dark"] .legal-note,html[data-theme="dark"] .optional,html[data-theme="dark"] .sync-label,html[data-theme="dark"] .sidebar-label,html[data-theme="dark"] .preview-top,html[data-theme="dark"] .comparison-note,html[data-theme="dark"] .chart-tooltip,html[data-theme="dark"] .chart-axis-y,html[data-theme="dark"] .chart-axis-x,html[data-theme="dark"] .chart-legend,html[data-theme="dark"] .home-footer,html[data-theme="dark"] .contact-removed{color:var(--muted)}
html[data-theme="dark"] .app-header{background:rgb(28 22 36 / .8);backdrop-filter:blur(12px);border-bottom-color:rgb(229 231 235 / .1)}
html[data-theme="dark"] .wordmark{color:var(--brand);font-weight:500;letter-spacing:-.02em}
html[data-theme="dark"] .wordmark span{color:var(--ash);border-left-color:var(--line)}
html[data-theme="dark"] .section,html[data-theme="dark"] .share-panel,html[data-theme="dark"] .home-details,html[data-theme="dark"] .auth-panel,html[data-theme="dark"] .card-switcher,html[data-theme="dark"] .offline-card{background:var(--panel);border-color:var(--line);border-radius:20px;box-shadow:none}
html[data-theme="dark"] .section,html[data-theme="dark"] .auth-panel{padding:32px;margin-bottom:24px}
html[data-theme="dark"] .section-head{margin-bottom:24px;gap:16px}
html[data-theme="dark"] .dashboard-app .card-switcher{background:var(--panel);border-color:var(--line);box-shadow:none;border-radius:20px}
html[data-theme="dark"] .dashboard-app .desktop-nav button{color:var(--ash);border-radius:12px;box-shadow:none}
html[data-theme="dark"] .dashboard-app .desktop-nav button.active{background:var(--panel);color:var(--ink);border-color:var(--line);box-shadow:none}
html[data-theme="dark"] .app-sidebar{border-right-color:var(--line)}
html[data-theme="dark"] .sidebar-account strong{color:var(--ink);font-weight:450}
html[data-theme="dark"] .sidebar-label{letter-spacing:.03em}
html[data-theme="dark"] .sidebar-account strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme="dark"] button,html[data-theme="dark"] .button,html[data-theme="dark"] summary.button{border-radius:12px;border-color:var(--iron);background:transparent;color:var(--ink);font-size:14px;font-weight:500;box-shadow:none}
html[data-theme="dark"] button.primary,html[data-theme="dark"] .button.primary,html[data-theme="dark"] .dashboard-app button.primary,html[data-theme="dark"] .dashboard-app .button.primary{background:var(--ink);color:var(--bg);border-color:var(--ink);box-shadow:none}
html[data-theme="dark"] .dashboard-app .view-builder [data-submit=fields] button.primary,html[data-theme="dark"] .dashboard-app .view-design [data-export=card-png],html[data-theme="dark"] .subscription-panel .plan-recommended button.primary,html[data-theme="dark"] .analytics-empty button.primary,html[data-theme="dark"] .auth-panel [data-submit=auth]>button.primary,html[data-theme="dark"] .empty-state button.primary,html[data-theme="dark"] .hero-actions .primary{background:var(--go);color:#00180b;border-color:var(--go);box-shadow:none}
html[data-theme="dark"] .dashboard-app .view-builder .upload-control button.primary,html[data-theme="dark"] .dashboard-app .view-builder [data-submit=smart-contact] button.primary,html[data-theme="dark"] .dashboard-app .view-builder [data-export=card-png],html[data-theme="dark"] .dashboard-app .mobile-preview-button.primary,html[data-theme="dark"] .subscription-panel .plan:not(.plan-recommended) button.primary{background:transparent;color:var(--ink);border-color:var(--iron);box-shadow:none}
html[data-theme="dark"] .dashboard-app .danger-outline,html[data-theme="dark"] button.danger{color:#eab2b2;border-color:var(--iron);background:transparent}
html[data-theme="dark"] .danger-confirm.primary{background:#ca343c;color:#f1f0ec;border-color:#ca343c}
html[data-theme="dark"] button:disabled{opacity:.4}
html[data-theme="dark"] .dashboard-app .contact-name{background:transparent;border-color:var(--iron);border-radius:8px;color:var(--ink)}
html[data-theme="dark"] .dashboard-app .contact-name svg{color:var(--ash)}
html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:var(--panel);color:var(--ink);border:1px solid var(--iron);border-radius:12px;caret-color:var(--ink);font-size:16px;font-weight:450}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:var(--muted)}
html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] textarea:focus-visible,html[data-theme="dark"] select:focus-visible{background:var(--panel);border-color:var(--ink)}
html[data-theme="dark"] label{font-size:14px;color:var(--ink);font-weight:450}
html[data-theme="dark"] input[aria-invalid=true],html[data-theme="dark"] textarea[aria-invalid=true]{border-color:var(--error);box-shadow:none}
html[data-theme="dark"] input[type=checkbox]{accent-color:var(--go)}
html[data-theme="dark"] .select-trigger,html[data-theme="dark"] .dashboard-app .select-trigger,html[data-theme="dark"] .drop-zone{background:transparent;color:var(--ink);border-color:var(--iron);border-radius:12px}
html[data-theme="dark"] .drop-zone{padding:16px;gap:16px}
html[data-theme="dark"] .drop-zone small{color:var(--muted)}
html[data-theme="dark"] .select-trigger[aria-expanded=true],html[data-theme="dark"] .dashboard-app .select-trigger[aria-expanded=true]{background:var(--raised);border-color:var(--ash)}
html[data-theme="dark"] .select-menu{background:var(--raised);border-color:var(--iron);border-radius:12px;box-shadow:none;padding:8px}
html[data-theme="dark"] .select-menu [role=option]{color:var(--ink);border-radius:8px}
html[data-theme="dark"] .select-menu [role=option]:hover,html[data-theme="dark"] .select-menu [role=option]:focus-visible,html[data-theme="dark"] .select-menu [aria-selected=true]{background:var(--panel);color:var(--ink)}
html[data-theme="dark"] .card-avatar,html[data-theme="dark"] .contact-glyph{background:var(--bg)}
html[data-theme="dark"] .monogram-small{color:var(--ink)}
html[data-theme="dark"] .contact-glyph img[src*="/x.svg"],html[data-theme="dark"] .contact-meter>img[src*="/x.svg"]{filter:brightness(0) invert(.94)}
html[data-theme="dark"] .mode-choice,html[data-theme="dark"] .drop-zone,html[data-theme="dark"] .segment,html[data-theme="dark"] .segment button,html[data-theme="dark"] .badge{border-radius:12px}
html[data-theme="dark"] .mode-choice.active,html[data-theme="dark"] .mode-choice[aria-pressed=true]{background:var(--raised);border-color:var(--ash);color:var(--ink)}
html[data-theme="dark"] .contact-row,html[data-theme="dark"] .contact-removed,html[data-theme="dark"] .editor-divider,html[data-theme="dark"] .recovery-settings,html[data-theme="dark"] .security-logout,html[data-theme="dark"] .account-danger,html[data-theme="dark"] .payment-list li{border-color:var(--line)}
html[data-theme="dark"] .editor-divider{background:var(--line);margin:24px 0}
html[data-theme="dark"] .contact-name.quiet,html[data-theme="dark"] .contact-name svg,html[data-theme="dark"] .contact-actions button{color:var(--ink)}
html[data-theme="dark"] .profile-security .account-rows>div{color:var(--ink);background:transparent;border-color:var(--line)}
html[data-theme="dark"] .profile-security .credentials>summary.button{background:transparent;color:var(--ink);border-color:var(--iron);border-radius:12px}
html[data-theme="dark"] .profile-danger{box-shadow:none;border-color:var(--line)}
html[data-theme="dark"] .profile-danger summary{color:var(--ash)}
html[data-theme="dark"] .security-details>summary,html[data-theme="dark"] .settings-actions button,html[data-theme="dark"] .account-danger>strong{color:var(--ink)}
html[data-theme="dark"] .account-status,html[data-theme="dark"] .payment-status{color:var(--ash);background:transparent}
html[data-theme="dark"] .account-status.is-active,html[data-theme="dark"] .payment-status.is-active{color:var(--ash)}
html[data-theme="dark"] .account-status.is-active:before,html[data-theme="dark"] .payment-status.is-active:before{background:var(--go)}
html[data-theme="dark"] .badge,html[data-theme="dark"] .badge.connected{background:var(--raised);color:var(--ash);border-radius:8px}
html[data-theme="dark"] .subscription-status,html[data-theme="dark"] .subscription-status.is-expired{background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:24px}
html[data-theme="dark"] .subscription-status h2{font-weight:500}
html[data-theme="dark"] .subscription-status p{color:var(--ash)}
html[data-theme="dark"] .subscription-status .status-dot{background:var(--go)}
html[data-theme="dark"] .subscription-status.is-expired .status-dot{background:var(--muted)}
html[data-theme="dark"] .subscription-panel .plan,html[data-theme="dark"] .plan{background:var(--bg);border-color:var(--line);border-radius:20px;box-shadow:none;padding:24px}
html[data-theme="dark"] .subscription-panel .plan-recommended{background:var(--panel);border-color:var(--ash)}
html[data-theme="dark"] .subscription-panel .plan p,html[data-theme="dark"] .payment-list small{color:var(--muted)}
html[data-theme="dark"] .value-badge{background:transparent;color:var(--brand);border-radius:8px;padding:3px 8px;border:1px solid rgb(185 151 255 / .3)}
html[data-theme="dark"] .subscription-panel .plan strong{color:var(--ink);font-weight:500;letter-spacing:-.02em}
html[data-theme="dark"] .dashboard-app .analytics-panel{background:var(--panel);box-shadow:none}
html[data-theme="dark"] .dashboard-app .metric{background:var(--bg);border-color:var(--line);border-radius:20px;padding:24px;box-shadow:none;gap:8px}
html[data-theme="dark"] .dashboard-app .metric>span{color:var(--ash)}
html[data-theme="dark"] .dashboard-app .metric small{color:var(--muted)}
html[data-theme="dark"] .dashboard-app .metric strong{font-weight:500;color:var(--ink);letter-spacing:-.02em}
html[data-theme="dark"] .metric-blue .metric-icon,html[data-theme="dark"] .metric-green .metric-icon,html[data-theme="dark"] .metric-amber .metric-icon{background:var(--panel);color:var(--ash);border-radius:8px}
html[data-theme="dark"] .analytics-panel .series-0{fill:var(--ink)}
html[data-theme="dark"] .analytics-panel .series-1{fill:#8e849b}
html[data-theme="dark"] .analytics-panel .series-2{fill:var(--brand)}
html[data-theme="dark"] .analytics-panel .legend-views:before{background:var(--ink)}
html[data-theme="dark"] .analytics-panel .legend-qr:before{background:#8e849b}
html[data-theme="dark"] .analytics-panel .legend-clicks:before{background:var(--brand)}
html[data-theme="dark"] .chart-grid line{stroke:var(--line)}
html[data-theme="dark"] .chart-day:hover .chart-hit,html[data-theme="dark"] .chart-day:focus .chart-hit{fill:rgb(241 240 236 / .05)}
html[data-theme="dark"] .chart-tooltip{background:var(--bg);border-radius:8px;color:var(--muted)}
html[data-theme="dark"] .analytics-panel .contact-meter{border-color:var(--line)}
html[data-theme="dark"] .analytics-panel .contact-meter>span{color:var(--ash)}
html[data-theme="dark"] .analytics-panel .contact-meter progress{background:var(--bg);accent-color:var(--brand);border-radius:8px}
html[data-theme="dark"] .analytics-panel progress::-webkit-progress-bar{background:var(--bg)}
html[data-theme="dark"] .analytics-panel progress::-webkit-progress-value{background:var(--brand)}
html[data-theme="dark"] .analytics-panel progress::-moz-progress-bar{background:var(--brand)}
html[data-theme="dark"] .analytics-panel .meter-1 progress::-webkit-progress-value{background:#a5a2a5}
html[data-theme="dark"] .analytics-panel .meter-1 progress::-moz-progress-bar{background:#a5a2a5}
html[data-theme="dark"] .analytics-panel .meter-2 progress::-webkit-progress-value{background:var(--ash)}
html[data-theme="dark"] .analytics-panel .meter-2 progress::-moz-progress-bar{background:var(--ash)}
html[data-theme="dark"] .analytics-empty>svg{stroke:var(--iron)}
html[data-theme="dark"] .analytics-empty .empty-trend{stroke:var(--brand)}
html[data-theme="dark"] .analytics-privacy{border-color:var(--line);color:var(--muted)}
html[data-theme="dark"] .segment{background:var(--bg);border-color:var(--line);border-radius:12px}
html[data-theme="dark"] .segment button{color:var(--ash)}
html[data-theme="dark"] .segment button.active{background:var(--ink);color:var(--bg)}
html[data-theme="dark"] .dashboard-app .share-panel{background:var(--panel);border-color:var(--line);border-radius:20px;box-shadow:none;padding:24px}
html[data-theme="dark"] .dashboard-app .phone-frame{border-color:var(--iron);background:var(--bg);box-shadow:0 0 40px rgb(185 151 255 / .05)}
html[data-theme="dark"] .phone-frame iframe{background:var(--bg)}
html[data-theme="dark"] .preview-top .open-page,html[data-theme="dark"] .dashboard-app .preview-top .open-page{color:var(--ink);border-color:var(--iron);background:transparent;border-radius:12px}
html[data-theme="dark"] .dashboard-app .qr-choice{background:var(--bg);color:var(--ash);border-color:var(--line);border-radius:12px}
html[data-theme="dark"] .dashboard-app .qr-choice[aria-pressed=true]{background:var(--raised);border-color:var(--ink);color:var(--ink);box-shadow:none}
html[data-theme="dark"] .qr-choice img{background:#fff;border-radius:8px;padding:3px}
html[data-theme="dark"] .qr-current img,html[data-theme="dark"] .dashboard-app .qr-current img{background:#fff;border-color:var(--iron);border-radius:12px}
html[data-theme="dark"] .auth-panel{background:var(--panel);border-color:var(--line);box-shadow:none;border-radius:20px}
html[data-theme="dark"] .auth-tabs{border-color:var(--line)}
html[data-theme="dark"] .auth-tabs button{color:var(--ash)}
html[data-theme="dark"] .auth-tabs button.active{background:var(--raised);color:var(--ink)}
html[data-theme="dark"] .auth-intro h1,html[data-theme="dark"] .home-hero h1{font-weight:500;letter-spacing:-.02em;line-height:1.05;color:var(--ink)}
html[data-theme="dark"] .auth-intro .lead,html[data-theme="dark"] .home-hero .lead,html[data-theme="dark"] .home-detail p,html[data-theme="dark"] .principles>div{color:var(--ash)}
html[data-theme="dark"] .principles strong{color:var(--ink)}
html[data-theme="dark"] .home-details{padding:32px;gap:24px;border-color:var(--line)}
html[data-theme="dark"] .home-detail{border-color:var(--line)}
html[data-theme="dark"] .seo-section,html[data-theme="dark"] .seo-faq details,html[data-theme="dark"] .seo-cases article,html[data-theme="dark"] .home-footer{border-color:var(--line)}
html[data-theme="dark"] .seo-cases p,html[data-theme="dark"] .seo-faq details p,html[data-theme="dark"] .seo-pricing,html[data-theme="dark"] .info-page section p{color:var(--ash)}
html[data-theme="dark"] .home-hero>.home-details{background:var(--panel)}
html[data-theme="dark"] .home-hero h1{font-size:clamp(36px,4vw,56px)}
html[data-theme="dark"] .home-hero .secondary-link,html[data-theme="dark"] .text-button,html[data-theme="dark"] .home-footer a{color:var(--ash)}
html[data-theme="dark"] .warning,html[data-theme="dark"] .error,html[data-theme="dark"] .field-error{color:var(--error)}
html[data-theme="dark"] .warning{background:var(--panel);border-color:var(--iron);border-radius:12px;color:var(--ash)}
html[data-theme="dark"] .status,html[data-theme="dark"] .success{color:var(--ash)}
html[data-theme="dark"] .toast{background:var(--raised);color:var(--ink);border-color:var(--iron);border-radius:12px;box-shadow:none}
html[data-theme="dark"] dialog{background:var(--raised);color:var(--ink);border-color:var(--iron);border-radius:20px;box-shadow:none;padding:32px}
html[data-theme="dark"] dialog::backdrop{background:rgb(12 9 17 / .72);backdrop-filter:blur(4px)}
html[data-theme="dark"] .key-output{background:var(--bg);color:var(--ink);border-color:var(--iron);border-radius:8px}
html[data-theme="dark"] .preview-sheet iframe{border-color:var(--line);background:var(--bg)}
html[data-theme="dark"] .skip{background:var(--raised);color:var(--ink)}
@media(hover:hover) and (pointer:fine){html[data-theme="dark"] button:not(:disabled):hover,html[data-theme="dark"] .button:hover,html[data-theme="dark"] .dashboard-app button:not(:disabled):hover,html[data-theme="dark"] .dashboard-app .button:hover,html[data-theme="dark"] .dashboard-app .select-trigger:hover{background:var(--raised);color:var(--ink);border-color:var(--ash)}
html[data-theme="dark"] button.primary:not(:disabled):hover,html[data-theme="dark"] .button.primary:hover,html[data-theme="dark"] .dashboard-app button.primary:not(:disabled):hover{background:var(--ink);color:var(--bg);border-color:var(--ink);box-shadow:none}
html[data-theme="dark"] .dashboard-app .view-builder [data-submit=fields] button.primary:hover,html[data-theme="dark"] .dashboard-app .view-design [data-export=card-png]:hover,html[data-theme="dark"] .subscription-panel .plan-recommended button.primary:hover,html[data-theme="dark"] .analytics-empty button.primary:hover,html[data-theme="dark"] .auth-panel [data-submit=auth]>button.primary:hover,html[data-theme="dark"] .empty-state button.primary:hover,html[data-theme="dark"] .hero-actions .primary:hover{background:#27ff8e;color:#00180b;border-color:#27ff8e;box-shadow:none}
html[data-theme="dark"] .dashboard-app .danger-outline:not(:disabled):hover{color:var(--error);background:rgb(255 139 139 / .08);border-color:var(--error)}}
@media(max-width:1023.98px){html[data-theme="dark"] .app-header{background:rgb(28 22 36 / .88)}
html[data-theme="dark"] .dashboard-app .section,html[data-theme="dark"] .auth-panel{padding:24px;margin-bottom:24px}
html[data-theme="dark"] .dashboard-app .bottom-nav{background:rgb(28 22 36 / .94);backdrop-filter:blur(12px);border-color:var(--line)}
html[data-theme="dark"] .dashboard-app .bottom-nav button{color:var(--muted);border-radius:12px}
html[data-theme="dark"] .dashboard-app .bottom-nav button.active{background:var(--panel);color:var(--ink)}
html[data-theme="dark"] .dashboard-app .metric{padding:16px;gap:8px 12px}
html[data-theme="dark"] .dashboard-app .card-switcher{padding:12px}
html[data-theme="dark"] .dashboard-app .share-panel{padding:24px}
html[data-theme="dark"] .dashboard-app .mobile-preview-button.primary{background:var(--raised);color:var(--ink);border-color:var(--iron);box-shadow:none}
html[data-theme="dark"] .subscription-panel .plan{padding:24px}
html[data-theme="dark"] .subscription-status,html[data-theme="dark"] .subscription-status.is-expired{padding:24px 16px}
html[data-theme="dark"] .security-details>summary,html[data-theme="dark"] .credentials>summary.button{font-size:14px}
html[data-theme="dark"] .account-rows dt{color:var(--muted)}
html[data-theme="dark"] .auth-intro h1,html[data-theme="dark"] .home-hero h1{letter-spacing:-.02em}
html[data-theme="dark"] .home-details{padding:24px}}
@media(max-width:359px){html[data-theme="dark"] .dashboard-app .section,html[data-theme="dark"] .auth-panel{padding:24px 16px}
html[data-theme="dark"] .dashboard-app .share-panel{padding:16px}
html[data-theme="dark"] .dashboard-app .bottom-nav button{font-size:11px}
html[data-theme="dark"] .dashboard-app .mode-choice{font-size:12px}}

html[data-theme="dark"] .analytics-panel .analytics-period .segment{background:rgba(255,255,255,.03);border:1px solid rgba(192,132,252,.22);border-radius:14px}
html[data-theme="dark"] .analytics-panel .analytics-period .segment button{border-radius:10px}
html[data-theme="dark"] .analytics-panel .analytics-period .segment button.active{background:linear-gradient(135deg,rgba(147,51,234,.42),rgba(168,85,247,.32));border:1px solid rgba(192,132,252,.65);color:#f3e8ff;font-weight:600;box-shadow:0 2px 10px rgba(147,51,234,.28)}

/* Keep the floating preview action recognizable while generic buttons invert. */
@media(hover:hover) and (pointer:fine){
 html[data-theme=dark] .dashboard-app button.mobile-preview-button.primary:not(:disabled):hover{background:linear-gradient(135deg,#9333ea 0%,#a855f7 50%,#c084fc 100%);color:#fff;border-color:rgba(216,180,254,.8);box-shadow:0 8px 24px rgba(168,85,247,.38)}
}
