:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color-scheme:light;--bg: var(--tg-theme-secondary-bg-color, #efeff4);--section: var(--tg-theme-section-bg-color, #ffffff);--header: var(--tg-theme-header-bg-color, #ffffff);--text: var(--tg-theme-text-color, #000000);--hint: var(--tg-theme-hint-color, #8a8a8e);--subtitle: var(--tg-theme-subtitle-text-color, #8a8a8e);--blue: var(--tg-theme-button-color, #3390ec);--blue-text: var(--tg-theme-button-text-color, #ffffff);--link: var(--tg-theme-link-color, #3390ec);--accent: var(--tg-theme-accent-text-color, #3390ec);--separator: var(--tg-theme-section-separator-color, #c8c7cc);--red: var(--tg-theme-destructive-text-color, #df3f40);--green: #31b545;--orange: #e6a23c;--yellow: #ebb134;--cell-h: 50px;--gutter: 16px;--radius: 12px;--nav-h: 56px;--top-h: 46px;--hairline: color-mix(in srgb, var(--separator) 85%, transparent)}:root[data-theme=dark]{color-scheme:dark;--bg: var(--tg-theme-secondary-bg-color, #0f0f0f);--section: var(--tg-theme-section-bg-color, #1c1c1d);--header: var(--tg-theme-header-bg-color, #1c1c1d);--text: var(--tg-theme-text-color, #ffffff);--hint: var(--tg-theme-hint-color, #98989e);--subtitle: var(--tg-theme-subtitle-text-color, #98989e);--blue: var(--tg-theme-button-color, #2ea6ff);--blue-text: #ffffff;--link: var(--tg-theme-link-color, #2ea6ff);--accent: var(--tg-theme-accent-text-color, #2ea6ff);--separator: var(--tg-theme-section-separator-color, #2c2c2e);--red: #ff453a;--green: #32d74b;--orange: #ff9f0a;--yellow: #ffd60a;--hairline: color-mix(in srgb, var(--separator) 90%, transparent)}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;max-width:100%;overflow-x:hidden}body{min-width:320px;background:#aeb7c2;color:var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:grid;place-items:center;overflow:hidden}button,input,select,textarea{font:inherit;color:inherit}button{border:0;background:none;padding:0;cursor:pointer;min-height:44px;min-width:44px;-webkit-tap-highlight-color:transparent}button.row,button.link-btn,.tabs button,.seg button,.bottom-nav button,.legal button,.sheet-add{min-width:0}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid color-mix(in srgb,var(--blue) 55%,transparent);outline-offset:1px}button:focus:not(:focus-visible){outline:none}.app-shell{width:100%;max-width:100vw;height:100%;max-height:100dvh;margin:auto;background:var(--bg);position:relative;overflow:hidden;display:flex;flex-direction:column;color:var(--text)}.app-shell.is-demo-frame{width:min(100vw,390px);height:min(100dvh,844px);box-shadow:0 8px 40px #0000002e}.app-shell.is-telegram{width:100%;height:100%;max-height:none}body:has(.app-shell.is-telegram){background:var(--bg);display:block}.safe-top{height:max(env(safe-area-inset-top,0px),0px);flex:none;background:var(--header)}.safe-bottom{height:env(safe-area-inset-bottom,0px);position:absolute;bottom:0;left:0;right:0;background:var(--header);z-index:8}.demo-banner{flex:none;height:22px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;line-height:14px;color:var(--hint);background:var(--section);border-bottom:.33px solid var(--hairline)}.demo-banner span{width:5px;height:5px;border-radius:50%;background:var(--blue)}.topbar{height:var(--top-h);flex:none;background:var(--header);display:grid;grid-template-columns:72px 1fr 72px;align-items:center;padding:0 4px;border-bottom:.33px solid var(--hairline);z-index:5}.topbar h2{margin:0;font-size:17px;font-weight:600;line-height:22px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.2px}.topbar i{display:block}.topbar.is-dashboard{grid-template-columns:1fr 0 44px;padding-left:12px;padding-right:2px}.back,.theme{height:44px;display:inline-flex;align-items:center;justify-content:center;gap:2px;color:var(--link);font-size:17px}.back{justify-self:start;min-width:44px;padding-left:4px}.theme{justify-self:end;width:44px;color:var(--link)}.back svg,.theme svg{width:24px;height:24px}.scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 0 calc(var(--nav-h) + 12px + env(safe-area-inset-bottom,0px));scrollbar-width:none;-webkit-overflow-scrolling:touch}.scroll::-webkit-scrollbar{display:none}.scroll.has-sticky{padding-bottom:calc(var(--nav-h) + 72px + env(safe-area-inset-bottom,0px))}.gutter{margin:0 var(--gutter)}.section{margin:0 var(--gutter) 22px}.section:first-child{margin-top:10px}.section-label{margin:0;padding:0 0 6px 16px;font-size:13px;line-height:16px;font-weight:400;color:var(--hint);text-transform:uppercase;letter-spacing:.02em}.section-label.loose{padding-left:0;margin:0 var(--gutter) 6px}.section-footer{margin:7px 0 0;padding:0 16px;font-size:13px;line-height:16px;color:var(--hint)}.surface{background:var(--section);border-radius:var(--radius);overflow:hidden}.row{width:100%;min-height:var(--cell-h);display:flex;align-items:center;gap:12px;padding:8px 14px 8px 12px;text-align:left;position:relative;color:var(--text);background:transparent}.row:not(:last-child):after{content:"";position:absolute;left:56px;right:0;bottom:0;height:.33px;background:var(--hairline)}.row:not(.has-icon):not(:last-child):after{left:16px}.row.action:active{background:color-mix(in srgb,var(--hint) 12%,var(--section))}.row.disabled{opacity:.45;cursor:not-allowed}.row-copy{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:1px}.row-copy strong{font-size:17px;line-height:22px;font-weight:400;letter-spacing:-.2px}.row-copy small{font-size:13px;line-height:16px;color:var(--hint)}.row-meta{flex:none;font-size:17px;line-height:22px;color:var(--hint);max-width:42%;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.caret{width:16px;height:16px;color:color-mix(in srgb,var(--hint) 75%,transparent);flex:none;margin-right:-2px}.icon-badge{width:29px;height:29px;display:grid;place-items:center;border-radius:7px;flex:none;background:color-mix(in srgb,var(--blue) 14%,transparent);color:var(--blue)}.icon-badge svg{width:18px;height:18px}.icon-badge.is-large{width:60px;height:60px;border-radius:14px}.icon-badge.is-large svg{width:32px;height:32px}.icon-badge.is-conn{width:40px;height:40px;border-radius:50%}.icon-badge.is-conn svg{width:20px;height:20px}.tone-blue{background:color-mix(in srgb,var(--blue) 16%,transparent);color:var(--blue)}.tone-green{background:color-mix(in srgb,var(--green) 16%,transparent);color:var(--green)}.tone-orange{background:color-mix(in srgb,var(--orange) 18%,transparent);color:var(--orange)}.tone-red{background:color-mix(in srgb,var(--red) 14%,transparent);color:var(--red)}.tone-violet{background:color-mix(in srgb,var(--blue) 16%,transparent);color:var(--blue)}.pill{font-size:15px;line-height:20px;color:var(--hint);font-weight:400;background:none;padding:0;border-radius:0;white-space:nowrap}.pill-green{color:var(--green)}.pill-orange{color:var(--orange)}.pill-blue,.pill-violet{color:var(--link)}.pill-neutral{color:var(--hint)}.tabs{height:44px;display:grid;grid-template-columns:1fr 1fr;background:var(--header);border-bottom:.33px solid var(--hairline)}.tabs button{min-height:44px;font-size:15px;color:var(--hint);position:relative;font-weight:400}.tabs button.active{color:var(--text);font-weight:600}.tabs button.active:after{content:"";position:absolute;left:18%;right:18%;bottom:0;height:2px;border-radius:1px 1px 0 0;background:var(--blue)}.seg{height:32px;padding:2px;border-radius:9px;background:color-mix(in srgb,var(--hint) 14%,transparent);display:flex}.seg button{flex:1;min-height:28px;border-radius:7px;font-size:13px;font-weight:500;color:var(--hint)}.seg button.active{background:var(--section);color:var(--text);box-shadow:0 .5px 1.5px #00000014}.dash-body{padding:12px var(--gutter) 4px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.stat-card{background:var(--section);border-radius:var(--radius);padding:12px 14px;min-height:70px;display:flex;flex-direction:column;justify-content:space-between}.stat-card strong{font-size:26px;line-height:30px;font-weight:600;letter-spacing:-.4px;font-variant-numeric:tabular-nums}.stat-card span{font-size:13px;line-height:16px;color:var(--hint)}.dashboard-section{margin-bottom:16px}.dashboard-section .section-label{padding-left:4px}.attention,.quiet-status{width:100%;min-height:58px;border-radius:var(--radius);background:var(--section);display:flex;align-items:center;gap:12px;padding:10px 12px;text-align:left;color:var(--text);margin-bottom:4px}.attention .icon-badge{flex:none}.attention>span:not(.icon-badge),.quiet-status>span{flex:1;min-width:0;display:flex;flex-direction:column}.attention strong,.quiet-status strong{font-size:16px;line-height:20px;font-weight:500}.attention small,.quiet-status small{font-size:13px;line-height:16px;color:var(--hint);margin-top:1px}.quiet-status>svg:first-child{width:22px;height:22px;color:var(--green);flex:none}.quiet-status>svg:last-child{width:14px;color:var(--hint);opacity:.5;flex:none}.link-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:44px;margin:4px 0;color:var(--link);font-size:17px;font-weight:400}.link-btn svg{width:18px;height:18px}.legal{display:flex;justify-content:center;flex-wrap:wrap;gap:16px 20px;padding:8px var(--gutter) 20px}.legal button{color:var(--link);font-size:13px;min-height:36px}.form{padding:4px 12px 12px;display:flex;flex-direction:column;gap:12px}.form label{display:flex;flex-direction:column;gap:6px}.form label>span{font-size:13px;color:var(--hint)}.form input,.form select{height:44px;width:100%;border:.33px solid var(--hairline);border-radius:10px;background:var(--bg);padding:0 12px;font-size:17px}.form input:focus,.form select:focus{border-color:var(--blue);outline:none}.form label>small{font-size:12px;color:var(--hint);line-height:15px}.notice{margin:0 var(--gutter) 12px;padding:10px 12px;border-radius:var(--radius);background:var(--section);display:flex;align-items:center;gap:10px}.notice>svg{width:20px;height:20px;color:var(--orange);flex:none}.notice span{display:flex;flex-direction:column}.notice strong{font-size:15px;font-weight:500;line-height:19px}.notice small{font-size:13px;color:var(--hint);line-height:16px}.editor-head{display:flex;justify-content:space-between;align-items:center;padding:10px var(--gutter) 6px;font-size:13px;color:var(--hint)}.check-row{min-height:46px;display:flex;align-items:center;gap:10px;padding:8px 14px 8px 12px;position:relative}.check-row:not(:last-child):after{content:"";position:absolute;left:42px;right:0;bottom:0;height:.33px;background:var(--hairline)}.check-row>svg{width:22px;height:22px;color:var(--green);flex:none}.check-row>svg.warn{color:var(--orange)}.check-row>span:nth-child(2){flex:1;font-size:16px;line-height:20px}.info{margin:0 var(--gutter) 18px;padding:10px 2px 0;color:var(--hint);font-size:13px;line-height:16px;display:flex;gap:8px;align-items:flex-start;background:transparent;border-radius:0}.info>svg{width:16px;height:16px;color:var(--hint);flex:none;margin-top:1px;opacity:.85}.sim{min-height:48px;display:flex;align-items:center;gap:10px;padding:8px 14px}.sim:not(:last-child){border-bottom:.33px solid var(--hairline)}.sim>svg{width:20px;color:var(--green);flex:none}.sim.bad>svg{color:var(--red)}.sim span{display:flex;flex-direction:column}.sim strong{font-size:16px;font-weight:400;line-height:20px}.sim small{font-size:13px;color:var(--hint)}.state-wrap{margin:12px var(--gutter)}.state{margin:20px var(--gutter);min-height:148px;border-radius:var(--radius);background:var(--section);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px 20px}.state-wrap .state{margin:0}.state>svg{width:36px;height:36px;color:var(--hint);margin-bottom:10px;opacity:.7}.state.error>svg{color:var(--red);opacity:1}.state strong{font-size:17px;font-weight:600;line-height:22px}.state p{margin:6px 0 0;font-size:14px;line-height:18px;color:var(--hint);max-width:280px}.spin{animation:spin .9s linear infinite;color:var(--blue)!important;opacity:1!important}.primary,.secondary{height:48px;min-height:48px;border-radius:12px;font-size:17px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:6px;letter-spacing:-.2px}.primary{width:100%;max-width:358px;margin:0 auto;background:var(--blue);color:var(--blue-text);padding:0 16px}.secondary{color:var(--link);background:var(--section);font-weight:500;padding:0 12px}.primary:active{filter:brightness(.96)}.primary:disabled{background:color-mix(in srgb,var(--hint) 22%,var(--section));color:var(--hint);filter:none}.primary svg{width:18px;height:18px}.sticky{position:absolute;left:0;right:0;bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px));min-height:64px;padding:8px var(--gutter);display:flex;gap:8px;background:color-mix(in srgb,var(--header) 92%,transparent);border-top:.33px solid var(--hairline);z-index:7}.sticky .primary{flex:1;max-width:none;margin:0}.sticky .secondary{flex:0 0 auto;max-width:120px;font-size:15px}.bottom-nav{position:absolute;left:0;right:0;bottom:env(safe-area-inset-bottom,0px);height:var(--nav-h);display:grid;grid-template-columns:repeat(4,1fr);background:var(--header);border-top:.33px solid var(--hairline);z-index:8}.bottom-nav button{min-height:var(--nav-h);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--hint);font-size:10px;font-weight:500;line-height:12px}.bottom-nav button svg{width:26px;height:26px}.bottom-nav button.active{color:var(--blue)}.toast{position:absolute;left:var(--gutter);right:var(--gutter);bottom:calc(var(--nav-h) + 72px + env(safe-area-inset-bottom,0px));min-height:44px;border-radius:12px;background:#2d2d2df0;color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;font-size:14px;line-height:18px;z-index:20;animation:toast-in .16s ease-out}.toast svg{width:16px;flex:none}.backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:30;display:flex;align-items:flex-end}.sheet{width:100%;max-height:82%;background:var(--bg);border-radius:14px 14px 0 0;display:flex;flex-direction:column;position:relative;animation:sheet-up .2s ease-out}.sheet-close{position:absolute;right:6px;top:6px;width:44px;height:44px;display:grid;place-items:center;color:var(--hint);z-index:2}.sheet-close svg{width:28px;height:28px;opacity:.4}.sheet-body{padding:22px var(--gutter) 10px;overflow-y:auto}.sheet-body h2{margin:0 36px 4px;text-align:center;font-size:18px;font-weight:600;letter-spacing:-.2px}.sheet-body>p{margin:0 auto 14px;text-align:center;font-size:13px;line-height:17px;color:var(--hint);max-width:320px}.sheet-card{background:var(--section);border-radius:var(--radius);overflow:hidden}.sheet-foot{padding:8px var(--gutter) calc(10px + env(safe-area-inset-bottom,0px));border-top:.33px solid var(--hairline);background:var(--bg)}.warning-card{padding:14px;display:flex;gap:10px;align-items:center;color:var(--orange)}.warning-card svg{width:22px;flex:none}.warning-card p{margin:0;color:var(--text);font-size:15px;line-height:19px}.sheet-add{width:100%;min-height:48px;margin-top:10px;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--link);font-size:17px;font-weight:400}.sheet-add svg{width:20px}.connection-switch{justify-self:start;width:100%;max-width:100%;min-height:40px;display:flex;align-items:center;gap:10px;text-align:left;color:var(--text)}.connection-switch .icon-badge{width:30px;height:30px;border-radius:50%}.connection-switch .icon-badge svg{width:16px;height:16px}.connection-switch>span{flex:1;min-width:0;display:flex;flex-direction:column}.connection-switch small{font-size:12px;line-height:14px;color:var(--hint);text-transform:none;letter-spacing:0}.connection-switch b{font-size:16px;font-weight:600;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.2px}.connection-switch>svg{width:14px;color:var(--hint);opacity:.55;flex:none}.contextbar{flex:none;width:100%;min-height:40px;display:flex;align-items:center;gap:10px;padding:4px var(--gutter);background:var(--header);border-bottom:.33px solid var(--hairline);text-align:left;color:var(--text)}.contextbar .icon-badge{width:26px;height:26px;border-radius:50%}.contextbar .icon-badge svg{width:14px;height:14px}.contextbar>span{flex:1;min-width:0;display:flex;flex-direction:column}.contextbar small{font-size:11px;line-height:13px;color:var(--hint);text-transform:none;letter-spacing:0}.contextbar strong{font-size:14px;font-weight:600;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contextbar>svg{width:14px;color:var(--hint);opacity:.55}.connection-head{padding:14px var(--gutter) 10px;background:transparent}.connection-title{display:flex;align-items:center;gap:12px}.connection-title>span{min-width:0;display:flex;flex-direction:column}.connection-title small,.eyebrow{font-size:13px;line-height:16px;color:var(--hint);text-transform:none;letter-spacing:0;font-weight:400}.connection-title h1{margin:0;font-size:22px;line-height:26px;font-weight:700;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.connection-status{margin-top:10px;padding-top:10px;border-top:.33px solid var(--hairline);display:flex;align-items:center;gap:8px;font-size:13px;line-height:16px;color:var(--hint)}.connection-status>span{width:7px;height:7px;border-radius:50%;background:var(--orange);flex:none}.connection-status.ok>span{background:var(--green)}.connection-status b{margin-left:auto;color:var(--text);font-weight:600;font-variant-numeric:tabular-nums}.page-head{padding:14px var(--gutter) 10px}.page-head h1{margin:0 0 4px;font-size:28px;line-height:34px;font-weight:700;letter-spacing:-.4px}.page-head p{margin:0;font-size:15px;line-height:20px;color:var(--hint)}.intro{padding:14px var(--gutter) 12px;display:grid;grid-template-columns:60px 1fr;column-gap:12px;align-items:center}.intro .icon-badge{grid-row:1 / span 2}.intro h1{margin:0 0 2px;font-size:20px;line-height:24px;font-weight:700;letter-spacing:-.3px}.intro p{margin:0;font-size:14px;line-height:18px;color:var(--hint)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes sheet-up{0%{transform:translateY(16px);opacity:.85}}@keyframes toast-in{0%{transform:translateY(6px);opacity:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important}}
