:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --accent-primary: #6366f1;
  --accent-hover: #4f46e5;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
  --border-color: rgba(226, 232, 240, 0.8);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --glass-border: rgba(255, 255, 255, 0.72);
  --accent-wash: rgba(99, 102, 241, 0.1);
  --success-wash: rgba(16, 185, 129, 0.1);
  --warning-wash: rgba(245, 158, 11, 0.13);
  color: var(--text-primary);
  background: var(--bg-primary);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
}

[data-theme="dark"], .is-dark {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-glass: rgba(17, 24, 39, 0.75);
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --border-color: rgba(31, 41, 55, 0.8);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --glass-border: rgba(255, 255, 255, 0.09);
  --accent-wash: rgba(129, 140, 248, 0.16);
  --success-wash: rgba(16, 185, 129, 0.14);
  --warning-wash: rgba(245, 158, 11, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--text-primary); background: var(--bg-primary); transition: color var(--transition-fast), background var(--transition-fast); }
body::before, body::after { position: fixed; z-index: -1; width: 24rem; height: 24rem; border-radius: 50%; content: ""; filter: blur(70px); opacity: .2; pointer-events: none; }
body::before { top: -12rem; right: -7rem; background: #818cf8; }
body::after { bottom: -13rem; left: -9rem; background: #2dd4bf; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(99, 102, 241, .35); outline-offset: 3px; }
.app-shell { width: min(100% - 32px, 1380px); min-height: 100vh; margin: auto; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 20; padding: 10px 16px; border-radius: var(--radius-sm); color: white; background: var(--text-primary); }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 76px; border-bottom: 1px solid var(--border-color); }
.brand { display: flex; align-items: center; width: 146px; height: 52px; overflow: hidden; }.brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.brand-mark, .modal-mark { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; color: white; background: linear-gradient(135deg, var(--accent-primary), #8b5cf6); box-shadow: 0 5px 14px rgba(99, 102, 241, .3); }
.brand-badge { margin-left: 1px; color: var(--text-secondary); font: 500 10px "DM Sans", sans-serif; letter-spacing: .04em; }
.top-nav, .welcome-actions, .toolbar, .section-heading, .site-footer, .receipt-footer, .receipt-topline, .scanner-actions { display: flex; align-items: center; }
.top-nav { gap: 14px; }
.nav-link { padding: 8px 12px; border-radius: 999px; color: var(--text-secondary); font-size: 13px; font-weight: 700; transition: color var(--transition-fast), background var(--transition-fast); }
.nav-link:hover, .nav-link.is-active { color: var(--accent-primary); background: var(--accent-wash); }
.icon-button, .avatar-button, .more-button, .modal-close { display: grid; place-items: center; border: 1px solid transparent; background: transparent; color: var(--text-secondary); transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-bounce); }
.icon-button { width: 38px; height: 38px; border-radius: 50%; }
.icon-button:hover, .more-button:hover { color: var(--accent-primary); background: var(--accent-wash); transform: translateY(-2px); }
.icon-button svg { width: 18px; }
.avatar-button { width: 36px; height: 36px; border-radius: 50%; color: white; background: linear-gradient(135deg, #ec4899, #8b5cf6); background-position: center; background-repeat: no-repeat; background-size: cover; font-size: 11px; font-weight: 700; box-shadow: 0 6px 16px rgba(139, 92, 246, .25); }
.avatar-button:hover { transform: scale(1.08); }
main { padding: clamp(52px, 8vw, 100px) 0 50px; }
.welcome-section { display: flex; align-items: end; justify-content: space-between; gap: 32px; animation: rise-in .65s ease both; }
.eyebrow { margin: 0 0 13px; color: var(--accent-primary); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent-primary); box-shadow: 0 0 0 5px var(--accent-wash); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; }
h1, h2 { letter-spacing: -.06em; }
h1 { max-width: 720px; margin-bottom: 22px; font-size: clamp(43px, 6vw, 82px); line-height: .95; }
h1 em, h2 em { color: var(--accent-primary); font-style: normal; }
.intro-copy { max-width: 435px; margin-bottom: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
.welcome-actions { flex-wrap: wrap; justify-content: end; gap: 10px; padding-bottom: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 45px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 12px; font-weight: 800; transition: transform var(--transition-bounce), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast); }
.button:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.button svg { width: 17px; }
.button-primary { color: white; background: var(--accent-primary); box-shadow: 0 8px 18px rgba(99, 102, 241, .24); }.button-primary:hover { background: var(--accent-hover); }
.button-secondary { border-color: var(--border-color); color: var(--text-primary); background: var(--bg-glass); backdrop-filter: blur(12px); }
.button-light { color: var(--accent-primary); background: var(--bg-secondary); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 68px 0 88px; }
.stat-card { position: relative; display: flex; align-items: center; gap: 15px; min-height: 132px; overflow: hidden; padding: 22px; border: 1px solid var(--glass-border); border-radius: var(--radius-lg); background: var(--bg-glass); box-shadow: var(--shadow-sm); backdrop-filter: blur(18px); animation: rise-in .65s ease both; }
.stat-card:nth-child(2) { animation-delay: .08s; }.stat-card:nth-child(3) { animation-delay: .16s; }
.stat-card::after { position: absolute; right: -30px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--accent-wash); content: ""; }
.stat-card-dark { color: white; background: linear-gradient(135deg, #202657, #312e81); }.stat-card-dark .stat-label { color: rgba(255,255,255,.7); }.stat-card-dark::after { background: rgba(129, 140, 248, .25); }
.stat-card-sage { background: linear-gradient(135deg, var(--bg-glass), var(--success-wash)); }.stat-card-coral { background: linear-gradient(135deg, var(--bg-glass), var(--warning-wash)); }
.stat-icon { position: relative; z-index: 1; display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; opacity: .9; }.stat-icon svg { width: 20px; }.stat-label { position: relative; z-index: 1; margin: 0 0 4px; color: var(--text-secondary); font-size: 11px; }.stat-value { position: relative; z-index: 1; margin: 0; font: 700 26px "Space Grotesk", sans-serif; letter-spacing: -.05em; }.stat-value small { font: 500 11px "DM Sans", sans-serif; letter-spacing: 0; opacity: .68; }.stat-trend { position: relative; z-index: 1; align-self: end; margin-left: auto; color: var(--success); font-size: 10px; font-weight: 800; }.stat-trend.is-dark { color: var(--text-secondary); }.stat-trend.is-alert { color: var(--warning); }
.section-heading { justify-content: space-between; margin-bottom: 25px; }.section-heading h2 { margin: 0; font-size: 38px; }.text-button, .inline-button { border: 0; background: transparent; color: var(--text-primary); font-size: 12px; font-weight: 800; }.text-button span { margin-left: 5px; font-size: 16px; }.text-button:hover, .inline-button:hover { color: var(--accent-primary); }
.toolbar { justify-content: space-between; gap: 15px; margin-bottom: 24px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); }.search-field { display: flex; align-items: center; gap: 10px; width: min(100%, 330px); padding: 0 3px 9px; border-bottom: 1px solid var(--text-secondary); color: var(--text-secondary); }.search-field svg { width: 17px; }.search-field input { width: 100%; border: 0; outline: 0; color: var(--text-primary); background: transparent; font-size: 12px; }.search-field input::placeholder { color: var(--text-secondary); opacity: .72; }
.filter-tabs { display: flex; gap: 5px; }.filter-tab { padding: 8px 12px; border: 0; border-radius: 999px; color: var(--text-secondary); background: transparent; font-size: 11px; font-weight: 800; transition: color var(--transition-fast), background var(--transition-fast); }.filter-tab span { margin-left: 3px; opacity: .6; }.filter-tab:hover { color: var(--accent-primary); background: var(--accent-wash); }.filter-tab.is-active { color: white; background: var(--accent-primary); box-shadow: 0 4px 12px rgba(99, 102, 241, .2); }.filter-button { display: none; }
.receipt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }.receipt-card { overflow: hidden; border: 1px solid var(--border-color); border-radius: var(--radius-lg); background: var(--bg-glass); box-shadow: var(--shadow-sm); backdrop-filter: blur(16px); transition: transform var(--transition-bounce), box-shadow var(--transition-fast), border-color var(--transition-fast); }.receipt-card:hover { border-color: rgba(99, 102, 241, .35); transform: translateY(-5px); box-shadow: var(--shadow-lg); }.receipt-card[hidden] { display: none; }
.receipt-visual { position: relative; display: flex; align-items: center; justify-content: center; height: 170px; overflow: hidden; }.product-headphones { background: linear-gradient(145deg, #dbeafe, #c7d2fe); }.product-vacuum { background: linear-gradient(145deg, #ccfbf1, #d1fae5); }.product-laptop { background: linear-gradient(145deg, #e0e7ff, #e2e8f0); }.product-jacket { background: linear-gradient(145deg, #fce7f3, #fed7aa); }.product-generated { color: var(--accent-primary); background: linear-gradient(145deg, var(--accent-wash), var(--success-wash)); }.product-label, .product-type { position: absolute; z-index: 1; font-weight: 800; letter-spacing: .04em; }.product-label { top: 14px; left: 15px; font-size: 10px; }.product-type { right: 15px; bottom: 13px; color: rgba(15, 23, 42, .58); font-size: 10px; text-transform: uppercase; }.generated-mark { display: grid; place-items: center; width: 70px; height: 70px; border: 1px solid rgba(99, 102, 241, .25); border-radius: 22px; color: var(--accent-primary); background: rgba(255,255,255,.45); font: 700 34px "Space Grotesk", sans-serif; box-shadow: 0 14px 28px rgba(99, 102, 241, .15); }
.headphone-shape { position: relative; width: 105px; height: 92px; border: 12px solid #252b30; border-bottom: 0; border-radius: 58px 58px 0 0; }.headphone-shape::before, .headphone-shape::after { position: absolute; bottom: -10px; width: 22px; height: 43px; border-radius: 8px; background: #252b30; content: ""; }.headphone-shape::before { left: -18px; }.headphone-shape::after { right: -18px; }.vacuum-shape { position: relative; width: 21px; height: 125px; border-radius: 13px; background: #566c64; transform: rotate(17deg); }.vacuum-shape::before { position: absolute; top: 3px; left: -14px; width: 48px; height: 15px; border-radius: 14px; background: #202f2c; content: ""; }.vacuum-shape::after { position: absolute; bottom: -12px; left: -27px; width: 76px; height: 7px; border-radius: 7px; background: #202f2c; content: ""; }.laptop-shape { width: 135px; height: 84px; border: 7px solid #79828a; border-bottom-width: 10px; border-radius: 6px 6px 2px 2px; transform: skewY(-5deg); }.laptop-shape::after { display: block; width: 157px; height: 7px; margin: 82px 0 0 -18px; border-radius: 8px; background: #79828a; content: ""; }.jacket-shape { width: 100px; height: 110px; border-radius: 45px 45px 10px 10px; background: #dd6f52; clip-path: polygon(33% 0, 67% 0, 100% 24%, 78% 46%, 78% 100%, 22% 100%, 22% 46%, 0 24%); }
.receipt-body { padding: 17px 16px 15px; }.receipt-topline, .receipt-footer { justify-content: space-between; }.category-label { color: var(--text-secondary); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }.more-button { width: 24px; height: 24px; border-radius: 50%; font-size: 18px; line-height: 1; }.receipt-body h3 { margin: 10px 0 7px; font-size: 16px; letter-spacing: -.04em; }.receipt-meta { display: flex; justify-content: space-between; gap: 4px; margin-bottom: 18px; color: var(--text-secondary); font-size: 10px; }.receipt-meta span { color: var(--text-primary); font-weight: 800; }.receipt-footer { padding-top: 12px; border-top: 1px solid var(--border-color); }.status { font-size: 10px; font-weight: 800; }.status i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--success); }.status-warning { color: var(--warning); }.status-warning i { background: var(--warning); }.receipt-date { color: var(--text-secondary); font-size: 9px; }
.load-more { display: block; margin: 29px auto 0; border: 0; border-bottom: 1px solid var(--accent-primary); color: var(--accent-primary); background: transparent; font-size: 11px; font-weight: 800; }.load-more span { margin-left: 7px; font-size: 15px; }.empty-state { padding: 55px 20px; color: var(--text-secondary); text-align: center; }.empty-mark { margin-bottom: 10px; color: var(--accent-primary); font: 700 40px "Space Grotesk", sans-serif; }.empty-state h3 { margin-bottom: 8px; color: var(--text-primary); font-size: 18px; }.empty-state p:last-child { font-size: 12px; }
.upgrade-banner { display: flex; align-items: center; gap: 14px; margin: 52px 0 0; padding: 16px 20px; border: 1px solid rgba(245, 158, 11, .28); border-radius: var(--radius-lg); background: var(--warning-wash); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); }.upgrade-icon { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--warning); background: rgba(245, 158, 11, .18); }.upgrade-icon svg { width: 19px; }.upgrade-banner strong { display: block; margin-bottom: 4px; font: 700 13px "Space Grotesk", sans-serif; }.upgrade-banner p { margin: 0; color: var(--text-secondary); font-size: 11px; }.upgrade-banner .button { margin-left: auto; min-height: 36px; padding: 0 14px; font-size: 11px; }
.site-footer { justify-content: space-between; gap: 14px; padding: 32px 0 24px; color: var(--text-secondary); font-size: 10px; }.site-footer a { color: var(--accent-primary); text-decoration: underline; }.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }.noscript-message { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 30px; color: var(--text-primary); background: var(--bg-primary); text-align: center; }
.auth-heading { margin-bottom: 18px; }.auth-kicker { display: inline-flex; align-items: center; margin-bottom: 10px; padding: 6px 10px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #ff7a59, #893df7); box-shadow: 0 8px 18px rgba(137, 61, 247, .25); }
.auth-heading h2 { margin-bottom: 8px; color: #f8fafc; font-size: 28px; letter-spacing: .08em; }
.auth-heading > p:last-child { font-size: 12px; }
.auth-feature-panel { display: grid; gap: 6px; margin-bottom: 18px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(255, 122, 89, .14), rgba(137, 61, 247, .15)); }
.auth-feature-panel strong { color: #fff; font: 700 13px "Space Grotesk", sans-serif; }
.auth-feature-panel span { color: rgba(226, 232, 240, .8); font-size: 11px; line-height: 1.6; }
.auth-form { display: grid; gap: 2px; }
.auth-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.auth-field { display: block; margin: 0; color: rgba(226, 232, 240, .8); font-size: 11px; font-weight: 800; }
.auth-field-wide { grid-column: 1 / -1; }
.auth-field[hidden] { display: none; }
.auth-form input { min-height: 44px; margin-top: 7px; border: 1px solid rgba(148, 163, 184, .3); border-radius: var(--radius-sm); color: #f8fafc; background: rgba(15, 23, 42, .45); }
.auth-form input::placeholder { color: rgba(148, 163, 184, .8); }
.auth-form input:focus { border-color: rgba(255, 122, 89, .8); box-shadow: 0 0 0 3px rgba(255, 122, 89, .18); }
.auth-form .button { margin-top: 18px; }
.google-button { min-height: 44px; margin-bottom: 14px; border-color: rgba(148, 163, 184, .3); color: #f8fafc; background: rgba(15, 23, 42, .5); }
.google-button:hover { border-color: rgba(255, 122, 89, .3); }
.modal[data-modal="auth"] { max-height: min(720px, calc(100dvh - 28px)); overflow-y: auto; background: linear-gradient(180deg, rgba(13, 18, 37, .96), rgba(22, 31, 56, .96)); border-color: rgba(255, 255, 255, .08); }
.modal[data-modal="auth"] .divider { margin: 14px 0 18px; color: rgba(148, 163, 184, .9); }
.modal[data-modal="auth"] .divider::before, .modal[data-modal="auth"] .divider::after { background: rgba(148, 163, 184, .3); }
.modal[data-modal="auth"] .form-note { color: rgba(226, 232, 240, .8); }
.modal[data-modal="auth"] .inline-button { color: #ffb28f; }
.verification-panel { margin: -5px 0 20px; padding: 14px; border: 1px solid rgba(245, 158, 11, .35); border-radius: var(--radius-md); background: rgba(245, 158, 11, .09); }.verification-panel[hidden] { display: none; }.verification-panel strong { display: block; margin-bottom: 5px; font: 700 13px "Space Grotesk", sans-serif; }.verification-panel p { margin: 0 0 10px; color: var(--text-secondary); font-size: 11px; line-height: 1.5; }.verification-panel div { display: flex; gap: 14px; }.verification-panel .text-button { padding: 0; color: var(--accent-primary); font-size: 10px; }
.modal[data-modal="auth"] .button-primary { background: linear-gradient(135deg, #ff7a59, #ff9f43); box-shadow: 0 10px 22px rgba(255, 122, 89, .25); }
.modal[data-modal="auth"] .button-primary:hover { background: linear-gradient(135deg, #ff6d45, #ff8b35); }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1050px) { .receipt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .app-shell { width: min(100% - 24px, 620px); }.site-header { min-height: 70px; }.nav-link { display: none; } main { padding-top: 54px; }.welcome-section { display: block; }.welcome-actions { justify-content: start; margin-top: 28px; }.stats-grid { grid-template-columns: 1fr; gap: 10px; margin: 52px 0 62px; }.stat-card { min-height: 104px; padding: 18px; }.section-heading h2 { font-size: 32px; }.toolbar { align-items: stretch; flex-wrap: wrap; }.search-field { width: 100%; }.filter-tabs { flex: 1; }.filter-tab { padding: 8px 9px; }.filter-button { display: grid; }.receipt-grid { grid-template-columns: 1fr; gap: 12px; }.receipt-card { display: grid; grid-template-columns: 40% 60%; }.receipt-visual { height: 100%; min-height: 150px; }.receipt-body { padding: 14px; }.receipt-body h3 { font-size: 14px; }.receipt-meta { display: block; line-height: 1.5; }.receipt-meta span { display: block; }.receipt-footer { align-items: flex-start; flex-direction: column; gap: 4px; }.upgrade-banner { align-items: flex-start; flex-wrap: wrap; }.upgrade-banner .button { margin: 0 0 0 52px; }.site-footer { align-items: flex-start; flex-wrap: wrap; }.site-footer span:nth-child(2) { width: 100%; order: 3; }.modal { padding: 28px 22px; }.scanner-actions { align-items: flex-start; flex-direction: column; gap: 14px; } }
@media (max-width: 410px) { .brand-badge { display: none; }.receipt-card { display: block; }.receipt-visual { min-height: 160px; }.receipt-footer { align-items: center; flex-direction: row; }.form-row { grid-template-columns: 1fr; gap: 0; }.upgrade-banner .button { margin-left: 52px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.button-qr { color: white; background: linear-gradient(135deg, #0f766e, #0891b2); box-shadow: 0 8px 18px rgba(8, 145, 178, .22); }
.qr-section { margin-top: 88px; padding: 30px; border: 1px solid var(--glass-border); border-radius: var(--radius-lg); background: var(--bg-glass); box-shadow: var(--shadow-sm); backdrop-filter: blur(18px); }
.qr-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.qr-toolbar > p { max-width: 440px; margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.6; }
.qr-filters { display: flex; flex-wrap: wrap; justify-content: end; gap: 5px; }
.qr-filter { padding: 8px 12px; border: 0; border-radius: 999px; color: var(--text-secondary); background: transparent; font-size: 11px; font-weight: 800; }
.qr-filter:hover, .qr-filter.is-active { color: white; background: var(--accent-primary); }
.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.qr-card { display: grid; grid-template-columns: 132px 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-secondary); box-shadow: var(--shadow-sm); transition: transform var(--transition-bounce), box-shadow var(--transition-fast); }
.qr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.qr-card-code { display: grid; place-items: center; min-height: 170px; background: var(--accent-wash); }
.qr-card-code img, .qr-card-code canvas { display: block; max-width: 116px; height: auto; padding: 8px; border-radius: 10px; background: white; }
.qr-card-body { min-width: 0; padding: 15px; }
.qr-card-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.qr-type-pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; color: var(--accent-primary); background: var(--accent-wash); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.qr-card h3 { margin: 13px 0 7px; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.qr-card p { min-height: 31px; margin-bottom: 13px; overflow: hidden; color: var(--text-secondary); font-size: 10px; line-height: 1.5; }
.qr-open-button { width: 100%; min-height: 34px; padding: 0 10px; font-size: 10px; }.qr-open-button span { font-size: 14px; }
.qr-empty { padding: 35px 20px 8px; color: var(--text-secondary); text-align: center; }.qr-empty[hidden] { display: none; }.qr-empty-mark { margin: 0 0 6px; color: var(--accent-primary); font: 700 34px "Space Grotesk", sans-serif; }.qr-empty h3 { margin-bottom: 7px; color: var(--text-primary); font-size: 17px; }.qr-empty p { margin-bottom: 16px; font-size: 11px; }
.qr-capture-modal { width: min(100% - 30px, 540px); }.qr-reader { min-height: 220px; }.qr-reader[hidden], .qr-form[hidden] { display: none; }.qr-capture-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qr-form textarea, .qr-form select { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); outline: 0; color: var(--text-primary); background: var(--bg-secondary); font: inherit; font-size: 12px; resize: vertical; }.qr-form textarea:focus, .qr-form select:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-wash); }
.qr-view-modal { width: min(100% - 30px, 440px); text-align: center; }.qr-view-modal .modal-heading { margin-bottom: 17px; }.qr-view-modal .modal-heading h2 { font-size: 28px; }.qr-output { display: grid; place-items: center; min-height: 238px; padding: 9px; border-radius: var(--radius-md); background: white; }.qr-output img, .qr-output canvas { max-width: 220px; height: auto; }.qr-payload-preview { max-height: 60px; margin: 14px 0; overflow: auto; color: var(--text-secondary); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }.qr-view-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }.qr-view-actions .button { min-height: 38px; padding: 0 12px; font-size: 10px; }
@media (max-width: 1050px) { .qr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .qr-section { margin-top: 60px; padding: 20px 14px; }.qr-toolbar { align-items: flex-start; flex-direction: column; }.qr-filters { justify-content: start; }.qr-grid { grid-template-columns: 1fr; }.qr-card { grid-template-columns: 38% 62%; }.qr-card-code { min-height: 150px; }.qr-capture-actions { align-items: flex-start; flex-direction: column; gap: 14px; } }

.qr-form { display: grid; gap: 15px; margin-top: 20px; }
.qr-form label { display: block; margin: 0; color: var(--text-secondary); font-size: 11px; font-weight: 800; letter-spacing: .01em; }
.qr-form input, .qr-form select { display: block; width: 100%; min-height: 43px; margin-top: 7px; padding: 0 12px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); outline: 0; color: var(--text-primary); background: var(--bg-secondary); font: inherit; font-size: 12px; }
.qr-form textarea { min-height: 92px; margin-top: 7px; }
.qr-form input::placeholder, .qr-form textarea::placeholder { color: var(--text-secondary); opacity: .68; }
.qr-form select { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%), linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%); background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; }

/* Auth dialogs use explicit field geometry so browser defaults cannot collapse labels and controls. */
.modal { width: min(calc(100% - 32px), 420px); max-height: calc(100dvh - 28px); margin: auto; padding: 30px; border: 1px solid var(--glass-border); border-radius: var(--radius-lg); color: var(--text-primary); background: var(--bg-glass); box-shadow: var(--shadow-lg); backdrop-filter: blur(22px); }
.modal::backdrop { background: rgba(15, 23, 42, .54); backdrop-filter: blur(7px); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; font-size: 22px; }
.modal-heading { margin-bottom: 20px; }.auth-heading h2 { margin: 0 0 8px; color: var(--accent-primary); font-size: 27px; letter-spacing: .08em; }.auth-heading > p:last-child { margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.5; }
.auth-form { display: grid; gap: 12px; }.auth-form label { display: block; width: 100%; margin: 0; color: var(--text-secondary); font-size: 11px; font-weight: 800; }.auth-form input { display: block; width: 100%; min-height: 44px; margin-top: 7px; padding: 10px 12px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); outline: 0; color: var(--text-primary); background: var(--bg-secondary); }.auth-form input:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-wash); }.auth-form .button { width: 100%; margin-top: 4px; }.google-button { width: 100%; min-height: 44px; }.form-note { margin: 17px 0 0; color: var(--text-secondary); text-align: center; font-size: 11px; }
.verification-panel { margin: 0 0 16px; }
.qr-form input:focus, .qr-form select:focus, .qr-form textarea:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-wash); }
.qr-form .button { width: 100%; margin-top: 2px; }
@media (min-width: 520px) { .qr-form { grid-template-columns: 1fr 1fr; }.qr-form label:first-child { grid-column: 1; }.qr-form label:nth-child(2) { grid-column: 2; }.qr-form label:nth-child(3), .qr-form .button { grid-column: 1 / -1; } }

.home-launchers { margin-top: 88px; }.home-launchers .section-heading > p { max-width: 360px; margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.6; }.launcher-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }.launcher-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--border-color); border-radius: var(--radius-lg); background: var(--bg-glass); box-shadow: var(--shadow-sm); backdrop-filter: blur(18px); transition: transform var(--transition-bounce), box-shadow var(--transition-fast), border-color var(--transition-fast); }.launcher-card:hover { border-color: rgba(99, 102, 241, .38); transform: translateY(-4px); box-shadow: var(--shadow-lg); }.launcher-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--accent-primary); background: var(--accent-wash); }.launcher-icon svg { width: 22px; }.launcher-card strong, .launcher-card small { display: block; }.launcher-card strong { margin-bottom: 4px; font: 700 15px "Space Grotesk", sans-serif; }.launcher-card small { color: var(--text-secondary); font-size: 11px; line-height: 1.45; }.launcher-arrow { color: var(--accent-primary); font-size: 22px; }.launcher-qr .launcher-icon { color: #0f8c9b; background: rgba(20, 184, 166, .12); }
.page-main { padding-top: 64px; }.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 45px; }.page-heading h1 { margin: 0 0 14px; font-size: clamp(42px, 6vw, 68px); }.page-heading > div > p:last-child { max-width: 500px; margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.7; }.back-link { display: inline-block; margin-bottom: 24px; color: var(--accent-primary); font-size: 11px; font-weight: 800; }.page-count { padding: 8px 12px; border-radius: 999px; color: var(--accent-primary); background: var(--accent-wash); font-size: 11px; font-weight: 800; }.page-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); }.page-toolbar .search-field { width: min(100%, 330px); }.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-glass); box-shadow: var(--shadow-sm); backdrop-filter: blur(14px); transition: transform var(--transition-bounce), box-shadow var(--transition-fast); }.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }.product-photo { position: relative; height: 150px; overflow: hidden; background: var(--accent-wash); }.product-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }.product-card:hover .product-photo img { transform: scale(1.05); }.product-photo span { position: absolute; right: 10px; bottom: 10px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: white; background: rgba(15,23,42,.62); font-size: 9px; font-weight: 800; text-transform: uppercase; }.product-card-body { padding: 13px; }.product-card-topline { display: flex; align-items: center; justify-content: space-between; }.product-card h3 { margin: 10px 0 7px; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }.product-purchase { display: flex; justify-content: space-between; gap: 5px; margin: 0 0 14px; color: var(--text-secondary); font-size: 9px; line-height: 1.5; }.product-purchase strong { color: var(--text-primary); font-size: 10px; }.product-status { padding-top: 10px; border-top: 1px solid var(--border-color); color: var(--success); font-size: 9px; font-weight: 800; }.product-status i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: currentColor; }.product-status.is-warning { color: var(--warning); }.page-empty { padding: 70px 20px; color: var(--text-secondary); text-align: center; }.page-empty h2 { margin-bottom: 8px; color: var(--text-primary); font-size: 22px; }.page-empty p { font-size: 12px; }
.qr-page-main { max-width: 1180px; margin: 0 auto; }.qr-generator-panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr); gap: 32px; margin-bottom: 72px; padding: 28px; border: 1px solid var(--glass-border); border-radius: var(--radius-lg); background: var(--bg-glass); box-shadow: var(--shadow-sm); backdrop-filter: blur(18px); }.qr-generator-panel h2 { margin-bottom: 10px; font-size: 26px; }.qr-generator-panel > div:first-child > p:last-of-type { max-width: 510px; margin-bottom: 24px; color: var(--text-secondary); font-size: 12px; line-height: 1.6; }.qr-page-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.qr-page-form label { display: block; color: var(--text-secondary); font-size: 11px; font-weight: 800; }.qr-page-form input, .qr-page-form select, .qr-page-form textarea { display: block; width: 100%; min-height: 43px; margin-top: 7px; padding: 10px 12px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); outline: 0; color: var(--text-primary); background: var(--bg-secondary); font: inherit; font-size: 12px; }.qr-page-form textarea { min-height: 105px; resize: vertical; }.qr-page-form input:focus, .qr-page-form select:focus, .qr-page-form textarea:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-wash); }.full-field { grid-column: 1 / -1; }.generator-preview { display: grid; place-items: center; min-height: 260px; border-radius: var(--radius-md); color: var(--text-secondary); background: var(--accent-wash); font-size: 11px; text-align: center; }.generator-preview canvas, .generator-preview img { max-width: min(100%, 210px); padding: 10px; border-radius: 12px; background: white; }.saved-qr-section { padding-bottom: 20px; }.page-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }.page-section-heading h2 { margin: 0; font-size: 32px; }.page-search { width: min(100%, 330px); margin-bottom: 22px; }.saved-qr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }.saved-qr-card { min-width: 0; overflow: hidden; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-glass); box-shadow: var(--shadow-sm); }.saved-qr-code { display: grid; place-items: center; min-height: 178px; background: var(--accent-wash); }.saved-qr-code canvas, .saved-qr-code img { max-width: 142px; padding: 9px; border-radius: 10px; background: white; }.saved-qr-content { padding: 14px; }.saved-qr-topline { display: flex; align-items: center; justify-content: space-between; }.saved-qr-content h3 { margin: 12px 0 7px; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }.saved-qr-content p { height: 34px; margin-bottom: 14px; overflow: hidden; color: var(--text-secondary); font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }.saved-qr-actions { display: flex; align-items: center; justify-content: space-between; gap: 5px; }.saved-qr-actions .button { min-height: 34px; padding: 0 10px; font-size: 10px; }.saved-qr-actions .text-button { font-size: 10px; }
@media (max-width: 1050px) { .product-grid, .saved-qr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .home-launchers { margin-top: 60px; }.home-launchers .section-heading { align-items: flex-start; flex-direction: column; }.launcher-grid { grid-template-columns: 1fr; }.page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 34px; }.page-toolbar { align-items: stretch; flex-direction: column; }.page-toolbar .search-field, .page-search { width: 100%; }.product-grid, .saved-qr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.qr-generator-panel { grid-template-columns: 1fr; gap: 22px; padding: 20px; }.generator-preview { min-height: 210px; }.page-section-heading { align-items: flex-start; flex-direction: column; }.page-section-heading .qr-filters { justify-content: flex-start; } }
@media (max-width: 480px) { .product-grid, .saved-qr-grid { grid-template-columns: 1fr; }.product-photo { height: 190px; }.qr-page-form { grid-template-columns: 1fr; }.full-field { grid-column: auto; }.page-main { padding-top: 44px; }.brand { width: 126px; }.brand-logo { width: 118px; } }

.drawer-scrim { position: fixed; inset: 0; z-index: 30; background: rgba(15, 23, 42, .35); opacity: 0; pointer-events: none; transition: opacity var(--transition-fast); }
.account-drawer [hidden] { display: none !important; }
.account-drawer { position: fixed; top: 0; right: 0; z-index: 31; display: flex; flex-direction: column; width: min(100%, 350px); height: 100dvh; padding: 24px 18px; border-left: 1px solid var(--glass-border); color: var(--text-primary); background: var(--bg-glass); box-shadow: -18px 0 45px rgba(15,23,42,.18); backdrop-filter: blur(24px); transform: translateX(105%); transition: transform var(--transition-bounce); }
.account-drawer.is-open { transform: translateX(0); } body.drawer-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.drawer-head, .drawer-profile { display: flex; align-items: center; }.drawer-head { justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }.drawer-profile { gap: 11px; }.drawer-profile-link { flex: 1; border-radius: var(--radius-md); color: inherit; text-decoration: none; cursor: pointer; }.drawer-profile-link:hover, .drawer-profile-link:focus-visible { outline: 0; background: var(--accent-wash); }.drawer-avatar, .profile-avatar-large { display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg, #ec4899, #8b5cf6); background-position: center; background-size: cover; }.drawer-avatar { width: 44px; height: 44px; font-size: 13px; font-weight: 800; }.drawer-profile strong, .drawer-profile small { display: block; }.drawer-profile strong { font: 700 14px "Space Grotesk", sans-serif; }.drawer-profile small { margin-top: 3px; color: var(--text-secondary); font-size: 10px; }.drawer-nav { display: grid; gap: 6px; padding: 22px 0; }.drawer-nav a, .drawer-link { display: block; width: 100%; padding: 13px 12px; border: 0; border-radius: var(--radius-md); color: var(--text-primary); background: transparent; text-align: left; }.drawer-nav a:hover, .drawer-link:hover { background: var(--accent-wash); }.drawer-nav span, .drawer-nav small, .drawer-link span, .drawer-link small { display: block; }.drawer-nav span, .drawer-link { font-size: 12px; font-weight: 800; }.drawer-nav small, .drawer-link small { margin-top: 3px; color: var(--text-secondary); font-size: 10px; font-weight: 400; }.drawer-footer { display: grid; gap: 5px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--border-color); }.drawer-logout { color: var(--danger); }.account-toast { position: fixed; right: 20px; bottom: 20px; z-index: 40; max-width: 280px; padding: 12px 16px; border-radius: var(--radius-sm); color: white; background: rgba(15,23,42,.92); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity var(--transition-fast), transform var(--transition-fast); }.account-toast.is-visible { opacity: 1; transform: translateY(0); }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 18px; }.profile-card, .settings-card { padding: 25px; border: 1px solid var(--glass-border); border-radius: var(--radius-lg); background: var(--bg-glass); box-shadow: var(--shadow-sm); backdrop-filter: blur(18px); }.profile-hero { display: flex; align-items: center; gap: 15px; margin-bottom: 26px; }.profile-avatar-large { width: 74px; height: 74px; font: 700 21px "Space Grotesk", sans-serif; }.profile-hero h2, .settings-card h2 { margin-bottom: 5px; font-size: 22px; }.profile-hero p { margin: 0; color: var(--text-secondary); font-size: 12px; }.profile-card label, .settings-card label { display: block; margin-bottom: 15px; color: var(--text-secondary); font-size: 11px; font-weight: 800; }.profile-card input, .settings-card input { display: block; width: 100%; min-height: 43px; margin-top: 7px; padding: 10px 12px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: var(--text-primary); background: var(--bg-secondary); }.profile-card small { display: block; margin-top: 7px; color: var(--text-secondary); font-size: 10px; font-weight: 400; }.settings-card > p { color: var(--text-secondary); font-size: 12px; line-height: 1.6; }.settings-divider { height: 1px; margin: 25px 0; background: var(--border-color); }.profile-card .button, .settings-card .button { min-height: 40px; }
@media (max-width: 700px) { .profile-layout { grid-template-columns: 1fr; }.profile-card, .settings-card { padding: 20px; } }