:root{--bg:#f5f6f8;--surface:#fff;--text:#1d1d1f;--muted:#6f7581;--line:#e7e9ee;--accent:#1d1d1f;--accent-pressed:#2b2b2f;--success:#178a4d;--warning:#b46b00;--danger:#c9342f;--telegram:#229ed9;--telegram-pressed:#168ac1;--max:#7b2ff2;--max-pressed:#6423ca;--radius:22px;--shadow:0 14px 34px #1f232b14}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);letter-spacing:0;margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}.shell{min-height:100svh;padding:18px}.app-frame{width:min(100%,760px);margin:0 auto}.user-shell{--bg:#f3f1eb;--text:#121927;--muted:#667085;--line:#e3e7ee;--accent:#0f1d33;--accent-pressed:#1b2b45;--accent-soft:#eef4ff;--gold:#c4932f;--radius:20px;--shadow:0 18px 50px #0f172a12;background:radial-gradient(circle at 8% 0%, #c4932f21, transparent 28rem), radial-gradient(circle at 88% 8%, #3870ff17, transparent 25rem), linear-gradient(180deg, #fbfaf7 0%, var(--bg) 48%, #f7f8fb 100%);color:var(--text);padding:16px}.user-shell .app-frame{width:min(100%,704px);box-shadow:none;background:0 0;border:0;border-radius:0;gap:16px;padding:clamp(14px,3vw,20px);display:grid;position:relative}.topbar{justify-content:space-between;align-items:center;gap:16px;padding:10px 2px 22px;display:flex}.user-shell .topbar{padding:2px 2px 0}.header-button,.logout-button{width:auto;min-height:42px}.logout-button{gap:7px;padding:0 14px}.user-shell .logout-button{color:var(--accent);background:#fff;border:1px solid #0f172a1a;min-height:40px;padding:0 13px;box-shadow:0 8px 20px #0f172a0a}.logout-button-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:18px;height:18px}.account-actions{align-items:center;gap:10px;min-width:0;display:flex}.session-label{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:170px;font-size:13px;overflow:hidden}.brand{align-items:center;gap:10px;min-width:0;display:flex}.brand-logo{object-fit:cover;border-radius:14px;flex:none;width:40px;height:40px;box-shadow:0 8px 22px #1f232b24}.brand span,.muted{color:var(--muted);font-size:14px;line-height:1.35}.user-shell .brand span{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.nav-pills{gap:8px;padding:2px 0 16px;display:flex;overflow-x:auto}.nav-pills a{border:1px solid var(--line);color:var(--muted);background:#ffffffb3;border-radius:999px;flex:none;padding:10px 14px;font-size:14px}.user-shell .nav-pills{background:#f6f8fbdb;border:1px solid #0f172a14;border-radius:18px;gap:4px;padding:4px}.user-shell .nav-pills a{text-align:center;background:0 0;border:1px solid #0000;border-radius:14px;flex:1 0 auto;padding:9px 12px;font-weight:500;transition:background .18s,border-color .18s,color .18s,box-shadow .18s}.user-shell .nav-pills a:hover,.user-shell .nav-pills a:focus-visible{color:var(--text);outline:none}.user-shell .nav-pills a.active{color:#0f5fe8;background:#fff;border-color:#0f172a14;box-shadow:0 8px 18px #0f172a0f}.stack{gap:16px;display:grid}.user-shell .stack,.user-shell .payments-view{gap:16px}.grid{gap:16px;display:grid}.integration-page{gap:16px}.integration-help{gap:12px;max-width:720px;padding:2px 4px 0;display:grid}.integration-help-text{margin:0;line-height:1.5}@media (min-width:720px){.grid.two{grid-template-columns:1fr 1fr}}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid #e7e9eee6;padding:18px}.user-shell .card{background:#ffffffeb;border-color:#0f172a14;padding:16px;box-shadow:0 10px 26px #0f172a0d}.plain-section{padding:2px 0 10px}.plain-section h2{margin:0;font-size:22px;line-height:1.1}.section-heading{color:var(--text);margin:0;font-size:22px;font-weight:650;line-height:1.12}.user-shell .section-heading{font-size:clamp(18px,3.3vw,21px);font-weight:620;line-height:1.18}.subscription-section{gap:16px}.purchase-section-heading,.user-shell .purchase-section-heading{margin-top:24px}.messenger-link{border:1px solid var(--line);background:#ffffffad;border-radius:18px;gap:3px;min-height:74px;padding:15px 16px;display:grid}.messenger-link span{color:var(--muted);font-size:13px}.messenger-link strong{font-size:17px;line-height:1.2}.inline-status{min-height:44px;color:var(--accent);background:#1d1d1f0f;border:1px solid #1d1d1f1f;border-radius:16px;align-items:center;gap:8px;padding:0 14px;font-weight:650;display:inline-flex}.card.tight{padding:14px}.payment-return{align-items:center;gap:10px;min-height:54px;display:flex}.payment-return strong{font-size:14px;font-weight:650}.card-title{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px;display:flex}.card h2,.card h3{margin:0;line-height:1.1}.card h2{font-size:22px}.card h3{font-size:18px}.user-shell .card-title h3,.email-link-card h3,.email-link-card strong{font-weight:500}.status{color:var(--muted);white-space:nowrap;align-items:center;gap:7px;font-size:14px;display:inline-flex}.dot{background:var(--muted);border-radius:999px;width:9px;height:9px}.dot.good{background:var(--success)}.dot.warn{background:var(--warning)}.dot.bad{background:var(--danger)}.amount{margin:8px 0;font-size:34px;font-weight:760;line-height:1}.user-shell .amount{margin:4px 0;font-size:28px;font-weight:680}.product-select{position:relative}.product-select-button,.product-select-option{border:1px solid var(--line);width:100%;min-height:50px;color:var(--text);cursor:pointer;font:inherit;text-align:left;background:#fbfcff}.product-select-button{border-radius:15px;justify-content:space-between;align-items:center;gap:12px;padding:0 14px;display:flex}.product-select-button:focus-visible,.product-select-option:focus-visible{border-color:#1d1d1f52;outline:none;box-shadow:0 0 0 4px #1d1d1f14}.product-select-chevron{color:var(--muted);font-size:18px;line-height:1}.product-select-menu{border:1px solid var(--line);background:#fff;border-radius:15px;gap:0;margin-top:8px;display:grid;overflow:hidden;box-shadow:0 12px 28px #1f232b1f}.product-select-option{border:0;border-bottom:1px solid var(--line);padding:0 14px}.product-select-option:last-child{border-bottom:0}.product-select-option:hover,.product-select-option.active{background:#1d1d1f0f}.product-card{background:linear-gradient(135deg,#fffffffa,#fbfcfff2),#fff;border-color:#0f172a14;border-radius:20px;gap:14px;padding:clamp(16px,4vw,20px);box-shadow:0 12px 32px #0f172a0f}.product-card-head{grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;display:grid}.product-card-mark{color:#f3c96c;background:linear-gradient(145deg,#0f1d33f5,#1e2d46f0),#0f1d33;border-radius:15px;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.product-card-mark svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:22px;height:22px;display:block}.product-card-copy{min-width:0}.product-card h3{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:18px;font-weight:620;line-height:1.2}.product-card-subtitle{color:var(--muted);margin:4px 0 0;font-size:13px;line-height:1.35}.product-card .amount{color:var(--text);margin:2px 0 0;font-size:25px;font-weight:660}.product-card .product-select-button{color:var(--text);background:#fbfcff;border-color:#0f172a1a;border-radius:14px;height:44px;min-height:44px;padding:0 44px 0 14px;font-size:14px;position:relative}.product-card .product-select-button>span:first-child{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.product-card .product-select-chevron{color:var(--muted);place-items:center;width:14px;height:8px;display:grid;position:absolute;top:50%;right:16px;transform:translateY(-50%)}.product-card .product-select-chevron svg{width:14px;height:8px;display:block}.product-card .product-select-chevron path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px}.product-card .product-select-menu{margin-top:8px}.product-card .product-select-option{min-height:42px;padding:0 14px;font-size:14px}.product-card .button{background:var(--accent);color:#fff;border-radius:14px;height:44px;min-height:44px;font-size:14px;font-weight:500}.product-card .button:hover{background:var(--accent-pressed)}.button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:15px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;padding:0 16px;font-weight:500;transition:transform .16s,background .16s,opacity .16s;display:inline-flex}.button:hover{background:var(--accent-pressed)}.button:active{transform:scale(.98)}.button.secondary{color:var(--accent);background:#f2f3f5}.button.ghost{color:var(--accent);background:0 0}.email-login-resend{color:var(--accent);cursor:pointer;font:inherit;background:0 0;border:0;place-self:center;width:fit-content;margin-top:-2px;padding:0;font-size:14px;font-weight:500;line-height:1.35}.email-login-resend:hover{text-decoration:underline}.email-login-resend:disabled{cursor:not-allowed;opacity:.58;text-decoration:none}.button:disabled{cursor:not-allowed;opacity:.65}.input{border:1px solid var(--line);background:#fbfcff;border-radius:15px;outline:none;width:100%;height:50px;padding:0 14px}.input:focus{border-color:#1d1d1f52;box-shadow:0 0 0 4px #1d1d1f14}.receipt-email-field{margin-top:2px}.form{gap:10px;display:grid}.list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:11px 0;display:flex}.row:first-child{border-top:0}.row small{color:var(--muted)}.subscription-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.subscription-list.scrollable{overscroll-behavior:contain;max-height:480px;padding-right:6px;overflow-y:auto}.subscription-list.scrollable::-webkit-scrollbar{width:5px}.subscription-list.scrollable::-webkit-scrollbar-thumb{background:#1d1d1f38;border-radius:999px}.subscription-row{background:linear-gradient(#fff,#fbfcff);border:1px solid #0f172a14;border-radius:18px;gap:12px;padding:14px;display:grid}.subscription-row:first-child{border-top:1px solid #0f172a14;padding-top:14px}.subscription-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;display:grid}.subscription-heading strong{color:var(--text);overflow-wrap:anywhere;font-size:16px;font-weight:620;line-height:1.25}.subscription-heading-meta{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:360px;font-size:12px;line-height:1.2;display:flex}.subscription-heading-meta span{background:#f5f7fb;border:1px solid #0f172a0f;border-radius:999px;align-items:center;min-height:26px;padding:0 9px;display:inline-flex}.subscription-heading-meta span:first-child{color:var(--success);background:#eaf8ef;border-color:#178a4d1f;font-weight:620}.subscription-access-block{border-top:1px solid #0f172a14;gap:10px;padding-top:12px;display:grid}.subscription-invite-note{color:var(--muted);margin:0;font-size:13px;font-weight:400;line-height:1.4}.subscription-actions{gap:10px;display:grid}.subscription-access-row{grid-template-columns:minmax(0, 1fr) var(--subscription-action-width,180px);align-items:center;gap:10px 14px;min-height:42px;display:grid}.subscription-open-link{box-sizing:border-box;white-space:nowrap;border-radius:12px;width:100%;min-height:42px;padding:0 10px}.subscription-actions .button{box-sizing:border-box;border-radius:12px;width:100%;min-height:42px;padding:0 10px;font-size:14px;font-weight:500}.subscription-access-control{justify-items:end;width:100%;min-width:0;display:grid}.subscription-access-label{min-width:0;color:var(--text);font-size:14px;font-weight:500;line-height:1.28}.subscription-privacy-control{place-items:end;gap:8px;width:100%;display:grid}.subscription-privacy-check{box-sizing:border-box;width:100%;min-height:42px}.subscription-connect-action{justify-items:end;gap:6px;width:100%;min-width:0;display:grid}.subscription-connect-action .button{width:100%}.subscription-actions .button-telegram,.subscription-connect-action .button-telegram,.legacy-access-claim .button-telegram{background:var(--telegram);color:#fff}.subscription-actions .button-telegram:hover,.subscription-connect-action .button-telegram:hover,.legacy-access-claim .button-telegram:hover{background:var(--telegram-pressed)}.subscription-actions .button-max,.subscription-connect-action .button-max{background:var(--max);color:#fff}.subscription-actions .button-max:hover,.subscription-connect-action .button-max:hover{background:var(--max-pressed)}.legacy-access-claim{text-align:center;border-top:1px solid #0f172a14;justify-items:center;gap:10px;padding-top:16px;display:grid}.legacy-access-claim p{color:var(--text);margin:0;font-size:14px;font-weight:600;line-height:1.35}.legacy-access-claim .button{background:var(--telegram);color:#fff;justify-self:center;width:min(100%,360px);min-height:42px;font-weight:500}.legacy-access-claim .button:hover{background:var(--telegram-pressed)}.subscription-access-state{box-sizing:border-box;overflow-wrap:anywhere;text-align:center;white-space:normal;word-break:normal;border-radius:999px;justify-content:center;align-items:center;width:100%;max-width:100%;min-height:42px;padding:0 12px;font-size:12px;font-weight:620;line-height:1.15;display:inline-flex}.subscription-access-state.wrapped{white-space:normal;border-radius:12px;padding:8px 10px;line-height:1.15}.subscription-access-state.good{color:var(--success);background:#eaf8ef}.subscription-access-state.bad{color:var(--danger);background:#ffeceb;border-radius:12px;padding:8px 10px;line-height:1.2}.subscription-access-state.warn{color:#9a5a00;background:#fff6e8}.max-privacy-sheet{gap:16px}.max-privacy-sheet-image{background:#0f1115;border:1px solid #e7e9eef2;border-radius:20px;overflow:hidden}.max-privacy-sheet-image img{width:100%;height:auto;display:block}.max-privacy-sheet-text{color:var(--text);margin:0;font-size:14px;line-height:1.45}.max-privacy-sheet-error{color:var(--danger);overflow-wrap:anywhere;-webkit-line-clamp:2;white-space:normal;word-break:break-word;-webkit-box-orient:vertical;min-height:2.7em;margin:0;font-size:14px;line-height:1.35;display:-webkit-box;overflow:hidden}.max-privacy-sheet-button{justify-self:end;width:fit-content;min-height:48px}.notice{color:var(--muted);font-size:14px;line-height:1.4}.error{color:var(--danger);overflow-wrap:anywhere;white-space:pre-line;word-break:break-word;min-height:2.7em;font-size:14px;line-height:1.35}.success{color:var(--success);font-size:14px}.admin-table{border-collapse:collapse;width:100%;font-size:14px}.admin-table th,.admin-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:10px 8px}.admin-table th{color:var(--muted);font-weight:600}.admin-header{padding:4px 0 8px}.admin-login-card{width:min(100%,520px);margin:0 auto}.admin-workspace{gap:14px;display:grid}.admin-tabs,.admin-filters{gap:8px;padding:2px;display:flex;overflow-x:auto}.admin-tabs button,.admin-filters button{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:#ffffffb8;border-radius:999px;flex:none;min-height:38px;padding:0 13px;font-weight:500;transition:background .16s,color .16s,border-color .16s}.admin-tabs button.active,.admin-filters button.active{color:#fff;background:#1d1d1f;border-color:#1d1d1f}.admin-filters{scrollbar-width:none;-ms-overflow-style:none;gap:18px;margin-bottom:2px;padding:0 2px 10px;overflow-y:hidden}.admin-filters::-webkit-scrollbar{display:none}.admin-filters button{color:var(--muted);background:0 0;border:0;border-radius:0;min-height:28px;padding:0;font-size:14px;position:relative}.admin-filters button.active{color:var(--text);background:0 0;border-color:#0000}.admin-filters button.active:after{content:"";background:currentColor;border-radius:999px;height:2px;position:absolute;bottom:-6px;left:0;right:0}.admin-subscription-filters{gap:8px;margin:8px 0 4px;display:grid}.admin-subscription-filters button{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:#ffffffb8;border-radius:999px;min-height:38px;padding:0 13px;font-weight:500;transition:background .16s,color .16s,border-color .16s}.admin-subscription-filters button.active{color:#fff;background:#1d1d1f;border-color:#1d1d1f}.admin-filter-select{min-height:38px}.admin-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.admin-metric{border:1px solid var(--line);background:#ffffffc7;border-radius:20px;min-width:0;padding:14px}.admin-metric span,.eyebrow{color:var(--muted);letter-spacing:0;margin:0 0 7px;font-size:12px;font-weight:650;display:block}.admin-metric strong{overflow-wrap:anywhere;font-size:24px;line-height:1;display:block}.admin-metric small{color:var(--muted);margin-top:8px;font-size:12px;line-height:1.35;display:block}.admin-layout{gap:14px;display:grid}.admin-list-panel,.admin-detail-panel{min-width:0}.admin-list-panel{border-radius:var(--radius);background:#ffffffb8;border:1px solid #e7e9eee6;padding:12px}.admin-layout:not(.show-detail) .admin-detail-panel,.admin-layout.show-detail .admin-list-panel{display:none}.admin-toolbar{gap:10px;margin-bottom:10px;display:grid}.admin-product-form,.admin-manual-form{gap:10px;display:grid}.admin-duration-field{display:block;position:relative}.admin-duration-field .input{width:100%;padding-right:58px}.admin-duration-field span{color:var(--muted);pointer-events:none;font-size:14px;line-height:1;position:absolute;top:50%;right:18px;transform:translateY(-50%)}.admin-toolbar h2{margin:0;font-size:22px;line-height:1.1}.admin-user-list,.admin-data-list{gap:8px;display:grid}.admin-user-list{padding:4px}.admin-pagination{justify-content:center;align-items:center;gap:8px;margin-top:10px;display:flex}.admin-pagination-pages{align-items:center;gap:6px;display:flex}.admin-pagination button{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:#ffffffdb;border-radius:999px;min-width:34px;min-height:34px;padding:0 12px;font-size:14px;font-weight:650}.admin-pagination button.active{color:#fff;background:#1d1d1f;border-color:#1d1d1f}.admin-pagination button:disabled{cursor:default;opacity:.42}.admin-pagination span{color:var(--muted);padding:0 2px;font-size:13px}.admin-audit-list{max-height:232px;padding-right:4px;overflow:auto}.admin-payment-list.scrollable{max-height:min(56svh,560px);padding-right:4px;overflow:auto}.admin-user-row,.admin-data-row,.admin-connection,.admin-subscription-row{border:1px solid var(--line);width:100%;color:var(--text);text-align:left;background:#fff;border-radius:17px;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:12px;display:flex}.admin-connection{flex-wrap:wrap;align-items:flex-start}.admin-connection-main{flex:160px;min-width:0}.admin-connection .button{flex:none;width:auto;font-weight:500}.admin-subscription-row{align-items:stretch;display:grid}.admin-subscription-main{grid-template-columns:minmax(0,1fr) auto;justify-content:start;align-items:start;gap:12px;width:100%;display:grid}.admin-subscription-main>span{min-width:0}.admin-subscription-main .admin-pill{place-self:start end}.admin-subscription-actions{gap:8px;display:grid}.admin-grant-chips{flex-wrap:wrap;gap:6px;display:flex}.admin-grant-chip{color:var(--accent);background:#f2f3f5;border-radius:999px;padding:7px 9px;font-size:12px;font-weight:500;line-height:1}.admin-user-row{cursor:pointer}.admin-user-row.active{border-color:#1d1d1f52;box-shadow:0 0 0 4px #1d1d1f14}.admin-user-row strong,.admin-data-row strong,.admin-connection strong,.admin-subscription-row strong{overflow-wrap:anywhere;font-size:14px;line-height:1.25;display:block}.admin-connection strong{overflow-wrap:normal;word-break:keep-all}.admin-user-row small,.admin-data-row small,.admin-connection small,.admin-subscription-row small{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;font-size:12px;line-height:1.35;display:block}.admin-connection small{overflow-wrap:normal;word-break:keep-all}.admin-row-meta,.admin-data-row>span:last-child{flex:none;justify-items:end;gap:5px;display:grid}.admin-profile{color:var(--text);background:linear-gradient(#fff 0%,#fbfcff 100%);border:1px solid #1d1d1f14;border-radius:24px;gap:18px;padding:20px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 44px #1f232b17}.admin-profile:before{background:linear-gradient(180deg, var(--telegram), var(--max));content:"";border-radius:0 999px 999px 0;width:4px;position:absolute;top:20px;bottom:20px;left:0}.admin-profile-header{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.admin-profile-main{gap:6px;min-width:0;padding-left:6px;display:grid}.admin-profile-kicker{color:var(--muted);letter-spacing:.02em;font-size:11px;font-weight:800;line-height:1}.admin-profile h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:24px;line-height:1.08}.admin-profile-meta{color:var(--muted);gap:4px;font-size:14px;line-height:1.35;display:grid}.admin-profile-meta:empty{display:none}.admin-profile-email-summary{color:var(--text);overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.35}.admin-identity-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:start;gap:12px;display:grid}.admin-identity-card{background:#fffffff0;border:1px solid #1d1d1f14;border-radius:18px;align-content:start;gap:12px;min-width:0;padding:16px;display:grid;box-shadow:0 10px 28px #1f232b0d}.admin-identity-head{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.admin-identity-head h3{margin:0;font-size:14px;line-height:1.2}.admin-identity-status{white-space:nowrap;font-size:12px;font-weight:700;line-height:1.2}.admin-identity-status.linked{color:var(--success)}.admin-identity-status.empty{color:var(--muted)}.admin-identity-list{gap:10px;display:grid}.admin-identity-row{gap:2px;display:grid}.admin-identity-row dt{color:var(--muted);font-size:12px;line-height:1.25}.admin-identity-row dd{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.3}.admin-profile-actions{justify-content:flex-end;gap:6px;padding-top:2px;display:flex}.admin-profile-icon-button{appearance:none;color:#a8b1bf;cursor:pointer;background:0 0;border:1px solid #1d1d1f14;border-radius:999px;justify-content:center;align-items:center;width:38px;height:38px;padding:0;transition:background .18s,color .18s,border-color .18s;display:inline-flex}.admin-profile-icon-button:hover{color:#1d1d1f;background:#1d1d1f0f}.admin-profile-icon-danger:hover,.admin-profile-icon-delete:hover{color:var(--danger);background:#fff0ef;border-color:#c9342f33}.admin-detail-back{margin-bottom:10px}.admin-action-bar{grid-template-columns:1fr;gap:8px;display:grid}.admin-section-grid,.admin-connection-grid{gap:10px;display:grid}.admin-pill{white-space:nowrap;border-radius:999px;padding:6px 8px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.admin-pill.good{color:var(--success);background:#e8f7ee}.admin-pill.warn{color:var(--warning);background:#fff4df}.admin-pill.bad{color:var(--danger);background:#ffeceb}.danger-text{color:var(--danger)!important}.admin-data-list.compact{border-top:1px solid var(--line);padding-top:10px}.admin-product-card{background:linear-gradient(#fffffff5,#ffffffe6),#fff;border:1px solid #0f172a14;border-radius:24px;gap:16px;padding:18px;display:grid;position:relative;box-shadow:0 18px 44px #0f172a12}.admin-product-head{justify-content:space-between;align-items:flex-start;gap:16px;padding-right:0;display:flex}.admin-product-head-main{min-width:0}.admin-product-head-actions{flex-wrap:nowrap;justify-content:flex-end;align-items:flex-start;gap:8px;display:flex}.admin-product-edit-icon{flex-shrink:0}.admin-product-head strong{color:var(--text);overflow-wrap:anywhere;margin-top:2px;font-size:16px;line-height:1.25;display:block}.admin-product-meta{color:var(--muted);flex-wrap:wrap;gap:6px 10px;margin-top:8px;font-size:13px;line-height:1.35;display:flex}.admin-product-meta span:not(:last-child):after{color:#c8d0dc;content:"·";margin-left:10px}.admin-product-variants{gap:10px;display:grid}.admin-product-variant{background:#f8fafc;border:1px solid #0f172a0f;border-radius:18px;gap:10px;padding:12px;display:grid}.admin-product-variant-head{grid-template-columns:minmax(0,1fr) auto auto;align-items:flex-start;gap:10px;display:grid}.admin-product-variant-head strong{color:var(--text);font-size:14px;line-height:1.25;display:block}.admin-product-row-actions{gap:4px;display:flex}.admin-product-targets{flex-wrap:wrap;gap:8px;display:flex}.admin-product-targets span{color:var(--muted);background:#f5f7fb;border:1px solid #0f172a0f;border-radius:999px;padding:8px 10px;font-size:12px;line-height:1}.admin-product-target-pill{align-items:center;gap:8px;display:inline-flex}.admin-product-target-remove{appearance:none;color:#9aa4b2;cursor:pointer;background:0 0;border:0;border-radius:999px;width:18px;height:18px;padding:0;font-size:14px;font-weight:700;line-height:1;transition:background .18s,color .18s}.admin-product-target-remove:hover{color:var(--danger);background:#fff0ef}.admin-product-target-remove:disabled{cursor:default;opacity:.6}.admin-target-form,.admin-product-edit-form{background:#f8fafc;border:1px solid #0f172a0f;border-radius:18px;align-items:start;gap:8px;padding:10px;display:grid}.admin-product-edit-form--details{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-product-edit-form--pricing{grid-template-columns:minmax(0,1fr) minmax(0,.7fr)}.admin-product-edit-form--details .input,.admin-product-edit-form--details .admin-product-description-input,.admin-product-edit-form--details .admin-product-edit-hint,.admin-product-edit-form--details .admin-edit-actions,.admin-product-edit-form--details .error,.admin-product-edit-form--pricing .admin-edit-actions,.admin-product-edit-form--pricing .error{grid-column:1/-1}.admin-product-edit-hint{color:var(--muted);margin:-2px 2px 0;font-size:12px;line-height:1.35}.admin-product-description-input{resize:vertical;height:auto;min-height:96px;padding:12px 14px;line-height:1.4}.admin-product-edit-form .error{grid-column:1/-1;margin:0}.admin-edit-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.admin-edit-actions .button{min-height:46px;font-weight:500}.admin-product-edit-toggle{min-height:38px;padding-inline:14px;font-size:13px;font-weight:500}.admin-target-form .button{min-height:46px;font-weight:500}.admin-target-form .error{grid-column:1/-1;margin:0}.admin-product-footer{border-top:1px solid #0f172a0f;justify-content:flex-end;align-items:center;gap:12px;padding-top:14px;display:flex}.admin-sales-button{appearance:none;color:var(--accent);cursor:pointer;font:inherit;background:#f2f3f5;border:0;border-radius:14px;min-height:38px;padding:0 14px;font-size:14px;font-weight:500;transition:background .18s,color .18s,transform .18s}.admin-sales-button:hover{background:#e2edff}.admin-sales-button:active{transform:scale(.98)}.admin-product-actions{gap:4px;display:flex;position:absolute;top:10px;right:10px}.admin-product-icon-button{appearance:none;color:#a8b1bf;cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;transition:background .18s,color .18s;display:inline-flex}.admin-product-icon-button:hover{color:#1d1d1f;background:#1d1d1f0f}.admin-product-delete:hover{color:var(--danger);background:#fff0ef}.admin-product-icon-button:disabled,.admin-sales-button:disabled{cursor:default;opacity:.55}.admin-log-panel{background:#ffffffd1;border:1px solid #0f172a14;border-radius:24px;gap:14px;padding:16px;display:grid;box-shadow:0 18px 48px #0f172a14}.admin-log-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.admin-log-head h2{margin:0 0 6px;font-size:26px;line-height:1}.admin-log-head p{color:var(--muted);max-width:680px;margin:0;font-size:14px;line-height:1.35}.admin-log-toolbar{gap:8px;display:grid}.admin-log-toolbar .button{min-height:46px;font-weight:500}.admin-log-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.admin-log-stats span{color:var(--muted);background:#f7f9fc;border:1px solid #0f172a0f;border-radius:16px;gap:5px;padding:11px 12px;font-size:12px;font-weight:500;line-height:1.2;display:grid}.admin-log-stats strong{color:var(--text);font-size:20px;line-height:1}.admin-log-list{gap:8px;display:grid}.admin-log-row{border:1px solid var(--line);background:#fff;border-radius:18px;gap:10px;padding:12px;display:grid}.admin-log-row time{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:750;line-height:1.25}.admin-log-main{gap:8px;min-width:0;display:grid}.admin-log-title{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.admin-log-title strong{overflow-wrap:anywhere;flex:260px;min-width:0;font-size:14px;line-height:1.35;display:block}.admin-log-actor{border-radius:999px;flex:none;padding:7px 9px;font-size:11px;font-weight:800;line-height:1}.admin-log-actor.user{color:var(--telegram);background:#229ed91f}.admin-log-actor.admin{color:var(--accent);background:#1d1d1f14}.admin-log-actor.system{color:var(--muted);background:#6f75811f}.admin-log-actor.provider{color:var(--success);background:#1196581f}.admin-log-actor.bot{color:var(--max);background:#7b2ff21f}.admin-log-meta{color:var(--muted);flex-wrap:wrap;gap:6px 10px;font-size:12px;line-height:1.35;display:flex}.admin-log-meta span:not(:last-child):after{color:#c9d1dc;content:"·";margin-left:10px}.admin-log-payload{color:var(--muted);background:#f8fafc;border:1px solid #0f172a0f;border-radius:14px;padding:9px 10px;font-size:12px}.admin-log-payload summary{cursor:pointer;font-weight:750}.admin-log-payload pre{color:#26313f;white-space:pre-wrap;word-break:break-word;max-height:260px;margin:10px 0 0;font-size:12px;line-height:1.45;overflow:auto}.admin-log-more{justify-self:center;width:min(100%,260px)}@media (min-width:720px){.admin-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-layout{grid-template-columns:minmax(280px,.85fr) minmax(0,1.35fr);align-items:start}.admin-layout:not(.show-detail) .admin-detail-panel,.admin-layout.show-detail .admin-list-panel{display:block}.admin-list-panel{position:sticky;top:12px}.admin-detail-back{display:none}.admin-toolbar{grid-template-columns:minmax(0,1fr)}.admin-product-form{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-product-edit-form{grid-template-columns:minmax(220px,1.3fr) minmax(120px,.7fr) minmax(120px,.7fr) minmax(190px,.8fr)}.admin-target-form{grid-template-columns:minmax(120px,.7fr) minmax(160px,.9fr) minmax(180px,1fr) minmax(150px,.75fr)}.admin-manual-form{grid-template-columns:minmax(0,1.4fr) minmax(110px,.6fr) minmax(150px,.7fr)}.admin-log-panel{padding:20px}.admin-log-toolbar{grid-template-columns:minmax(220px,1fr) minmax(180px,.35fr) auto}.admin-log-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-log-row{grid-template-columns:170px minmax(0,1fr)}.admin-action-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-profile h2{font-size:26px}.admin-identity-grid,.admin-subscription-actions,.admin-section-grid,.admin-connection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:719px){.user-shell{padding:10px}.user-shell .app-frame{gap:13px;padding:12px}.user-shell .topbar,.user-shell .brand{gap:10px}.user-shell .brand-logo{width:40px;height:40px}.user-shell .brand span{max-width:min(44vw,230px);font-size:14px}.user-shell .logout-button{min-height:38px;padding:0 11px}.user-shell .nav-pills{border-radius:16px;gap:3px}.user-shell .nav-pills a{border-radius:12px;padding:8px 9px;font-size:13px}.user-shell .card{border-radius:18px;padding:14px}.auth-shell.mini-app-auth-shell{padding:10px}.mini-app-auth-panel{border-radius:24px;align-content:start;min-height:calc(100svh - 20px);padding:14px}.mini-app-auth-shell .auth-logo{width:40px;height:40px}.mini-app-auth-shell .auth-panel h1{font-size:20px}.subscription-heading{grid-template-columns:minmax(0,1fr)}.subscription-heading-meta{justify-content:flex-start;max-width:none}.subscription-access-row{grid-template-columns:minmax(0,1fr)}.subscription-access-control,.subscription-connect-action,.subscription-privacy-control{justify-items:stretch}.product-card-head{grid-template-columns:40px minmax(0,1fr)}.product-card-mark{border-radius:14px;width:40px;height:40px}.product-card .amount{font-size:23px}.admin-product-card{gap:14px;padding:16px}.admin-product-head{flex-direction:column;gap:8px;padding-right:0}.admin-product-head-actions{justify-content:flex-start}.admin-product-variant{gap:12px;padding:12px}.admin-product-variant-head{grid-template-columns:minmax(0,1fr)}.admin-product-variant-head .admin-pill,.admin-product-row-actions{justify-self:start}.admin-product-edit-form,.admin-target-form{gap:10px;padding:12px}.admin-product-edit-form--details,.admin-product-edit-form--pricing{grid-template-columns:minmax(0,1fr)}.admin-product-edit-form--details .input,.admin-product-edit-form--details .admin-product-description-input,.admin-product-edit-form--details .admin-product-edit-hint,.admin-product-edit-form--details .admin-edit-actions,.admin-product-edit-form--details .error,.admin-product-edit-form--pricing .admin-edit-actions,.admin-product-edit-form--pricing .error{grid-column:1/-1}.admin-product-edit-form .input,.admin-target-form .input{min-width:0}.admin-product-description-input{min-height:88px}.admin-edit-actions{grid-template-columns:minmax(0,1fr)}.admin-product-footer{justify-content:center}.admin-sales-button{width:min(100%,320px)}}.empty-state{place-items:center;min-height:100svh;padding:18px;display:grid}.auth-shell{background:var(--bg);min-height:100svh;color:var(--text);place-items:center;padding:18px;display:grid}.auth-panel{border-radius:var(--radius);background:var(--surface);width:min(100%,620px);box-shadow:var(--shadow);border:1px solid #e7e9eef2;gap:16px;padding:clamp(20px,5vw,30px);display:grid}.auth-shell.mini-app-auth-shell{background:radial-gradient(circle at 8% 0%, #c4932f21, transparent 28rem), radial-gradient(circle at 88% 8%, #3870ff17, transparent 25rem), linear-gradient(180deg, #fbfaf7 0%, var(--bg) 48%, #f7f8fb 100%);padding:16px}.mini-app-auth-panel{background:#ffffffb8;border:1px solid #ffffffd1;border-radius:28px;gap:14px;width:min(100%,704px);padding:clamp(16px,4vw,22px);box-shadow:0 22px 70px #0f172a14}.mini-app-auth-shell .auth-brand{color:var(--text);gap:12px}.mini-app-auth-shell .auth-logo{border-radius:13px;width:40px;height:40px;box-shadow:0 9px 22px #0f172a24}.mini-app-auth-shell .auth-brand span{color:var(--text);font-size:14px;font-weight:500}.mini-app-auth-shell .auth-panel h1{color:var(--text);margin:2px 0 0;font-size:21px;font-weight:620;line-height:1.18}.mini-app-auth-shell .inline-status{background:#ffffffeb;border-color:#0f172a14;border-radius:14px;min-height:42px;box-shadow:0 10px 26px #0f172a0d}.mini-app-auth-shell .auth-email-panel{background:#ffffffeb;border-color:#0f172a14;border-radius:18px;padding:14px}.mini-app-auth-shell .auth-email-panel .input{border-radius:14px;height:46px}.mini-app-auth-shell .auth-email-panel .button{border-radius:14px;min-height:44px;font-size:14px}.public-access-shell{gap:14px;width:min(100%,720px);display:grid}.public-access-panel{width:100%}.public-access-header{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid #e7e9eef2;justify-content:space-between;align-items:center;gap:14px;padding:clamp(14px,4vw,20px);display:flex}.auth-brand{color:var(--muted);align-items:center;gap:12px;font-size:14px;display:flex}.public-cabinet-link{color:var(--accent);background:#f2f3f5;border:1px solid #1d1d1f14;border-radius:15px;flex:none;justify-content:center;align-items:center;width:40px;height:40px;transition:background .16s,transform .16s;display:inline-flex}.public-cabinet-link:hover,.public-cabinet-link:focus-visible{background:#e7e8eb;outline:none}.public-cabinet-link:active{transform:scale(.96)}.public-cabinet-link svg{fill:currentColor;width:20px;height:20px;display:block}.auth-logo{object-fit:cover;border-radius:16px;width:40px;height:40px;box-shadow:0 10px 26px #1f232b29}.auth-panel h1{margin:4px 0 2px;font-size:clamp(25px,6vw,32px);font-weight:700;line-height:1.12}.public-access-panel>h1{color:#1d1d1f;margin:4px 0 6px;font-size:20px;font-weight:400;line-height:1.24}.auth-section-title{margin:2px 0 -4px;font-size:18px;line-height:1.15}.public-product-list{gap:16px;display:grid}.public-product-card{background:#fff;border:1px solid #1d1d1f0f;border-radius:24px;gap:16px;padding:clamp(20px,5vw,28px);display:grid;box-shadow:0 10px 22px #1d1d1f1f}.public-product-card .card-title{margin-bottom:0}.public-product-card h3{color:#1d1d1f;margin:0;font-size:20px;font-weight:600;line-height:1.15}.public-product-subtitle{color:#1d1d1f;margin:0;font-size:14px;font-weight:400;line-height:1.35}.public-amount{color:#1d1d1f;margin:0;font-size:24px;font-weight:600}.public-product-select{appearance:none;color:#6f7581;background:#fff url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.25L7 6.75L12.5 1.25' stroke='%236F7581' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") right 24px center/14px 8px no-repeat;border-color:#1d1d1f29;border-radius:20px;height:62px;padding:0 52px 0 22px;font-size:17px}.public-product-card .button{background:#1d1d1f;border-radius:22px;height:48px;min-height:48px;font-size:16px;font-weight:500}.public-product-card .button:hover{background:#2b2b2f}.public-method-grid{gap:10px;display:grid}.public-email-panel{gap:12px}.sheet-backdrop{z-index:30;background:#12141847;align-items:end;padding:14px;display:grid;position:fixed;inset:0}.checkout-sheet{background:var(--surface);border:1px solid #e7e9eef2;border-radius:24px;gap:14px;width:min(100%,620px);max-height:calc(100svh - 28px);margin:0 auto;padding:18px;display:grid;overflow:auto;box-shadow:0 22px 60px #1f232b38}.checkout-sheet-header{justify-content:space-between;gap:14px;display:flex}.checkout-sheet-header h2{margin:0 0 6px;font-size:22px;line-height:1.15}.checkout-sheet-header p{color:var(--muted);margin:0;font-size:14px;line-height:1.35}.sheet-close{width:38px;height:38px;color:var(--muted);cursor:pointer;background:#eef1f6;border:0;border-radius:999px;flex:none;font-size:24px;line-height:1}.auth-methods{gap:10px;display:grid}.auth-method{border:1px solid var(--line);width:100%;min-height:58px;color:var(--text);cursor:pointer;background:#fbfcff;border-radius:17px;grid-template-columns:40px 1fr 40px;align-items:center;padding:0 14px;transition:border-color .16s,background .16s,transform .16s;display:grid}.auth-method:hover,.auth-method:focus-visible,.auth-method.active{background:#1d1d1f0d;border-color:#1d1d1f42;outline:none}.auth-method:active{transform:scale(.99)}.auth-method strong{justify-self:center;font-size:17px;font-weight:650;line-height:1.15}.auth-method-icon{width:34px;height:34px;color:var(--accent);background:#f2f3f5;border-radius:999px;justify-content:center;align-items:center;font-size:13px;font-weight:750;display:inline-flex}.auth-method-icon svg{fill:currentColor;width:21px;height:21px;display:block}.auth-method-icon.max{color:var(--accent);background:#f2f3f5}.auth-method-icon.max .max-dot{fill:currentColor}.auth-method-icon.telegram,.auth-method-icon.email{color:var(--accent);background:#f2f3f5}.auth-email-panel{border:1px solid var(--line);background:#fbfcffb3;border-radius:18px;gap:10px;padding:14px;display:grid}.auth-email-panel .form{gap:10px}.auth-email-panel .input{border-color:var(--line);height:50px;color:var(--text);background:#fff;border-radius:15px}.auth-email-panel .input::placeholder{color:#9aa1ad}.auth-email-panel .button{background:var(--accent);color:#fff;border-radius:15px;min-height:50px;font-size:16px;font-weight:500}.auth-email-panel .button:hover{background:var(--accent-pressed)}.auth-email-panel .success{color:var(--success)}.auth-email-panel .error{color:var(--danger)}.user-shell{--text:#101b32;--muted:#68728a;--line:#e5e8ef;--accent:#071a34;--accent-pressed:#0c2547;--telegram:#1d9bf0;--telegram-pressed:#168de1;--max:#7530e8;--max-pressed:#6326ca;background:#f6f7f9;padding:8px}.user-shell .app-frame{width:min(100%,918px);box-shadow:none;background:0 0;border:0;border-radius:0;gap:38px;padding:16px 18px}.user-shell .topbar{min-height:112px;padding:0}.user-shell .brand{gap:34px}.user-shell .brand-logo{border-radius:11px;width:40px;height:40px;box-shadow:0 8px 18px #0f172a24}.user-shell .brand span{color:var(--text);max-width:470px;font-size:20px;font-weight:400;line-height:1.2}.user-shell .logout-button{box-shadow:none;color:var(--text);border:1px solid #0f172a1a;border-radius:18px;min-height:42px;padding:0 14px;font-size:14px;font-weight:500}.user-shell .logout-button-icon{color:#62708b;stroke-width:1.8px;width:18px;height:18px}.user-shell .nav-pills{background:#fbfcff;border:1px solid #0f172a1a;border-radius:30px;gap:0;padding:6px;box-shadow:inset 0 1px 2px #0f172a08}.user-shell .nav-pills a{color:#6f7890;border-radius:24px;justify-content:center;align-items:center;gap:4px;min-height:52px;padding:0 14px;font-size:17px;font-weight:400;display:inline-flex}.user-shell .nav-pills a.active{color:#0b63ff;background:#fff;border-color:#0f172a14;font-weight:700;box-shadow:0 7px 18px #0f172a14}.nav-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:22px;height:22px}.user-shell .stack,.user-shell .payments-view{gap:16px}.user-shell .section-heading{color:var(--text);font-size:28px;font-weight:500;line-height:1.1}.user-shell .subscription-section{gap:16px}.user-shell .subscription-section>.card,.user-shell .product-card{background:#fff;border:1px solid #0f172a17;border-radius:24px;padding:18px;box-shadow:0 10px 26px #0f172a0d}.user-shell .subscription-list{gap:18px}.user-shell .subscription-row{background:0 0;border:0;border-radius:0;gap:0;padding:0}.subscription-summary{grid-template-columns:40px minmax(0,1fr);align-items:center;gap:20px;display:grid}.subscription-product-icon{color:#fff;background:#071a34;border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.subscription-product-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:22px;height:22px}.user-shell .subscription-heading{grid-template-columns:minmax(0,1fr);gap:14px}.user-shell .subscription-heading strong{color:var(--text);text-transform:uppercase;font-size:20px;font-weight:500;line-height:1.12}.user-shell .subscription-heading-meta{justify-content:flex-start;align-items:center;gap:36px;max-width:none;display:flex}.user-shell .subscription-heading-meta span{color:#606b83;background:0 0;border:0;border-radius:0;min-height:0;padding:0;font-size:16px}.subscription-meta-item{align-items:center;gap:4px;display:inline-flex}.subscription-meta-item svg{fill:none;stroke:#65708a;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:22px;height:22px}.subscription-purchase-date,.subscription-legacy-meta{display:none!important}.user-shell .subscription-access-block{border-top:1px solid #0f172a1a;gap:18px;margin-top:22px;padding-top:20px}.user-shell .subscription-invite-note{color:var(--text);font-size:14px;font-weight:400;line-height:1.4}.user-shell .subscription-actions{gap:0}.user-shell .subscription-access-row{border-bottom:1px solid #0f172a1a;grid-template-columns:minmax(0,1fr) clamp(128px,28vw,176px);gap:16px;min-height:56px;padding:12px 4px;display:grid}.user-shell .subscription-access-row:last-child{border-bottom:0;padding-bottom:0}.user-shell .subscription-access-label{color:var(--text);align-items:center;gap:12px;font-size:14px;font-weight:500;display:inline-flex}.user-shell .subscription-access-control,.user-shell .subscription-connect-action,.user-shell .subscription-privacy-control{justify-items:stretch}.subscription-access-icon{border-radius:999px;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.subscription-access-icon svg{width:22px;height:22px}.subscription-access-icon.telegram{color:#1d9bf0;background:#edf7ff}.subscription-access-icon.telegram svg{fill:currentColor}.subscription-access-icon.users{color:#5bc982;background:#eaf8f0}.subscription-access-icon.megaphone{color:#7530e8;background:#f4edff}.subscription-access-icon.users svg,.subscription-access-icon.megaphone svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px}.user-shell .subscription-open-link,.user-shell .subscription-actions .button,.user-shell .subscription-access-state{border-radius:14px;font-size:14px;font-weight:500}.user-shell .subscription-open-link,.user-shell .subscription-actions .button{min-height:36px}@media (min-width:720px){.user-shell .subscription-open-link,.user-shell .subscription-actions .button,.user-shell .legacy-access-claim .button,.user-shell .subscription-privacy-check{min-height:48px}}.user-shell .subscription-open-link,.user-shell .subscription-actions .button{gap:16px}.user-shell .subscription-actions .button,.user-shell .subscription-access-state{white-space:nowrap;min-width:0}.user-shell .subscription-actions .button{justify-self:stretch;width:100%}.user-shell .subscription-access-state{justify-self:end;width:fit-content}.user-shell .subscription-open-link,.user-shell .subscription-actions .button{justify-self:stretch;width:100%}.user-shell .subscription-actions .button{padding-left:12px;padding-right:12px}.user-shell .subscription-actions .button-telegram:before,.user-shell .subscription-open-link.button-telegram:before{content:"";background:currentColor;width:18px;height:18px;-webkit-mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 5.6 16.9 19c-.2.9-.9 1.1-1.7.7l-4.6-3.4-2.2 2.1c-.3.3-.5.5-1 .5l.4-4.7 8.5-7.7c.4-.3-.1-.5-.5-.2L5.3 12.9.8 11.5c-1-.3-1-.9.2-1.4L18.5 3.4c.8-.3 1.7.2 1.5 2.2Z'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 5.6 16.9 19c-.2.9-.9 1.1-1.7.7l-4.6-3.4-2.2 2.1c-.3.3-.5.5-1 .5l.4-4.7 8.5-7.7c.4-.3-.1-.5-.5-.2L5.3 12.9.8 11.5c-1-.3-1-.9.2-1.4L18.5 3.4c.8-.3 1.7.2 1.5 2.2Z'/%3E%3C/svg%3E") 50%/contain no-repeat}.user-shell .subscription-actions .button-max:before,.user-shell .subscription-open-link.button-max:before{content:"";background:currentColor;width:18px;height:18px;-webkit-mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h10'/%3E%3Cpath d='m11 6 6 6-6 6'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h10'/%3E%3Cpath d='m11 6 6 6-6 6'/%3E%3C/svg%3E") 50%/contain no-repeat}.user-shell .subscription-access-state.good{color:#11a652;background:0 0;border-radius:0;gap:10px;min-height:0;padding:0;font-size:14px;font-weight:500}.user-shell .subscription-access-state.good:before{content:"✓";border:1.5px solid;border-radius:999px;flex:none;place-items:center;width:16px;height:16px;font-size:10px;line-height:1;display:inline-grid}.user-shell .product-card{gap:22px;padding:24px 24px 22px}.user-shell .product-card-head{grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:16px}.user-shell .product-card-mark{color:#fff;background:#071a34;border-radius:12px;width:40px;height:40px}.user-shell .product-card-mark svg{stroke-width:2px;width:22px;height:22px}.user-shell .product-card h3{color:var(--text);font-size:27px;font-weight:500;line-height:1.08}.user-shell .product-card-subtitle{color:#727b92;margin-top:8px;font-size:16px;line-height:1.25}.product-card-star{color:#1167ff;background:#f2f5ff;border-radius:999px;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.product-card-star svg{fill:currentColor;width:20px;height:20px}.user-shell .product-card .amount{color:var(--text);margin:0;font-size:28px;font-weight:750}.user-shell .product-card .product-select-button{color:var(--text);background:#fff;border-color:#0f172a21;border-radius:22px;height:40px;min-height:40px;padding:0 36px 0 16px;font-size:17px}.user-shell .product-card .product-select-chevron{right:14px}.user-shell .product-card .product-select-chevron svg{width:14px;height:8px}.user-shell .product-card .product-select-option{min-height:36px;padding:0 24px;font-size:16px}.user-shell .product-card .button{background:#071a34;border-radius:20px;gap:16px;height:48px;min-height:48px;font-size:17px;font-weight:500}.user-shell .product-card .button:before{content:"";background:currentColor;width:18px;height:18px;-webkit-mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 8.5h9l1.1 11H6.4l1.1-11Z'/%3E%3Cpath d='M9.5 8.5V7a2.5 2.5 0 0 1 5 0v1.5'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 8.5h9l1.1 11H6.4l1.1-11Z'/%3E%3Cpath d='M9.5 8.5V7a2.5 2.5 0 0 1 5 0v1.5'/%3E%3C/svg%3E") 50%/contain no-repeat}@media (max-width:520px){.auth-shell{align-items:stretch;padding:12px}.auth-panel{border-radius:22px;align-content:start;min-height:calc(100svh - 24px)}.auth-method{grid-template-columns:38px 1fr;min-height:56px}.auth-method strong{justify-self:start}}@media (max-width:719px){.user-shell{padding:4px}.user-shell .app-frame{gap:24px;padding:12px}.user-shell .topbar{min-height:70px}.user-shell .brand{gap:14px}.user-shell .brand-logo{border-radius:18px;width:40px;height:40px}.user-shell .brand span{max-width:44vw;font-size:16px}.user-shell .logout-button{border-radius:16px;min-height:38px;padding:0 11px;font-size:14px;font-weight:500}.user-shell .logout-button-icon{width:18px;height:18px}.user-shell .nav-pills{border-radius:22px;padding:4px}.user-shell .nav-pills a{border-radius:18px;gap:4px;min-height:52px;padding:0 8px;font-size:13px}.nav-icon{width:21px;height:21px}.user-shell .section-heading{font-size:20px}.user-shell .payments-view{gap:16px}.user-shell .purchase-section-heading{margin-top:24px}.user-shell .subscription-section>.card,.user-shell .product-card{border-radius:22px;padding:16px}.subscription-summary{grid-template-columns:40px minmax(0,1fr);gap:16px}.subscription-product-icon{border-radius:18px;width:40px;height:40px}.subscription-product-icon svg{width:22px;height:22px}.user-shell .subscription-heading strong{font-size:20px}.user-shell .subscription-heading-meta{gap:10px 16px}.user-shell .subscription-heading-meta span{font-size:13px}.subscription-meta-item svg{width:22px;height:22px}.user-shell .subscription-invite-note{font-size:14px}.user-shell .subscription-access-row{grid-template-columns:minmax(0,1fr) clamp(128px,28vw,176px);align-items:center;gap:12px;min-height:0;padding:12px 0}.user-shell .subscription-access-label{gap:12px;font-size:14px;font-weight:500}.user-shell .subscription-access-control,.user-shell .subscription-connect-action,.user-shell .subscription-privacy-control{justify-items:stretch}.user-shell .subscription-open-link,.user-shell .subscription-actions .button,.user-shell .subscription-access-state{min-height:42px;font-size:14px}.user-shell .product-card-head{grid-template-columns:40px minmax(0,1fr) 40px;gap:16px}.user-shell .product-card-mark{border-radius:18px;width:40px;height:40px}.user-shell .product-card-mark svg{width:22px;height:22px}.user-shell .product-card h3,.user-shell .product-card .amount{font-size:20px}.user-shell .product-card-subtitle,.user-shell .product-card .product-select-button,.user-shell .product-card .button{font-size:14px}.product-card-star{width:40px;height:40px}.product-card-star svg{width:20px;height:20px}.user-shell .product-card .product-select-button{border-radius:18px;height:58px;min-height:58px;padding-left:18px}.user-shell .product-card .button{border-radius:18px;height:48px;min-height:48px}}
