/**
 * 123TinyTools QR Code Generator — Styles v3.0.0
 * Dark mode: theme-class only. No @media (prefers-color-scheme:dark).
 * Version: 3.1.2
 */

/* ── Base ──────────────────────────────────────────────────── */
.tia-qr-wrap { font-family:'Inter',system-ui,sans-serif; color:#1E293B; padding:24px 0 64px; -webkit-font-smoothing:antialiased; }
.tia-qr-wrap *, .tia-qr-wrap *::before, .tia-qr-wrap *::after { box-sizing:border-box; }

/* ── Header ────────────────────────────────────────────────── */
.tia-qr-intro  { margin-bottom:20px; font-size:15px; color:#475569; line-height:1.65; }
.tia-qr-h1     { font-family:'Plus Jakarta Sans',system-ui,sans-serif; font-size:clamp(22px,3.5vw,28px); font-weight:800; letter-spacing:-.5px; margin:0 0 6px; color:#1E293B; }
.tia-qr-sub    { font-size:14px; color:#64748B; margin:0 0 12px; line-height:1.55; }
.tia-qr-badges { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:20px; }
.tia-qr-badge  { display:inline-flex; align-items:center; gap:5px; font-size:11.5px; font-weight:500; color:#6D28D9; background:#EDE9FE; border:1px solid #C4B5FD; border-radius:9999px; padding:3px 10px; }

/* ── Privacy notice ────────────────────────────────────────── */
.tia-qr-notice { display:flex; align-items:center; gap:9px; font-size:13px; color:#475569; background:#F5F3FF; border:1px solid #C4B5FD; border-radius:10px; padding:10px 14px; margin-bottom:20px; }

/* ── Main layout ───────────────────────────────────────────── */
.tia-qr-layout { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:32px; align-items:start; }

/* ── Left panel ────────────────────────────────────────────── */
.tia-qr-left { background:#fff; border-radius:22px; box-shadow:0 2px 20px rgba(0,0,0,.07),0 1px 4px rgba(0,0,0,.04); overflow:hidden; }

/* ── Content tabs ──────────────────────────────────────────── */
.tia-qr-tabs { display:flex; background:#F8FAFD; border-bottom:1px solid #E4EAF4; overflow-x:auto; scrollbar-width:none; }
.tia-qr-tabs::-webkit-scrollbar { display:none; }
.tia-qr-tab { flex:1; min-width:max-content; padding:11px 10px; font-size:12.5px; font-weight:500; color:#64748B; background:none; border:none; border-bottom:2px solid transparent; margin-bottom:-1px; cursor:pointer; white-space:nowrap; transition:color .15s,border-color .15s,background .15s; outline:none; }
.tia-qr-tab.active { color:#8B5CF6; border-bottom-color:#8B5CF6; background:#fff; font-weight:600; }
.tia-qr-tab:not(.active):hover { color:#475569; background:#F1F5F9; }

/* ── Panes ─────────────────────────────────────────────────── */
.tia-qr-pane { display:none; padding:16px 18px; }
.tia-qr-pane.active { display:block; }

/* ── Form elements ─────────────────────────────────────────── */
.tia-qr-label    { display:block; font-size:12.5px; font-weight:600; color:#475569; margin-bottom:5px; }
.tia-qr-input    { display:block; width:100%; padding:9px 12px; font-size:13.5px; color:#1E293B; background:#F8FAFD; border:1.5px solid #E4EAF4; border-radius:10px; outline:none; transition:border-color .15s,box-shadow .15s; font-family:inherit; }
.tia-qr-input:focus { border-color:#8B5CF6; box-shadow:0 0 0 3px rgba(139,92,246,.14); background:#fff; }
.tia-qr-textarea { display:block; width:100%; padding:9px 12px; font-size:13px; color:#1E293B; background:#F8FAFD; border:1.5px solid #E4EAF4; border-radius:10px; outline:none; resize:vertical; transition:border-color .15s,box-shadow .15s; font-family:inherit; }
.tia-qr-textarea:focus { border-color:#8B5CF6; box-shadow:0 0 0 3px rgba(139,92,246,.14); background:#fff; }
.tia-qr-select { display:block; width:100%; padding:9px 12px; font-size:13px; color:#1E293B; background:#F8FAFD; border:1.5px solid #E4EAF4; border-radius:10px; outline:none; cursor:pointer; appearance:none; -webkit-appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 10px center; padding-right:30px; font-family:inherit; }
.tia-qr-select:focus { border-color:#8B5CF6; box-shadow:0 0 0 3px rgba(139,92,246,.14); }
.tia-qr-range { width:100%; accent-color:#8B5CF6; cursor:pointer; }

/* ── Visual customisation wrapper ──────────────────────────── */
.tia-qr-visual { border-top:1px solid #E4EAF4; }

/* ── Preset bar ────────────────────────────────────────────── */
.tia-qr-presets-wrap { padding:14px 16px 10px; }
.tia-qr-section-label { font-size:11px; font-weight:700; color:#94A3B8; text-transform:uppercase; letter-spacing:.06em; margin-bottom:8px; }
.tia-qr-presets { display:flex; gap:7px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }
.tia-qr-presets::-webkit-scrollbar { display:none; }

.tia-qr-preset { display:flex; flex-direction:column; align-items:center; gap:5px; background:none; border:2px solid #E4EAF4; border-radius:10px; padding:6px 8px; cursor:pointer; flex-shrink:0; transition:border-color .15s,transform .15s; }
.tia-qr-preset:hover { border-color:#C4B5FD; transform:translateY(-1px); }
.tia-qr-preset.active { border-color:#8B5CF6; box-shadow:0 0 0 3px rgba(139,92,246,.15); }
.tia-qr-preset-swatch { width:36px; height:36px; border-radius:7px; display:block; border:1px solid rgba(0,0,0,.08); flex-shrink:0; }
.tia-qr-preset-name { font-size:10px; font-weight:600; color:#64748B; white-space:nowrap; }
.tia-qr-preset.active .tia-qr-preset-name { color:#7C3AED; }

/* ── Collapsible sections ──────────────────────────────────── */
.tia-qr-sect { border-top:1px solid #F1F5F9; }
.tia-qr-sect-summary { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; font-size:13px; font-weight:600; color:#475569; cursor:pointer; list-style:none; user-select:none; transition:background .15s,color .15s; }
.tia-qr-sect-summary::-webkit-details-marker { display:none; }
.tia-qr-sect-summary:hover { background:#F5F3FF; color:#8B5CF6; }
.tia-qr-sect[open] > .tia-qr-sect-summary { color:#8B5CF6; }
.tia-qr-sect-chevron { transition:transform .2s; flex-shrink:0; }
.tia-qr-sect-body { padding:4px 16px 16px; display:flex; flex-direction:column; gap:10px; }

/* ── Dot / corner style grid ───────────────────────────────── */
.tia-qr-style-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:6px; }
.tia-qr-style-grid--corners { grid-template-columns:repeat(3,1fr); }
.tia-qr-style-btn { display:flex; flex-direction:column; align-items:center; gap:4px; background:#F8FAFD; border:1.5px solid #E4EAF4; border-radius:9px; padding:8px 4px 6px; cursor:pointer; transition:all .15s; font-family:inherit; }
.tia-qr-style-btn:hover { background:#F5F3FF; border-color:#C4B5FD; }
.tia-qr-style-btn.active { background:#EDE9FE; border-color:#8B5CF6; }
.tia-qr-style-icon { font-size:16px; line-height:1; color:#475569; }
.tia-qr-style-btn.active .tia-qr-style-icon { color:#7C3AED; }
.tia-qr-style-label { font-size:9.5px; font-weight:600; color:#64748B; text-align:center; line-height:1.2; }
.tia-qr-style-btn.active .tia-qr-style-label { color:#7C3AED; }

/* ── Color mode toggle ─────────────────────────────────────── */
.tia-qr-color-mode { display:flex; border:none; border-radius:0; overflow:visible; background:transparent; border-bottom:1px solid #E4EAF4; }
.tia-qr-mode-btn { flex:1; padding:10px 8px; font-family:inherit; font-size:12px; font-weight:500; color:#64748B; background:none; border:none; border-bottom:2px solid transparent; margin-bottom:-1px; cursor:pointer; transition:color .15s,background .15s,border-color .15s; white-space:nowrap; }
.tia-qr-mode-btn + .tia-qr-mode-btn { border-left:none; }
.tia-qr-mode-btn:hover { background:#F1F5F9; color:#475569; border-bottom-color:rgba(139,92,246,.3); }
.tia-qr-mode-btn.active { background:#fff; color:#7C3AED; font-weight:600; border-bottom-color:#8B5CF6; }

/* ── Color panel ───────────────────────────────────────────── */
.tia-qr-color-panel { margin-top:10px; }
.tia-qr-color-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.tia-qr-color-swatch-label { display:flex; flex-direction:column; gap:4px; font-size:11.5px; font-weight:600; color:#64748B; }
.tia-qr-swatch { width:42px; height:32px; border:1.5px solid #E4EAF4; border-radius:8px; padding:2px; cursor:pointer; background:transparent; outline:none; -webkit-appearance:none; }
.tia-qr-swatch::-webkit-color-swatch-wrapper { padding:0; border-radius:5px; }
.tia-qr-swatch::-webkit-color-swatch { border:none; border-radius:5px; }
.tia-qr-reset-btn { margin-left:auto; background:none; border:1.5px solid #E4EAF4; border-radius:8px; padding:5px 10px; font-size:12px; color:#64748B; cursor:pointer; font-family:inherit; transition:all .15s; }
.tia-qr-reset-btn:hover { border-color:#C4B5FD; color:#8B5CF6; }

/* ── Angle row ─────────────────────────────────────────────── */
.tia-qr-angle-row { display:flex; flex-direction:column; gap:6px; }
.tia-qr-angle-ctrl { display:flex; align-items:center; gap:10px; }
.tia-qr-angle-ctrl input[type=range] { flex:1; }
.tia-qr-angle-val { font-family:'JetBrains Mono','Fira Code',monospace; font-size:12px; font-weight:600; color:#7C3AED; min-width:36px; text-align:right; }
.tia-qr-angle-presets { display:flex; gap:5px; flex-wrap:wrap; }
.tia-qr-angle-btn { background:#F8FAFD; border:1.5px solid #E4EAF4; border-radius:6px; padding:3px 8px; font-size:11px; font-weight:600; color:#64748B; cursor:pointer; font-family:inherit; transition:all .15s; }
.tia-qr-angle-btn:hover { background:#EDE9FE; border-color:#C4B5FD; color:#7C3AED; }

/* ── Logo zone ─────────────────────────────────────────────── */
.tia-qr-logo-type { display:flex; border:none; border-radius:0; overflow:visible; background:transparent; border-bottom:1px solid #E4EAF4; margin-bottom:10px; }
.tia-qr-logo-zone { border:2px dashed #C4B5FD; border-radius:12px; padding:20px 16px; text-align:center; cursor:pointer; transition:background .2s,border-color .2s; background:#F5F3FF; outline:none; }
.tia-qr-logo-zone:hover, .tia-qr-logo-zone--hover { background:#EDE9FE; border-color:#8B5CF6; }
.tia-qr-logo-zone:focus-visible { box-shadow:0 0 0 3px rgba(139,92,246,.25); }
.tia-qr-logo-zone svg { color:#8B5CF6; margin-bottom:8px; }
.tia-qr-logo-zone-title { font-size:13px; font-weight:600; color:#475569; margin:0 0 3px; }
.tia-qr-logo-zone-sub   { font-size:11.5px; color:#94A3B8; margin:0; }
.tia-qr-logo-preview { display:flex; align-items:center; gap:10px; background:#F5F3FF; border:1.5px solid #C4B5FD; border-radius:10px; padding:8px 12px; }
.tia-qr-logo-preview img { width:40px; height:40px; border-radius:6px; object-fit:contain; background:#fff; }
.tia-qr-logo-clear { margin-left:auto; background:none; border:none; font-size:12px; font-weight:600; color:#EF4444; cursor:pointer; font-family:inherit; }

/* ── Output controls (size row) ────────────────────────────── */
.tia-qr-row { display:flex; flex-direction:column; gap:5px; }

/* ── Right panel ───────────────────────────────────────────── */
.tia-qr-right { background:#fff; border-radius:22px; box-shadow:0 2px 20px rgba(0,0,0,.07),0 1px 4px rgba(0,0,0,.04); display:flex; flex-direction:column; align-items:center; justify-content:center; padding:28px 20px; min-height:360px; gap:14px; text-align:center; position:relative; }
.tia-qr-empty   { display:flex; flex-direction:column; align-items:center; gap:12px; }
.tia-qr-empty p { font-size:14px; color:#94A3B8; margin:0; line-height:1.5; }
.tia-qr-output  { background:#fff; padding:8px; border-radius:10px; box-shadow:0 2px 16px rgba(0,0,0,.1); display:flex; align-items:center; justify-content:center; max-width:100%; }
.tia-qr-output canvas, .tia-qr-output img { display:block; max-width:100%; height:auto; }
.tia-qr-sizelbl { font-size:11.5px; color:#94A3B8; font-family:'JetBrains Mono','Fira Code',monospace; margin:0; }

/* ── Action buttons ────────────────────────────────────────── */
.tia-qr-actions { display:flex; gap:8px; width:100%; max-width:300px; }
.tia-qr-btn-dl  { flex:1; display:flex; align-items:center; justify-content:center; gap:6px; background:#8B5CF6; color:#fff; border:none; border-radius:9999px; padding:10px 14px; font-size:13px; font-weight:600; cursor:pointer; box-shadow:0 2px 12px rgba(139,92,246,.4); transition:background .15s,transform .15s; font-family:inherit; }
.tia-qr-btn-dl:hover { background:#7C3AED; transform:translateY(-1px); }
.tia-qr-btn-svg { flex:1; display:flex; align-items:center; justify-content:center; gap:6px; background:#fff; color:#7C3AED; border:1.5px solid #C4B5FD; border-radius:9999px; padding:10px 14px; font-size:13px; font-weight:600; cursor:pointer; transition:all .15s; font-family:inherit; }
.tia-qr-btn-svg:hover { background:#EDE9FE; border-color:#8B5CF6; }
.tia-qr-btn-cp  { flex:1; display:flex; align-items:center; justify-content:center; gap:6px; background:#fff; color:#475569; border:1.5px solid #E4EAF4; border-radius:9999px; padding:10px 14px; font-size:13px; font-weight:500; cursor:pointer; transition:all .15s; font-family:inherit; }
.tia-qr-btn-cp:hover { border-color:#C4B5FD; color:#8B5CF6; }
.tia-qr-btn-dl svg, .tia-qr-btn-svg svg, .tia-qr-btn-cp svg { fill:none; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }

/* ── Gate overlays ─────────────────────────────────────────── */
.tia-qr-gate { position:absolute; inset:0; background:rgba(15,23,42,.55); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); border-radius:22px; display:flex; align-items:center; justify-content:center; padding:20px; z-index:10; }
.tia-qr-gate-modal { background:#fff; border-radius:18px; padding:28px 24px; max-width:280px; width:100%; text-align:center; box-shadow:0 20px 40px rgba(0,0,0,.15); }
.tia-qr-gate-icon { width:52px; height:52px; background:#EDE9FE; border:2px solid #C4B5FD; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; margin-bottom:14px; color:#8B5CF6; }
.tia-qr-gate-icon--pro { background:#FEF3C7; border-color:#FCD34D; color:#D97706; }
.tia-qr-gate-title { font-family:'Plus Jakarta Sans',system-ui,sans-serif; font-size:17px; font-weight:800; color:#1E293B; margin:0 0 6px; letter-spacing:-.3px; }
.tia-qr-gate-sub   { font-size:13px; color:#475569; margin:0 0 18px; line-height:1.5; }
.tia-qr-gate-btn { display:block; width:100%; padding:11px 20px; background:#8B5CF6; color:#fff; border:none; border-radius:9999px; font-family:inherit; font-size:13.5px; font-weight:700; cursor:pointer; text-decoration:none; transition:background .15s; margin-bottom:10px; }
.tia-qr-gate-btn:hover { background:#7C3AED; color:#fff; }
.tia-qr-gate-link { display:block; font-size:12.5px; color:#64748B; background:none; border:none; cursor:pointer; font-family:inherit; text-decoration:underline; text-underline-offset:2px; }

/* ── SEO content block ─────────────────────────────────────── */
.tia-qr-seo-content { background:#fff; border-radius:22px; box-shadow:0 2px 20px rgba(0,0,0,.07),0 1px 4px rgba(0,0,0,.04); padding:32px 36px; margin-bottom:20px; color:#475569; font-size:15px; line-height:1.7; }
.tia-qr-seo-content h2 { font-family:'Plus Jakarta Sans',system-ui,sans-serif; font-size:clamp(18px,2.5vw,22px); font-weight:800; color:#1E293B; margin:0 0 12px; padding:0; border:none; letter-spacing:-.3px; line-height:1.2; }
.tia-qr-seo-content h3 { font-family:'Plus Jakarta Sans',system-ui,sans-serif; font-size:clamp(15px,2vw,17px); font-weight:700; color:#1E293B; margin:24px 0 8px; padding:0; border:none; }
.tia-qr-seo-content h3:first-child { margin-top:0; }
.tia-qr-seo-content p  { margin:0 0 14px; color:#475569; }
.tia-qr-seo-content p:last-child { margin-bottom:0; }
.tia-qr-seo-content ul, .tia-qr-seo-content ol { margin:0 0 14px; padding:0; list-style:none; }
.tia-qr-seo-content li { position:relative; padding-left:20px; margin-bottom:7px; color:#475569; font-size:14.5px; }
.tia-qr-seo-content ul li::before { content:''; position:absolute; left:0; top:9px; width:6px; height:6px; border-radius:50%; background:#8B5CF6; }
.tia-qr-seo-content strong { color:#1E293B; font-weight:600; }
.tia-qr-seo-content code { background:#F1F5F9; padding:1px 5px; border-radius:4px; font-size:13px; }

/* ── FAQ ───────────────────────────────────────────────────── */
.tia-qr-faq-section { margin-bottom:24px; }
.tia-qr-faq-heading { font-family:'Plus Jakarta Sans',system-ui,sans-serif; font-size:clamp(16px,2.2vw,19px); font-weight:800; color:#1E293B; margin:0 0 14px; padding:0; border:none; letter-spacing:-.3px; }
.tia-qr-faq-list { display:flex; flex-direction:column; gap:8px; }
.tia-qr-faq-item { background:#fff; border-radius:12px; box-shadow:0 2px 12px rgba(0,0,0,.06),0 1px 3px rgba(0,0,0,.04); overflow:hidden; transition:box-shadow .2s; }
.tia-qr-faq-item[open] { box-shadow:0 4px 20px rgba(139,92,246,.12),0 1px 4px rgba(0,0,0,.05); }
.tia-qr-faq-q { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:16px 20px; font-family:'Plus Jakarta Sans',system-ui,sans-serif; font-size:15px; font-weight:700; color:#1E293B; cursor:pointer; list-style:none; user-select:none; transition:background .15s,color .15s; line-height:1.4; -webkit-appearance:none; appearance:none; }
.tia-qr-faq-q::-webkit-details-marker, .tia-qr-faq-q::marker { display:none; }
.tia-qr-faq-q::after { content:''; flex-shrink:0; width:20px; height:20px; background-color:#8B5CF6; border-radius:50%; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:center; background-size:13px; transition:transform .25s,background-color .15s; }
.tia-qr-faq-item[open] .tia-qr-faq-q::after { transform:rotate(180deg); background-color:#7C3AED; }
.tia-qr-faq-q:hover { background:#F5F3FF; color:#7C3AED; }
.tia-qr-faq-item[open] .tia-qr-faq-q { background:#F5F3FF; color:#7C3AED; }
.tia-qr-faq-a { padding:14px 20px 18px; font-size:14.5px; color:#475569; line-height:1.65; border-top:1px solid #E4EAF4; background:#F8FAFD; animation:tia-qr-faq-open .2s ease forwards; }
@keyframes tia-qr-faq-open { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
.tia-qr-faq-a p { margin:0 0 10px; }
.tia-qr-faq-a p:last-child { margin-bottom:0; }

/* ── Related tools ─────────────────────────────────────────── */
.tia-qr-related { margin-top:24px; padding-top:20px; border-top:1px solid #E4EAF4; }
.tia-qr-related-title { font-family:'Plus Jakarta Sans',system-ui,sans-serif; font-size:12px; font-weight:700; color:#64748B; text-transform:uppercase; letter-spacing:.7px; margin-bottom:10px; }
.tia-qr-related-list { display:flex; gap:8px; flex-wrap:wrap; }
.tia-qr-related-tool { display:inline-flex; align-items:center; padding:6px 12px; border-radius:9999px; font-size:12.5px; font-weight:500; color:#7C3AED; background:#EDE9FE; border:1px solid #C4B5FD; text-decoration:none; transition:background .15s,color .15s; }
.tia-qr-related-tool:hover { background:#DDD6FE; color:#6D28D9; }

/* ── DARK MODE ─────────────────────────────────────────────── */
html[data-theme="dark"] .tia-qr-wrap,
html.wp-dark-mode-active .tia-qr-wrap,
body.wp-dark-mode-active .tia-qr-wrap,
.kt-dark-mode .tia-qr-wrap,
.dark-mode .tia-qr-wrap,
body[data-theme="dark"] .tia-qr-wrap { color:#F1F5F9; }

html[data-theme="dark"] .tia-qr-left, html[data-theme="dark"] .tia-qr-right, html[data-theme="dark"] .tia-qr-output,
html.wp-dark-mode-active .tia-qr-left, html.wp-dark-mode-active .tia-qr-right, html.wp-dark-mode-active .tia-qr-output,
body.wp-dark-mode-active .tia-qr-left, body.wp-dark-mode-active .tia-qr-right, body.wp-dark-mode-active .tia-qr-output,
.kt-dark-mode .tia-qr-left, .kt-dark-mode .tia-qr-right, .kt-dark-mode .tia-qr-output,
.dark-mode .tia-qr-left, .dark-mode .tia-qr-right, .dark-mode .tia-qr-output,
body[data-theme="dark"] .tia-qr-left, body[data-theme="dark"] .tia-qr-right, body[data-theme="dark"] .tia-qr-output { background:#1E293B !important; border-color:#334155 !important; }

html[data-theme="dark"] .tia-qr-input, html[data-theme="dark"] .tia-qr-textarea, html[data-theme="dark"] .tia-qr-select,
html.wp-dark-mode-active .tia-qr-input, html.wp-dark-mode-active .tia-qr-textarea, html.wp-dark-mode-active .tia-qr-select,
body.wp-dark-mode-active .tia-qr-input, body.wp-dark-mode-active .tia-qr-textarea, body.wp-dark-mode-active .tia-qr-select,
.kt-dark-mode .tia-qr-input, .kt-dark-mode .tia-qr-textarea, .kt-dark-mode .tia-qr-select,
.dark-mode .tia-qr-input, .dark-mode .tia-qr-textarea, .dark-mode .tia-qr-select,
body[data-theme="dark"] .tia-qr-input, body[data-theme="dark"] .tia-qr-textarea, body[data-theme="dark"] .tia-qr-select { background:#0F172A !important; color:#F1F5F9 !important; border-color:#334155 !important; }

html[data-theme="dark"] .tia-qr-h1,
html.wp-dark-mode-active .tia-qr-h1,
body.wp-dark-mode-active .tia-qr-h1,
.kt-dark-mode .tia-qr-h1,
.dark-mode .tia-qr-h1,
body[data-theme="dark"] .tia-qr-h1 { color:#F1F5F9 !important; }

html[data-theme="dark"] .tia-qr-sub, html[data-theme="dark"] .tia-qr-label,
html.wp-dark-mode-active .tia-qr-sub, html.wp-dark-mode-active .tia-qr-label,
body.wp-dark-mode-active .tia-qr-sub, body.wp-dark-mode-active .tia-qr-label,
.kt-dark-mode .tia-qr-sub, .kt-dark-mode .tia-qr-label,
.dark-mode .tia-qr-sub, .dark-mode .tia-qr-label,
body[data-theme="dark"] .tia-qr-sub, body[data-theme="dark"] .tia-qr-label { color:#94A3B8 !important; }

html[data-theme="dark"] .tia-qr-tabs,
html.wp-dark-mode-active .tia-qr-tabs,
body.wp-dark-mode-active .tia-qr-tabs,
.kt-dark-mode .tia-qr-tabs,
.dark-mode .tia-qr-tabs,
body[data-theme="dark"] .tia-qr-tabs { background:#0F172A !important; border-color:#334155 !important; }

html[data-theme="dark"] .tia-qr-tab.active,
html.wp-dark-mode-active .tia-qr-tab.active,
body.wp-dark-mode-active .tia-qr-tab.active,
.kt-dark-mode .tia-qr-tab.active,
.dark-mode .tia-qr-tab.active,
body[data-theme="dark"] .tia-qr-tab.active { background:#1E293B !important; }

html[data-theme="dark"] .tia-qr-visual,
html.wp-dark-mode-active .tia-qr-visual,
body.wp-dark-mode-active .tia-qr-visual,
.kt-dark-mode .tia-qr-visual,
.dark-mode .tia-qr-visual,
body[data-theme="dark"] .tia-qr-visual { border-color:#334155 !important; }

html[data-theme="dark"] .tia-qr-sect, html[data-theme="dark"] .tia-qr-presets-wrap,
html.wp-dark-mode-active .tia-qr-sect, html.wp-dark-mode-active .tia-qr-presets-wrap,
body.wp-dark-mode-active .tia-qr-sect, body.wp-dark-mode-active .tia-qr-presets-wrap,
.kt-dark-mode .tia-qr-sect, .kt-dark-mode .tia-qr-presets-wrap,
.dark-mode .tia-qr-sect, .dark-mode .tia-qr-presets-wrap,
body[data-theme="dark"] .tia-qr-sect, body[data-theme="dark"] .tia-qr-presets-wrap { border-color:#334155 !important; }

html[data-theme="dark"] .tia-qr-sect-summary,
html.wp-dark-mode-active .tia-qr-sect-summary,
body.wp-dark-mode-active .tia-qr-sect-summary,
.kt-dark-mode .tia-qr-sect-summary,
.dark-mode .tia-qr-sect-summary,
body[data-theme="dark"] .tia-qr-sect-summary { color:#94A3B8 !important; }

html[data-theme="dark"] .tia-qr-style-btn,
html.wp-dark-mode-active .tia-qr-style-btn,
body.wp-dark-mode-active .tia-qr-style-btn,
.kt-dark-mode .tia-qr-style-btn,
.dark-mode .tia-qr-style-btn,
body[data-theme="dark"] .tia-qr-style-btn { background:#0F172A !important; border-color:#334155 !important; }

html[data-theme="dark"] .tia-qr-style-btn.active,
html.wp-dark-mode-active .tia-qr-style-btn.active,
body.wp-dark-mode-active .tia-qr-style-btn.active,
.kt-dark-mode .tia-qr-style-btn.active,
.dark-mode .tia-qr-style-btn.active,
body[data-theme="dark"] .tia-qr-style-btn.active { background:#2D1B69 !important; border-color:#8B5CF6 !important; }

html[data-theme="dark"] .tia-qr-color-mode, html[data-theme="dark"] .tia-qr-logo-type,
html.wp-dark-mode-active .tia-qr-color-mode, html.wp-dark-mode-active .tia-qr-logo-type,
body.wp-dark-mode-active .tia-qr-color-mode, body.wp-dark-mode-active .tia-qr-logo-type,
.kt-dark-mode .tia-qr-color-mode, .kt-dark-mode .tia-qr-logo-type,
.dark-mode .tia-qr-color-mode, .dark-mode .tia-qr-logo-type,
body[data-theme="dark"] .tia-qr-color-mode, body[data-theme="dark"] .tia-qr-logo-type { background:transparent !important; border-color:transparent !important; border-bottom-color:#334155 !important; }

html[data-theme="dark"] .tia-qr-mode-btn,
html.wp-dark-mode-active .tia-qr-mode-btn,
body.wp-dark-mode-active .tia-qr-mode-btn,
.kt-dark-mode .tia-qr-mode-btn,
.dark-mode .tia-qr-mode-btn,
body[data-theme="dark"] .tia-qr-mode-btn { color:#94A3B8 !important; border-color:transparent !important; border-bottom-color:transparent !important; background:transparent !important; }

html[data-theme="dark"] .tia-qr-mode-btn:hover,
html.wp-dark-mode-active .tia-qr-mode-btn:hover,
body.wp-dark-mode-active .tia-qr-mode-btn:hover,
.kt-dark-mode .tia-qr-mode-btn:hover,
.dark-mode .tia-qr-mode-btn:hover,
body[data-theme="dark"] .tia-qr-mode-btn:hover { background:#334155 !important; color:#CBD5E1 !important; border-bottom-color:rgba(139,92,246,.4) !important; }

html[data-theme="dark"] .tia-qr-mode-btn.active,
html.wp-dark-mode-active .tia-qr-mode-btn.active,
body.wp-dark-mode-active .tia-qr-mode-btn.active,
.kt-dark-mode .tia-qr-mode-btn.active,
.dark-mode .tia-qr-mode-btn.active,
body[data-theme="dark"] .tia-qr-mode-btn.active { background:#1E293B !important; color:#C4B5FD !important; border-bottom-color:#8B5CF6 !important; }

html[data-theme="dark"] .tia-qr-preset,
html.wp-dark-mode-active .tia-qr-preset,
body.wp-dark-mode-active .tia-qr-preset,
.kt-dark-mode .tia-qr-preset,
.dark-mode .tia-qr-preset,
body[data-theme="dark"] .tia-qr-preset { border-color:#334155 !important; }

html[data-theme="dark"] .tia-qr-btn-cp, html[data-theme="dark"] .tia-qr-btn-svg,
html.wp-dark-mode-active .tia-qr-btn-cp, html.wp-dark-mode-active .tia-qr-btn-svg,
body.wp-dark-mode-active .tia-qr-btn-cp, body.wp-dark-mode-active .tia-qr-btn-svg,
.kt-dark-mode .tia-qr-btn-cp, .kt-dark-mode .tia-qr-btn-svg,
.dark-mode .tia-qr-btn-cp, .dark-mode .tia-qr-btn-svg,
body[data-theme="dark"] .tia-qr-btn-cp, body[data-theme="dark"] .tia-qr-btn-svg { background:#1E293B !important; color:#CBD5E1 !important; border-color:#334155 !important; }

html[data-theme="dark"] .tia-qr-gate-modal,
html.wp-dark-mode-active .tia-qr-gate-modal,
body.wp-dark-mode-active .tia-qr-gate-modal,
.kt-dark-mode .tia-qr-gate-modal,
.dark-mode .tia-qr-gate-modal,
body[data-theme="dark"] .tia-qr-gate-modal { background:#1E293B !important; }

html[data-theme="dark"] .tia-qr-gate-title,
html.wp-dark-mode-active .tia-qr-gate-title,
body.wp-dark-mode-active .tia-qr-gate-title,
.kt-dark-mode .tia-qr-gate-title,
.dark-mode .tia-qr-gate-title,
body[data-theme="dark"] .tia-qr-gate-title { color:#F1F5F9 !important; }

html[data-theme="dark"] .tia-qr-seo-content,
html.wp-dark-mode-active .tia-qr-seo-content,
body.wp-dark-mode-active .tia-qr-seo-content,
.kt-dark-mode .tia-qr-seo-content,
.dark-mode .tia-qr-seo-content,
body[data-theme="dark"] .tia-qr-seo-content { background:#1E293B !important; color:#CBD5E1 !important; }

html[data-theme="dark"] .tia-qr-seo-content h2, html[data-theme="dark"] .tia-qr-seo-content h3,
html[data-theme="dark"] .tia-qr-faq-heading,
html.wp-dark-mode-active .tia-qr-seo-content h2, html.wp-dark-mode-active .tia-qr-seo-content h3,
html.wp-dark-mode-active .tia-qr-faq-heading,
body.wp-dark-mode-active .tia-qr-seo-content h2, body.wp-dark-mode-active .tia-qr-seo-content h3,
body.wp-dark-mode-active .tia-qr-faq-heading,
.kt-dark-mode .tia-qr-seo-content h2, .kt-dark-mode .tia-qr-seo-content h3, .kt-dark-mode .tia-qr-faq-heading,
.dark-mode .tia-qr-seo-content h2, .dark-mode .tia-qr-seo-content h3, .dark-mode .tia-qr-faq-heading,
body[data-theme="dark"] .tia-qr-seo-content h2, body[data-theme="dark"] .tia-qr-seo-content h3,
body[data-theme="dark"] .tia-qr-faq-heading { color:#F1F5F9 !important; }

html[data-theme="dark"] .tia-qr-faq-item,
html.wp-dark-mode-active .tia-qr-faq-item,
body.wp-dark-mode-active .tia-qr-faq-item,
.kt-dark-mode .tia-qr-faq-item,
.dark-mode .tia-qr-faq-item,
body[data-theme="dark"] .tia-qr-faq-item { background:#1E293B !important; }

html[data-theme="dark"] .tia-qr-faq-q,
html.wp-dark-mode-active .tia-qr-faq-q,
body.wp-dark-mode-active .tia-qr-faq-q,
.kt-dark-mode .tia-qr-faq-q,
.dark-mode .tia-qr-faq-q,
body[data-theme="dark"] .tia-qr-faq-q { color:#F1F5F9 !important; }
html[data-theme="dark"] .tia-qr-faq-q:hover,
html.wp-dark-mode-active .tia-qr-faq-q:hover,
body.wp-dark-mode-active .tia-qr-faq-q:hover,
.kt-dark-mode .tia-qr-faq-q:hover,
.dark-mode .tia-qr-faq-q:hover,
body[data-theme="dark"] .tia-qr-faq-q:hover,
html[data-theme="dark"] .tia-qr-faq-item[open] .tia-qr-faq-q,
html.wp-dark-mode-active .tia-qr-faq-item[open] .tia-qr-faq-q,
body.wp-dark-mode-active .tia-qr-faq-item[open] .tia-qr-faq-q,
.kt-dark-mode .tia-qr-faq-item[open] .tia-qr-faq-q,
.dark-mode .tia-qr-faq-item[open] .tia-qr-faq-q,
body[data-theme="dark"] .tia-qr-faq-item[open] .tia-qr-faq-q { background: rgba(139,92,246,.20) !important; color: #C4B5FD !important; }

html[data-theme="dark"] .tia-qr-faq-a,
html.wp-dark-mode-active .tia-qr-faq-a,
body.wp-dark-mode-active .tia-qr-faq-a,
.kt-dark-mode .tia-qr-faq-a,
.dark-mode .tia-qr-faq-a,
body[data-theme="dark"] .tia-qr-faq-a { background:#0F172A !important; color:#CBD5E1 !important; border-color:#334155 !important; }

/* Badge: dark mode — hardcoded light purple values look jarring on dark card */
html[data-theme="dark"] .tia-qr-badge,
html.wp-dark-mode-active .tia-qr-badge,
body.wp-dark-mode-active .tia-qr-badge,
.kt-dark-mode .tia-qr-badge,
.dark-mode .tia-qr-badge,
body[data-theme="dark"] .tia-qr-badge {
  background: rgba(139,92,246,.15) !important;
  border-color: rgba(139,92,246,.30) !important;
  color: #C4B5FD !important;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width:768px) {
  .tia-qr-layout  { grid-template-columns:1fr; }
  .tia-qr-header  { text-align:center; }
  .tia-qr-badges  { justify-content:center; }
  .tia-qr-actions { max-width:100%; }
  .tia-qr-faq-q   { padding:14px 16px; font-size:14px; }
  .tia-qr-faq-a   { padding:12px 16px 16px; }
  .tia-qr-seo-content { padding:24px 20px; }
  .tia-qr-style-grid  { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:540px) {
  .tia-qr-wrap { overflow-x:hidden; padding:16px 0 48px; }
  .tia-qr-actions { flex-wrap:wrap; }
  .tia-qr-btn-dl, .tia-qr-btn-svg, .tia-qr-btn-cp { flex:none; width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  .tia-qr-wrap *, .tia-qr-wrap *::before, .tia-qr-wrap *::after { animation-duration:1ms !important; transition-duration:1ms !important; }
}
