@keyframes scanner-scan-line{0%{transform:translateY(-90px);opacity:.2}50%{transform:translateY(0);opacity:1}to{transform:translateY(90px);opacity:.2}}@keyframes qr-card-glow{0%,to{box-shadow:0 0 0 2px #38bdf8,0 15px 45px #38bdf866}50%{box-shadow:0 0 0 4px #818cf8,0 20px 60px #6366f199}}.portal-qr-item.is-scanned-target{animation:qr-card-glow 1.4s ease-in-out infinite;border-color:#38bdf8!important}.portal-toast{position:fixed;bottom:1.5rem;right:1.5rem;z-index:9999;background:#0f172a;border:1.5px solid #22c55e;color:#f8fafc;padding:1rem 1.35rem;border-radius:14px;box-shadow:0 20px 45px #0000008c;max-width:420px;font-size:.92rem;font-weight:600}.portal-billing-toggle-wrap{display:inline-flex;background:#0f172ad9;border:1px solid var(--color-border);padding:.35rem;border-radius:12px;gap:.35rem;flex-wrap:wrap;justify-content:center}.portal-bill-btn{background:none;border:none;color:var(--color-text-secondary);padding:.6rem 1.15rem;border-radius:9px;font-weight:700;font-size:.9rem;cursor:pointer;display:inline-flex;align-items:center;gap:.5rem;transition:all .15s ease}.portal-bill-btn.is-active{background:var(--color-primary);color:#fff}.portal-bill-badge{background:#22c55e38;color:#4ade80;border:1px solid rgba(34,197,94,.45);padding:.15rem .55rem;border-radius:99px;font-size:.74rem;font-weight:800}.portal-bill-btn.is-active .portal-bill-badge{background:#15803d;color:#fff;border-color:#22c55e}.portal-modal-backdrop{position:fixed;inset:0;z-index:9500;background:#020617d1;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:1.25rem}.portal-modal-card{width:min(100%,660px);max-height:92vh;overflow-y:auto;padding:1.75rem;border:1.5px solid rgba(99,102,241,.45);box-shadow:0 25px 70px #000000a6}.portal-pay-option{width:100%;background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:.9rem 1.1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;color:var(--color-text);transition:transform .15s ease,border-color .15s ease,background .15s ease}.portal-pay-option:hover{transform:translateY(-1px);background:var(--glass-hover);border-color:var(--color-primary)}.portal-auth-wrap{max-width:500px;margin:1.5rem auto 3.5rem}.portal-auth-card{padding:2rem;border:1.5px solid var(--color-border);background:var(--glass);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-radius:20px;box-shadow:var(--shadow-card);overflow:hidden}.portal-form .form-group{min-width:0;margin-bottom:1rem}.portal-form .form-group label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.35rem;color:var(--color-text)}.portal-form .form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.85rem;margin-bottom:1rem}.portal-form .form-row .form-group{margin-bottom:0}.portal-dsgvo-box{background:var(--color-surface);border:1px solid var(--color-border);border-radius:11px;padding:.85rem .95rem;margin-bottom:1.15rem}.portal-dsgvo-label{display:flex;align-items:flex-start;gap:.6rem;font-size:.82rem;line-height:1.45;color:var(--color-text);cursor:pointer}.portal-dsgvo-label input[type=checkbox]{width:16px!important;height:16px!important;min-width:16px;margin:2px 0 0!important;padding:0!important;accent-color:var(--color-primary);cursor:pointer;flex-shrink:0}.portal-dsgvo-label a{color:var(--color-accent-light, #a5b4fc);font-weight:600;text-decoration:underline}.portal-dsgvo-note{margin-top:.45rem;padding-left:1.6rem;font-size:.74rem;color:var(--color-text-secondary);line-height:1.35}.portal-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.35rem;margin-bottom:1.5rem;background:var(--color-surface);border:1px solid var(--color-border);padding:.35rem;border-radius:12px}.portal-auth-tab{background:none;border:none;color:var(--color-text-secondary);padding:.65rem;border-radius:9px;font-weight:700;font-size:.92rem;cursor:pointer;transition:all .18s ease}.portal-auth-tab.is-active{background:var(--color-primary);color:#fff;box-shadow:0 4px 12px #6366f14d}.portal-topbar{padding:1.25rem 1.65rem;margin-bottom:1.25rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;background:var(--glass);border:1px solid var(--color-border);border-radius:16px}.portal-credit-box{background:var(--color-surface);border:1px solid var(--color-border);padding:.5rem .95rem;border-radius:12px;min-width:140px}.portal-quota-track{width:100%;height:4px;background:#ffffff14;border-radius:99px;overflow:hidden;margin-top:.25rem}.portal-quota-fill{height:100%;border-radius:99px;transition:width .4s ease}.portal-tab-badge{display:inline-flex;align-items:center;justify-content:center;background:#ffffff29;color:currentColor;padding:.1rem .45rem;border-radius:99px;font-size:.72rem;font-weight:800;margin-left:.35rem;min-width:18px;line-height:1.2}.portal-search-kbd{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);background:var(--color-surface);border:1px solid var(--color-border);color:var(--color-text-secondary);font-family:inherit;font-size:.74rem;font-weight:700;padding:.15rem .45rem;border-radius:5px;box-shadow:0 1px 2px #0000001a;pointer-events:none}.qr-color-swatches{display:flex;gap:.65rem;align-items:center;height:42px;padding-left:2px}.qr-color-swatch{width:28px;height:28px;border-radius:50%;border:2px solid transparent;cursor:pointer;position:relative;transition:transform .15s ease,box-shadow .15s ease;padding:0}.qr-color-swatch:hover{transform:scale(1.12)}.qr-color-swatch.is-active{box-shadow:0 0 0 2px var(--color-bg),0 0 0 4px var(--color-primary);transform:scale(1.08)}.qr-dl-group{display:grid;grid-template-columns:1fr 1fr 1fr;gap:.35rem;margin-top:.35rem}.qr-dl-group .btn{padding:.45rem .25rem;font-size:.8rem;font-weight:700;justify-content:center;text-align:center;border-radius:8px;white-space:nowrap}.btn-save-qr.has-unsaved-changes{background:#2563eb!important;color:#fff!important;box-shadow:0 0 0 3px #2563eb59!important}.scanner-corner{position:absolute;width:20px;height:20px;border-color:#38bdf8;border-style:solid;pointer-events:none}.scanner-corner--tl{top:-2px;left:-2px;border-width:3px 0 0 3px;border-top-left-radius:12px}.scanner-corner--tr{top:-2px;right:-2px;border-width:3px 3px 0 0;border-top-right-radius:12px}.scanner-corner--bl{bottom:-2px;left:-2px;border-width:0 0 3px 3px;border-bottom-left-radius:12px}.scanner-corner--br{bottom:-2px;right:-2px;border-width:0 3px 3px 0;border-bottom-right-radius:12px}.portal-nav{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:1.5rem}.portal-nav__btn{background:var(--color-surface);border:1px solid var(--color-border);color:var(--color-text-secondary);padding:.7rem 1.2rem;border-radius:10px;font-weight:700;font-size:.92rem;cursor:pointer;transition:all .15s ease}.portal-nav__btn:hover{color:var(--color-text);background:var(--glass-hover)}.portal-nav__btn.is-active{background:var(--color-primary);border-color:var(--color-primary);color:#fff;box-shadow:0 4px 14px #6366f14d}.portal-qr-create-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:.9rem;align-items:end}.portal-qr-list{display:flex;flex-direction:column;gap:1.25rem}.portal-qr-item{padding:1.5rem;display:grid;grid-template-columns:200px 1fr 220px;gap:1.5rem;align-items:center;background:var(--glass);border:1px solid var(--color-border);border-radius:16px}.portal-qr-preview{background:#fff;border-radius:16px;padding:.85rem;display:flex;flex-direction:column;align-items:center;gap:.45rem;box-shadow:0 10px 28px #00000059}.portal-qr-preview svg{width:156px;height:156px;display:block}.portal-qr-stats{display:flex;flex-wrap:wrap;gap:.75rem;margin:.65rem 0 1rem}.portal-qr-stat-pill{background:var(--color-surface);border:1px solid var(--color-border);color:var(--color-text-secondary);padding:.35rem .75rem;border-radius:8px;font-size:.82rem}.portal-qr-actions{display:flex;flex-direction:column;gap:.55rem}.password-input-wrap{position:relative;display:flex;align-items:center;width:100%}.password-input-wrap input{width:100%;padding-right:2.6rem!important}.btn-toggle-pass{position:absolute;right:.65rem;top:50%;transform:translateY(-50%);background:none;border:none;color:var(--color-text-secondary);cursor:pointer;font-size:1.05rem;padding:.25rem .35rem;line-height:1;display:flex;align-items:center;justify-content:center;transition:color .15s ease}.btn-toggle-pass:hover{color:var(--color-text)}.pass-meter-dot{transition:background-color .2s ease}.verify-digits-container{display:flex;justify-content:center;align-items:center;gap:.45rem;margin:.85rem auto .4rem;max-width:360px}.verify-digit-box{width:44px;height:54px;text-align:center!important;font-size:1.6rem!important;font-weight:800!important;border-radius:12px!important;border:2px solid var(--color-border)!important;background:var(--color-surface)!important;color:var(--color-text)!important;transition:all .15s ease;font-variant-numeric:tabular-nums;padding:0!important}.verify-digit-box:focus{border-color:var(--color-primary)!important;box-shadow:0 0 0 4px #6366f140!important;transform:translateY(-2px);outline:none}.verify-digit-divider{font-size:1.4rem;color:var(--color-text-secondary);font-weight:700;user-select:none}.qr-action-btn-sub{font-size:.68rem;color:var(--color-text-secondary);display:block;margin-top:.15rem;font-weight:500;line-height:1.2}.portal-onboarding-card{transition:border-color .2s ease,box-shadow .2s ease}.btn-onboard-preset{transition:all .18s ease}.btn-onboard-preset:hover{transform:translateY(-2px);box-shadow:0 6px 18px #6366f14d}.verify-big-input{font-size:1.85rem!important;letter-spacing:.35em!important;text-align:center!important;font-weight:800!important;padding:.8rem .5rem!important;border-radius:14px!important;background:var(--color-surface)!important;border:2px solid var(--color-primary)!important;box-shadow:0 0 0 4px #6366f126!important;font-variant-numeric:tabular-nums;width:100%;max-width:320px;margin:0 auto}.portal-inline-alert{padding:.8rem 1rem;border-radius:11px;margin-bottom:1.15rem;font-size:.86rem;line-height:1.45;display:flex;align-items:center;gap:.55rem}.portal-inline-alert.is-error{background:#ef44441f;border:1px solid rgba(239,68,68,.35);color:#f87171}.portal-inline-alert.is-success{background:#22c55e1f;border:1px solid rgba(34,197,94,.35);color:#4ade80}.qr-preset-pill{background:var(--color-surface);border:1px solid var(--color-border);color:var(--color-text);padding:.32rem .72rem;border-radius:99px;font-size:.78rem;font-weight:600;cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;gap:.3rem}.qr-preset-pill:hover{background:var(--color-primary);color:#fff;border-color:var(--color-primary);transform:translateY(-1px)}.portal-create-layout{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center}.portal-create-preview-wrap{flex:0 0 170px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.85rem;background:#0f172a8c;border:1px dashed var(--color-border);border-radius:14px}.portal-create-preview-box{width:140px;height:140px;background:#fff;border-radius:12px;padding:.55rem;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px #00000040}.portal-create-preview-box svg{width:100%;height:100%;display:block}.portal-preview-badge{display:inline-block;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#38bdf8;background:#38bdf81f;border:1px solid rgba(56,189,248,.3);padding:.15rem .55rem;border-radius:99px}.btn-copy-shorturl{background:#f1f5f9;border:1px solid #cbd5e1;color:#0f172a;padding:.22rem .55rem;border-radius:6px;font-size:.72rem;font-weight:700;cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;gap:.25rem}.btn-copy-shorturl:hover{background:#e2e8f0;border-color:#6366f1}.btn-copy-shorturl.is-copied{background:#22c55e!important;color:#fff!important;border-color:#22c55e!important}.btn.is-loading{position:relative;pointer-events:none;opacity:.85}.btn.is-loading:after{content:"";display:inline-block;width:13px;height:13px;margin-left:8px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:portal-spin .6s linear infinite;vertical-align:middle}@keyframes portal-spin{to{transform:rotate(360deg)}}.portal-form input:not([type=checkbox]),.portal-form select,.portal-form textarea,.qr-edit-url,#qr-search-input,#qr-status-filter{width:100%;min-width:0;box-sizing:border-box;background:var(--color-bg)!important;border:1.5px solid var(--color-border)!important;color:var(--color-text)!important;border-radius:9px;padding:.72rem .9rem;font-size:.94rem}.portal-form input:not([type=checkbox]):focus,.portal-form select:focus,.qr-edit-url:focus,#qr-search-input:focus{outline:none;border-color:var(--color-primary)!important;box-shadow:0 0 0 3px #6366f133}[data-theme=light] .portal-auth-card{background:#fff;border:1px solid #e2e8f0;box-shadow:0 10px 25px -5px #0000000d,0 8px 10px -6px #00000008}[data-theme=light] .portal-auth-tabs{background:#f1f5f9;border:1px solid #e2e8f0}[data-theme=light] .portal-auth-tab{color:#64748b}[data-theme=light] .portal-auth-tab.is-active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #0000001a}[data-theme=light] .portal-form .form-group label{color:#1e293b}[data-theme=light] .portal-dsgvo-box{background:#f8fafc;border-color:#e2e8f0}[data-theme=light] .portal-dsgvo-label{color:#334155}[data-theme=light] .portal-dsgvo-label a{color:#4f46e5}[data-theme=light] .portal-form input:not([type=checkbox]),[data-theme=light] .portal-form select,[data-theme=light] .portal-form textarea,[data-theme=light] .qr-edit-url,[data-theme=light] #qr-search-input,[data-theme=light] #qr-status-filter{background:#fff!important;border:1px solid #cbd5e1!important;color:#0f172a!important}[data-theme=light] .portal-form input:not([type=checkbox]):focus,[data-theme=light] .portal-form select:focus,[data-theme=light] .qr-edit-url:focus,[data-theme=light] #qr-search-input:focus{border-color:#6366f1!important;box-shadow:0 0 0 3px #6366f126!important}[data-theme=light] .verify-digit-box{background:#fff!important;border:1.5px solid #cbd5e1!important;color:#0f172a!important}[data-theme=light] .verify-digit-box:focus{border-color:#6366f1!important;box-shadow:0 0 0 3px #6366f126!important}[data-theme=light] .portal-topbar{background:#fff;border-color:#00000014;box-shadow:0 4px 16px #0f172a0d}[data-theme=light] .portal-credit-box{background:#f8fafc;border-color:#00000014}[data-theme=light] .portal-quota-track{background:#e2e8f0}[data-theme=light] .portal-tab-badge{background:#e2e8f0;color:#475569}[data-theme=light] .portal-search-kbd{background:#f1f5f9;border-color:#cbd5e1;color:#64748b}[data-theme=light] .portal-qr-item{background:#fff;border-color:#00000014;box-shadow:0 4px 16px #0f172a0d}[data-theme=light] .portal-qr-stat-pill{background:#f1f5f9;border-color:#e2e8f0;color:#334155}.elabel-panel{background:#581c8724;border:1px solid rgba(168,85,247,.4)}.elabel-panel__title{color:#e9d5ff}.elabel-panel__close{background:none;border:1px solid rgba(255,255,255,.2);color:#cbd5e1;border-radius:6px;padding:.25rem .6rem;font-size:.75rem;cursor:pointer}.elabel-calc-box{background:#0f172ab3;border:1px solid rgba(74,222,128,.4)}.elabel-calc-label{color:#94a3b8}[data-theme=light] .elabel-panel{background:#f3e8ffb8;border-color:#9333ea59}[data-theme=light] .elabel-panel__title{color:#6b21a8!important}[data-theme=light] .elabel-panel__close{border-color:#6b21a859;color:#334155;background:#fff}[data-theme=light] .elabel-calc-box{background:#f0fdf4;border-color:#16a34a66}[data-theme=light] .elabel-calc-label{color:#334155}[data-theme=light] .portal-nav__btn{background:#fff;border-color:#e2e8f0;color:#475569}[data-theme=light] .qr-preset-pill[data-preset=elabel]{background:#9333ea1f!important;border-color:#9333ea73!important;color:#6b21a8!important}[data-theme=light] #new-qr-elabel-panel{background:#f3e8ffa6!important;border-color:#9333ea59!important}[data-theme=light] #new-qr-elabel-panel strong{color:#6b21a8!important}[data-theme=light] #btn-close-elabel-mode{border-color:#6b21a84d!important;color:#475569!important;background:#fff!important}[data-theme=light] #el-calc-readout{color:#15803d!important}[data-theme=light] #new-qr-elabel-panel [style*="rgba(15, 23, 42"]{background:#f0fdf4!important;border-color:#16a34a59!important}[data-theme=light] .portal-preview-badge{color:#0369a1!important;background:#0ea5e91f!important;border-color:#0284c759!important}[data-theme=light] #kpi-scans-today{color:#15803d!important}[data-theme=light] #kpi-scans-7d{color:#0369a1!important}[data-theme=light] #kpi-scans-total{color:#0f172a!important}[data-theme=light] #kpi-scans-filtered{color:#7e22ce!important}[data-theme=light] .portal-nav__btn:hover{background:#f8fafc;color:#0f172a}[data-theme=light] .portal-nav__btn.is-active{background:#4f46e5;color:#fff;border-color:#4f46e5}[data-theme=light] .portal-modal-backdrop{background:#0f172a73}[data-theme=light] .portal-modal-card{background:#fff;color:#0f172a;border-color:#0000001a;box-shadow:0 25px 70px #0f172a33}[data-theme=light] .portal-pay-option{background:#f8fafc;border-color:#e2e8f0;color:#0f172a}[data-theme=light] .portal-pay-option:hover{background:#fff;border-color:#4f46e5}[data-theme=light] .qr-preset-pill{background:#f1f5f9;border-color:#cbd5e1;color:#1e293b}[data-theme=light] .qr-preset-pill:hover{background:#4f46e5;color:#fff;border-color:#4f46e5}[data-theme=light] .portal-create-preview-wrap{background:#f8fafc;border-color:#cbd5e1}.portal-demo-banner{padding:1rem 1.35rem;margin-bottom:1.25rem;border:1px solid rgba(250,204,21,.45);background:#facc1514;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}.portal-demo-banner__title{color:#fde047}[data-theme=light] .portal-demo-banner{background:#fefce8;border-color:#facc15;color:#713f12}[data-theme=light] .portal-demo-banner__title{color:#92400e}[data-theme=light] .portal-billing-toggle-wrap{background:#f1f5f9;border-color:#e2e8f0}.portal-founder-card{padding:1.75rem 2rem;margin-bottom:1.65rem;border:1.5px solid rgba(234,179,8,.45);background:linear-gradient(135deg,#eab30814,#0f172ad9);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem;border-radius:16px}.portal-founder-pill{display:inline-flex;align-items:center;gap:.5rem;background:#facc1526;border:1px solid rgba(250,204,21,.35);color:#fde047;font-size:.78rem;font-weight:700;padding:.25rem .75rem;border-radius:99px;margin-bottom:.55rem;text-transform:uppercase}.portal-founder-list{display:flex;flex-wrap:wrap;gap:.85rem;font-size:.84rem;color:#e2e8f0}.portal-founder-price-box{min-width:260px;text-align:center;background:#0f172acc;border:1px solid rgba(250,204,21,.4);border-radius:14px;padding:1.15rem 1.35rem}.portal-founder-price-label{font-size:.78rem;color:#fde047;font-weight:700}.portal-founder-price-num{font-size:2.1rem;font-weight:900;color:#fff;line-height:1.15;margin:.2rem 0}[data-theme=light] .portal-founder-card{background:linear-gradient(135deg,#fefce8,#fff);border-color:#eab308}[data-theme=light] .portal-founder-pill{background:#fef08a;border-color:#eab308;color:#854d0e}[data-theme=light] .portal-founder-list{color:#334155}[data-theme=light] .portal-founder-price-box{background:#fff;border-color:#eab308;box-shadow:0 4px 14px #eab3081f}[data-theme=light] .portal-founder-price-label{color:#a16207}[data-theme=light] .portal-founder-price-num{color:#0f172a}.sticky-cta,.cta-bar,.whatsapp-btn{display:none!important}.qr-edit-url-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;align-items:end}.portal-topbar__controls{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.portal-topbar__actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}@media(max-width:900px){.portal-auth-wrap{width:100%;max-width:100%}.portal-qr-item{grid-template-columns:1fr}.portal-create-layout{flex-direction:column-reverse}.portal-create-preview-wrap{width:100%;flex:1 1 100%}}@media(max-width:600px){.portal-auth-card{padding:1.5rem 1.2rem}.portal-form .form-row{grid-template-columns:1fr;gap:1rem}.portal-topbar{padding:1rem 1.1rem;gap:.85rem}.portal-topbar__controls{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:.55rem}.portal-credit-box{min-width:0;padding:.5rem .7rem}.portal-topbar__actions{grid-column:1 / -1;width:100%;gap:.45rem}.portal-topbar__actions #btn-open-scanner-top{flex:1 1 auto;justify-content:center}.portal-nav{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}.portal-nav__btn{padding:.55rem .65rem;font-size:.82rem;text-align:center;justify-content:center}.portal-founder-card{padding:1.25rem 1.15rem}.portal-founder-price-box{min-width:0;width:100%}.portal-toast{left:1rem;right:1rem;bottom:1rem;max-width:none;font-size:.85rem;padding:.8rem 1rem}.qr-edit-url-row{grid-template-columns:1fr;gap:.55rem}.qr-edit-url-btn-wrap{padding-top:0!important}.qr-edit-url-btn-wrap .btn-save-qr{width:100%;justify-content:center}}.portal-stats-panel{padding:1.25rem 1.45rem;margin-bottom:1.25rem;border:1px solid var(--color-border);border-radius:16px}.portal-stats-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.85rem;flex-wrap:wrap;margin-bottom:1rem}.portal-stats-scope-tag{font-size:.72rem;font-weight:600;padding:.15rem .55rem;border-radius:999px;background:#38bdf824;border:1px solid rgba(56,189,248,.35);color:#38bdf8}[data-theme=light] .portal-stats-scope-tag{background:#e0f2fe;border-color:#7dd3fc;color:#0369a1}.portal-stats-controls{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.portal-stats-select{padding:.42rem .75rem;border-radius:8px;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font-size:.82rem;max-width:240px}.portal-stats-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.portal-stat-kpi{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:.75rem .9rem;display:flex;flex-direction:column;gap:.15rem;min-width:0}.portal-stat-kpi__label{font-size:.73rem;color:var(--color-text-secondary);font-weight:500}.portal-stat-kpi__val{font-size:1.35rem;line-height:1.15;font-weight:800;color:var(--color-text);font-variant-numeric:tabular-nums}.portal-stat-kpi__sub{font-size:.72rem;color:var(--color-text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-stats-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:1rem;align-items:stretch}.portal-stats-grid.is-single{grid-template-columns:1fr}.portal-stats-chart-box,.portal-stats-top-box{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:.9rem 1rem;min-width:0}.portal-stats-chart-top{display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap;margin-bottom:.65rem}.portal-stats-readout{font-size:.74rem;color:var(--color-text-secondary);font-variant-numeric:tabular-nums}.portal-chart-wrap{display:flex;align-items:stretch;gap:.5rem}.portal-chart-yaxis{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;font-size:.66rem;color:var(--color-text-secondary);font-variant-numeric:tabular-nums;padding-bottom:1.25rem;min-width:22px}.portal-chart-bars{flex:1;min-width:0;display:grid;grid-template-columns:repeat(var(--stats-cols, 14),minmax(0,1fr));gap:6px;height:140px;align-items:end}.portal-chart-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;cursor:pointer;min-width:0;background:transparent;border:none;padding:0;color:inherit}.portal-chart-track{width:100%;flex:1;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--color-border);padding-bottom:2px}.portal-chart-bar{width:100%;max-width:24px;min-height:3px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#38bdf8,#0284c7);transition:height .28s ease,opacity .15s ease,transform .15s ease}.portal-chart-col.is-today .portal-chart-bar{background:linear-gradient(180deg,#4ade80,#16a34a)}.portal-chart-col.is-zero .portal-chart-bar{background:var(--color-border);opacity:.45}.portal-chart-col:hover .portal-chart-bar,.portal-chart-col.is-active .portal-chart-bar{opacity:1;transform:scaleY(1.04);filter:brightness(1.12)}.portal-chart-bar-lbl{font-size:.62rem;color:var(--color-text-secondary);margin-top:.3rem;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}.portal-chart-col.is-today .portal-chart-bar-lbl{color:#4ade80;font-weight:700}[data-theme=light] .portal-chart-col.is-today .portal-chart-bar-lbl{color:#15803d}.portal-stats-top-list{display:flex;flex-direction:column;gap:.55rem}.portal-top-item{width:100%;text-align:left;background:transparent;border:1px solid transparent;border-radius:8px;padding:.45rem .55rem;cursor:pointer;color:var(--color-text);transition:border-color .15s ease,background .15s ease}.portal-top-item:hover,.portal-top-item.is-selected{border-color:#38bdf873;background:#38bdf814}.portal-top-item__row{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;font-size:.8rem;margin-bottom:.3rem}.portal-top-item__title{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-top-item__cnt{font-weight:700;font-variant-numeric:tabular-nums;color:#38bdf8;flex-shrink:0}[data-theme=light] .portal-top-item__cnt{color:#0284c7}.portal-top-item__track{height:5px;border-radius:999px;background:var(--color-border);overflow:hidden}.portal-top-item__fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#38bdf8,#4ade80)}.portal-range-pills{display:inline-flex;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);overflow:hidden}.portal-range-pill{background:transparent;border:none;color:var(--color-text-secondary);font-size:.76rem;font-weight:700;padding:.4rem .6rem;cursor:pointer;transition:background .15s ease,color .15s ease}.portal-range-pill.is-active{background:#38bdf82e;color:#38bdf8}[data-theme=light] .portal-range-pill.is-active{background:#e0f2fe;color:#0369a1}.portal-device-box{margin-top:.85rem;padding-top:.7rem;border-top:1px solid var(--color-border)}.portal-device-box__head{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;font-size:.75rem;color:var(--color-text-secondary);margin-bottom:.35rem}.portal-device-box__head strong{color:var(--color-text);font-variant-numeric:tabular-nums}.portal-device-track{height:6px;border-radius:999px;background:#94a3b840;overflow:hidden}.portal-device-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#38bdf8,#818cf8)}@media(max-width:600px){.portal-stats-panel{padding:1.05rem 1rem}.portal-stats-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-stats-grid{grid-template-columns:1fr}.portal-stats-controls{width:100%;gap:.4rem}.portal-stats-select{flex:1 1 140px;min-width:0;max-width:none}.portal-chart-bars{gap:2px;height:120px}.portal-chart-bar-lbl{font-size:.54rem}}
