@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap&subset=cyrillic";:root{color:#111827;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink-900:#0f172a;--ink-700:#1f2a44;--ink-500:#4b5563;--ink-300:#cbd5f5;--primary-600:#1d4ed8;--primary-500:#2563eb;--primary-400:#3b82f6;--surface:#fff;--surface-muted:#f8fafc;--border:#e2e8f0;--danger:#dc2626;background-color:#f8fafc;font-family:Manrope,system-ui,-apple-system,sans-serif;font-weight:400;line-height:1.4}*{box-sizing:border-box}body{background:linear-gradient(135deg,#eef2ff 0%,#f3f6ff 60%,#f9fbff 100%);min-height:100vh;margin:0}a{color:var(--primary-600);text-decoration:none}a:hover{text-decoration:none}button{font-family:inherit}.auth-shell{place-items:center;min-height:100vh;padding:48px 16px;display:grid;position:relative}.auth-glow{pointer-events:none;background:radial-gradient(circle at 20% 10%,#3b82f626,#0000 50%),radial-gradient(circle at 80% 20%,#2563eb1f,#0000 55%);position:absolute;inset:0}.auth-main{width:min(420px,92vw);position:relative}.card{background:var(--surface);border:1px solid #e2e8f0cc;border-radius:20px;padding:28px 28px 24px;box-shadow:0 18px 40px #0f172a1a}.auth-card__header{text-align:center;margin-bottom:20px}.auth-card__header h1{color:var(--ink-900);margin:0 0 6px;font-size:24px;font-weight:700}.auth-card__header p{color:var(--ink-500);margin:0;font-size:14px}.auth-form{flex-direction:column;gap:16px;display:flex}.field{flex-direction:column;gap:8px;display:flex}.field-label{color:var(--ink-700);font-size:13px;font-weight:600}.field-required{color:var(--danger);margin-left:4px}.field-input{border:1px solid var(--border);background:var(--surface-muted);border-radius:12px;padding:12px 14px;font-size:14px;transition:border-color .2s,box-shadow .2s}.field-input-wrap{display:block;position:relative}.field-input-wrap .field-input{width:100%}.field-input-wrap--password .field-input{padding-right:44px}.field-input:focus{border-color:var(--primary-400);outline:none;box-shadow:0 0 0 3px #3b82f626}.field-input--error{background:#fef2f2;border-color:#dc262699}.field-hint{color:var(--ink-500);font-size:12px}.field-error{color:var(--danger);font-size:12px}.field-password-toggle{width:28px;height:28px;color:var(--ink-500);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.field-password-toggle:hover{color:var(--ink-700);background:#0f172a0f}.field-password-toggle:focus-visible{outline-offset:1px;outline:2px solid #3b82f680}.field-password-toggle svg{stroke:currentColor;fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.demo-box{color:var(--ink-700);background:#f1f6ff;border-radius:14px;gap:4px;padding:12px 14px;font-size:13px;display:grid}.alert{border-radius:12px;padding:10px 12px;font-size:13px}.alert--error{color:#b91c1c;background:#fef2f2;border:1px solid #dc262633}.btn{cursor:pointer;border:none;border-radius:12px;padding:12px 16px;font-size:15px;font-weight:600;text-decoration:none;transition:transform .2s,box-shadow .2s}.btn:hover{text-decoration:none}.btn--primary{color:#fff;background:linear-gradient(#111827 0%,#0f172a 100%);box-shadow:0 10px 22px #0f172a40}.btn--primary:disabled{opacity:.7;cursor:not-allowed}.btn--primary:not(:disabled):hover{transform:translateY(-1px)}.auth-footer{text-align:center;color:var(--ink-500);justify-content:center;gap:6px;margin-top:18px;font-size:13px;display:flex}.placeholder{padding:40px;font-family:Manrope,system-ui,-apple-system,sans-serif}@media (max-width:480px){.card{padding:22px 20px}}.auth-success-backdrop{z-index:1200;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#080f207a;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.auth-success-modal{text-align:center;background:#fff;border:1px solid #e2e8f0d9;border-radius:22px;width:min(420px,100%);padding:30px 28px 22px;box-shadow:0 26px 48px #0c14283d}.auth-success-icon{color:#0f9f58;background:linear-gradient(#e8fff2 0%,#dffce8 100%);border-radius:999px;justify-content:center;align-items:center;width:58px;height:58px;margin:0 auto 14px;display:inline-flex;box-shadow:inset 0 0 0 1px #0f9f582e}.auth-success-icon svg{width:34px;height:34px}.auth-success-title{color:var(--ink-900);margin:0;font-size:24px;line-height:1.15}.auth-success-text{color:var(--ink-600);margin:10px 0 0;font-size:15px;line-height:1.5}.auth-success-btn{width:100%;min-height:50px;margin-top:20px}.auth-success-link{width:100%;color:var(--ink-500);cursor:pointer;background:0 0;border:0;justify-content:center;margin-top:10px;font-size:14px;display:inline-flex}.auth-success-link:hover{color:var(--ink-700)}.auth-success-timer{color:var(--ink-500);margin:10px 0 0;font-size:13px}@media (max-width:480px){.auth-success-modal{border-radius:20px;padding:24px 18px 18px}.auth-success-title{font-size:20px}}.dashboard-shell{color:#0f172a;background:#f8fafc;min-height:100vh}.sidebar{z-index:15;background:#fff;border-right:1px solid #e2e8f0;flex-direction:column;gap:24px;width:260px;height:100vh;padding:24px 18px;display:flex;position:fixed;top:0;left:0}.sidebar__header{justify-content:space-between;align-items:center;gap:12px;display:flex}.sidebar__brand{font-size:18px;font-weight:700}.sidebar__close{cursor:pointer;background:#f1f5f9;border:none;border-radius:8px;width:32px;height:32px;display:none}.sidebar__nav{flex-direction:column;gap:10px;display:flex}.sidebar__link{color:#0f172a;background:0 0;border-radius:12px;align-items:center;gap:12px;padding:10px 14px;font-weight:500;transition:background .2s,color .2s;display:inline-flex}.sidebar__link:hover{background:#f3f4f6;text-decoration:none}.sidebar__link--active,.sidebar__link--active:hover{color:#fff;background:#2563eb}.sidebar__logout{color:#ef4444;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:12px;align-items:center;gap:10px;margin-top:auto;padding:10px 14px;font-size:16px;font-weight:600;display:inline-flex}.sidebar__icon{color:currentColor;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.sidebar__icon svg{stroke:currentColor;fill:none;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.dashboard-main{flex-direction:column;min-width:0;min-height:100vh;margin-left:260px;display:flex}.topbar{background:#fff;border-bottom:1px solid #e2e8f0;align-items:center;gap:12px;height:64px;padding:0 24px;display:flex}.topbar__toggle{cursor:pointer;background:#f1f5f9;border:none;border-radius:10px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:none}.topbar__toggle svg{stroke:#0f172a;fill:none;stroke-width:2.2px;stroke-linecap:round;width:22px;height:22px}.topbar__title{font-weight:600}.language-switcher{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:4px;padding:3px;display:inline-flex}.language-switcher__button{color:#334155;cursor:pointer;background:0 0;border:none;border-radius:999px;padding:6px 8px;font-size:12px;font-weight:600;line-height:1}.language-switcher__button--active{color:#0f172a;background:#fff;box-shadow:0 0 0 1px #cbd5e1}.topbar__language{margin-left:auto}.floating-qr-fab{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));color:#0f172a;z-index:35;background:#fff;border-radius:999px;justify-content:center;align-items:center;width:58px;height:58px;display:none;position:fixed;box-shadow:0 12px 24px #0f172a40}.floating-qr-fab svg{width:40px;height:40px;margin:12px 0 0 12px;display:block}.floating-qr-fab:hover{text-decoration:none}.dashboard-content{min-width:0;padding:28px 32px 40px}.page h1{margin:0 0 8px;font-size:28px}.page p{color:#475569;margin:0}.scan-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;gap:18px;width:100%;max-width:none;margin:0;padding:20px;display:grid}.scan-area{cursor:pointer;color:#111827;text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;width:100%;min-height:120px;padding:22px;font-weight:600;display:inline-flex}.scan-preview{place-items:center;width:100%;max-height:320px;display:grid}.scan-preview video{object-fit:cover;background:#0f172a;border-radius:14px;width:100%;max-height:320px}.scan-canvas{display:none}.scan-stop{justify-self:center}.scan-result{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;padding:10px 12px;display:flex}.scan-result__label{color:#64748b;font-size:13px}.scan-result strong{overflow-wrap:anywhere;min-width:0}.scan-area__icon{justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.scan-area__icon svg{stroke:currentColor;fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.scan-divider{text-align:center;color:#94a3b8;font-size:12px;position:relative}.scan-divider:before,.scan-divider:after{content:"";background:#e2e8f0;width:45%;height:1px;position:absolute;top:50%}.scan-divider:before{left:0}.scan-divider:after{right:0}.scan-input{grid-template-columns:1fr auto;gap:12px;display:grid}.scan-search-field{min-width:0}.scan-search-results{z-index:25;background:#fff;border:1px solid #e2e8f0;border-radius:12px;max-height:280px;padding:6px;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow:auto;box-shadow:0 16px 32px #0f172a1f}.scan-search-result{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;gap:2px;width:100%;padding:10px 12px;display:grid}.scan-search-result:hover{background:#f8fafc}.scan-search-result strong{color:#0f172a;font-size:14px}.scan-search-result small{color:#64748b;font-size:12px}.scan-search-result span{color:#94a3b8;font-size:11px}.scan-search-results__empty{color:#64748b;padding:10px 12px;font-size:13px}.scan-customer-card{background:#fbfdff;border:1px solid #dbe4f0;border-radius:16px;padding:10px}.scan-customer-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.scan-customer-header h2{margin:0}.scan-customer-badge{color:#1e3a8a;background:#dbeafe;border-radius:999px;align-items:center;padding:5px 10px;font-size:12px;font-weight:600;display:inline-flex}.scan-customer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.scan-customer-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px}.scan-customer-item small{color:#64748b;font-size:12px;display:block}.scan-customer-item strong{color:#0f172a;word-break:break-word;margin-top:4px;display:block}.scan-progress{background:#fff;border:1px solid #dbe4f0;border-radius:12px;gap:8px;margin-top:12px;padding:12px;display:grid}.scan-progress__meta{justify-content:space-between;align-items:center;gap:12px;display:flex}.scan-progress__meta small{color:#64748b}.scan-progress__bar{background:#e2e8f0;border-radius:999px;height:10px;overflow:hidden}.scan-progress__bar span{background:linear-gradient(90deg,#0ea5e9,#2563eb);height:100%;display:block}.scan-progress__footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.scan-progress__reward{color:#1e3a8a;flex:1;font-weight:600}.scan-redeem-panel{background:#eff6ff;border:1px solid #dbeafe;border-radius:12px;align-items:center;gap:10px;padding:8px 10px;display:flex}.scan-redeem-panel strong{color:#1e3a8a;white-space:nowrap;font-size:13px}.scan-stamp-panel__top{gap:2px;min-width:220px;display:grid}.scan-stamp-panel__top small{color:#64748b;white-space:nowrap}.scan-stamp-actions{align-items:center;gap:10px;display:flex}.scan-stamp-panel>.btn{white-space:nowrap;height:44px}.scan-stamp-stepper{align-items:center;gap:6px;display:flex}.scan-stamp-input{text-align:center;width:84px;min-width:84px;height:44px}.scan-stepper-btn{justify-content:center;align-items:center;width:40px;height:44px;padding:0;font-size:20px;line-height:1;display:inline-flex}.scan-empty-transactions{color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:14px}.scan-transactions-list{gap:10px;display:grid}.scan-transaction-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px 12px;display:grid}.scan-transaction-item small{color:#64748b;font-size:12px;display:block}.scan-transaction-item strong{color:#0f172a;word-break:break-word;margin-top:3px;display:block}.credentials-grid{gap:18px;width:100%;max-width:none;display:grid}.profile-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;width:100%;max-width:none;padding:22px}.profile-card__header{align-items:center;gap:12px;margin-bottom:18px;display:flex}.profile-card__icon{border:1px solid #e2e8f0;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.profile-card__icon svg{stroke:#111827;fill:none;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px 16px;display:grid}.profile-grid__full{grid-column:1/-1}.profile-tip{color:#1e3a8a;background:#eef2ff;border:1px solid #c7d2fe;border-radius:12px;width:100%;max-width:none;margin-top:22px;padding:14px 16px}.credentials-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;gap:16px;padding:20px;display:grid}.credentials-card__title{align-items:flex-start;gap:12px;display:flex}.credentials-card__title strong{margin-bottom:4px;font-size:16px;display:block}.credentials-card__title p{color:#64748b;font-size:13px}.credentials-card__icon{border:1px solid #e2e8f0;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.credentials-card__icon svg{stroke:#111827;fill:none;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.input-with-action{grid-template-columns:1fr auto;align-items:center;gap:10px;display:grid}.ghost-button--wide{justify-content:center;width:100%}.credentials-actions{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.alert-warning{color:#92400e;background:#fef9c3;border:1px solid #fde047;border-radius:12px;padding:12px 14px;font-size:13px}.poster-config-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.poster-status-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.poster-readonly-field{color:#0f172a;align-items:center;min-height:44px;display:flex}.poster-status-pill{color:#1e293b;text-transform:lowercase;background:#e2e8f0;border-radius:999px;align-items:center;padding:6px 10px;font-size:12px;font-weight:600;display:inline-flex}.filters{background:#fff;border:1px solid #e2e8f0;border-radius:16px;grid-template-columns:1.6fr .7fr;gap:14px;margin:18px 0;padding:14px;display:grid}.panel-card .filters{background:#fff;border:1px solid #e2e8f0;border-radius:16px;grid-template-columns:1.6fr .7fr .7fr;gap:14px;margin:10px;padding:2px;display:grid}.analytics-filters{gap:12px;margin:18px 0 8px;display:grid}.analytics-filters__top{grid-template-columns:160px 200px 100px minmax(220px,1fr);align-items:center;gap:10px;display:grid}.analytics-filters__period,.analytics-filters__select,.analytics-filters__search{min-height:44px}.analytics-filters .select-input,.analytics-filters .analytics-filters__search{background-color:#fff}.analytics-filters .select-input{background-image:url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%2364758b\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"6 9 12 15 18 9\"/></svg>");border:1px solid #d6deea}.analytics-filters .analytics-filters__search{background-image:url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%2364758b\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"11\" cy=\"11\" r=\"8\"/><line x1=\"21\" y1=\"21\" x2=\"16.65\" y2=\"16.65\"/></svg>");background-position:14px;background-repeat:no-repeat;background-size:16px;border:1px solid #d6deea;padding-left:42px}.analytics-filters__add{justify-content:center;min-height:44px;padding-inline:14px}.analytics-filters__chips{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.filter-chip{color:#1f2a44;background:#f8fbff;border:1px solid #dbe4f0;border-radius:999px;align-items:center;gap:8px;padding:6px 10px;font-size:12px;font-weight:600;line-height:1.2;display:inline-flex}.filter-chip button{cursor:pointer;color:#334155;background:#e2e8f0;border:none;border-radius:999px;justify-content:center;align-items:center;width:18px;height:18px;padding:0;font-size:11px;font-weight:700;line-height:1;display:inline-flex}.analytics-filters__clear-all{border-radius:999px;min-height:32px;padding:6px 10px}.filters-panel__backdrop{background:#0f172a73;place-items:stretch end;padding:0}.filters-panel{background:#fff;border-left:1px solid #dbe4f0;flex-direction:column;width:min(100%,420px);height:100vh;display:flex;overflow:hidden;box-shadow:-14px 0 36px #0f172a33}.filters-panel__header{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;gap:10px;padding:18px 18px 14px;display:flex}.filters-panel__header strong{font-size:18px}.filters-panel__body{flex:1;gap:12px;padding:14px 18px;display:grid;overflow:hidden auto}.filters-range-block{background:#fbfdff;border:1px solid #e2e8f0;border-radius:14px;gap:8px;padding:12px;display:grid}.filters-range-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.filters-range-fields--single{grid-template-columns:minmax(0,1fr)}.filters-range-fields .form-input{width:100%;min-width:0}.filters-field-error{color:#b91c1c;font-size:12px;font-weight:500}.filters-panel__footer{border-top:1px solid #eef2f7;flex-wrap:wrap;gap:8px;padding:12px 18px;display:flex}.filters-panel__footer .btn,.filters-panel__footer .ghost-button{border-radius:10px;min-height:42px}.filters--notifications{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));align-items:end}.filters--notifications .search-field:only-child{grid-column:1/-1}.filters--notifications .search-field{position:relative}.filters--notifications .search-field .search-icon{color:#94a3b8;pointer-events:none;left:16px}.filters--notifications .search-field .search-input{padding-left:44px}.filters-actions{grid-column:1/-1;justify-content:flex-end;gap:12px;display:flex}.search-field{align-items:center;display:flex;position:relative}.search-icon{color:#94a3b8;justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex;position:absolute;left:14px}.search-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.search-input{background:#f4f4f5;border:none;border-radius:12px;width:100%;padding:12px 14px 12px 40px;font-family:inherit;font-size:14px}.select-input{appearance:none;background:#f4f4f5 url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%2394a3b8\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"6 9 12 15 18 9\"/></svg>") right 14px center/14px no-repeat;border:none;border-radius:12px;padding:12px 14px;font-family:inherit;font-size:14px}.notifications-period-filter{background:0 0;border:0;align-items:center;margin:0;padding:0;display:inline-flex}.notifications-period-filter__select{color:#0f172a;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%238396ad\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"6 9 12 15 18 9\"/></svg>");background-position:right 12px center;background-repeat:no-repeat;background-size:14px;border:1px solid #d9e2ef;border-radius:12px;min-width:118px;min-height:42px;padding:8px 34px 8px 12px;font-size:15px;font-weight:500;line-height:1.2;transition:border-color .16s,box-shadow .16s,background-color .16s;box-shadow:0 1px 2px #0f172a0a}.notifications-period-filter__select:hover{background-color:#fbfdff;border-color:#c5d2e4}.notifications-period-filter__select:focus,.notifications-period-filter__select:focus-visible{background-color:#fff;border-color:#98b3d9;outline:none;box-shadow:0 0 0 3px #3b82f624}.notifications-period-filter__select option{color:#0f172a;background:#fff}.table-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:8px 0;box-shadow:0 10px 22px #0f172a0a}.table{gap:0;display:grid}.table-row{border-top:1px solid #eef2f7;grid-template-columns:1.2fr .7fr .5fr 1fr .7fr;align-items:center;gap:12px;padding:12px 18px;font-size:14px;display:grid}.table-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.table--notifications .table-row{grid-template-columns:220px 220px 160px 140px 180px 180px}.table--clients .table-row{grid-template-columns:56px 1.1fr .8fr 1fr .3fr .5fr}.table-row--head{color:#475569;border-top:none;font-size:13px;font-weight:600}.table-row--action{text-align:left;cursor:pointer;width:100%;color:inherit;background:0 0;border:none;font-family:inherit}.table-row--action:hover{background:#f8fafc}.status-chip{border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600;display:inline-flex}.status-chip--sent{color:#fff;background:#0ea5e9}.status-chip--delivered{color:#fff;background:#22c55e}.status-chip--failed{color:#fff;background:#ef4444}.status-chip--queued,.status-chip--pending{color:#475569;background:#e2e8f0}.status-chip--scheduled{color:#1d4ed8;background:#e5efff}.status-chip--active{color:#fff;background:#57ae4f}.status-chip--cancelled{color:#475569;background:#f1f5f9}.status-chip--partial{color:#b45309;background:#fff4e6}.status-chip--inactive{color:#475569;background:#e2e8f0}.status-chip--������������{color:#fff;background:#f97316}.status-chip--�������{color:#fff;background:#64748b}.status-chip--��������,.status-chip--��������������{color:#475569;background:#e2e8f0}.flag-chip{border-radius:10px;padding:4px 10px;font-size:12px;font-weight:600}.flag-chip--yes{color:#fff;background:#2563eb}.flag-chip--no{color:#475569;background:#e2e8f0}.table-footer{color:#475569;margin-top:16px;font-size:13px}.notifications-page .panel-card{box-shadow:none;background:#fff;border:1px solid #d2d6dc;border-radius:18px;padding:30px}.clients-notify-card{background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #cfd8e3;border-radius:18px;margin-bottom:24px;padding:16px;box-shadow:0 10px 26px #0f172a0d}.clients-notify-card .panel-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.clients-notify-card .panel-header strong{font-size:22px;font-weight:600;line-height:1.3}.clients-notify-count{color:#1d4ed8;background:#dbeafe;border:1px solid #bfdbfe;border-radius:999px;align-items:center;padding:8px 12px;font-size:13px;font-weight:700;display:inline-flex}.clients-notify-hint{color:#475569;margin:8px 0 0;font-size:14px;line-height:1.4}.clients-notify-toolbar{border-top:1px solid #e6edf5;align-items:center;gap:12px;margin-top:16px;padding-top:12px;display:flex}.clients-notify-toolbar .btn,.clients-notify-toolbar .ghost-button{border-radius:12px;min-height:44px;padding:0 16px;font-weight:700}.clients-notify-toolbar__send{align-items:center;gap:8px;display:inline-flex}.clients-notify-toolbar__send svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.clients-notify-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.clients-notify-field{grid-column:1/-1}.clients-notify-modal{width:min(100%,760px)}.clients-notify-mode{background:#eceff4;border:1px solid #d0d5dc;border-radius:12px;width:fit-content;padding:3px;display:inline-flex}.clients-notify-mode__button{color:#374151;cursor:pointer;background:0 0;border:none;border-radius:10px;padding:9px 14px;font-size:14px;font-weight:600}.clients-notify-mode__button--active{color:#fff;background:#03051a}.clients-notify-textarea{resize:vertical;grid-column:1/-1;min-height:120px}.clients-notify-actions{gap:10px;margin-top:14px;display:flex}.clients-notify-summary{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;margin-top:16px;padding:11px 12px;font-size:13px;font-weight:600}.clients-check{justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.clients-check input{accent-color:#2563eb;width:16px;height:16px}.notifications-helper,.notifications-helper span{display:none}.notifications-tabs{background:#eceff3;border-radius:14px;gap:8px;margin-bottom:18px;padding:4px;display:inline-flex}.notifications-tab{color:#4b5563;cursor:pointer;background:0 0;border:none;border-radius:11px;padding:10px 16px;font-family:inherit;font-size:14px;font-weight:600}.notifications-tab--active{color:#fff;box-shadow:none;background:#03051a}.notifications-send-stack,.notifications-history-stack{gap:22px;display:grid}.notifications-card__title{color:#0f172a;margin:0 0 24px;font-size:18px;font-weight:700}.notifications-field-group{gap:10px;margin:0;padding:0}.notifications-mode-block{gap:8px;margin-bottom:14px;display:grid}.notifications-mode-switch{background:#eceff4;border:1px solid #d0d5dc;border-radius:12px;justify-self:start;gap:6px;width:fit-content;padding:3px;display:inline-flex;box-shadow:inset 0 1px #ffffffbf}.notifications-mode-option{color:#374151;cursor:pointer;background:0 0;border:none;border-radius:10px;padding:9px 16px;font-size:14px;font-weight:600;line-height:1.1;transition:background-color .16s,color .16s}.notifications-mode-option--active{color:#fff;background:#03051a}.notifications-pass-row{grid-template-columns:1fr auto auto;align-items:center;gap:10px;display:grid}.notifications-search-button{color:#fff;cursor:pointer;background:#03051a;border:1px solid #03051a;border-radius:12px;align-items:center;gap:9px;padding:10px 16px;font-size:16px;font-weight:700;display:inline-flex}.notifications-search-button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.notifications-clear-button{color:#111827;border-color:#d0d5dc;border-radius:12px;justify-content:center;min-width:138px;min-height:48px;font-size:16px;font-weight:500}.notifications-form-grid{grid-template-columns:1fr;display:grid}.notifications-form-grid__full{grid-column:1/-1}.notifications-textarea{resize:vertical;min-height:72px}.notifications-textarea--message{min-height:170px}.notifications-counter{color:#607086;font-size:13px;line-height:1}.notifications-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.notifications-actions--bottom{margin-top:8px}.notifications-send-button{color:#fff;cursor:pointer;background:#03051a;border:1px solid #03051a;border-radius:13px;justify-content:center;align-items:center;gap:10px;min-width:165px;min-height:48px;padding:10px 18px;font-size:16px;font-weight:700;display:inline-flex}.notifications-send-button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.notifications-send-button:disabled{opacity:.65;cursor:not-allowed}.notifications-result{color:#1f2937;background:#f8f8f8;border:1px solid #d2d6dc;border-radius:12px;gap:6px;margin-top:12px;padding:12px;font-size:13px;display:grid}.notifications-error{color:#dc2626}.notifications-stats-layout{gap:12px;margin-top:6px;display:grid}.notifications-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.notifications-stat-card{background:#fff;border:1px solid #dfe7f3;border-radius:14px;align-content:center;gap:6px;min-height:92px;padding:14px 16px;display:grid;box-shadow:0 8px 18px #0f172a0d}.notifications-stat-card small{color:#5e6d83;letter-spacing:.02em;font-size:12px;font-weight:600}.notifications-stat-card strong{color:#0f172a;font-size:clamp(24px,2.2vw,30px);line-height:1}.notifications-stat-card--accent{background:linear-gradient(#f4f8ff 0%,#fff 100%);border-color:#cfdcf2}.notifications-platform-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.notifications-platform-card{background:#fff;border:1px solid #dfe7f3;border-radius:14px;gap:10px;padding:12px 14px;display:grid}.notifications-platform-card strong{color:#1e293b;font-size:15px}.notifications-platform-row{flex-wrap:wrap;gap:8px;display:flex}.notifications-platform-chip{border:1px solid #0000;border-radius:999px;align-items:center;min-height:30px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-flex}.notifications-platform-chip--ok{color:#0f766e;background:#ecfdf5;border-color:#a7f3d0}.notifications-platform-chip--bad{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.notifications-chart{background:#fff;border:1px solid #e2e8f0;border-radius:12px;gap:8px;padding:12px;display:grid}.notifications-chart-row{grid-template-columns:120px minmax(0,1fr);align-items:center;gap:12px;font-size:13px;display:grid}.notifications-chart-row span{color:#475569}.notifications-chart-row div{align-items:center;gap:8px;display:flex}.notifications-chart-row i{background:linear-gradient(90deg,#1d4ed8 0%,#0ea5e9 100%);border-radius:99px;height:8px;display:inline-flex}.notifications-chart-row small{color:#475569;font-size:12px}.notifications-history-table{background:#fff;border:1px solid #e4eaf3;border-radius:16px;overflow:hidden;box-shadow:0 8px 20px #0f172a0d}.notifications-history-row{border-top:1px solid #edf2f8;grid-template-columns:180px 1.5fr 100px 50px 110px 250px;align-items:center;gap:12px;min-height:62px;padding:14px 16px;font-size:13px;transition:background-color .16s,box-shadow .16s;display:grid}.notifications-history-row:nth-child(odd):not(.notifications-history-row--head){background:#fcfdff}.notifications-history-row:hover{background:#f3f7ff}.notifications-history-row:first-child{border-top:none}.notifications-history-row span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.notifications-history-row--head{color:#4b5a70;letter-spacing:.02em;background:#f6f9ff;font-size:12px;font-weight:700}.notifications-row-actions{flex-wrap:wrap;gap:8px;display:flex}.notifications-row-actions .ghost-button{color:#0f172a;background:#fff;border-color:#d8e1ee;border-radius:12px;min-height:38px;padding:8px 14px;font-weight:600}.notifications-row-actions .ghost-button:hover{background:#f8fbff;border-color:#bfd0e7}.notifications-pagination{gap:10px;margin-top:14px}.notifications-pagination__page{color:#334155;background:#f8fbff;border:1px solid #d8e1ee;border-radius:12px;align-items:center;min-height:38px;padding:8px 14px;font-weight:700;display:inline-flex}.notifications-pagination .ghost-button{border-color:#d8e1ee;border-radius:12px;min-height:38px;padding:8px 14px}.notifications-pagination .ghost-button:hover:not(:disabled){background:#f8fbff;border-color:#bfd0e7}.notifications-pagination .ghost-button:disabled{color:#9aa6b8;cursor:not-allowed;background:#f8fafc;border-color:#e2e8f0}.notifications-details-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:4px;display:grid}.notifications-details-grid--single{grid-template-columns:1fr}.notifications-modal__backdrop{z-index:80;background:#0f172a85;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.notifications-modal__backdrop.filters-panel__backdrop{background:#0f172a73;place-items:stretch end;padding:0}.notifications-modal{background:#fff;border:1px solid #d7deea;border-radius:20px;width:min(100%,600px);max-height:calc(100vh - 40px);padding:18px 22px 22px;overflow:auto;box-shadow:0 18px 34px #0f172a33}.notifications-modal__header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.notifications-modal__actions{align-items:center;gap:8px;display:inline-flex}.notifications-modal__close-btn,.notifications-modal__edit-btn{border-radius:12px;min-height:38px;padding-inline:14px}.notifications-modal__edit-btn{box-shadow:0 8px 14px #0f172a29}.notifications-details-card{background:#f9fbff;border:1px solid #e1e8f4;border-radius:16px;align-self:stretch;padding:16px 18px 18px}.notifications-details-grid h4{margin:0 0 10px;font-size:18px;font-weight:700}.notifications-details-card .notifications-textarea--message{min-height:110px}.notifications-kv{gap:10px;display:grid}.notifications-kv__row{grid-template-columns:124px minmax(0,1fr);align-items:start;gap:10px;display:grid}.notifications-kv__row--stack{grid-template-columns:1fr;gap:6px}.notifications-kv__key{color:#7a8799;font-size:13px;font-weight:600;line-height:1.35}.notifications-kv__value{color:#0f172a;word-break:break-word;min-width:0;font-size:15px;font-weight:600;line-height:1.4}.notifications-kv__value--mono{font-family:JetBrains Mono,Consolas,monospace;font-size:13px;font-weight:600}.notifications-kv__value--title{font-size:18px;font-weight:700}.notifications-kv__value--muted{color:#607086;font-weight:500}.notifications-kv__value-wrap{align-items:center;gap:8px;min-width:0;display:inline-flex}.notifications-copy-btn{color:#5b6678;cursor:pointer;background:#fff;border:1px solid #d7deea;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;display:inline-flex}.notifications-copy-btn svg{fill:none;stroke:currentColor;stroke-width:1.8px;width:14px;height:14px}.notifications-message-box{color:#0f172a;white-space:pre-wrap;background:#fff;border:1px solid #dde6f2;border-radius:12px;min-height:72px;padding:12px 14px;font-size:14px;line-height:1.5}.notifications-details-form{gap:10px;display:grid}.notifications-details-form__field{gap:8px;display:grid}.notifications-details-form__field--compact{gap:6px}.notifications-readonly-input{color:#111827;background:#f2f4f8;border:1px solid #e6ebf2;border-radius:12px;align-items:center;min-height:44px;padding:10px 12px;font-size:15px;line-height:1.4;display:flex}.notifications-readonly-input--title{font-size:15px}.notifications-readonly-input--textarea{white-space:pre-wrap;align-items:flex-start;height:auto;min-height:96px}.notifications-date-pill{background:#f5f8fc;border:1px solid #dbe3ef;border-radius:10px;align-items:center;gap:8px;width:fit-content;padding:8px 12px;display:inline-flex}.notifications-date-pill__label{color:#6b7687;font-size:12px;font-weight:600}.notifications-date-pill__value{color:#1f2937;font-size:13px;font-weight:700}.notifications-details-meta{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.notifications-ids-strip{grid-template-columns:1fr 1fr;gap:8px;margin-top:2px;display:grid}.notifications-ids-strip__item{background:#fff;border:1px solid #dde5f0;border-radius:10px;gap:4px;padding:8px 10px;display:grid}.notifications-ids-strip__item span{color:#7b8797;font-size:12px;font-weight:600}.notifications-ids-strip__item strong{color:#111827;font-family:JetBrains Mono,Consolas,monospace;font-size:12px;font-weight:700}.notifications-meta-badge{color:#24324a;background:#eef2f7;border:1px solid #d5deea;border-radius:999px;align-items:center;padding:6px 10px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.notifications-meta-badge--status-scheduled,.notifications-meta-badge--status-pending,.notifications-meta-badge--status-queued{color:#1d4ed8;background:#e4efff;border-color:#bfd5ff}.notifications-meta-badge--target-selective{color:#334155;background:#eef2f7;border-color:#d5deea}.notifications-meta-badge--platform-both{color:#334155;background:#f4f7fb;border-color:#d7deea}.notifications-details-results{margin-top:14px}.notifications-details-results h4{margin:0 0 8px;font-size:14px}.notifications-results-table{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.notifications-results-row{border-top:1px solid #eef2f7;grid-template-columns:1fr 140px 1fr;gap:10px;padding:10px 12px;font-size:13px;display:grid}.notifications-results-row:first-child{border-top:none}.notifications-results-row--head{color:#475569;background:#f8fafc;font-size:12px;font-weight:700}.notifications-edit-form{gap:10px;display:grid}.notifications-edit-actions{margin-top:14px}.loyalty-table .table-row{grid-template-columns:2fr .8fr .8fr .6fr .5fr .7fr}@media (max-width:1100px){.notifications-helper{display:none}.notifications-page .panel-card{padding:22px}.notifications-form-grid,.notifications-details-grid{grid-template-columns:1fr}.notifications-stats-grid{grid-template-columns:1fr 1fr}.notifications-platform-grid,.notifications-pass-row{grid-template-columns:1fr}.notifications-mode-switch{width:100%}.notifications-mode-option{flex:1}.notifications-history-row{grid-template-columns:1fr;gap:6px}.notifications-history-row--head{display:none}.notifications-results-row{grid-template-columns:1fr;gap:6px}.notifications-modal__backdrop{padding:10px}.notifications-modal__backdrop.filters-panel__backdrop{place-items:stretch end;padding:0}.notifications-modal{width:100%;max-height:calc(100vh - 20px);padding:16px}.notifications-actions--bottom{flex-direction:column;align-items:stretch}.notifications-send-button,.notifications-clear-button{width:100%}}@media (max-width:720px){.notifications-stats-grid{grid-template-columns:1fr}.notifications-stat-card{min-height:78px;padding:12px 14px}.notifications-stat-card strong{font-size:24px}.notifications-period-filter__select{min-width:108px;min-height:40px;font-size:14px}}.loyalty-table .table-row span strong{display:block}.loyalty-table__name-link{color:inherit;text-decoration:none}.loyalty-table__name-link:hover strong{text-decoration:underline}.loyalty-table .table-row span small{color:#64748b;margin-top:4px;font-size:12px;display:block}.loyalty-meta-row{display:contents}.type-pill{color:#fff;background:#111827;border-radius:999px;align-items:center;padding:6px 12px;font-size:12px;font-weight:600;line-height:1.2;display:inline-flex}.toggle{cursor:pointer;background:#e2e8f0;border:none;border-radius:999px;align-items:center;width:44px;height:24px;padding:3px;transition:background .2s;display:inline-flex}.toggle__dot{background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .2s;transform:translate(0);box-shadow:0 2px 6px #0f172a26}.toggle--on{background:#111827}.toggle--on .toggle__dot{transform:translate(20px)}.actions{align-items:center;gap:12px;display:inline-flex}.icon-action{color:#111827;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:28px;height:28px;text-decoration:none;display:inline-flex}.icon-action svg{stroke:currentColor;fill:none;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.icon-action--danger{color:#ef4444}.tabs{background:#efeff3;border-radius:999px;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:24px;padding:6px;display:grid}.tab{cursor:pointer;background:0 0;border:none;border-radius:999px;padding:10px 14px;font-weight:600}.tab--active{background:#fff;box-shadow:0 8px 20px #0f172a14}.form-stack h3{margin:0 0 16px}.form-hint{color:#64748b;font-size:12px}.image-upload-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.image-upload-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;gap:10px;padding:12px;display:grid}.image-upload-card__head{justify-content:space-between;align-items:center;gap:8px;display:flex}.image-upload-card__head .form-label{margin:0}.image-upload-card__usage{margin:4px 0 0;font-size:11px}.image-upload-card__button{justify-content:center;width:100%;position:relative;overflow:hidden}.image-upload-card__button input{opacity:0;cursor:pointer;position:absolute;inset:0}.image-upload-card__preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;height:160px;overflow:hidden}.image-upload-card__preview img{object-fit:contain;object-position:center;width:100%;height:100%}.divider{background:#e2e8f0;height:1px;margin:16px 0}.panel-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.stats-grid{grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}.stats-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:6px;padding:14px 16px;display:flex}.details-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;display:grid}.details-row{grid-column:1/-1}.details-actions{align-items:center;gap:12px;margin-top:16px;display:flex}.code-block{color:#e2e8f0;background:#0f172a;border-radius:12px;max-height:240px;margin:8px 0 0;padding:12px;font-size:12px;overflow:auto}.empty-state{color:#64748b;margin-left:18px}.rewards-list{gap:16px;display:grid}.reward-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px}.reward-card__head{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.switch-row{justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.toast-stack{z-index:120;flex-direction:column;gap:12px;display:flex;position:fixed;bottom:24px;right:24px}.toast{background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:10px;min-width:280px;max-width:420px;padding:12px 16px;animation:.16s ease-out toast-in;display:inline-flex;box-shadow:0 10px 24px #0f172a1f}.toast--success .toast__icon{background:#16a34a}.toast--error .toast__icon{background:#dc2626}.toast--warning .toast__icon{background:#f59e0b}.toast--info .toast__icon{background:#111827}.toast__icon{color:#fff;border-radius:999px;justify-content:center;align-items:center;width:18px;height:18px;font-size:12px;display:inline-flex}@keyframes toast-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.page-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.page-header__left{gap:16px;display:flex}.page-header__actions{align-items:center;gap:12px;display:inline-flex}.back-link{color:#0f172a;background:#f1f5f9;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;font-weight:600;display:inline-flex}.btn--with-icon{align-items:center;gap:8px;display:inline-flex}.btn__icon{background:#ffffff2e;border-radius:6px;justify-content:center;align-items:center;width:22px;height:22px;font-weight:700;display:inline-flex}.template-grid{grid-template-columns:repeat(auto-fit,minmax(320px,380px));justify-content:space-between;display:grid}.template-card{color:inherit;background:#fff;border:1px solid #e2e8f0;border-radius:18px;flex-direction:column;gap:16px;padding:18px;text-decoration:none;transition:transform .2s,box-shadow .2s;display:flex}.template-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px #0f172a1f}.template-card__head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.template-card__head h3{margin:0 0 6px;font-size:16px}.template-card__head span{color:#64748b;font-size:13px}.status-pill{color:#fff;background:#111827;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:600}.template-card__preview{color:#f8fafc;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:150px;display:flex;box-shadow:inset 0 0 0 1px #ffffff0f}.template-card__label{font-size:13px}.template-card__value{font-size:20px;font-weight:600}.template-card__actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.template-card__actions .ghost-button{padding:6px 12px;font-size:12px}.editor-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:24px;display:grid}.editor-panel,.preview-panel{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:20px}.editor-panel--fieldset{min-inline-size:0;margin:0;padding:20px}.preview-panel{align-self:start;position:sticky;top:20px}.form-group{flex-direction:column;gap:10px;margin-bottom:16px;display:flex}.form-label{font-size:13px;font-weight:600}.form-row{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:center;gap:12px;display:grid}.form-row--between{grid-template-columns:1fr auto;align-items:center}.form-input{background:#f4f4f5;border:none;border-radius:12px;padding:12px 14px;font-family:inherit;font-size:14px}.form-textarea{resize:vertical;min-height:90px}.color-input{grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px;display:grid}.color-swatch{border:1px solid #e2e8f0;border-radius:10px;width:34px;height:34px}.color-swatch--input{appearance:none;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:12px;flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0;overflow:hidden;box-shadow:inset 0 0 0 1px #0f172a0a}.color-swatch--input::-webkit-color-swatch-wrapper{padding:0}.color-swatch--input::-webkit-color-swatch{border:none;border-radius:11px}.color-swatch--input::-moz-color-swatch{border:none;border-radius:11px}.color-input .form-input{letter-spacing:.01em;height:44px;min-height:44px;padding:10px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.ghost-button{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:6px;padding:8px 12px;font-weight:600;display:inline-flex}.ghost-button--danger{color:#b91c1c;background:#fef2f2;border-color:#dc262640;border-radius:12px;padding:12px 16px;font-size:15px;font-weight:600}.icon-button{color:#dc2626;cursor:pointer;background:#fef2f2;border:none;border-radius:10px;width:34px;height:34px;font-size:18px}.preview-card{background:#f8fafc;border-radius:18px;padding:16px}.preview-pass{--pass-preview-height:560px;color:#f8fafc;min-height:var(--pass-preview-height);background:#2e150f;border-radius:24px;padding:16px;overflow:hidden}.preview-pass--google{width:min(100%,360px);height:var(--pass-preview-height);flex-direction:column;margin:0 auto;display:flex}.preview-platform-tabs{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;display:grid}.preview-platform-tab{color:#111827;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:8px 10px;font-size:13px;font-weight:600}.preview-platform-tab--active{color:#fff;background:#111827;border-color:#111827}.preview-pass__top{letter-spacing:.01em;opacity:.98;align-items:center;gap:10px;font-size:13px;font-weight:700;display:flex}.preview-pass__brand-dot{background:radial-gradient(circle at 35% 35%,#f6ddb6 0%,#c49755 45%,#7b4a2e 100%);border-radius:999px;flex:none;width:18px;height:18px;box-shadow:0 0 0 1px #ffffff59}.preview-pass__google-logo{object-fit:cover;background:#fff;border-radius:999px;flex:none;width:22px;height:22px;box-shadow:0 0 0 1px #ffffff3d}.preview-pass__google-title{letter-spacing:-.01em;margin:14px 0 12px;font-size:20px;font-weight:500;line-height:1.12}.preview-pass__google-grid{border-top:1px solid #ffffff29;border-bottom:1px solid #ffffff29;grid-template-columns:1fr 1fr;gap:12px 22px;padding:14px 0;display:grid}.preview-pass__google-grid>div{padding:2px 0}.preview-pass__google-grid>div:nth-child(2n){text-align:right;justify-self:end}.preview-pass__google-grid small{text-transform:uppercase;color:var(--pass-label-color,#ffffffb8);opacity:.92;letter-spacing:.03em;font-size:11px;display:block}.preview-pass__google-grid strong{margin-top:4px;font-size:16px;font-weight:600;line-height:1.3;display:block}.preview-pass__divider{background:#fff3;height:1px;margin:10px 0}.preview-pass__qr{color:#111827;background:#ffffffe6;border-radius:16px;place-items:center;width:96px;height:96px;margin:0 auto;font-weight:700;display:grid}.preview-pass__google-qr-wrap{justify-items:center;gap:12px;margin:16px 0 18px;display:grid}.preview-pass__google-qr{color:#111827;background:#fff;border-radius:18px;place-items:center;width:148px;height:148px;display:grid;box-shadow:0 10px 24px #00000042}.preview-pass__google-qr-text{letter-spacing:.02em;opacity:.9;font-size:13px;font-weight:500}.preview-pass__google-banner{background-position:50%;background-repeat:no-repeat;background-size:cover;border-top:1px solid #ffffff14;border-bottom-right-radius:24px;border-bottom-left-radius:24px;height:130px;margin:auto -16px -16px}.preview-pass--google .preview-pass__top span:last-child{text-transform:uppercase}.preview-pass--apple{width:min(100%,360px);height:var(--pass-preview-height);gap:0;margin:0 auto;padding:10px;display:grid}.preview-pass__apple-header{text-transform:uppercase;justify-content:space-between;align-items:center;gap:10px;padding:6px 2px 10px;font-size:11px;display:flex}.preview-pass__apple-brand{align-items:center;gap:8px;min-width:0;display:inline-flex}.preview-pass__apple-brand span{white-space:nowrap;text-overflow:ellipsis;font-weight:700;overflow:hidden}.preview-pass__apple-logo{object-fit:contain;object-position:center;width:22px;height:22px;box-shadow:none;background:0 0;border-radius:0;flex:none;display:block}.preview-pass__apple-stamps{text-align:right;flex:none}.preview-pass__apple-stamps small{color:var(--pass-label-color,#ffffffb8);opacity:1;font-size:10px;display:block}.preview-pass__apple-stamps strong{margin-top:1px;font-size:26px;font-weight:500;line-height:1;display:block}.preview-pass__apple-banner{background:0 0;min-height:130px;margin:0 -10px;position:relative}.preview-pass__apple-thumb{object-fit:cover;border:1px solid #ffffff73;border-radius:10px;width:44px;height:44px;position:absolute;top:10px;right:10px;box-shadow:0 8px 16px #0f172a59}.preview-pass__apple-metrics{background:#0a080c33;border-top:1px solid #ffffff1a;border-bottom:1px solid #ffffff1a;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;margin:0 -10px;padding:10px 12px;display:grid}.preview-pass__apple-metrics small{color:var(--pass-label-color,#ffffffb8);opacity:1;text-transform:uppercase;white-space:nowrap;font-size:10px;display:block}.preview-pass__apple-metrics strong{white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:16px;font-weight:500;display:block;overflow:hidden}.preview-pass__apple-footer{align-content:center;justify-items:center;gap:10px;min-height:290px;padding:18px 0 22px;display:grid;position:relative}.preview-pass__apple-qr-text{opacity:.9;z-index:1;font-size:12px;line-height:1.15}.preview-pass__apple-bottom-band{background-position:50%;background-size:cover;border-bottom-right-radius:24px;border-bottom-left-radius:24px;height:76px;position:absolute;bottom:-10px;left:-10px;right:-10px}.field-section{margin-top:16px}.field-card,.location-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;gap:12px;margin-top:12px;padding:14px;display:grid}.field-meta{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.field-card__remove,.location-card__remove{border-radius:10px;justify-self:start;padding:8px 12px;font-size:13px}.preview-back{background:#fff;border-radius:16px;margin-top:16px;padding:14px;box-shadow:0 14px 28px #0f172a1f}.preview-back h4{margin:0 0 8px;font-size:13px}.preview-back p{color:#475569;margin:0;font-size:13px}.sidebar-backdrop{z-index:10;background:#0f172a66;position:fixed;inset:0}.confirm-dialog__backdrop{z-index:60;background:#0f172a73;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-dialog{background:linear-gradient(#fff 0%,#fbfdff 100%);border:1px solid #dbe4f0;border-radius:16px;width:min(100%,500px);padding:18px;box-shadow:0 24px 48px #0f172a47}.confirm-dialog h3{letter-spacing:normal;margin:0 0 8px;font-size:18px;font-weight:700}.confirm-dialog p{color:#5b677b;margin:0;font-size:14px;line-height:1.4}.confirm-dialog__content{background:#f7faff;border:1px solid #dbe7fb;border-radius:12px;margin-top:12px;padding:12px}.confirm-dialog__actions{border-top:1px solid #e6edf7;justify-content:flex-end;gap:10px;margin-top:14px;padding-top:12px;display:flex}.scan-redeem-amount{gap:8px;display:grid}.scan-redeem-amount small{color:#1f3f77;font-size:14px;font-weight:600}.scan-redeem-amount .scan-stamp-stepper{gap:8px}.scan-redeem-amount .scan-stepper-btn,.scan-redeem-amount .scan-stamp-input{border-radius:10px;min-height:44px}.scan-redeem-amount .scan-stepper-btn{min-width:44px;font-size:18px;font-weight:700}.scan-redeem-amount .scan-stamp-input{text-align:center;min-width:96px;font-size:18px;font-weight:600}.confirm-dialog__actions .ghost-button{border-radius:10px;min-height:44px;padding:0 18px;font-size:16px;font-weight:600}.confirm-dialog__actions .ghost-button--danger{color:#c23b2d;border-color:#f3c0bf}.confirm-dialog__actions .ghost-button--danger:hover{background:#fff2f1}.customer-modal__backdrop{z-index:70;background:#0f172a80;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.customer-modal{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;width:min(100%,600px);max-height:calc(100vh - 40px);padding:12px;overflow:auto;box-shadow:0 24px 48px #0f172a47}.loyalty-qr-modal{width:min(100%,600px)}.credentials-modal{width:min(100%,760px)}.customer-modal__header{justify-content:space-between;align-items:center;gap:12px;padding:2px 4px 10px;display:flex}.customer-modal__header h2{margin:0;font-size:26px}@media (max-width:960px){.dashboard-shell{min-height:100vh}.sidebar{z-index:20;width:260px;transition:transform .2s;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.sidebar--open{transform:translate(0)}.sidebar__close,.topbar__toggle{justify-content:center;align-items:center;display:inline-flex}.topbar{display:flex}.topbar__language{display:inline-flex}.sidebar__language{display:none}.floating-qr-fab{display:inline-flex}.editor-grid{grid-template-columns:1fr}.preview-panel{position:static;top:auto}.dashboard-main{margin-left:0}.dashboard-content{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}.filters,.panel-card .filters{grid-template-columns:1fr}.analytics-filters__top{grid-template-columns:1fr 1fr}.analytics-filters__search{grid-column:1/-1}.filters-panel{width:min(100%,520px)}.table-card--compact{-webkit-overflow-scrolling:touch;overflow-x:auto}.table-card--compact .table{min-width:760px}.table-card--compact .table-row{grid-template-columns:1.2fr .7fr .5fr 1fr .7fr}.table--clients .table-row{grid-template-columns:56px 1fr 1fr 1fr 1fr 1fr}.table-row{grid-template-columns:1fr 1fr;row-gap:8px}.clients-notify-grid{grid-template-columns:1fr}.clients-notify-actions{flex-direction:column}.clients-notify-toolbar{flex-direction:column;align-items:stretch;gap:8px}.clients-notify-card .panel-header{flex-direction:column;align-items:flex-start}.tabs{grid-template-columns:1fr 1fr}.scan-input{grid-template-columns:1fr}.scan-customer-header,.scan-progress__meta{flex-direction:column;align-items:flex-start}.scan-progress__footer{flex-direction:column;align-items:flex-start;gap:8px}.scan-stamp-panel{flex-wrap:wrap;width:100%}.scan-redeem-panel{flex-wrap:wrap;justify-content:space-between;width:100%}.scan-stamp-panel__top{width:100%;min-width:0}.scan-stamp-panel__top small{white-space:normal;overflow-wrap:anywhere}.scan-stamp-actions{justify-content:space-between;width:100%}.scan-stamp-stepper{flex:1}.scan-stamp-input{flex:1;min-width:0}.scan-stamp-panel>.btn{white-space:normal;width:100%}.scan-customer-grid{grid-template-columns:1fr;gap:1px}.scan-transaction-item{grid-template-columns:1fr}.scan-card,.credentials-grid,.profile-card,.profile-tip{max-width:none}.profile-grid{grid-template-columns:1fr}.customer-modal__backdrop{padding:10px}.customer-modal{width:100%;max-height:calc(100vh - 20px);padding:10px}.customer-modal__header h2{font-size:22px}}@media (max-width:640px){.dashboard-content{padding:20px 20px calc(112px + env(safe-area-inset-bottom,0px))}.analytics-filters__top{grid-template-columns:1fr}.analytics-filters__period,.analytics-filters__add,.analytics-filters__search{width:100%}.filters-panel__backdrop,.notifications-modal__backdrop.filters-panel__backdrop{place-items:end stretch}.filters-panel{width:100%;height:100vh;box-shadow:none;border-left:none}.filters-panel__body{padding-bottom:calc(98px + env(safe-area-inset-bottom,0px))}.filters-range-fields{grid-template-columns:1fr}.filters-panel__footer{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px));background:#fff;flex-direction:column;position:sticky;bottom:0}.filters-panel__footer .btn,.filters-panel__footer .ghost-button{justify-content:center;width:100%}.scan-card{gap:14px;padding:14px}.scan-input>.btn{width:100%}.page-header{flex-direction:column;align-items:flex-start}.tabs{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:10px;padding:6px 10px;display:flex;overflow-x:auto}.tab{white-space:nowrap;flex:none}.loyalty-table .table-row--head{display:none}.loyalty-table .table{gap:12px;display:grid}.loyalty-table .table-row{background:#fff;border:1px solid #e2e8f0;border-radius:16px;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:10px;padding:14px}.loyalty-table .table-row span{justify-content:space-between;align-items:center;gap:12px;display:flex}.loyalty-table .table-row span:first-child{flex-direction:column;grid-column:1/-1;align-items:flex-start}.loyalty-table .table-row span:nth-child(2){justify-content:flex-start}.loyalty-table .table-row span:nth-child(3){justify-content:center}.loyalty-table .table-row span:nth-child(4){justify-content:flex-end}.loyalty-table .table-row span:nth-child(5){justify-content:center}.loyalty-table .table-row span:nth-child(6){grid-column:1/-1}.loyalty-meta-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.loyalty-table .actions{justify-content:space-between;gap:16px;width:100%;padding-top:4px}.template-grid{gap:10px}}@media (min-width:961px){.topbar,.topbar__language{display:none}}@media (max-width:640px){.preview-pass{--pass-preview-height:520px}.preview-pass--google{width:min(100%,330px)}.preview-pass__google-title{font-size:18px}.preview-pass__google-grid strong{font-size:15px}.preview-pass__google-qr{width:136px;height:136px}.preview-pass__google-qr-text{font-size:12px}.preview-pass__google-banner{height:92px}.preview-pass__apple-metrics{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:10px}.preview-pass__apple-stamps strong{font-size:22px}}.pass-actions{flex-wrap:wrap;gap:8px;display:flex}.form-checkbox{color:#475569;align-items:center;gap:8px;font-size:14px;display:flex}.loyalty-filters{grid-template-columns:1.6fr .7fr;margin-bottom:26px}.status-chip--Активна,.status-chip--Активен{color:#fff;background:#39a847}.status-chip--Черновик{color:#475569;background:#e2e8f0}.status-chip--Приостановлена{color:#fff;background:#f97316}.loyalty-editor-header{margin-bottom:18px}.loyalty-editor-title-wrap{align-items:flex-start}.loyalty-editor-title-row{align-items:center;gap:12px;margin-bottom:6px;display:inline-flex}.loyalty-editor-title-row h1{margin:0}.loyalty-editor-meta{color:#64748b;margin-top:10px;font-size:16px;line-height:1.3;display:inline-block}.loyalty-editor-tabs{background:#edf1f7;border-radius:22px;align-items:center;gap:2px;max-width:100%;margin-bottom:18px;padding:4px;display:inline-flex}.loyalty-editor-tab{color:#1e293b;cursor:pointer;background:0 0;border:none;border-radius:16px;align-items:center;gap:8px;min-height:52px;padding:11px 22px;font-size:16px;font-weight:600;transition:background-color .16s,box-shadow .16s,color .16s;display:inline-flex}.loyalty-editor-tab svg{stroke:currentColor;fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.loyalty-editor-tab--active{color:#0f172a;background:#fff;box-shadow:0 4px 12px #0f172a1c}.loyalty-editor-tab:hover{background:#ffffff8c}.loyalty-editor-tab--disabled{opacity:.5;cursor:not-allowed}.loyalty-editor-tab--disabled:hover{background:0 0}.loyalty-section h2{margin:0 0 18px;font-size:22px}.loyalty-section--settings{box-shadow:none;background:#fff;border:1px solid #d7dde8;border-radius:22px;padding:24px}.loyalty-section--settings h2{margin:0 0 16px}.loyalty-section--settings .loyalty-note{color:#4f6077;background:#edf1f6;border:1px solid #d5dce8;border-radius:12px;padding:10px 12px}.loyalty-section--settings .form-group{margin-bottom:14px}.loyalty-settings-layout{grid-template-columns:minmax(0,.5fr) minmax(320px,.85fr);align-items:start;gap:18px;margin-top:14px;display:grid}.loyalty-settings-main{min-width:0}.loyalty-settings-stamps{background:#fff;border:1px solid #d7dde8;border-radius:18px;min-width:0;padding:14px}.loyalty-settings-stamps h3{margin:0 0 12px}.loyalty-settings-stamps__grid{grid-template-columns:1fr}.loyalty-section--settings .form-row{grid-template-columns:minmax(0,1fr);align-items:stretch}.loyalty-section--settings .form-input,.loyalty-section--settings .select-input{background:#eef1f5;border:1px solid #0000;border-radius:14px;min-height:52px;padding:12px 16px}.loyalty-section--settings .form-input:focus,.loyalty-section--settings .select-input:focus{background:#f8fafd;border-color:#c2ccdd;outline:none}.loyalty-section__head{justify-content:space-between;align-items:center;gap:12px;display:flex}.loyalty-section__search{margin-bottom:16px}.loyalty-clients-table{box-shadow:none;padding:0}.loyalty-clients-table .table-row{grid-template-columns:1.2fr 1.4fr .7fr .7fr 1fr .9fr}.loyalty-clients-table .table-row span{white-space:normal}.loyalty-clients-table .table-row span strong{font-size:17px;display:block}.loyalty-clients-table .table-row span small{color:#64748b;white-space:normal;margin-top:4px;font-size:14px;display:block}.loyalty-clients-table .empty-state{margin-left:15px}.level-pill{background:#fff;border:1px solid #d1d5db;border-radius:999px;justify-content:center;align-items:center;min-width:70px;padding:4px 10px;font-size:13px;font-weight:600;display:inline-flex}.level-pill--active{color-scheme:calc(e);background-color:#f5f5f5;border-color:#39a847}.loyalty-clients-table .actions{justify-content:flex-start;gap:8px}.loyalty-clients-table .actions .ghost-button{color:#0f172a;background:0 0;border:none;padding:0}.loyalty-clients-table .actions .ghost-button:hover{text-decoration:underline}.loyalty-products-table{box-shadow:none;padding:0}.loyalty-products-table .table-row{grid-template-columns:1.3fr .8fr 1fr .8fr .8fr 1fr 1.2fr}.loyalty-products-table--category .table-row{grid-template-columns:1.5fr .9fr .9fr .9fr 1fr 1.2fr}.loyalty-products-table .table-row span{white-space:normal}.loyalty-products-table .table-row span strong{font-size:16px;display:block}.loyalty-products-table__links{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.loyalty-products-table__links .loyalty-product-card__link-item{min-height:34px;padding:6px 8px;font-size:12px}.loyalty-products-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:10px;display:flex}.loyalty-products-header__left h2{margin:0}.loyalty-products-header__title-row{flex-wrap:wrap;align-items:center;gap:10px;display:inline-flex}.loyalty-products-header__meta{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.loyalty-products-count{color:#1e3a8a;background:#e8eefc;border-radius:999px;align-items:center;padding:6px 10px;font-size:13px;font-weight:700;display:inline-flex}.loyalty-products-header__actions{flex-wrap:wrap;gap:10px;display:inline-flex}.loyalty-products-action-btn{min-height:40px}.loyalty-products-sync-btn{color:#0f172a;background:#f8fafc;border:1px solid #94a3b8;font-weight:700}.loyalty-products-sync-btn:hover:not(:disabled){background:#eef2f7;border-color:#334155}.loyalty-products-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px;display:grid}.loyalty-products-stat{background:#fbfcfe;border:1px solid #e2e8f0;border-radius:12px;padding:8px 10px}.loyalty-products-stat small{color:#64748b;margin-bottom:2px;font-size:11px;display:block}.loyalty-products-stat strong{color:#0f172a;font-size:14px}.loyalty-products-controls{grid-template-columns:1fr auto auto;align-items:center;gap:12px;margin-bottom:10px;display:grid}.loyalty-products-links-panel{background:#fbfdff;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;padding:10px 12px;display:flex}.loyalty-products-links-panel__info{gap:2px;display:grid}.loyalty-products-links-panel__info small{color:#64748b}.loyalty-products-links-panel__stats{color:#334155;flex-wrap:wrap;align-items:center;gap:12px;font-size:13px;font-weight:600;display:flex}.loyalty-products-links-panel__actions{gap:8px;display:inline-flex}.loyalty-products-links-panel__actions .ghost-button{min-height:34px;padding:6px 10px;font-size:12px}.loyalty-products-controls .loyalty-section__search{margin-bottom:0}.loyalty-products-controls .search-field,.loyalty-products-filter,.loyalty-products-view-switcher{min-height:46px}.loyalty-products-controls .search-input,.loyalty-products-filter{height:46px}.loyalty-products-controls .search-input,.loyalty-products-controls .select-input{background:#fff;border:1px solid #e2e8f0}.loyalty-products-pagination{justify-content:center;align-items:center;gap:10px;margin-top:12px;display:flex}.loyalty-products-pagination__info{color:#475569;text-align:center;min-width:120px;font-size:13px}.loyalty-products-content{will-change:opacity, transform;transition:opacity .24s,transform .24s}.loyalty-products-content--loading{opacity:.56;pointer-events:none;transform:translateY(6px)}.loyalty-products-content--page-change{opacity:.7;transform:translateY(4px)}@media (prefers-reduced-motion:reduce){.loyalty-products-content{transition:none}.loyalty-products-content--loading,.loyalty-products-content--page-change{transform:none}}.loyalty-products-filter{min-width:170px}.loyalty-products-view-switcher{box-sizing:border-box;background:#edf1f7;border-radius:999px;align-items:center;height:46px;margin:0;padding:4px;display:inline-flex}.loyalty-products-view-switcher .tab{border-radius:999px;min-height:38px;padding:8px 16px;font-size:14px}.loyalty-products-view-switcher .tab--active{background:#fff;box-shadow:0 2px 8px #0f172a1a}.loyalty-products-grid-wrap{margin-top:10px}.loyalty-products-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;display:grid}.loyalty-product-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;min-height:260px;display:flex;overflow:hidden}.loyalty-product-card__media{background:#eef2f7;flex:none;justify-content:center;align-items:center;width:100%;height:190px;display:flex;overflow:hidden}.loyalty-product-card__media img{object-fit:cover;width:100%;height:100%;display:block}.loyalty-product-card__fallback{background:#fff;border:1px solid #dbe5f5;border-radius:50%;place-items:center;width:54px;height:54px;display:grid}.loyalty-product-card__fallback svg{stroke:#3b82f6;fill:none;stroke-width:1.8px;width:22px;height:22px}.loyalty-product-card__body{flex-direction:column;flex:1;gap:8px;padding:10px 12px 12px;display:flex}.loyalty-product-card__body strong{color:#0f172a;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.5em;font-size:16px;line-height:1.25;display:-webkit-box;overflow:hidden}.loyalty-product-card__meta{color:#64748b;gap:3px;min-height:44px;font-size:13px;display:grid}.loyalty-product-card__bottom{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;display:flex}.loyalty-product-card__price{color:#0f172a;font-weight:700}.loyalty-product-card__links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.loyalty-product-card__link-item{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:6px 8px;font-size:12px}.loyalty-product-card__link-item input{margin:0}.loyalty-products-empty{text-align:center;background:linear-gradient(#fafcff 0%,#f5f9ff 100%);border:1px dashed #cfd8e6;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:220px;margin-top:12px;padding:24px;display:flex}.loyalty-products-empty--compact{min-height:180px;margin-top:10px}.loyalty-products-empty__icon{background:#fff;border:1px solid #dbe5f5;border-radius:50%;place-items:center;width:56px;height:56px;display:grid}.loyalty-products-empty__icon svg{stroke:#3b82f6;fill:none;stroke-width:1.8px;width:24px;height:24px}.loyalty-products-empty h3{color:#0f172a;margin:0;font-size:22px}.loyalty-products-empty p{color:#475569;max-width:560px;margin:0}.loyalty-products-empty__action{margin-top:4px}.loyalty-products-categories{gap:10px;display:grid}.loyalty-products-category{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:10px}.loyalty-products-category summary{cursor:pointer;justify-content:space-between;align-items:center;margin-bottom:10px;list-style:none;display:flex}.loyalty-products-category summary::-webkit-details-marker{display:none}.clients-page-table .table-row{cursor:pointer;grid-template-columns:1.6fr 1fr .7fr .7fr .8fr .5fr}.clients-page-table__row--selected{background:#f8fbff}.clients-page-table .actions{justify-content:flex-start}.clients-page-table .table-row>span:first-child{overflow:visible}.clients-page-table__head-name{align-items:center;gap:10px;display:inline-flex}.clients-page-table__name{align-items:flex-start;gap:12px;display:flex}.clients-page-table__name .clients-check{flex-shrink:0;margin-top:2px}.clients-page-table__name-meta{min-width:0}.loyalty-registration-stack{gap:16px;display:grid}.loyalty-registration-layout{grid-template-columns:minmax(0,1.45fr) minmax(320px,.9fr);align-items:start;gap:16px;display:grid}.loyalty-registration-main{min-width:0}.loyalty-registration-add-field{margin-top:12px}.loyalty-registration-preview-col{min-width:0;position:sticky;top:18px}.loyalty-share-layout{grid-template-columns:minmax(0,1.2fr) minmax(320px,380px);gap:14px;display:grid}.loyalty-share-layout--single{grid-template-columns:minmax(0,1fr)}.loyalty-share-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;gap:30px;padding:14px;display:grid}.loyalty-share-card--preview,.loyalty-share-card--qr{align-content:start}.loyalty-reg-grid{grid-template-columns:1fr;gap:10px;display:grid}.loyalty-reg-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:12px;display:flex}.loyalty-reg-item__left{align-items:center;gap:20px;display:inline-flex}.loyalty-reg-item__label{color:#475569;font-size:14px}.loyalty-reg-item .form-checkbox:last-child{margin-left:auto}.loyalty-custom-fields{gap:10px;display:grid}.loyalty-custom-field{background:#fff;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:1fr 180px auto auto;align-items:center;gap:10px;padding:12px;display:grid}.loyalty-standard-field{grid-template-columns:auto minmax(0,1fr) 180px auto}.loyalty-custom-field--select{grid-template-columns:1fr auto 180px auto auto}.loyalty-options-btn{min-width:104px}.loyalty-options-modal{background:#fff;border-radius:18px;width:min(680px,94vw);padding:18px 18px 16px}.loyalty-options-modal .customer-modal__header{padding:0 0 4px}.loyalty-options-modal .customer-modal__header h2{font-size:20px}.loyalty-options-modal__intro{margin-bottom:10px}.loyalty-options-modal__intro .form-hint{margin:0;line-height:1.45}.loyalty-options-modal__count{color:#1e293b;background:#eef2ff;border:1px solid #dbe3ff;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:600}.loyalty-options-group{margin-bottom:0}.loyalty-options-meta{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.loyalty-options-meta__field{gap:2px;display:grid}.loyalty-options-meta__field small{color:#64748b;font-size:12px}.loyalty-options-meta__field strong{color:#0f172a;font-size:15px}.loyalty-options-list{background:#f8fafc;border:1px solid #dbe1ea;border-radius:12px;gap:8px;max-height:280px;padding:8px;display:grid;overflow:auto}.loyalty-options-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;padding:6px;display:grid}.loyalty-options-item__input{min-height:36px}.loyalty-options-item__input--duplicate{background:#fff8f7;border-color:#f0b4af}.loyalty-options-item__drag{text-align:center;color:#94a3b8;-webkit-user-select:none;user-select:none;cursor:grab;letter-spacing:-1px;width:24px;font-weight:700}.loyalty-options-item__btn{border-radius:10px;justify-content:center;align-items:center;width:34px;min-width:34px;height:34px;padding:0;font-size:18px;line-height:1;display:inline-flex}.loyalty-options-item__btn--danger{color:#b42318;border-color:#f3d0cd}.loyalty-options-item__btn--danger:hover{background:#fff5f4}.loyalty-options-tools{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.loyalty-options-tools .ghost-button{border-radius:10px;height:32px;padding:0 10px;font-size:12px}.loyalty-options-tools__danger{color:#b42318}.loyalty-options-add{margin-top:10px}.loyalty-options-more{margin-top:8px}.loyalty-options-more summary{cursor:pointer;color:#475569;width:fit-content;font-size:13px;list-style:none}.loyalty-options-more summary::-webkit-details-marker{display:none}.loyalty-options-more summary:after{content:" ▾";color:#94a3b8}.loyalty-options-more[open] summary:after{content:" ▴"}.loyalty-options-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.loyalty-options-actions .ghost-button,.loyalty-options-actions .btn{min-width:120px}.loyalty-link-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;display:grid}.loyalty-share-actions{gap:8px;display:flex}.loyalty-share-actions .ghost-button{border-radius:10px;height:42px;padding:0 12px}.loyalty-share-link-block{gap:10px;padding-top:4px;display:grid}.loyalty-link-row .ghost-button{justify-content:center;width:48px;height:48px;padding:0}.loyalty-link-row svg,.loyalty-section .ghost-button svg,.loyalty-section .btn svg,.loyalty-table .actions svg{stroke:currentColor;fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.loyalty-qr-wrap{flex-direction:column;align-items:center;gap:10px;display:flex}.loyalty-qr-box{background:#fff;border:1px solid #dbe1ea;border-radius:14px;padding:14px}.loyalty-qr-box svg{display:block}.loyalty-qr-hint{text-align:center;color:#64748b;max-width:280px;font-size:14px}.loyalty-register-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:16px}.loyalty-register-preview h3{margin:0 0 12px;font-size:18px}.loyalty-register-preview__fields{gap:10px;display:grid}.loyalty-register-preview__field{gap:6px;display:grid}.loyalty-register-preview__field label{color:#334155;font-size:13px;font-weight:600}.loyalty-register-preview__field .form-input{min-height:44px}.loyalty-register-preview__btn{opacity:.6;pointer-events:none;justify-content:center;width:100%;margin-top:6px}.loyalty-register-preview__hint{text-align:center;margin-top:16px;display:block}.loyalty-note{color:#1e3a8a;background:#eff6ff;border:1px solid #dbeafe;border-radius:12px;margin-bottom:16px;padding:10px 12px;font-size:13px}.loyalty-advanced{background:#fafafa;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px}.loyalty-advanced>summary{cursor:pointer;margin-bottom:8px;font-size:14px;font-weight:600}.loyalty-advanced[open]>summary{margin-bottom:12px}.loyalty-steps{counter-reset:loyalty-step;gap:14px;margin:0;padding:0;list-style:none;display:grid}.loyalty-steps li{color:#334155;padding-left:44px;font-size:16px;line-height:1.45;position:relative}.loyalty-steps li:before{counter-increment:loyalty-step;content:counter(loyalty-step);color:#fff;background:#2f5ee8;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:13px;font-weight:700;display:inline-flex;position:absolute;top:0;left:0}.join-page{background:#f3f4f6;place-items:center;min-height:100vh;padding:24px;display:grid}.join-page--success{background:#f3f4f6}.join-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;gap:0;width:min(100%,560px);padding:24px;display:grid;box-shadow:0 14px 30px #0f172a14}.join-card--success{background:#fff;border-color:#dbe2ec;gap:14px;width:min(100%,620px);box-shadow:0 10px 26px #0f172a14}.join-card--success:before{content:none}.join-card h1{margin:0;font-size:28px}.join-card p{color:#64748b;margin:0}.join-submit{justify-content:center;width:100%}.join-wallet-choice{border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px;padding:12px;display:grid}.join-wallet-choice legend{color:#334155;grid-column:1/-1;padding:0 6px;font-size:14px;font-weight:600}.join-wallet-option{color:#0f172a;cursor:pointer;background:#f8fbff;border:1px solid #dbe4f0;border-radius:10px;align-items:center;gap:8px;min-height:44px;padding:0 12px;font-weight:600;display:flex}.join-wallet-option:has(input:checked){background:#eff6ff;border-color:#2563eb;box-shadow:inset 0 0 0 1px #2563eb}.join-wallet-option input{accent-color:#2563eb}.join-result-links{grid-template-columns:1fr;gap:10px;display:grid}.join-success-head{gap:10px;display:grid}.join-success-head__badge{color:#0b1a34;letter-spacing:.08em;text-transform:uppercase;background:linear-gradient(#e2e8f0,#dbe3ee);border-radius:999px;align-items:center;width:fit-content;padding:6px 12px;font-size:11px;font-weight:700;display:inline-flex}.join-card--success .join-success-head h1{letter-spacing:0;color:#0a1733;font-size:clamp(24px,3vw,30px);line-height:1.05}.join-card--success .join-success-head p{color:#4f5f76;max-width:42ch;font-size:17px}.join-result-links .btn,.join-result-links .ghost-button{border-radius:10px;justify-content:center;width:100%;min-height:48px;font-size:15px;line-height:1.2;transition:background .16s,border-color .16s,color .16s}.join-result-links .btn:hover,.join-result-links .ghost-button:hover{transform:none}.join-result-links .btn{box-shadow:none}.join-result-links .ghost-button{color:#1d4ed8;background:linear-gradient(#fff,#f7faff);border-color:#ccd8e8}.join-result-links .ghost-button:hover{background:#fff;box-shadow:0 8px 18px #1e40af14}.join-wallet-btn--apple{color:#fff;background:#111;border-color:#111}.join-wallet-btn--apple:hover{background:#000;border-color:#000}.join-wallet-btn--google{color:#1d4ed8}.join-back-link{color:#35528f;background:#fff;border-color:#cad5e5;border-radius:10px;justify-content:center;width:100%;min-height:48px;font-size:15px}.join-back-link:hover{background:#f8fafc}@media (max-width:960px){.join-card--success{width:min(100%,560px)}.join-wallet-choice,.join-result-links{grid-template-columns:1fr}.join-card--success .join-success-head h1{font-size:clamp(25px,7vw,32px)}.loyalty-editor-tabs{border-radius:20px;width:100%;display:flex;overflow-x:auto}.loyalty-editor-tab{white-space:nowrap;flex:none}.loyalty-settings-layout{grid-template-columns:1fr}.loyalty-section__head{flex-direction:column;align-items:flex-start}.loyalty-clients-table .table-row,.loyalty-products-table .table-row,.loyalty-products-grid,.loyalty-products-controls{grid-template-columns:1fr}.loyalty-products-pagination{justify-content:center}.loyalty-products-links-panel{flex-direction:column;align-items:flex-start}.loyalty-products-links-panel__actions{width:100%}.loyalty-products-links-panel__actions .ghost-button{justify-content:center;width:100%}.loyalty-product-card__links{grid-template-columns:1fr}.loyalty-products-header{flex-direction:column;align-items:flex-start}.loyalty-products-header__actions{width:100%}.loyalty-products-header__actions .loyalty-products-action-btn{justify-content:center;width:100%}.loyalty-products-stats,.loyalty-share-layout,.loyalty-registration-layout{grid-template-columns:1fr}.loyalty-registration-preview-col{position:static}.loyalty-share-actions{flex-direction:column}.loyalty-share-actions .ghost-button{justify-content:center;width:100%}.loyalty-custom-field,.loyalty-custom-field--select{grid-template-columns:1fr}.loyalty-options-modal{width:min(96vw,560px);padding:14px}.loyalty-options-modal__intro{margin-bottom:8px}.loyalty-options-meta{flex-direction:column;align-items:flex-start;gap:8px}.loyalty-options-list{max-height:220px}.loyalty-options-item{grid-template-columns:auto minmax(0,1fr) auto}.loyalty-options-item__btn--danger{width:34px}}
