:root{--tg-bg-color: #ded0c3;--tg-text-color: #2b1e18;--bg: #ded0c3;--bg-soft: #ebe0d7;--surface: #f7f1eb;--surface-2: #fffaf5;--surface-3: #efe5dc;--border: #d8c8ba;--text: #2b1e18;--muted: #75665c;--muted-2: #9a8b81;--primary: #664c3e;--primary-hover: #563f33;--accent: #d9a441;--accent-soft: #f4df9b;--success: #4f7f55;--success-soft: #e3f0df;--warning: #a87821;--warning-soft: #f6e8be;--danger: #c65454;--danger-soft: #f2dddd;--radius-xl: 32px;--radius-lg: 24px;--radius-md: 18px;--radius-sm: 14px;--shadow-card: 0 22px 60px rgba(43, 30, 24, .12);--shadow-soft: 0 10px 30px rgba(43, 30, 24, .08)}*{box-sizing:border-box;min-width:0}html,body,#root{width:100%;min-height:100%}html{background:var(--bg)}body{margin:0;overflow-x:hidden;background:radial-gradient(circle at 14% 0%,rgba(255,250,245,.7),transparent 30%),radial-gradient(circle at 92% 8%,rgba(244,223,155,.36),transparent 26%),linear-gradient(180deg,var(--bg-soft),var(--bg));color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button{min-height:48px;max-width:100%;border:1px solid transparent;border-radius:var(--radius-md);background:var(--primary);color:#fffaf5;font:inherit;font-weight:800;padding:0 16px;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease}button:hover{background:var(--primary-hover)}button:active{transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.58}button:focus-visible{outline:3px solid rgba(217,164,65,.42);outline-offset:2px}.buttonContent{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%}.buttonContent svg{flex:0 0 auto}h1,h2,h3,p{margin:0}h1{font-size:clamp(26px,7vw,38px);line-height:1.02}h2{font-size:19px;line-height:1.15;margin-bottom:14px}h3{font-size:16px}h1,h2,h3,p,strong,span{overflow-wrap:anywhere}.app{width:min(560px,100%);min-height:100vh;min-height:100svh;margin:0 auto;padding:calc(12px + env(safe-area-inset-top)) 14px calc(34px + env(safe-area-inset-bottom));display:grid;align-content:start;gap:16px}.topbar{position:sticky;top:calc(8px + env(safe-area-inset-top));z-index:5;display:flex;align-items:center;padding:8px;border:1px solid rgba(216,200,186,.78);border-radius:999px;background:#fffaf5c2;box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);overflow:hidden}.iconButton{width:44px;min-height:44px;padding:0;border-radius:999px;background:var(--surface-2);color:var(--primary);border-color:var(--border);display:inline-grid;place-items:center;font-size:22px;line-height:1}.iconButton:hover{background:var(--surface-3)}.smallIconButton{width:36px;height:36px;min-width:36px;max-width:36px;min-height:36px;max-height:36px;padding:0;flex:0 0 36px;font-size:16px}.happLinkActions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;width:100%}.happLinkActions .secondaryButton{min-height:36px;padding:0 12px;flex:1 1 auto;min-width:0;white-space:nowrap}.clientSelectorTitle{margin:2px 0 -2px}.clientSelector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.clientSelector button{min-height:50px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text);border-color:var(--border);box-shadow:none;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;justify-items:start;gap:9px;text-align:left}.clientSelector button.active{background:var(--primary);color:#fffaf5;border-color:var(--primary)}.clientSelector strong{font-size:11px;line-height:1.1;font-weight:700;color:inherit;opacity:.78}.clientSelectorIcon{width:34px;height:34px;border-radius:8px;object-fit:cover}.clientSelectorText{min-width:0;display:grid;gap:3px}.miniSideNav{position:sticky;top:calc(72px + env(safe-area-inset-top));z-index:4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px;border:1px solid rgba(216,200,186,.78);border-radius:var(--radius-lg);background:#fffaf5c7;box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.miniSideNav button{min-height:42px;padding:0 8px;border-radius:var(--radius-sm);background:var(--surface-2);border-color:var(--border);color:var(--text);box-shadow:none;font-size:12px;line-height:1.08;text-align:left;display:flex;align-items:center;gap:8px}.miniSideNav button:hover{background:var(--surface-3)}.navIcon{width:16px;height:16px;display:inline-grid;place-items:center;flex:0 0 auto}.navIcon svg{width:100%;height:100%}.titleInline{display:inline-flex;align-items:center;gap:8px}.titleIcon{display:inline-flex;margin-right:8px;transform:translateY(-1px)}.miniSideNav button.active{background:var(--primary);color:#fffaf5;border-color:var(--primary)}.topbarBrand{width:100%;min-width:0;min-height:52px;padding:0 14px 0 8px;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:2px;background:var(--surface-2);color:var(--text);border-color:var(--border);box-shadow:inset 0 0 0 1px #ffffff6b;overflow:hidden}.topbarBrand:hover{background:var(--surface-3)}.topbarBrand span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brandMark{width:30px;height:30px;flex:0 0 auto;display:grid;place-items:center;border-radius:8px;overflow:hidden}.brandMarkIcon{width:100%;height:100%;display:block}.hero,.card,.stepCard,.plan,.subscriptionCard,.installSection{width:100%;background:#f7f1ebeb;border:1px solid var(--border);border-radius:var(--radius-lg);padding:18px;box-shadow:var(--shadow-card);color:var(--text)}.hero{min-height:148px;display:grid;align-content:end;gap:11px;background:radial-gradient(circle at top right,rgba(244,223,155,.42),transparent 34%),linear-gradient(140deg,#fffaf5f2,#f7f1ebe0),var(--surface)}.hero.compact{min-height:auto}.homeHero{min-height:176px;border-radius:var(--radius-xl)}.pageHero{gap:9px}.pageHero p:not(.eyebrow),.hero p:not(.eyebrow){color:var(--muted);line-height:1.45}.subscriptionCard{min-height:224px;display:grid;align-content:end;gap:16px;border-radius:var(--radius-xl);background:radial-gradient(circle at top right,rgba(244,223,155,.72),transparent 34%),linear-gradient(145deg,#fffaf5,#f2e8df 58%,#eaded3)}.subscriptionKey{max-width:100%;font-size:clamp(30px,9vw,52px);line-height:.98;letter-spacing:0;overflow-wrap:anywhere;word-break:break-word}.accountTag{max-width:100%;color:var(--text);font-size:34px;line-height:1.04;letter-spacing:0;overflow-wrap:anywhere;word-break:break-word}.accountTagRow{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px}.accountTagRow .accountTag{flex:0 1 auto;min-width:0}.metaGrid.subscriptionMetrics{margin-top:2px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.subscriptionMetrics .metric{min-height:72px;padding:10px 12px;gap:8px}.subscriptionMetrics .metric span{font-size:11px}.subscriptionMetrics .metric strong{font-size:14px;line-height:1.2}.installSection{display:grid;gap:14px}.installSection h2{margin-bottom:0}.dashboardCard,.infoCard,.referralCard,.statsCard,.instructionsCard{display:grid;gap:14px}.instructionsCard{margin-bottom:6px}.instructionsCardText{display:grid;gap:8px}.instructionsCardText p{color:var(--muted);line-height:1.5}.instructionsCardButton{width:100%}.instructions-page{display:grid;gap:16px}.instructions-hero-card{border-radius:var(--radius-xl)}.instructions-section,.instructions-manual-card{display:grid;gap:14px;padding:18px;border:1px solid var(--border);border-radius:var(--radius-lg);background:#f7f1ebeb;box-shadow:var(--shadow-card)}.instructions-section-heading{display:grid;gap:7px}.instructions-section h2,.instructions-manual-card h2{margin-bottom:0}.instructions-section-heading p,.instructions-manual-card p,.instructions-step-card p,.instructions-screenshot-card p,.instructions-platform-card p,.instructions-faq-card p{color:var(--muted);line-height:1.5}.instructions-live-guide>.clientSelectorTitle{margin-top:4px}.instructions-live-guide>.stepCard{padding:15px;border-radius:var(--radius-md);box-shadow:var(--shadow-soft)}.instructions-steps-grid,.instructions-screenshots-grid,.instructions-platforms-grid,.instructions-faq-list{display:grid;gap:12px}.instructions-step-card,.instructions-platform-card{display:grid;gap:9px;padding:15px;border:1px solid rgba(216,200,186,.76);border-radius:var(--radius-md);background:var(--surface-2)}.instructions-step-card>span{display:grid;place-items:center;width:32px;height:32px;border:1px solid rgba(217,164,65,.58);border-radius:999px;background:var(--accent-soft);color:var(--primary);font-weight:900}.instructions-manual-card{border-style:dashed;background:linear-gradient(180deg,#f4df9b38,#f7f1ebf5),var(--surface)}.instructions-screenshot-card{display:grid;gap:11px;margin:0;padding:12px;overflow:hidden;border:1px solid rgba(216,200,186,.76);border-radius:var(--radius-md);background:linear-gradient(180deg,#f4df9b24,#fffaf5f5),var(--surface-2);box-shadow:var(--shadow-soft)}.instructions-screenshot-card img{display:block;width:100%;max-width:100%;height:auto;border-radius:var(--radius-sm);background:var(--surface-3);object-fit:contain}.instructions-screenshot-card figcaption{display:grid;gap:6px}.instructions-platform-card small{padding-top:9px;border-top:1px solid rgba(216,200,186,.72)}.instructions-platform-downloads{display:flex;flex-wrap:wrap;gap:8px}.instructions-platform-download-button{flex:1 1 150px;min-height:42px;padding:8px 12px;border-color:var(--border);border-radius:var(--radius-sm);background:var(--surface-3);color:var(--primary);box-shadow:none;font-size:13px;line-height:1.25}.instructions-platform-download-button:hover{background:var(--accent-soft)}.instructions-faq-card{padding:14px 15px;border:1px solid rgba(216,200,186,.76);border-radius:var(--radius-md);background:var(--surface-2)}.instructions-faq-card summary{color:var(--text);cursor:pointer;font-weight:800;line-height:1.4}.instructions-faq-card p{margin-top:10px}.referralCard{gap:0}.referralCard h2{margin-bottom:28px}.eyebrow{color:#8a6424;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.muted,.hint,small{color:var(--muted);line-height:1.45}.hint{font-size:13px;margin-top:10px;padding:10px 12px;border-radius:var(--radius-sm);background:#fffaf594;border:1px solid rgba(216,200,186,.62)}.error{color:var(--danger);background:#c654541c;border:1px solid rgba(198,84,84,.28);border-radius:var(--radius-md);padding:12px}.metaGrid{display:grid;grid-template-columns:1fr;gap:10px}.metric{min-height:94px;display:grid;align-content:space-between;gap:10px;padding:14px;border-radius:var(--radius-md);background:#fffaf5c7;border:1px solid rgba(216,200,186,.76);box-shadow:inset 0 1px #ffffff70}.metric span{color:var(--muted);font-size:12px;font-weight:700}.metric strong{overflow-wrap:anywhere;word-break:break-word;color:var(--text);font-size:16px}.metricFooter{display:flex;align-items:center;justify-content:space-between;gap:8px}.metricFooter strong{flex:1 1 auto}.metricLinkHint{flex:0 0 auto;color:var(--muted);font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}.metricButton{width:100%;border:1px solid rgba(216,200,186,.76);text-align:left;justify-content:start;background:#fffaf5c7;box-shadow:inset 0 1px #ffffff70;color:var(--text)}.metricButton:hover{background:var(--surface-2)}.homeUserRow{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.homeTelegramTag{min-width:0;overflow-wrap:anywhere;word-break:break-word}.subscriptionStatusBadge{display:inline-flex;align-items:center;flex:0 0 auto;min-height:26px;padding:4px 9px;border:1px solid rgba(140,117,72,.34);border-radius:999px;background:#f4df9b7a;color:#5c563b;font-size:11px;font-weight:800;line-height:1.15;white-space:nowrap}.subscriptionStatusBadge.inactive{border-color:#75665c47;background:#fffaf58f;color:var(--muted)}.subscriptionStatusBadge.trial{border-color:#d9a44194;background:#fffaf5b8;color:var(--primary)}.referralLinkBox{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 10px 10px 12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-2)}.referralLinkBox code{min-width:0;overflow:hidden;color:var(--text);font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.referralLinkBox button{width:42px;min-height:42px;padding:0;border-radius:var(--radius-sm);background:var(--surface-3);border-color:var(--border);color:var(--primary)}.referralLinkBox button:hover,.referralLinkBox button.copied{background:var(--accent-soft)}.referralLinkControl{display:grid;gap:4px}.copyStatus{display:block;min-height:0;margin-top:0;color:var(--success);font-size:12px;font-weight:700;line-height:1}.referralActions{display:grid;grid-template-columns:minmax(0,1fr) auto;margin-top:6px;gap:10px}.referralActions button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.referralActions .secondaryButton{min-width:92px}.referralStatsGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.referralStatsGrid .metric{min-height:64px;padding:8px;gap:4px}.referralStatsGrid .metric span{font-size:10px;line-height:1.15}.referralStatsGrid .metric strong{font-size:18px;line-height:1}.statsCard .muted{font-size:13px;line-height:1.35}.actionGrid,.plans,.buttonStack{display:grid;gap:10px}.actionGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.actionButton{min-height:74px;display:flex;align-items:center;background:var(--surface-2);color:var(--text);border-color:var(--border);box-shadow:var(--shadow-soft);text-align:left;justify-content:start;overflow-wrap:anywhere}.actionButton:hover{background:var(--surface-3)}.actionButton.primary{grid-column:1 / -1;background:var(--primary);color:#fffaf5;border-color:var(--primary);justify-content:center;text-align:center}.actionButton.primary:hover{background:var(--primary-hover)}.buttonStack{margin-top:2px}.buttonStack button{width:100%}.happDownloadBlock{display:grid;gap:10px}.happDownloadIntro{display:grid;gap:6px;color:var(--text)}.happDownloadIntro span{color:var(--muted);line-height:1.45}.happDownloadGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.happDownloadGrid>:last-child:nth-child(odd){grid-column:1 / -1}.happDownloadGrid button{width:100%}.happDownloadHintLink{grid-column:1 / -1;justify-self:center;font-size:12px;line-height:1.35;color:var(--muted);text-decoration:underline;text-underline-offset:2px}.giftTabs{display:flex;align-items:end;gap:4px;margin:0 10px -1px;padding:0 6px;position:relative;z-index:1}.giftTabs button{flex:1 1 0;min-height:48px;padding:0 10px;border:1px solid var(--border);border-bottom-color:var(--border);border-radius:var(--radius-md) var(--radius-md) 0 0;background:var(--surface-3);color:var(--text);box-shadow:none;font-size:14px;line-height:1.1;white-space:nowrap}.giftTabs button:hover{background:var(--surface-2)}.giftTabs button.active{min-height:52px;margin-bottom:-1px;background:var(--surface);border-bottom-color:var(--surface);color:var(--primary);z-index:2}.giftTabPanel{padding:12px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-soft)}.giftPanelError{margin:0 16px}.giftEmptyState{padding:32px 16px;text-align:center}.giftList{display:grid;gap:12px}.giftCard{padding:16px}.giftCardHeader{display:flex;justify-content:space-between;align-items:start;gap:12px}.giftCard h4{margin:0 0 4px;font-size:15px}.giftPlan{margin-bottom:8px;color:var(--muted);font-size:14px}.giftStatusText,.giftDate{color:var(--muted);font-size:12px}.giftDate{margin-top:6px}.giftStatusBadge{flex:0 0 auto;max-width:42%;padding:4px 8px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-3);color:var(--muted);font-size:12px;font-weight:800;line-height:1.15;text-align:center}.giftStatusBadge.success{background:var(--success-soft);border-color:var(--success-soft);color:var(--success)}.giftStatusBadge.warning{background:var(--warning-soft);border-color:var(--warning-soft);color:var(--warning)}.giftStatusBadge.danger{background:var(--danger-soft);border-color:var(--danger-soft);color:var(--danger)}.giftStatusBadge.muted{background:var(--surface-3);color:var(--muted)}.giftActionRow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:12px}.giftActionRow button{min-height:42px;padding:0 12px;border-radius:var(--radius-sm);font-size:14px}.giftPrimaryAction{background:var(--primary);color:#fffaf5;border-color:var(--primary)}.giftPrimaryAction:hover{background:var(--primary-hover)}.giftSecondaryAction{background:var(--surface-3);color:var(--text);border-color:var(--border)}.giftPendingAction{margin-top:12px}.autorenewOptIn{grid-column:1 / -1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding-top:12px;border-top:1px solid var(--border)}.autorenewOptIn input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--primary)}.autorenewOptIn span{display:grid;gap:4px}.autorenewOptIn strong{font-size:14px}.autorenewOptIn small{color:var(--muted);font-size:12px;line-height:1.45}.giftPendingAction button{width:100%}.devicesSummary{display:grid;gap:10px}.devicesSummary>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.devicesSummary span,.devicesSummary p{color:var(--muted)}.devicesSummary strong{color:var(--text);font-size:22px}.successText{color:var(--success)}.errorText{color:var(--danger)}.devicesListPanel{display:grid;gap:10px;padding:12px}.devicesListHeader{display:flex;align-items:center;justify-content:space-between;gap:12px}.devicesListHeader h2{margin-bottom:0;color:var(--text);font-size:16px}.devicesListHeader span{min-width:28px;height:24px;display:inline-grid;place-items:center;border-radius:999px;background:var(--surface-3);color:var(--muted);font-size:13px}.devicesList{max-height:clamp(360px,52vh,620px);overflow:auto;display:grid;gap:2px;padding-right:6px;scrollbar-gutter:stable}.devicesListEmpty{color:var(--muted);font-size:14px}.deviceIcon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--surface-3);border:1px solid var(--border);color:var(--primary);font-size:18px;flex:0 0 auto}.deviceRow{min-height:76px;display:grid;grid-template-columns:48px minmax(0,1fr) 120px;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--radius-md)}.deviceRow+.deviceRow{border-top:1px solid rgba(216,200,186,.68)}.deviceRow:hover{background:var(--surface-2)}.deviceMain{min-width:0;display:grid;gap:2px}.deviceMain h2{margin-bottom:0;overflow:hidden;color:var(--text);font-size:15px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.deviceMain p{overflow:hidden;color:var(--muted);font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.deviceLastSeen{max-width:100%;overflow:hidden;color:var(--muted);font-size:11px;line-height:16px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.deviceMeta{min-width:0;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:6px}.deviceActionButton{--device-action-size: 34px;width:var(--device-action-size);height:var(--device-action-size);padding:0;font-size:14px;display:flex;align-items:center;justify-content:center}.deviceActionButton:disabled{opacity:.68}.deviceInactive{color:var(--muted);font-size:13px;white-space:nowrap}.devicesState.errorState{border-color:#c6545447}.devicesState button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.skeletonLine,.skeletonIcon{border-radius:var(--radius-sm);background:linear-gradient(90deg,#fffaf5a6,#efe5dcf2,#fffaf5a6)}.skeletonLine{height:18px;width:58%}.skeletonLine.wide{width:78%}.skeletonLine.short{width:104px}.skeletonIcon{width:44px;height:44px}@media(max-width:520px){.devicesList{max-height:min(52vh,520px);padding-right:4px}.deviceRow{min-height:82px;grid-template-columns:44px minmax(0,1fr) 76px;gap:8px;padding:8px 10px}.deviceIcon{width:36px;height:36px;border-radius:11px;font-size:17px}.deviceActionButton{--device-action-size: 32px;font-size:13px;display:flex;align-items:center;justify-content:center}}.secondaryButton,.ghostFullButton,.ghostButton{background:var(--surface-3);color:var(--text);border-color:var(--border)}.secondaryButton:hover,.ghostFullButton:hover,.ghostButton:hover{background:var(--surface-2)}.ghostButton{min-height:42px;padding:0 14px}.ghostButton.deviceActionButton{width:var(--device-action-size);height:var(--device-action-size);min-height:var(--device-action-size);aspect-ratio:1;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:0;line-height:1}.ghostButton.deviceActionButton svg{width:14px;height:14px;flex:0 0 auto}.ghostFullButton{width:100%}.cancelSubscriptionAction{display:grid;gap:8px;padding:2px 0 0}.cancelSubscriptionAction p{color:var(--muted);font-size:14px;line-height:1.45}.cancelSubscriptionSheet p{color:var(--muted);line-height:1.45}.confirmActions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.platformTabs,.segmented{max-width:100%;display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding-bottom:8px;scrollbar-width:none}.platformTabs::-webkit-scrollbar,.segmented::-webkit-scrollbar{display:none}.platformTab,.segmented button{flex:0 0 auto;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border-radius:var(--radius-md);background:var(--surface-2);color:var(--text);border-color:var(--border);white-space:nowrap}.platformTab:hover,.segmented button:hover{background:var(--surface-3)}.platformTab.active,.segmented button.active{background:var(--accent-soft);border-color:var(--accent);color:var(--text);box-shadow:0 8px 22px #d9a4412e}.clientGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.clientCard{min-width:0;min-height:116px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:14px;border-radius:22px;background:var(--surface-2);color:var(--text);border-color:var(--border);text-align:left;box-shadow:var(--shadow-soft)}.clientCard:hover{background:#fff7ef}.clientCard.selected{border-color:var(--accent);box-shadow:0 0 0 3px #d9a44129,var(--shadow-soft)}.clientCard.recommended .clientText span{color:#8a6424}.clientIcon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:var(--surface-3);border:1px solid var(--border);font-size:26px}.clientText{min-width:0;display:grid;gap:4px}.clientText strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clientText span{color:var(--muted);font-size:12px;font-weight:800}.stepCard{display:grid;gap:12px}.stepHead{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px}.stepHead h2{margin-bottom:0}.stepCard p{color:var(--muted);line-height:1.45}.stepIndex{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;border-radius:999px;background:var(--accent-soft);color:var(--primary);border:1px solid rgba(217,164,65,.58);font-weight:900}.stepsList{margin:0;padding:0;list-style:none;counter-reset:twa-step;color:var(--text);display:grid;gap:10px}.stepsList li{counter-increment:twa-step;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:12px;border-radius:var(--radius-md);background:var(--surface-2);border:1px solid rgba(216,200,186,.72);line-height:1.45}.stepsList li:before{content:counter(twa-step);width:30px;height:30px;flex:0 0 auto;display:grid;place-items:center;border-radius:999px;background:var(--accent-soft);color:var(--primary);border:1px solid rgba(217,164,65,.52);font-weight:900;font-size:13px}.plan{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;background:linear-gradient(145deg,#fffaf5fa,#f7f1ebeb),var(--surface)}.compactPlan{min-height:104px;padding:14px;grid-template-columns:minmax(0,1fr)}.popularPlan{border-color:#d9a441b8;box-shadow:0 18px 46px #946a2526}.compactPlanAction{display:grid;grid-template-columns:minmax(0,1fr) minmax(96px,auto);align-items:center;gap:12px}.compactPlanAction strong{font-size:22px;line-height:1.1}.compactPlanAction button{min-height:42px;padding:0 14px}.deviceLimitSelector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.deviceLimitCard{grid-column:1 / -1;display:grid;gap:10px;align-content:start}.deviceLimitCard h2{margin:0}.deviceLimitCard small{color:var(--muted);font-size:13px;font-weight:800}.deviceLimitSelector button,.deviceLimitSelector input{min-height:44px;padding:0 10px}.deviceLimitSelector input{min-width:0;text-align:center;border:1px solid var(--line);border-radius:8px;font:inherit;font-weight:800}.planContent{min-width:0;display:grid;gap:8px}.plan h3{overflow-wrap:anywhere}.planBadges{display:flex;flex-wrap:wrap;gap:6px}.planBadge{width:fit-content;border-radius:999px;border:1px solid rgba(139,111,71,.22);background:#e8dcc8c2;color:var(--primary);padding:3px 8px;font-size:11px;font-weight:800;line-height:1.1}.planBadge.discount{background:#d9a44133;border-color:#d9a44161}.plan strong{color:var(--primary);font-size:18px;white-space:nowrap}.loadingState{padding:18px;border-radius:var(--radius-lg);background:#f7f1ebeb;border:1px solid var(--border);box-shadow:var(--shadow-soft);color:var(--muted);text-align:center}.paymentMethodsCard{grid-column:1 / -1;display:grid;gap:10px;margin-bottom:8px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-lg);background:#f7f1ebeb;box-shadow:var(--shadow-soft)}.paymentMethodsHeader{display:flex;align-items:center;justify-content:space-between;gap:10px}.paymentMethodsHeader h2{margin:0;font-size:16px}.paymentMethodsHeader>span{min-width:30px;padding:4px 8px;border-radius:999px;background:var(--surface-3);color:var(--muted);font-size:12px;font-weight:800;line-height:1.2;text-align:center}.paymentMethodsEmpty,.paymentMethodsHint,.paymentMethodsError{color:var(--muted);font-size:13px;line-height:1.45}.paymentMethodsEmpty{display:grid;gap:3px}.paymentMethodsError{color:var(--danger)}.paymentMethodsList{display:grid;gap:6px}.paymentMethodRow{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;padding:8px;border:1px solid rgba(216,200,186,.72);border-radius:var(--radius-sm);background:var(--surface-2)}.paymentMethodIcon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:11px;background:var(--surface-3);color:var(--primary);font-size:16px}.paymentMethodTitle{min-width:0;overflow:hidden;color:var(--text);font-size:13px;font-weight:800;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.paymentMethodDelete{min-height:34px;padding:0 10px;border-color:var(--border);border-radius:11px;background:var(--surface-3);color:var(--primary);font-size:12px;box-shadow:none}.paymentMethodDelete:hover{background:var(--accent-soft)}code{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word;margin:10px 0;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-3);color:var(--text)}.emptyState{min-height:190px;display:grid;align-content:center;gap:14px;text-align:center}.emptyState p{color:var(--muted);line-height:1.45}.inlineEmpty{display:grid;gap:6px;padding:16px;border-radius:var(--radius-md);background:var(--surface-2);border:1px solid rgba(216,200,186,.72)}.paymentStatus{display:grid;gap:6px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-2);text-align:left}.paymentStatus span{color:var(--muted);font-size:12px}.paymentStatus strong{overflow-wrap:anywhere;word-break:break-word}.giftLinkBox{display:grid;gap:8px;width:100%;padding:12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-2);text-align:left}.giftLinkBox span{color:var(--muted);font-size:12px;font-weight:700}.giftLinkBox code{white-space:normal;overflow-wrap:anywhere;word-break:break-word}.paymentResultCard{position:relative;overflow:hidden}.paymentResultCard:before{content:"";width:56px;height:56px;margin:0 auto 2px;display:block;border-radius:999px;background:var(--warning-soft);border:1px solid rgba(168,120,33,.24)}.paymentResultCard.paid:before{background:var(--success-soft);border-color:#4f7f5547}.paymentResultCard.error:before{background:var(--danger-soft);border-color:#c6545442}.paymentResultCard.paid h1{color:var(--success)}.paymentResultCard.pending h1{color:var(--warning)}.paymentResultCard.error h1{color:var(--danger)}.simplePage{border-radius:var(--radius-xl)}.modalBackdrop{position:fixed;inset:0;z-index:20;display:grid;align-items:end;background:#2b1e187a;overflow:hidden}.bottomSheet{width:min(560px,100%);max-height:calc(100vh - 24px);max-height:calc(100svh - 24px);margin:0 auto;display:grid;gap:12px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:22px 16px calc(28px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;background:var(--surface);border:1px solid var(--border);position:relative;color:var(--text);box-shadow:0 -24px 70px #2b1e1829}.bottomSheet h2{padding-right:48px}.closeButton{position:absolute;right:12px;top:12px;width:40px;min-height:40px;padding:0;border-radius:999px;background:var(--surface-2);color:var(--primary);border-color:var(--border)}.qrBox{display:grid;place-items:center;width:min(252px,100%);aspect-ratio:1;height:auto;max-width:100%;margin:6px auto;border-radius:var(--radius-lg);background:#fff;border:1px solid var(--border)}@media(min-width:620px){.plans{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:480px){.instructions-steps-grid,.instructions-screenshots-grid,.instructions-platforms-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.app{padding:calc(10px + env(safe-area-inset-top)) 12px calc(30px + env(safe-area-inset-bottom));gap:14px}.topbar{top:calc(6px + env(safe-area-inset-top));padding:7px}.iconButton{width:42px;min-height:42px}.topbarBrand{min-height:52px;padding-right:10px;gap:2px}.hero,.card,.stepCard,.plan,.subscriptionCard,.installSection,.instructions-section,.instructions-manual-card{padding:16px}.instructions-page{gap:14px}.instructions-screenshot-card{padding:10px}.subscriptionCard{min-height:206px}.subscriptionKey{font-size:clamp(30px,12vw,44px)}.accountTag{font-size:28px}.actionGrid,.happDownloadGrid{grid-template-columns:1fr}.clientGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.clientCard{min-height:108px;grid-template-columns:1fr;align-content:start;gap:10px;padding:12px}.clientIcon{width:44px;height:44px;font-size:23px}.platformTab,.segmented button{min-height:42px;padding:0 12px}.plan{grid-template-columns:1fr}.plan strong{white-space:normal}}@media(max-width:360px){button{min-height:46px;padding-inline:14px}.hero,.card,.stepCard,.plan,.subscriptionCard,.installSection{border-radius:20px;padding:14px}.instructions-section,.instructions-manual-card{padding:14px;border-radius:20px}.instructions-live-guide>.stepCard{padding:13px}.homeHero{min-height:156px}.metric{min-height:86px;padding:12px}.subscriptionMetrics{gap:8px}.subscriptionMetrics .metric{min-height:70px;padding:9px 10px}.metric strong{font-size:15px}.subscriptionMetrics .metric strong{font-size:13px}.clientCard{border-radius:18px}.stepCard{grid-template-columns:1fr}.bottomSheet{width:100%;padding-inline:14px;border-radius:24px 24px 0 0}.paymentMethodsCard{padding:12px;border-radius:20px}.paymentMethodRow{grid-template-columns:32px minmax(0,1fr) auto;gap:7px;padding:7px}.paymentMethodIcon{width:32px;height:32px}.paymentMethodDelete{min-height:32px;padding-inline:8px}}@media(max-width:340px){.topbarBrand span:last-child{max-width:100%}.clientGrid{grid-template-columns:1fr}.topbar{padding:6px}.iconButton{width:40px;min-height:40px;font-size:20px}.brandMark{width:30px;height:30px}.platformTab,.segmented button{min-height:40px;padding:0 10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
