*{font-family:Inter,Arial,sans-serif;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-tap-highlight-color:transparent}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;-ms-overflow-style:none;scrollbar-width:none}html::-webkit-scrollbar{display:none}:root{--main-border-radius: 27px}body{background-color:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color)}.scroll-container.scroll-container-dragging{touch-action:none}textarea::placeholder{color:color-mix(in srgb,var(--tg-theme-text-color) 27%,transparent);font-size:16px;font-weight:400}.full-screen-page{position:fixed;inset:0;background:var(--tg-theme-secondary-bg-color);z-index:10000;overflow-y:auto;overflow-anchor:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}.full-screen-page-inner{min-height:100%;animation:fullScreenPageIn .32s cubic-bezier(.22,1,.36,1)}.full-screen-page::-webkit-scrollbar{display:none}@keyframes fullScreenPageIn{0%{transform:translateY(12px)}to{transform:translateY(0)}}.page{color:var(--tg-theme-text-color)}.container{width:100%;padding:0 15px}.header-buttons{width:100%;margin:5px auto 15px;display:flex;align-items:center;justify-content:space-between}.header-navigation{display:flex;column-gap:7px}.header-button{height:36px;width:36px;border-radius:100px;background-color:var(--tg-theme-section-bg-color);display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}.header-button:focus{outline:none}.header-user-button{height:34px;width:34px;overflow:hidden;border-radius:100px;object-fit:cover;-webkit-tap-highlight-color:transparent;outline:none;touch-action:manipulation}.header-user-button:focus{outline:none}.header-button-icon *{fill:var(--tg-theme-text-color)}.header-button-active-icon *{fill:var(--tg-theme-accent-text-color)}.header-date-button{height:36px;width:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;row-gap:3px;border-radius:100px;background-color:var(--tg-theme-section-bg-color);cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}.header-date-button:focus{outline:none}.header-date-title{font-size:10px;font-weight:600;color:var(--tg-theme-text-color)}.header-date-title-big{font-size:13px;font-weight:500}.header-date-title-active{color:var(--tg-theme-accent-text-color)!important}.header-date-subtitle{font-size:10px;font-weight:500;color:var(--tg-theme-subtitle-text-color);opacity:.6}.header-date-subtitle-active{color:var(--tg-theme-accent-text-color)!important}.main-progress-bar{height:50px;width:100%;background-color:var(--tg-theme-section-bg-color);margin:0 auto;border-radius:var(--main-border-radius);position:relative;overflow:hidden}.main-progress-bar-fill{position:absolute;left:0;top:0;height:100%;width:50%;background-color:var(--tg-theme-button-color);z-index:10;transition:all .3s ease-in-out}.main-progress-bar-text{position:absolute;top:50%;transform:translateY(-50%);right:22px;color:var(--tg-theme-text-color);z-index:20;font-size:19px;font-weight:600}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.section{width:100%;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);overflow:hidden}.tasks-section{padding:0 16px}.empty-section{display:flex;row-gap:10px;flex-direction:column;align-items:center;justify-content:center;height:140px;font-size:16px;color:var(--tg-theme-subtitle-text-color)}.empty-section p{opacity:.5}.main-add-button-container{width:100%;height:54px;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);-webkit-tap-highlight-color:transparent}.main-add-button{width:100%;height:54px;margin:0 auto;background-color:transparent;border-radius:var(--main-border-radius);color:var(--tg-theme-text-color);display:flex;align-items:center;justify-content:center;column-gap:9px;font-size:17;font-weight:500;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;transition:background-color .2s;-webkit-tap-highlight-color:transparent;outline:none;-webkit-touch-callout:none;touch-action:manipulation}.main-add-button:focus{outline:none}.main-add-button:active{background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent)}.main-add-button svg{padding-top:1px;padding-bottom:1px}.main-add-button *{fill:var(--tg-theme-text-color)}.main-add-button-container-premium{width:100%;height:54px;background-color:var(--tg-theme-section-bg-color);border-radius:100px;background:linear-gradient(60deg,#00bfff,#0073ff,#00bfff,#0073ff,#00bfff);background-size:400% auto;border:.2px solid rgba(255,255,255,.5);animation:textflow 10s linear infinite}.main-add-button-premium{width:100%;height:54px;margin:0 auto;background-color:transparent;border-radius:100px;color:#fff;display:flex;align-items:center;justify-content:center;column-gap:9px;font-size:17;font-weight:500;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;transition:background-color .2s;-webkit-tap-highlight-color:transparent;outline:none;-webkit-touch-callout:none;touch-action:manipulation}.main-add-button-premium:focus{outline:none}.main-add-button-premium:active{background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent)}.main-add-button-premium-icon{width:16px;height:16px}.main-add-button-premium *{fill:#fff}.more-button{width:100%;height:54px;margin:0 auto;border-radius:88px/80px;background-color:transparent;border:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 50%,transparent);color:var(--tg-theme-text-color);display:flex;align-items:center;justify-content:center;column-gap:9px;opacity:.8;font-size:17;font-weight:300;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;outline:none;touch-action:manipulation;-webkit-user-drag:none;user-drag:none}.more-button:focus{outline:none}.more-button-icon *{fill:var(--tg-theme-text-color)}.more-button-icon{transition:transform .3s ease}.more-button-icon-rotated{transform:rotate(180deg)}.more-menu-buttons{animation:slideDown .3s ease-out}@keyframes listEnter{0%{transform:translateY(-10px)}to{transform:translateY(0)}}@keyframes habitEnter{0%{transform:translateY(-10px)}to{transform:translateY(0)}}.add-page-title{padding:0 15px;margin-top:15px;text-align:center;font-size:21px;font-weight:600}.main-input{width:100%;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:16px 20px;color:var(--tg-theme-text-color);font-size:16px;font-weight:400;-webkit-tap-highlight-color:transparent;resize:none}.toggle-switch{margin-right:3px;width:63px;height:30px;border-radius:50px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 20%,transparent);position:relative;cursor:pointer;transition:background-color .2s;-webkit-tap-highlight-color:transparent}.toggle-switch-active{background-color:var(--tg-theme-accent-text-color)}.toggle-switch-handle{width:35px;height:24px;border-radius:50px;background-color:#fff;position:absolute;top:3px;left:3px;transition:transform .2s}.toggle-switch-active .toggle-switch-handle{transform:translate(21px)}*{padding:0;margin:0;border:0}*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}:focus,:active{outline:none}a:focus,a:active{outline:none}nav,footer,header,aside{display:block}html,body{height:100%;width:100%;line-height:1;font-size:14px;-ms-text-size-adjust:100%}input,button,textarea{font-family:inherit}input::-ms-clear{display:none}button{cursor:pointer}button::-moz-focus-inner{padding:0;border:0}a,a:visited,a:hover{text-decoration:none}ul li{list-style:none}img{vertical-align:top}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}*,*:before,*:after{box-sizing:border-box}ul[class],ol[class]{padding:0}body,h1,h2,h3,h4,p,ul[class],ol[class],li,figure,figcaption,blockquote,dl,dd{margin:0}body{min-height:100vh;scroll-behavior:smooth;text-rendering:optimizeSpeed}ul[class],ol[class]{list-style:none}a:not([class]){text-decoration-skip-ink:auto}img{max-width:100%;display:block}article>*+*{margin-top:1em}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}a.active.focus,a.active:focus,a.focus,a:active.focus,a:active:focus,a:focus,button.active.focus,button.active:focus,button.focus,button:active.focus,button:active:focus,button:focus,.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:0!important;outline-color:transparent!important;outline-width:0!important;outline-style:none!important;box-shadow:0 0 #007bff00!important}@font-face{font-family:Inter;src:url(/miniapp/assets/Inter-VariableFont_opsz_wght-c8O0ljhh.ttf) format("truetype supports variations"),url(/miniapp/assets/Inter-VariableFont_opsz_wght-c8O0ljhh.ttf) format("truetype");font-weight:100 900;font-style:normal;font-display:swap;font-stretch:75% 125%}@font-face{font-family:Inter;src:url(/miniapp/assets/Inter-Italic-VariableFont_opsz_wght-B-9PvMw6.ttf) format("truetype supports variations"),url(/miniapp/assets/Inter-Italic-VariableFont_opsz_wght-B-9PvMw6.ttf) format("truetype");font-weight:100 900;font-style:italic;font-display:swap}.toast{position:fixed;bottom:120px;left:50%;transform:translate(-50%);z-index:10001;animation:toastSlideUp .3s ease-out}@keyframes toastSlideUp{0%{opacity:0;transform:translate(-50%) translateY(20px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.toast-content{background-color:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);color:var(--tg-theme-text-color);padding:12px 20px;border-radius:12px;box-shadow:0 4px 12px #00000026;font-size:14px;font-weight:400;max-width:90vw;text-align:center;word-wrap:break-word}.task-item{display:flex;align-items:center;column-gap:12px;position:relative;transition:background-color .2s ease,box-shadow .2s ease;animation:listEnter .3s ease-out;margin-left:-16px;margin-right:-16px;padding:10px 16px;cursor:pointer}.task-item-reorder{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.task-item-dragging{background:color-mix(in srgb,var(--tg-theme-text-color) 6%,transparent);border-radius:0;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;box-shadow:0 8px 18px #0000001f}.task-item-dragging:first-child:last-child{border-radius:var(--main-border-radius)}.task-item:not(:last-child):after{content:"";position:absolute;right:0;bottom:0;height:.7px;width:calc(100% - 66px);background:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);pointer-events:none;z-index:1}.task-item.task-item-dragging:after{display:none}.task-item.task-item-before-dragging:after{display:none}.task-checkbox{width:38px;height:38px;border-radius:50%;border:1px solid color-mix(in srgb,var(--tg-theme-text-color) 30%,var(--tg-theme-section-bg-color));background-color:transparent;flex-shrink:0;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .2s ease,border-color .2s ease}.task-checkbox-completed{background-color:var(--tg-theme-button-color);border-color:var(--tg-theme-button-color)}.task-checkbox-completed-icon path{stroke-dasharray:40;stroke-dashoffset:40;animation:draw-check .45s ease-out forwards}.task-content{flex:1;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:4px;-webkit-tap-highlight-color:transparent;overflow:hidden}.task-text-wrapper{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.task-text{font-size:15px;font-weight:400;color:var(--tg-theme-text-color);line-height:1.4;display:block;transition:all .4s ease-in;overflow:hidden;text-overflow:ellipsis;max-width:100%}.task-description{font-size:13px;font-weight:400;color:var(--tg-theme-subtitle-text-color);line-height:1.35;opacity:.85;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.task-description-completed{opacity:.5}.task-important-tag{background-color:color-mix(in srgb,var(--tg-theme-destructive-text-color) 15%,transparent);color:var(--tg-theme-destructive-text-color);font-size:12px;font-weight:600;padding:4px 10px;border-radius:12px;text-transform:uppercase;letter-spacing:.5px}.task-notify-time{line-height:1.4;font-family:var(--font-family);font-weight:500;font-size:14px;color:#35ca5b!important;display:flex;align-items:center;gap:3px}.task-notify-time svg{width:11px;height:11px}.task-notify-time svg *{fill:#35ca5b!important}.task-notify-times-list{display:flex;flex-wrap:wrap;gap:4px}.task-notify-time-chip{padding:0}.task-date-badge{flex-shrink:0;font-size:13px;font-weight:400;color:var(--tg-theme-subtitle-text-color);opacity:.7}.task-recurring-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0;margin:0;background:none;border:none;cursor:pointer;color:var(--tg-theme-subtitle-text-color);opacity:.6;-webkit-tap-highlight-color:transparent}.task-recurring-icon:focus{outline:none}.task-recurring-icon svg{width:16px;height:16px}.task-reorder-handle{flex-shrink:0;width:18px;height:24px;display:inline-flex;flex-direction:column;justify-content:center;gap:4px;cursor:grab;opacity:.6;-webkit-tap-highlight-color:transparent}.task-reorder-handle span{height:2px;width:100%;border-radius:2px;background:var(--tg-theme-subtitle-text-color)}.task-reorder-handle:active{cursor:grabbing;opacity:.9}.content-block{padding:20px;margin-top:15px;animation:listEnter .3s ease-out}.content-block-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:15px;border-bottom:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 30%,transparent)}.content-block-title{font-size:16px;font-weight:600;color:var(--tg-theme-subtitle-text-color);margin:0}.content-block-close{background-color:transparent;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent;padding:0}.content-block-close-icon *{fill:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent)}.content-block-textarea{padding-top:15px;width:100%;min-height:40px;background:none;border:none;font-size:16px;font-weight:400;color:var(--tg-theme-text-color);line-height:1.4;resize:none;outline:none;font-family:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:20px}.content-block-items{display:flex;flex-direction:column}.content-block-item{display:flex;justify-content:space-between;align-items:center;gap:12px}.content-block-item-text{flex:1;font-size:16px;font-weight:400;color:var(--tg-theme-text-color);line-height:1.4}.content-block-text{font-size:16px;font-weight:400;color:var(--tg-theme-text-color);line-height:1.4;margin-bottom:16px}.content-block-add-button{padding-top:15px;width:100%;background:none;border:none;font-size:16px;font-weight:400;color:var(--tg-theme-subtitle-text-color);opacity:.6;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}.tasks-reorder-banner{display:flex;align-items:center;gap:8px;padding:10px 0 10px 6px;margin-bottom:4px;border-bottom:.7px solid color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);background:transparent;color:var(--tg-theme-text-color);font-size:14px;font-weight:500}.tasks-reorder-close{width:22px;height:22px;border:none;border-radius:50%;background:transparent;color:var(--tg-theme-text-color);font-size:18px;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent}.tasks-dropzone-end{position:relative;height:20px}.tasks-dropzone-end:before{content:"";position:absolute;left:0;right:0;top:9px;height:2px;border-radius:2px;background:var(--tg-theme-accent-text-color);opacity:0}.tasks-dropzone-end-active:before{opacity:1}.tasks-page-root{touch-action:pan-y}.tasks-section.tasks-section-dragging,.tasks-page-root.tasks-page-root-dragging{touch-action:none}.overdue-tasks-block{margin-top:12px}.overdue-tasks-block.content-block{padding:0;animation:none}.overdue-tasks-block.content-block.overdue-tasks-block-collapsed{cursor:pointer}.overdue-tasks-header{cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;touch-action:manipulation;display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;padding:20px 16px 15px}.overdue-tasks-header .content-block-title{margin:0}.overdue-tasks-count{font-size:14px;font-weight:400;color:var(--tg-theme-subtitle-text-color);opacity:.8;margin-left:auto;margin-right:10px}.overdue-tasks-chevron{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--tg-theme-subtitle-text-color);transition:transform .2s;transform:rotate(90deg)}.overdue-tasks-chevron svg{width:18px;height:18px}.overdue-tasks-chevron-open{transform:rotate(-90deg)}.overdue-tasks-block-collapsed .overdue-tasks-header{border-bottom:none;padding:20px 16px}.overdue-tasks-list{margin-top:0;padding:8px 16px 20px}.overdue-tasks-empty{padding:16px 0;font-size:14px;color:var(--tg-theme-subtitle-text-color);opacity:.7}.overdue-tasks-loading{padding:12px 0;font-size:13px;color:var(--tg-theme-subtitle-text-color);opacity:.7}.notes-block-item{border-bottom:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 30%,transparent);padding:15px 0;font-size:14px;align-items:flex-start!important}.notes-block-textarea{height:20px;background:none;border:none;font-size:16px;font-weight:400;color:var(--tg-theme-text-color);line-height:1.4;resize:none;outline:none;padding:0;font-family:inherit;-webkit-tap-highlight-color:transparent;width:100%}.notes-block-item-time{padding-top:6px;font-size:11px;font-weight:400;color:var(--tg-theme-subtitle-text-color);opacity:.5;white-space:nowrap}.content-block-add-note-button{width:100%;background-color:transparent;color:var(--tg-theme-text-color);display:flex;align-items:center;justify-content:center;column-gap:9px;font-size:17;font-weight:500;cursor:pointer;margin-top:16px;padding:10px;-webkit-tap-highlight-color:transparent}.content-block-add-note-button-icon{padding-top:2px}.content-block-add-note-button-icon *{fill:var(--tg-theme-text-color)}.notes-block-item-delete{background:none}.habits-page-root{touch-action:pan-y}.habits-page-root .mode-selector-option{padding:8px 6px;font-size:14px}.habits-view-mode-selector{display:flex;gap:8px;margin-bottom:15px}.habits-view-mode-button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:100px;background-color:transparent;border:1px solid color-mix(in srgb,var(--tg-theme-text-color) 20%,transparent);color:var(--tg-theme-subtitle-text-color);font-size:13px;font-weight:400;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:all .2s;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none;user-drag:none}.habits-view-mode-button-active{background-color:var(--tg-theme-section-bg-color);border:1px solid transparent;color:var(--tg-theme-text-color)}.habits-view-mode-button:not(.habits-view-mode-button-active){color:var(--tg-theme-subtitle-text-color)}.habits-view-mode-button-icon{width:20px;height:20px}.habits-view-mode-button-icon *{fill:var(--tg-theme-subtitle-text-color)}.habits-view-mode-button-active .habits-view-mode-button-icon *{fill:var(--tg-theme-text-color)}.add-task-subtasks-section{margin-top:12px}.add-task-subtasks-section.content-block{padding:20px;animation:none}.add-task-subtasks-header{cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;display:flex;align-items:center;gap:8px}.add-task-subtasks-header .content-block-title{margin:0}.add-task-subtasks-count{font-size:14px;font-weight:400;color:var(--tg-theme-subtitle-text-color);opacity:.8;margin-left:auto;margin-right:10px}.add-task-subtasks-chevron{display:flex;align-items:center;justify-content:center;color:var(--tg-theme-subtitle-text-color);transition:transform .2s;transform:rotate(90deg)}.add-task-subtasks-chevron svg{width:18px;height:18px}.add-task-subtasks-chevron-open{transform:rotate(-90deg)}.add-task-subtasks-section.add-task-subtasks-collapsed .content-block-header{border-bottom:none;padding-bottom:0}.add-task-subtask-item .add-task-subtask-checkbox{border-radius:50%;border:1.5px solid color-mix(in srgb,var(--tg-theme-text-color) 40%,transparent);background-color:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:all .2s;display:flex;align-items:center;justify-content:center}.add-task-subtask-item .add-task-subtask-checkbox-completed{background-color:var(--tg-theme-button-color);border-color:var(--tg-theme-button-color)}.add-task-subtask-text-completed{text-decoration:line-through;opacity:.6}.add-task-subtask-item .add-task-subtask-text{flex:1;min-width:0;width:auto;height:auto;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.add-task-subtask-add-wrap{flex-direction:row;justify-content:flex-start;gap:9px;margin-top:16px}.add-task-subtask-add-input{flex:1;min-width:0;background:none;border:none;font-size:16px;font-weight:400;color:var(--tg-theme-text-color);outline:none;font-family:inherit}.add-task-subtask-add-input::placeholder{color:var(--tg-theme-subtitle-text-color);opacity:.6}.add-task-subtask-add-action{display:flex;align-items:center;gap:6px;flex-shrink:0;border:none;background:none;padding:0;font-size:14px;font-weight:500;color:var(--tg-theme-text-color);opacity:.35;cursor:pointer;-webkit-tap-highlight-color:transparent}.add-task-subtask-add-action-ready{opacity:1}.add-task-subtask-item .add-task-subtask-checkbox{flex-shrink:0;width:20px;height:20px;min-width:20px;padding:0;line-height:0}.add-task-subtask-item .add-task-subtask-checkbox svg{display:block;width:12px;height:12px}.add-task-subtask-item .notes-block-item-delete{background:none;border:none;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent;flex-shrink:0}.add-task-form{margin-top:15px;display:flex;flex-direction:column;gap:15px}.form-row{height:50px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:8px 10px 8px 24px;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);transition:background-color .2s ease-in;-webkit-tap-highlight-color:transparent;outline:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}.form-row-flexible{height:auto;min-height:50px}.form-row-active{border-radius:var(--main-border-radius) var(--main-border-radius) 0 0!important}.form-row-label{font-size:16px;font-weight:400;color:var(--tg-theme-text-color)}.form-row:focus{outline:none}.form-row-button{height:35px;display:flex;align-items:center;justify-content:center;padding:8px 16px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);border-radius:100px;font-size:16px;font-weight:400;color:var(--tg-theme-accent-text-color);cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none}.form-row-button:focus{outline:none}.add-task-form .form-row-button{height:auto;min-height:35px;justify-content:flex-end;text-align:right;line-height:1.25}.form-row-button-with-icon{display:flex;align-items:center;gap:8px}.form-row-button-with-icon svg{width:16px;height:16px;stroke:currentColor}.calendar-picker{animation:slideDown .4s ease-in-out;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius) var(--main-border-radius);padding:10px 20px 20px;margin-top:15px}.calendar-picker-sticky{border-radius:0 0 var(--main-border-radius) var(--main-border-radius)!important;margin-top:-15px!important}.calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.calendar-header-sticky{padding-top:10px;border-top:.5px solid var(--tg-theme-section-separator-color)}.calendar-month-year{font-size:16px;font-weight:600;color:var(--tg-theme-text-color)}.calendar-nav{display:flex;gap:8px}.calendar-nav-button{width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent}.calendar-nav-button-disabled{opacity:.3;cursor:not-allowed;pointer-events:none}.calendar-nav-button-icon{width:16px;height:16px}.calendar-nav-button-icon *{fill:var(--tg-theme-accent-text-color)}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-bottom:12px}.calendar-weekday{text-align:center;font-size:12px;font-weight:500;color:var(--tg-theme-subtitle-text-color);opacity:.5}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.calendar-day{aspect-ratio:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;font-size:16px;font-weight:400;color:var(--tg-theme-text-color);cursor:pointer;border-radius:30px;-webkit-tap-highlight-color:transparent}.calendar-day-number{font-size:16px;line-height:1}.calendar-day-stats{font-size:11px;line-height:1;color:var(--tg-theme-subtitle-text-color);opacity:.4}.calendar-day-stats-today{color:var(--tg-theme-accent-text-color);opacity:1}.calendar-day-stats-complete{color:#35ca5b;opacity:1}.calendar-day-stats-incomplete{color:var(--tg-theme-destructive-text-color);opacity:1}.calendar-day-stats-only{color:var(--tg-theme-subtitle-text-color);opacity:1}.calendar-day-stats-ghost{opacity:.3}.calendar-day-empty{cursor:default}.calendar-day-today{color:var(--tg-theme-accent-text-color)}.calendar-day-selected{background-color:color-mix(in srgb,var(--tg-theme-button-color) 20%,transparent);color:var(--tg-theme-accent-text-color);font-weight:500}.calendar-day-past{opacity:.5}.calendar-day-disabled{opacity:.3;cursor:not-allowed;pointer-events:none}.calendar-day-uncompleted{position:relative}.calendar-day-uncompleted:not(.calendar-day-empty):after{content:"";position:absolute;left:50%;bottom:6px;transform:translate(-50%);width:4px;height:4px;background:var(--tg-theme-accent-text-color);border-radius:50%;pointer-events:none}.delete-confirm-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.premium-feature-message{padding:0 17px;font-size:12px;font-weight:400;margin:0 auto;display:flex;align-items:center;gap:8px;cursor:pointer}.premium-feature-message-icon{width:20px;height:20px;padding-bottom:2px}.premium-feature-message-icon *{fill:var(--tg-theme-section-header-text-color)}.premium-feature-message-text-container{line-height:1.2;flex:1}.premium-feature-message-text{color:var(--tg-theme-section-header-text-color);margin-right:4px}.flowtext .tn-atom{color:var(--tg-theme-accent-text-color);font-weight:600}.weekdays{opacity:.3;margin-bottom:10px}.weekdays,.week{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:8px}.week{cursor:pointer;border-radius:50px;padding:6px 0}.week.selected{background-color:color-mix(in srgb,var(--tg-theme-accent-text-color) 10%,transparent)}.day{padding:6px 0}.day.other{opacity:.1!important}.day.today{color:var(--tg-theme-accent-text-color);font-weight:500}.day.past{opacity:.5}.month-calendar-picker{background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:20px;margin-top:15px;animation:slideDown .3s ease-out}.month-calendar-header{display:flex;justify-content:center;align-items:center;margin-bottom:20px;column-gap:20px}.month-calendar-year{font-size:17px;font-weight:600;color:var(--tg-theme-text-color)}.month-calendar-nav-button{width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent}.month-calendar-nav-icon{width:16px;height:16px}.month-calendar-nav-icon *{fill:var(--tg-theme-accent-text-color)}.month-calendar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.month-calendar-month-button{padding:12px 16px;border-radius:12px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);border:none;color:var(--tg-theme-text-color);font-size:15px;font-weight:400;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:all .2s;font-family:inherit}.month-calendar-month-button-selected{background-color:color-mix(in srgb,var(--tg-theme-accent-text-color) 10%,transparent);color:var(--tg-theme-accent-text-color);font-weight:600}.month-calendar-month-button-past{opacity:.5}.month-calendar-month-button:not(.month-calendar-month-button-selected):hover{opacity:.8}.habit-streak-overlay{position:fixed;inset:0;z-index:10002;display:flex;align-items:center;justify-content:center;padding:24px;background-color:#00000080;animation:habitStreakOverlayIn .22s ease-out}@keyframes habitStreakOverlayIn{0%{opacity:0}to{opacity:1}}.habit-streak-modal{width:100%;max-width:320px;padding:28px 22px 20px;border-radius:var(--main-border-radius);background:linear-gradient(165deg,color-mix(in srgb,var(--tg-theme-section-bg-color) 86%,var(--tg-theme-accent-text-color)) 0%,var(--tg-theme-section-bg-color) 48%);box-shadow:0 10px 36px #0000003d,0 0 0 1px color-mix(in srgb,var(--tg-theme-accent-text-color) 18%,transparent);text-align:center;animation:habitStreakModalIn .38s cubic-bezier(.22,1,.36,1)}@keyframes habitStreakModalIn{0%{opacity:0;transform:scale(.94) translateY(14px)}to{opacity:1;transform:scale(1) translateY(0)}}.habit-streak-habit{margin:0 0 10px;font-size:13px;font-weight:500;color:var(--tg-theme-subtitle-text-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.habit-streak-count{margin:0;font-size:64px;font-weight:700;line-height:.95;letter-spacing:-1px;color:var(--tg-theme-accent-text-color)}.habit-streak-days{margin:4px 0 0;font-size:16px;font-weight:600;color:var(--tg-theme-text-color)}.habit-streak-record{margin:6px 0 0;font-size:13px;color:var(--tg-theme-subtitle-text-color)}.habit-streak-copy{margin-top:18px;padding-top:16px;border-top:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent)}.habit-streak-title{margin:0;font-size:17px;font-weight:600;line-height:1.35;color:var(--tg-theme-text-color)}.habit-streak-message{margin:8px 0 0;font-size:15px;line-height:1.45;color:var(--tg-theme-subtitle-text-color)}.habit-streak-button{width:100%;height:48px;margin-top:18px;border:none;border-radius:16px;background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color);font-family:inherit;font-size:16px;font-weight:600;cursor:pointer;-webkit-tap-highlight-color:transparent}.habit-streak-button:active{opacity:.82}.habits-week-container{display:flex;flex-direction:column;gap:11px;margin:15px 0;padding:15px 16px;animation:listEnter .3s ease-out}.habit-week-item{display:flex;flex-direction:column;gap:0;animation:listEnter .3s ease-out}.habit-week-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-left:-16px;margin-right:-16px;padding:8px 16px 10px;cursor:pointer;-webkit-tap-highlight-color:transparent}.habit-week-title-wrapper{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start}.habit-week-title{font-size:16px;font-weight:400;color:var(--tg-theme-text-color);margin:0;padding:2px 0 2px 3px;width:100%;overflow:hidden;text-overflow:ellipsis}.habit-week-description{font-size:13px;font-weight:400;color:var(--tg-theme-subtitle-text-color);line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;padding-left:3px;width:100%}.habit-week-counter{font-size:15px;font-weight:400;color:var(--tg-theme-subtitle-text-color);padding-right:3px}.habit-week-days{display:flex;justify-content:space-between;border-bottom:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);padding-bottom:13px}.habit-week-days-last{border-bottom:none;padding-bottom:0}.habit-week-day{position:relative;height:38px;width:38px;display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:color-mix(in srgb,var(--tg-theme-text-color) 8%,var(--tg-theme-section-bg-color));border:none;cursor:default;-webkit-tap-highlight-color:transparent;padding:0;transition:background-color .15s ease;-webkit-touch-callout:none;-webkit-user-drag:none;user-drag:none}.habit-week-day-completed{background-color:var(--tg-theme-button-color)}.habit-week-day-today{border:1px solid var(--tg-theme-accent-text-color)}.habit-week-day-today.habit-week-day-completed{border:01px solid var(--tg-theme-button-text-color)}.habit-week-day-label{font-size:11px;font-weight:500;color:color-mix(in srgb,var(--tg-theme-text-color) 40%,var(--tg-theme-section-bg-color));user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.habit-week-day-completed-icon{width:24px;height:24px}.habit-week-day-disabled{background-color:color-mix(in srgb,var(--tg-theme-text-color) 3%,var(--tg-theme-section-bg-color));cursor:not-allowed;pointer-events:none}.habit-week-day-disabled .habit-week-day-label{color:color-mix(in srgb,var(--tg-theme-text-color) 25%,var(--tg-theme-section-bg-color));opacity:1}.habits-week-container-loading{opacity:.6;pointer-events:none}.habit-week-item-skeleton{opacity:.7}.habit-week-title-skeleton{height:20px;width:120px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 15%,transparent);border-radius:8px;animation:skeleton-pulse 1.5s ease-in-out infinite}.habit-week-counter-skeleton{height:18px;width:40px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 15%,transparent);border-radius:8px;animation:skeleton-pulse 1.5s ease-in-out infinite}.habit-week-day-skeleton{background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent)!important;animation:skeleton-pulse 1.5s ease-in-out infinite}.completion-mark path{stroke-dasharray:40;stroke-dashoffset:40;animation:completion-mark-draw .45s ease-out forwards}@keyframes completion-mark-draw{to{stroke-dashoffset:0}}.habits-month-list{margin-top:15px;display:flex;flex-direction:column;gap:11px}.habit-month-item{display:flex;flex-direction:column;gap:15px;padding:15px 20px;cursor:pointer;animation:listEnter .3s ease-out}.habit-month-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:-15px -20px 0;padding:15px 20px 12px;border-bottom:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);-webkit-tap-highlight-color:transparent}.habit-month-title-wrapper{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start}.habit-month-title{font-size:15px;font-weight:500;color:var(--tg-theme-text-color);margin:0;width:100%;overflow:hidden;text-overflow:ellipsis}.habit-month-description{font-size:13px;font-weight:400;color:var(--tg-theme-subtitle-text-color);line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;width:100%}.habit-month-counter{flex-shrink:0;font-size:14px;font-weight:400;color:var(--tg-theme-subtitle-text-color);padding-top:1px}.habit-month-calendar{display:flex;flex-direction:column;gap:8px}.habit-month-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;justify-items:anchor-center}.habit-month-weekday{text-align:center;font-size:11px;font-weight:500;color:var(--tg-theme-subtitle-text-color);opacity:.5;width:38px}.habit-month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;justify-items:anchor-center}.habit-month-day{position:relative;height:38px;width:38px;display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:color-mix(in srgb,var(--tg-theme-text-color) 8%,var(--tg-theme-section-bg-color));border:none;cursor:default;-webkit-tap-highlight-color:transparent;padding:0;transition:background-color .15s ease;-webkit-touch-callout:none;-webkit-user-drag:none;user-drag:none}.habit-month-day:not(.habit-month-day-disabled):not(.habit-month-day-empty):active{background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,var(--tg-theme-section-bg-color))}.habit-month-day-empty{border:none;cursor:default;background-color:transparent}.habit-month-day-disabled{background-color:color-mix(in srgb,var(--tg-theme-text-color) 2%,var(--tg-theme-section-bg-color));cursor:not-allowed;border-color:transparent}.habit-month-day-disabled .habit-month-day-number{color:color-mix(in srgb,var(--tg-theme-text-color) 15%,var(--tg-theme-section-bg-color))}.habit-month-day-completed{background-color:var(--tg-theme-button-color);border:none}.habit-month-day-today{border:1px solid var(--tg-theme-accent-text-color)}.habit-month-day-today.habit-month-day-completed{border:1px solid var(--tg-theme-button-text-color)}.habit-month-day-past{background-color:color-mix(in srgb,var(--tg-theme-text-color) 4%,var(--tg-theme-section-bg-color))}.habit-month-day-past .habit-month-day-number{color:color-mix(in srgb,var(--tg-theme-text-color) 35%,var(--tg-theme-section-bg-color))}.habit-month-day-number{font-size:11px;font-weight:500;color:color-mix(in srgb,var(--tg-theme-text-color) 70%,var(--tg-theme-section-bg-color));user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.habit-month-day-completed-icon{width:24px;height:24px}.habits-month-container-loading{opacity:.6;pointer-events:none}.habit-month-item-skeleton{opacity:.7}.habit-month-title-skeleton{height:18px;width:120px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 15%,transparent);border-radius:8px;animation:skeleton-pulse 1.5s ease-in-out infinite}.habit-month-counter-skeleton{height:16px;width:40px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 15%,transparent);border-radius:8px;animation:skeleton-pulse 1.5s ease-in-out infinite}.habit-month-day-skeleton{background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent)!important;animation:skeleton-pulse 1.5s ease-in-out infinite}.habits-day-section-loading{pointer-events:none}.habit-day-check-skeleton,.habit-day-line-skeleton{background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);border-radius:8px;animation:skeleton-pulse 1.5s ease-in-out infinite}.habit-day-check-skeleton{width:38px;height:38px;border-radius:50%;flex-shrink:0}.habit-day-text-skeleton{flex:1;display:flex;flex-direction:column;gap:8px}.habit-day-line-skeleton{height:14px;width:70%}.habit-day-line-skeleton-short{width:42%}@keyframes skeleton-pulse{0%,to{opacity:.7}50%{opacity:.35}}.mode-selector{position:relative;display:flex;align-items:center;background-color:var(--tg-theme-section-bg-color);border-radius:50px;padding:4px;width:100%;min-height:40px}.mode-selector-indicator{position:absolute;top:4px;bottom:4px;background-color:color-mix(in srgb,var(--tg-theme-accent-text-color) 10%,transparent);border-radius:50px;transition:left .2s ease,width .2s ease;pointer-events:none;z-index:1}.mode-selector-option{position:relative;flex:1;background:none;border:none;color:var(--tg-theme-text-color);font-size:15px;font-weight:400;padding:8px 12px;cursor:pointer;-webkit-tap-highlight-color:transparent;z-index:2;transition:color .2s ease;white-space:nowrap;display:flex;align-items:center;justify-content:center;column-gap:5px}.mode-selector-option-selected{color:var(--tg-theme-accent-text-color)}.mode-selector-divider{width:1px;height:20px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);flex-shrink:0;position:relative;transition:opacity .5s ease}.mode-selector-option-icon{width:24px;height:24px;transition:fill .2s ease}.mode-selector-option-icon *{fill:var(--tg-theme-subtitle-text-color)}.mode-selector-option-selected .mode-selector-option-icon *{fill:var(--tg-theme-accent-text-color)}.period-selector{position:relative;display:flex;align-items:center;background-color:var(--tg-theme-section-bg-color);border-radius:50px;padding:4px;width:100%;min-height:40px}.period-selector-indicator{position:absolute;top:4px;bottom:4px;background-color:color-mix(in srgb,var(--tg-theme-accent-text-color) 10%,transparent);border-radius:50px;transition:left .2s ease,width .2s ease;pointer-events:none;z-index:1}.period-selector-option{position:relative;flex:1;background:none;border:none;color:var(--tg-theme-text-color);font-size:13px;font-weight:600;padding:8px 12px;cursor:pointer;-webkit-tap-highlight-color:transparent;z-index:2;transition:color .2s ease;white-space:nowrap;display:flex;align-items:center;justify-content:center}.period-selector-option-selected{color:var(--tg-theme-accent-text-color)}.period-selector-divider{width:1px;height:20px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);flex-shrink:0;position:relative;transition:opacity .5s ease}.tasks-analytics-container{display:flex;flex-direction:column;gap:15px;width:100%}body.tasks-analytics-modal-open{overflow:hidden}.tasks-analytics-loading,.tasks-analytics-error{text-align:center;padding:20px;color:var(--tg-theme-text-color);font-size:15px}.tasks-analytics-summary{display:flex;align-items:center;gap:15px;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:20px 20px 20px 10px;height:150px;position:relative}.tasks-analytics-chart{position:relative;flex-shrink:0}.tasks-analytics-chart svg{display:block}.tasks-analytics-chart-progress{transition:stroke-dashoffset .5s ease}.tasks-analytics-chart-percent{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:24px;font-weight:600;color:var(--tg-theme-text-color)}.tasks-analytics-stats{display:flex;flex-direction:column;gap:12px;flex:1}.tasks-analytics-stat-item{display:flex;justify-content:space-between;align-items:center}.tasks-analytics-stat-label{font-size:14px;color:var(--tg-theme-text-color);opacity:.8}.tasks-analytics-stat-value{font-size:14px;font-weight:500;color:var(--tg-theme-text-color)}.tasks-analytics-bars{background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:16px;height:200px;position:relative}.tasks-analytics-bars-container{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;min-height:160px}.tasks-analytics-bar-wrapper{display:flex;flex-direction:column;align-items:center;flex:1;gap:8px;position:relative}.tasks-analytics-bar-container{position:relative;width:100%;height:140px;display:flex;align-items:flex-end;justify-content:center}.tasks-analytics-bar-total{position:absolute;bottom:0;left:0;width:100%;background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);border-radius:13px;transition:height .3s ease}.tasks-analytics-bar-completed{position:absolute;bottom:0;left:0;width:100%;background-color:var(--tg-theme-accent-text-color);border-radius:13px;transition:height .3s ease;z-index:2}.tasks-analytics-bar-empty{width:100%;height:20px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent);border-radius:13px}.tasks-analytics-bar-label{font-size:13px;color:var(--tg-theme-text-color);opacity:.6;font-weight:500}.tasks-analytics-bar-label-today{opacity:1;font-weight:600;color:var(--tg-theme-accent-text-color)}.tasks-analytics-bar-numbers{position:absolute;bottom:30px;left:50%;transform:translate(-50%);font-size:12px;color:var(--tg-theme-text-color);opacity:.7;font-weight:500;z-index:10}.tasks-analytics-bar-clickable{cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.tasks-analytics-bar-clickable:focus-visible{outline:2px solid color-mix(in srgb,var(--tg-theme-accent-text-color) 60%,transparent);outline-offset:4px;border-radius:10px}.tasks-analytics-modal-overlay{position:fixed;inset:0;background-color:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px;opacity:0;animation:tasks-analytics-fade-in .18s ease forwards}.tasks-analytics-modal{width:fit-content;min-width:min(320px,100%);max-width:min(420px,100%);background-color:var(--tg-theme-section-bg-color);border-radius:16px;padding:16px 16px 12px;box-shadow:0 10px 24px #0003;color:var(--tg-theme-text-color);opacity:0;transform:translateY(6px) scale(.98);animation:tasks-analytics-modal-in .2s ease forwards}.tasks-analytics-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.tasks-analytics-modal-title{font-size:16px;font-weight:600;white-space:nowrap}.tasks-analytics-modal-close{border:none;background:transparent;color:var(--tg-theme-text-color);font-size:22px;line-height:1;cursor:pointer;padding:4px}.tasks-analytics-modal-content{display:flex;flex-direction:column;gap:10px;max-height:50vh;overflow:auto}.tasks-analytics-modal-content::-webkit-scrollbar{width:0;height:0}.tasks-analytics-modal-content{scrollbar-width:none;-ms-overflow-style:none}.tasks-analytics-modal-loading,.tasks-analytics-modal-error,.tasks-analytics-modal-empty{text-align:center;font-size:14px;color:var(--tg-theme-hint-color)}.tasks-analytics-modal-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.tasks-analytics-modal-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 6%,transparent)}.tasks-analytics-modal-status{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;border-radius:50%;flex-shrink:0}.tasks-analytics-modal-status.status-completed{color:var(--tg-theme-button-text-color);background-color:var(--tg-theme-accent-text-color)}.tasks-analytics-modal-status.status-not-completed{color:var(--tg-theme-button-text-color);background-color:var(--tg-theme-destructive-text-color)}.tasks-analytics-modal-task{font-size:14px;color:var(--tg-theme-text-color);word-break:break-word}.tasks-analytics-modal-item-skeleton{background-color:color-mix(in srgb,var(--tg-theme-text-color) 4%,transparent)}.tasks-analytics-modal-status-skeleton{background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);border-radius:50%}.tasks-analytics-modal-task-skeleton{width:100%;height:14px;border-radius:6px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);animation:skeleton-pulse 1.5s ease-in-out infinite}@keyframes tasks-analytics-fade-in{to{opacity:1}}@keyframes tasks-analytics-modal-in{to{opacity:1;transform:translateY(0) scale(1)}}.tasks-analytics-summary-skeleton{opacity:.7}.tasks-analytics-chart-skeleton{position:relative;flex-shrink:0;width:120px;height:120px;display:flex;justify-content:center;align-items:center}.tasks-analytics-chart-circle-skeleton{width:90px;height:90px;border-radius:50%;background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);animation:skeleton-pulse 1.5s ease-in-out infinite}.tasks-analytics-chart-percent-skeleton{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:40px;height:28px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 15%,transparent);border-radius:6px;animation:skeleton-pulse 1.5s ease-in-out infinite}.tasks-analytics-stat-label-skeleton{height:15px;width:120px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);border-radius:6px;animation:skeleton-pulse 1.5s ease-in-out infinite}.tasks-analytics-stat-value-skeleton{height:15px;width:30px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 15%,transparent);border-radius:6px;animation:skeleton-pulse 1.5s ease-in-out infinite}.tasks-analytics-bars-skeleton{opacity:.7}.tasks-analytics-bar-skeleton{position:absolute;bottom:0;left:0;width:100%;height:60%;background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);border-radius:13px;animation:skeleton-pulse 1.5s ease-in-out infinite}.tasks-analytics-bar-numbers-skeleton{position:absolute;bottom:30px;left:50%;transform:translate(-50%);width:30px;height:12px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);border-radius:4px;animation:skeleton-pulse 1.5s ease-in-out infinite;z-index:10}.tasks-analytics-area-chart-skeleton{opacity:.7;animation:skeleton-pulse 1.5s ease-in-out infinite}.analytics-free-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:color-mix(in srgb,var(--tg-theme-section-bg-color) 50%,transparent);border-radius:var(--main-border-radius);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);z-index:1;display:flex;align-items:center;justify-content:center;border:1px solid color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);padding:20px}.analytics-free-overlay-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:20px}.analytics-free-overlay-icon{width:40px;height:40px}.analytics-free-overlay-icon-svg{width:100%;height:100%;overflow:visible}.analytics-free-overlay-icon-svg *{fill:var(--tg-theme-accent-text-color)}.analytics-free-overlay-icon-svg path{fill:var(--tg-theme-accent-text-color);stroke:#fff;stroke-width:.1}.analytics-free-overlay-text{font-size:14px;font-weight:400;text-align:center;line-height:1.4;color:var(--tg-theme-text-color)}.analytics-free-overlay-text-bold{margin-left:5px;font-weight:700}.analytics-free-overlay-button{background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color);border:.2px solid rgba(255,255,255,.6);border-radius:50px;padding:14px 20px;cursor:pointer;font-size:14px;font-weight:700;line-height:1.4;width:100%;max-width:280px;position:relative}.habits-analytics-container{display:flex;flex-direction:column;gap:15px;width:100%}.habits-analytics-loading,.habits-analytics-error{text-align:center;padding:20px;color:var(--tg-theme-text-color);font-size:15px}.habits-analytics-summary{display:flex;align-items:center;gap:15px;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:20px 20px 20px 10px;height:150px;position:relative}.habits-analytics-chart{position:relative;flex-shrink:0}.habits-analytics-chart svg{display:block}.habits-analytics-chart-progress{transition:stroke-dashoffset .5s ease}.habits-analytics-chart-percent{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:24px;font-weight:600;color:var(--tg-theme-text-color)}.habits-analytics-stats{display:flex;flex-direction:column;gap:12px;flex:1}.habits-analytics-stat-item{display:flex;justify-content:space-between;align-items:center}.habits-analytics-stat-label{font-size:14px;color:var(--tg-theme-text-color);opacity:.8}.habits-analytics-stat-value{font-size:14px;font-weight:500;color:var(--tg-theme-text-color)}.habits-analytics-bars{background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:16px;height:200px;position:relative}.habits-analytics-bars-container{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;min-height:160px}.habits-analytics-bar-wrapper{display:flex;flex-direction:column;align-items:center;flex:1;gap:8px;position:relative}.habits-analytics-bar-container{position:relative;width:100%;height:140px;display:flex;align-items:flex-end;justify-content:center}.habits-analytics-bar-total{position:absolute;bottom:0;left:0;width:100%;background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);border-radius:13px;transition:height .3s ease}.habits-analytics-bar-completed{position:absolute;bottom:0;left:0;width:100%;background-color:var(--tg-theme-accent-text-color);border-radius:13px;transition:height .3s ease;z-index:2}.habits-analytics-bar-empty{width:100%;height:20px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent);border-radius:13px}.habits-analytics-bar-label{font-size:13px;color:var(--tg-theme-text-color);opacity:.6;font-weight:500}.habits-analytics-bar-label-today{opacity:1;font-weight:600;color:var(--tg-theme-accent-text-color)}.habits-analytics-bar-numbers{position:absolute;bottom:30px;left:50%;transform:translate(-50%);font-size:12px;color:var(--tg-theme-text-color);opacity:.7;font-weight:500;z-index:10}.habits-analytics-summary-skeleton{opacity:.7}.habits-analytics-chart-skeleton{position:relative;flex-shrink:0;width:120px;height:120px;display:flex;justify-content:center;align-items:center}.habits-analytics-chart-circle-skeleton{width:90px;height:90px;border-radius:50%;background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);animation:skeleton-pulse 1.5s ease-in-out infinite}.habits-analytics-chart-percent-skeleton{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:40px;height:28px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 15%,transparent);border-radius:6px;animation:skeleton-pulse 1.5s ease-in-out infinite}.habits-analytics-stat-label-skeleton{height:15px;width:120px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);border-radius:6px;animation:skeleton-pulse 1.5s ease-in-out infinite}.habits-analytics-stat-value-skeleton{height:15px;width:30px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 15%,transparent);border-radius:6px;animation:skeleton-pulse 1.5s ease-in-out infinite}.habits-analytics-bars-skeleton{opacity:.7}.habits-analytics-bar-skeleton{position:absolute;bottom:0;left:0;width:100%;height:60%;background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);border-radius:13px;animation:skeleton-pulse 1.5s ease-in-out infinite}.habits-analytics-bar-numbers-skeleton{position:absolute;bottom:30px;left:50%;transform:translate(-50%);width:30px;height:12px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);border-radius:4px;animation:skeleton-pulse 1.5s ease-in-out infinite;z-index:10}.habits-analytics-area-chart-skeleton{opacity:.7;animation:skeleton-pulse 1.5s ease-in-out infinite}@keyframes skeleton-shimmer{0%{background-position:-200% 0%}to{background-position:200% 0%}}@keyframes skeleton-pulse{0%,to{opacity:.7}50%{opacity:.4}}.analytics-page-root{touch-action:pan-y}.analytics-date-picker-block{width:100%;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:6px 16px;margin-top:15px}.analytics-date-picker-row{display:flex;align-items:center;justify-content:center;position:relative;min-height:36px}.analytics-date-picker-nav{display:flex;align-items:center;column-gap:7px}.analytics-date-picker-block .analytics-date-nav-button{height:36px;width:36px;border-radius:100px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent);display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent}.analytics-date-picker-block .analytics-date-nav-button svg{width:18px;height:18px}.analytics-date-picker-block .analytics-date-nav-button svg *{fill:var(--tg-theme-text-color)}.analytics-date-picker-block .analytics-date-display{height:36px;min-width:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;row-gap:2px;border-radius:100px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent);cursor:pointer;-webkit-tap-highlight-color:transparent;padding:0 16px}.analytics-date-picker-block .analytics-date-display-title{font-size:13px;font-weight:600;color:var(--tg-theme-text-color)}.analytics-date-picker-block .analytics-date-display-title-active{color:var(--tg-theme-accent-text-color)}.analytics-date-picker-block .analytics-date-display-subtitle{font-size:11px;font-weight:500;color:var(--tg-theme-subtitle-text-color);opacity:.8}.analytics-date-picker-block .analytics-date-display-subtitle-active{color:var(--tg-theme-accent-text-color)}.analytics-date-picker-block .analytics-date-calendar-button{position:absolute;right:0;top:50%;transform:translateY(-50%);height:36px;width:36px;border-radius:100px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent);display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent}.analytics-date-picker-block .analytics-date-calendar-button svg{width:20px;height:20px}.analytics-date-picker-block .analytics-date-calendar-button svg *{fill:var(--tg-theme-text-color)}.analytics-date-picker-block .analytics-date-calendar-button-active svg *{fill:var(--tg-theme-accent-text-color)}.analytics-date-picker-block .analytics-date-picker-calendar-wrap{margin-top:10px;padding-top:10px;border-top:1px solid color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent)}.analytics-date-picker-block .analytics-date-picker-calendar-wrap .calendar-picker,.analytics-date-picker-block .analytics-date-picker-calendar-wrap .month-calendar-picker{background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,var(--tg-theme-section-bg-color));border-radius:var(--main-border-radius);padding:12px;margin:0}.analytics-date-picker-block .analytics-date-picker-calendar-wrap .month-calendar-header{margin-bottom:12px}.analytics-date-picker-year-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.analytics-date-picker-year-btn{padding:12px 16px;border-radius:12px;border:none;background-color:color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent);color:var(--tg-theme-text-color);font-size:14px;font-weight:500;cursor:pointer;-webkit-tap-highlight-color:transparent}.analytics-date-picker-year-btn-selected{background-color:color-mix(in srgb,var(--tg-theme-accent-text-color) 20%,transparent);color:var(--tg-theme-accent-text-color);font-weight:600}.goal-item{display:flex;align-items:center;column-gap:12px;padding:10px 16px;margin-left:-16px;margin-right:-16px;position:relative;cursor:pointer;transition:background-color .2s ease;animation:listEnter .3s ease-out}.goal-item:not(:last-child):after{content:"";position:absolute;right:0;bottom:0;height:.7px;width:calc(100% - 50px);background:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);pointer-events:none;z-index:1}.goal-checkbox{width:38px;height:38px;border-radius:50%;border:1px solid color-mix(in srgb,var(--tg-theme-text-color) 30%,var(--tg-theme-section-bg-color));background-color:transparent;flex-shrink:0;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .2s ease,border-color .2s ease}.goal-checkbox-completed{background-color:var(--tg-theme-button-color);border-color:var(--tg-theme-button-color)}.goal-checkbox-completed-icon path{stroke-dasharray:40;stroke-dashoffset:40;animation:draw-check .45s ease-out forwards}@keyframes draw-check{to{stroke-dashoffset:0}}.goal-content{flex:1;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:4px;-webkit-tap-highlight-color:transparent;overflow:hidden}.goal-text-wrapper{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.goal-text{font-size:15px;font-weight:400;color:var(--tg-theme-text-color);line-height:1.4;overflow:hidden;text-overflow:ellipsis;max-width:100%;display:block;transition:all .4s ease-in}.goal-description{font-size:13px;font-weight:400;color:var(--tg-theme-subtitle-text-color);line-height:1.35;opacity:.85;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.goal-description-completed{opacity:.5}.goal-deadline{line-height:1.4;font-family:var(--font-family);font-weight:400;font-size:14px;color:var(--tg-theme-subtitle-text-color)}.goal-deadline-passed{color:var(--tg-theme-destructive-text-color)}.goal-item-skeleton{display:flex;align-items:center;column-gap:12px;padding:10px 0;position:relative}.goal-item-skeleton:not(:last-child):after{content:"";position:absolute;right:0;bottom:0;height:.7px;width:calc(100% - 50px);background:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);pointer-events:none;z-index:1}.goal-checkbox-skeleton{width:38px;height:38px;border-radius:50%;background-color:color-mix(in srgb,var(--tg-theme-text-color) 15%,transparent);flex-shrink:0;animation:goal-skeleton-pulse 1.5s ease-in-out infinite}.goal-text-skeleton{height:18px;width:100%;max-width:200px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 15%,transparent);border-radius:8px;animation:goal-skeleton-pulse 1.5s ease-in-out infinite}@keyframes goal-skeleton-pulse{0%,to{opacity:.7}50%{opacity:.4}}.goals-page-root{touch-action:pan-y}.goals-section{margin-top:15px;padding:0 16px;animation:listEnter .3s ease-out}.year-selector{display:flex;flex-direction:row;gap:10px}.year-selector-item{flex:1;height:35px;display:flex;align-items:center;justify-content:center;border-radius:13px;background-color:var(--tg-theme-section-bg-color);cursor:pointer}.year-selector-item-selected{background-color:color-mix(in srgb,var(--tg-theme-accent-text-color) 10%,transparent);color:var(--tg-theme-accent-text-color)}.menu{position:fixed;z-index:1000;bottom:0;left:0;width:100%;height:80px;display:flex;padding:10px 20px 18px;background-color:var(--tg-theme-secondary-bg-color);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 20%,transparent)}.menu.menu-visible{opacity:1}.menu-item{flex:1;padding:0 6px;margin:0 -3px;box-sizing:border-box;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;border-radius:85px/80px;background:transparent;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none;user-drag:none}.menu-item *{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.menu-item-active{-webkit-backdrop-filter:blur(27px);backdrop-filter:blur(27px)}.menu-icon{width:33px;height:33px}.menu-icon *{fill:color-mix(in srgb,var(--tg-theme-text-color) 70%,transparent)}.menu-icon-active *{fill:var(--tg-theme-accent-text-color)!important}.menu-text{font-size:10px;font-weight:600;line-height:normal;color:color-mix(in srgb,var(--tg-theme-text-color) 80%,transparent)}.menu-text-active{color:var(--tg-theme-button-color)!important}.recurring-scope-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1001}.recurring-scope-modal{background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:24px;margin:20px;max-width:320px;width:100%}.recurring-scope-title{font-size:17px;font-weight:600;color:var(--tg-theme-text-color);text-align:center;margin-bottom:20px}.recurring-scope-buttons{display:flex;flex-direction:column;gap:10px}.recurring-scope-button{width:100%;height:44px;border-radius:12px;font-size:17px;font-weight:400;cursor:pointer;-webkit-tap-highlight-color:transparent;border:none;background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.recurring-scope-button-cancel{background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);color:var(--tg-theme-text-color);margin-top:8px}.recurrence-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.recurrence-modal{background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:24px;margin:20px;max-width:360px;width:100%;max-height:90vh;overflow-y:auto}.recurrence-value{display:flex;flex-direction:column;align-items:flex-end;line-height:1.25;text-align:right}.recurrence-modal-title{font-size:17px;font-weight:600;color:var(--tg-theme-text-color);text-align:center;margin-bottom:20px}.recurrence-field{margin-bottom:16px}.recurrence-label{display:block;font-size:14px;font-weight:500;color:var(--tg-theme-subtitle-text-color);margin-bottom:8px}.recurrence-select{width:100%;height:44px;padding:0 40px 0 16px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);border:none;border-radius:12px;font-size:16px;color:var(--tg-theme-text-color);-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}.recurrence-weekdays{display:flex;gap:6px}.recurrence-weekday-btn{flex:1;min-width:0;height:40px;border:none;border-radius:12px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);color:var(--tg-theme-text-color);font-size:14px;font-weight:500;cursor:pointer;-webkit-tap-highlight-color:transparent}.recurrence-weekday-btn.active{background-color:color-mix(in srgb,var(--tg-theme-button-color) 30%,transparent);color:var(--tg-theme-accent-text-color)}.recurrence-month-days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.recurrence-month-day-btn{width:100%;aspect-ratio:1;border:none;border-radius:8px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);color:var(--tg-theme-text-color);font-size:13px;font-weight:500;cursor:pointer;-webkit-tap-highlight-color:transparent}.recurrence-month-day-btn.active{background-color:color-mix(in srgb,var(--tg-theme-button-color) 30%,transparent);color:var(--tg-theme-accent-text-color)}.recurrence-interval-input{width:100%;height:44px;padding:0 16px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);border:none;border-radius:12px;font-size:16px;color:var(--tg-theme-text-color)}.recurrence-date-row{height:44px;padding:0 16px;display:flex;align-items:center;background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);border-radius:12px;cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}.recurrence-date-row:focus{outline:none}.recurrence-date-value{font-size:16px;color:var(--tg-theme-accent-text-color)}.recurrence-date-value-unspecified{color:var(--tg-theme-subtitle-text-color);opacity:.7}.recurrence-modal .calendar-picker{margin-top:12px}.recurrence-modal-buttons{display:flex;gap:12px;margin-top:24px}.recurrence-btn{flex:1;height:44px;border-radius:12px;font-size:17px;font-weight:400;cursor:pointer;-webkit-tap-highlight-color:transparent;border:none}.recurrence-btn-cancel{background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);color:var(--tg-theme-text-color)}.recurrence-btn-save{background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.time-picker{background-color:var(--tg-theme-section-bg-color);border-radius:0 0 var(--main-border-radius) var(--main-border-radius);padding:13px 20px 20px;margin-top:-18px;animation:slideDown .3s ease-in-out}.time-picker-label{font-size:16px;font-weight:400;color:var(--tg-theme-text-color)}.time-picker-display{padding:8px 16px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent);border-radius:12px;font-size:16px;font-weight:400;color:var(--tg-theme-accent-text-color)}.time-picker-inputs{display:flex;align-items:center;justify-content:center;gap:8px}.time-picker-input{width:50%;height:60px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent);border-radius:16px;border:none;font-size:22px;font-weight:400;color:var(--tg-theme-text-color);text-align:center;-webkit-tap-highlight-color:transparent}.time-picker-input:focus{outline:none}.time-picker-separator{font-size:24px;font-weight:600;color:var(--tg-theme-text-color)}.time-picker-compact{background-color:transparent;border-radius:0;padding:0;margin-top:0;animation:none!important}.time-picker-compact .time-picker-inputs{gap:6px}.time-picker-compact .time-picker-input{height:44px;font-size:18px;border-radius:12px}.time-picker-compact .time-picker-separator{font-size:20px}.notify-times-section{background-color:var(--tg-theme-section-bg-color);border-radius:0 0 var(--main-border-radius) var(--main-border-radius);padding:4px 16px 16px;margin-top:-18px}.notify-times-section-animated{animation:slideDown .2s ease-out}.notify-times-list{display:flex;flex-direction:column;gap:8px}.notify-times-row{display:flex;align-items:center;gap:10px}.notify-times-row-index{flex-shrink:0;width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:color-mix(in srgb,var(--tg-theme-accent-text-color) 15%,transparent);color:var(--tg-theme-accent-text-color);font-size:12px;font-weight:600}.notify-times-row-picker{flex:1;min-width:0}.notify-times-remove{flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:none;background:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);border-radius:50%;cursor:pointer;padding:0;-webkit-tap-highlight-color:transparent}.notify-times-remove svg{width:22px;height:22px;opacity:.72}.notify-times-remove svg,.notify-times-remove svg *{fill:var(--tg-theme-text-color)}.notify-times-remove:active{opacity:.7}.notify-times-add{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:12px;padding:12px 16px;border:none;border-radius:14px;background:none;color:var(--tg-theme-accent-text-color);font-size:15px;font-weight:500;cursor:pointer;-webkit-tap-highlight-color:transparent}.notify-times-add:active{opacity:.75}.notify-times-add-icon{width:13px;height:13px}.notify-times-add-icon path{fill:var(--tg-theme-accent-text-color)}.entity-view-header{position:relative;z-index:5;display:flex;align-items:center;justify-content:center;min-height:32px;margin-top:15px}.entity-view-header .add-page-title{margin-top:0;width:100%;padding:0 52px}.entity-view-menu{position:absolute;right:12px;top:50%;transform:translateY(-50%)}.entity-view-menu-button{width:40px;height:40px;display:flex;align-items:center;justify-content:center;padding:0;border:none;border-radius:12px;background:none;color:var(--tg-theme-text-color);cursor:pointer;-webkit-tap-highlight-color:transparent}.entity-view-menu-button:active{opacity:.6}.entity-view-menu-popover{position:absolute;top:calc(100% + 4px);right:0;min-width:196px;padding:6px;border-radius:16px;background-color:var(--tg-theme-section-bg-color);box-shadow:0 10px 28px #0000002e,0 0 0 .5px color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent)}.entity-view-menu-item{display:block;width:100%;padding:11px 12px;border:none;border-radius:10px;background:none;text-align:left;font-family:inherit;font-size:16px;font-weight:400;color:var(--tg-theme-button-color);cursor:pointer;-webkit-tap-highlight-color:transparent}.entity-view-menu-item:active{background-color:color-mix(in srgb,var(--tg-theme-text-color) 6%,transparent)}.entity-view-menu-item-danger{color:var(--tg-theme-destructive-text-color)}.task-view-title{margin-bottom:0}.task-view-card{background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:16px 20px 8px}.task-view-text{font-size:17px;font-weight:500;line-height:1.4;color:var(--tg-theme-text-color);white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.task-view-description{margin-top:8px;font-size:15px;line-height:1.45;color:var(--tg-theme-subtitle-text-color);white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.task-view-details{margin-top:12px}.task-view-detail{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:8px 0;border-top:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent)}.task-view-detail-label{flex-shrink:0;font-size:15px;color:var(--tg-theme-subtitle-text-color)}.task-view-detail-value{font-size:15px;color:var(--tg-theme-text-color);text-align:right;overflow-wrap:anywhere}.task-view-page .recurrence-value{display:flex;flex-direction:column;align-items:flex-end;line-height:1.25;text-align:right}.task-view-page .content-block-header,.task-view-page .notes-block-item{border-bottom-color:color-mix(in srgb,var(--tg-theme-text-color) 14%,transparent)}.task-view-subtasks-header{cursor:default}.task-view-page .add-task-subtasks-count{margin-right:0}.task-view-page .add-task-subtask-item .notes-block-item-delete{align-self:flex-start;margin-top:1px}.task-view-page .add-task-subtask-item .notes-block-item-delete-icon,.task-view-page .add-task-subtask-item .notes-block-item-delete-icon *{fill:var(--tg-theme-text-color);fill-opacity:.55}.task-view-actions{margin-top:8px;display:flex;justify-content:center}.task-view-action{background:none;border:none;padding:12px 16px;font-family:inherit;font-size:17px;font-weight:400;cursor:pointer;-webkit-tap-highlight-color:transparent}.task-view-action:active{opacity:.6}.task-view-action-edit{color:var(--tg-theme-button-color)}.add-page-form-root-busy{pointer-events:none}.page-busy-overlay{position:fixed;inset:0;z-index:2000;background:transparent;pointer-events:auto}.page-busy-progress{position:absolute;top:0;left:0;right:0;height:3px;overflow:hidden;background:color-mix(in srgb,var(--tg-theme-button-color) 22%,transparent)}.page-busy-progress:before{content:"";position:absolute;top:0;left:0;height:100%;width:40%;background:var(--tg-theme-button-color);animation:page-busy-progress 1s ease-in-out infinite}@keyframes page-busy-progress{0%{transform:translate(-120%)}to{transform:translate(320%)}}.add-task-description-field .main-input{display:block;overflow:hidden;min-height:72px}.type-picker{background-color:var(--tg-theme-section-bg-color);border-radius:0 0 var(--main-border-radius) var(--main-border-radius);padding:13px 20px 20px;margin-top:-18px;display:flex;flex-direction:column;gap:4px}.type-picker-animated{animation:slideDown .3s ease-in-out}.type-picker-extended{border-radius:0!important;border-top:none}.form-row-extended{border-radius:var(--main-border-radius) var(--main-border-radius) 0 0!important}.type-picker-option{padding:12px 24px;border-radius:12px;font-size:16px;font-weight:400;color:var(--tg-theme-text-color);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .2s}.type-picker-option:hover{background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent)}.type-picker-option-active{background-color:color-mix(in srgb,var(--tg-theme-accent-text-color) 10%,transparent);color:var(--tg-theme-accent-text-color);font-weight:500}.interval-days-selector{background-color:var(--tg-theme-section-bg-color);border-radius:0 0 var(--main-border-radius) var(--main-border-radius);padding:0 20px 20px;margin-top:-18px;border-top:none}.interval-days-selector-animated{animation:slideDown .3s ease-in-out}.interval-days-label{font-size:14px;font-weight:400;color:var(--tg-theme-hint-color);margin-bottom:12px;padding-top:13px}.interval-days-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.interval-day-button{aspect-ratio:1;display:flex;align-items:center;justify-content:center;background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);border-radius:50%;font-size:11px;font-weight:500;color:var(--tg-theme-text-color);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:all .2s ease;width:100%;max-width:100%;min-width:34px;min-height:34px;padding:2px;box-sizing:border-box}.interval-day-button-selected{background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.weekly-days-selector{background-color:var(--tg-theme-section-bg-color);border-radius:0 0 var(--main-border-radius) var(--main-border-radius);padding:0 20px 20px;margin-top:-18px;border-top:none}.weekly-days-selector-animated{animation:slideDown .3s ease-in-out}.weekly-days-label{font-size:14px;font-weight:400;color:var(--tg-theme-hint-color);margin-bottom:12px;padding-top:13px}.weekly-days-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.weekly-day-button{aspect-ratio:1;display:flex;align-items:center;justify-content:center;background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);border-radius:50%;font-size:13px;font-weight:500;color:var(--tg-theme-text-color);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:all .2s ease;width:100%;max-width:100%}.weekly-day-button-selected{background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.habit-finish-overlay{position:fixed;inset:0;z-index:10002;display:flex;align-items:center;justify-content:center;padding:24px;background-color:#0000006b;-webkit-backdrop-filter:blur(16px) saturate(1.1);backdrop-filter:blur(16px) saturate(1.1)}.habit-finish-modal{width:100%;max-width:320px;padding:26px 22px 20px;border-radius:var(--main-border-radius);background:linear-gradient(165deg,color-mix(in srgb,var(--tg-theme-section-bg-color) 86%,var(--tg-theme-accent-text-color)) 0%,var(--tg-theme-section-bg-color) 48%);box-shadow:0 10px 36px #0000003d,0 0 0 1px color-mix(in srgb,var(--tg-theme-accent-text-color) 18%,transparent);text-align:center}.habit-finish-kicker{margin:0;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--tg-theme-accent-text-color)}.habit-finish-title{margin:8px 0 0;font-size:22px;font-weight:700;line-height:1.25;color:var(--tg-theme-text-color)}.habit-finish-name{margin:8px 0 0;font-size:15px;line-height:1.4;color:var(--tg-theme-subtitle-text-color)}.habit-finish-percent{margin:18px 0 0;font-size:56px;font-weight:700;line-height:.95;letter-spacing:-1px;color:var(--tg-theme-accent-text-color)}.habit-finish-score{margin:6px 0 0;font-size:15px;font-weight:500;color:var(--tg-theme-text-color)}.habit-finish-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.habit-finish-stat{padding:12px 10px;border-radius:16px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 6%,var(--tg-theme-section-bg-color))}.habit-finish-stat-value{display:block;font-size:24px;font-weight:700;line-height:1;color:var(--tg-theme-text-color)}.habit-finish-stat-label{display:block;margin-top:6px;font-size:12px;line-height:1.3;color:var(--tg-theme-subtitle-text-color)}.habit-finish-button{width:100%;height:48px;margin-top:18px;border:none;border-radius:16px;background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color);font-family:inherit;font-size:16px;font-weight:600;cursor:pointer;-webkit-tap-highlight-color:transparent}.habit-finish-button:active{opacity:.82}.habit-summary-card{margin-top:12px;padding:12px;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);display:flex;flex-direction:column;gap:10px}.habit-summary-done,.habit-summary-streak{border-radius:18px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent)}.habit-summary-done{padding:14px 14px 12px}.habit-summary-done-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.habit-summary-done-label{font-size:14px;color:var(--tg-theme-subtitle-text-color)}.habit-summary-done-value{font-size:15px;font-weight:600;color:var(--tg-theme-text-color)}.habit-summary-bar{margin-top:12px;height:6px;border-radius:100px;overflow:hidden;background-color:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent)}.habit-summary-bar-fill{height:100%;border-radius:100px;background-color:var(--tg-theme-accent-text-color);transition:width .3s ease}.habit-summary-streaks{display:grid;grid-template-columns:1fr 1fr;gap:10px}.habit-summary-streak{min-height:96px;padding:14px 14px 12px;display:flex;flex-direction:column;justify-content:space-between}.habit-summary-streak-current{background-color:color-mix(in srgb,var(--tg-theme-accent-text-color) 14%,transparent)}.habit-summary-streak-value{font-size:32px;font-weight:700;line-height:1;letter-spacing:-.6px;color:var(--tg-theme-text-color)}.habit-summary-streak-current .habit-summary-streak-value{color:var(--tg-theme-accent-text-color)}.habit-summary-streak-unit{margin-top:4px;font-size:13px;font-weight:500;color:var(--tg-theme-subtitle-text-color)}.habit-summary-streak-current .habit-summary-streak-unit{color:color-mix(in srgb,var(--tg-theme-accent-text-color) 75%,var(--tg-theme-text-color))}.habit-summary-streak-label{margin-top:10px;font-size:13px;line-height:1.3;color:var(--tg-theme-subtitle-text-color)}.habit-summary-line,.habit-summary-block{border-radius:8px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent);animation:habit-summary-pulse 1.5s ease-in-out infinite}.habit-summary-line{height:16px;width:72px}.habit-summary-line-short{width:48px}.habit-summary-block{height:32px;width:46px}@keyframes habit-summary-pulse{0%,to{opacity:.7}50%{opacity:.4}}.add-task-description-field{margin-top:12px}.add-goal-form{margin-top:12px;display:flex;flex-direction:column;gap:12px}.add-goal-form .form-row{height:50px;display:flex;align-items:center;justify-content:space-between;padding:8px 10px 8px 24px;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);transition:background-color .2s ease-in}.add-goal-form .form-row-active{border-radius:var(--main-border-radius) var(--main-border-radius) 0 0}.add-goal-form .form-row-label{font-size:16px;font-weight:400;color:var(--tg-theme-text-color)}.add-goal-form .form-row-button{height:35px;display:flex;align-items:center;justify-content:center;padding:8px 16px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);border-radius:100px;font-size:16px;font-weight:400;color:var(--tg-theme-accent-text-color);cursor:pointer;-webkit-tap-highlight-color:transparent}.delete-task-button-container{margin-top:30px;display:flex;justify-content:center;align-items:center}.delete-task-button{background-color:transparent;border-radius:50px;color:var(--tg-theme-destructive-text-color);font-size:17px;font-weight:400;cursor:pointer;-webkit-tap-highlight-color:transparent}.delete-confirm-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000}.delete-confirm-modal{background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:24px;margin:20px;max-width:300px;width:100%}.delete-confirm-title{font-size:17px;font-weight:600;color:var(--tg-theme-text-color);text-align:center;margin-bottom:24px}.delete-confirm-buttons{display:flex;gap:12px}.delete-confirm-button{flex:1;height:44px;border-radius:12px;font-size:17px;font-weight:400;cursor:pointer;-webkit-tap-highlight-color:transparent;border:none}.delete-confirm-button-cancel{background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);color:var(--tg-theme-text-color)}.delete-confirm-button-delete{background-color:color-mix(in srgb,var(--tg-theme-destructive-text-color) 20%,transparent);color:var(--tg-theme-destructive-text-color)}.add-goal-smart-section{margin-top:12px}.add-goal-smart-section.content-block{padding:20px;animation:none}.add-goal-smart-header{cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.add-goal-smart-section.add-goal-smart-collapsed .content-block-header{border-bottom:none;padding-bottom:0}.add-goal-smart-fields{display:flex;flex-direction:column;padding-top:4px}.add-goal-smart-field{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 12%,transparent)}.add-goal-smart-field:last-child{border-bottom:none;padding-bottom:0}.add-goal-smart-field-prefix{width:28px;height:28px;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0;border:none;background:none;font-family:inherit;font-size:15px;font-weight:600;line-height:1;color:var(--tg-theme-button-color);cursor:pointer;-webkit-tap-highlight-color:transparent}.add-goal-smart-input{flex:1;min-width:0;padding:0;font-size:15px;font-family:inherit;color:var(--tg-theme-text-color);background:transparent;border:none;-webkit-tap-highlight-color:transparent}.add-goal-smart-textarea{resize:none;min-height:24px;line-height:1.4;white-space:pre-wrap;word-wrap:break-word;overflow:hidden}.add-goal-smart-input::placeholder{color:var(--tg-theme-subtitle-text-color);opacity:.7}.add-goal-smart-info-btn{width:28px;height:28px;padding:0;border:none;background:transparent;color:var(--tg-theme-subtitle-text-color);cursor:pointer;display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent;flex-shrink:0}.add-goal-smart-info-btn:hover{color:var(--tg-theme-text-color)}.profile-page-title{font-size:17px;font-weight:600;color:var(--tg-theme-section-header-text-color);margin:20px 0 13px 16px;padding:0}.profile-section{background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:0;margin-bottom:12px;overflow:hidden}.profile-setting-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation;border-bottom:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent);transition:background-color .2s}.profile-setting-button{width:100%;background:none;border:none;text-align:left;color:var(--tg-theme-text-color)}.profile-setting-item:focus{outline:none}.profile-setting-item:last-child{border-bottom:none}.profile-setting-item:active{background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent)}.profile-setting-left{display:flex;align-items:center;gap:12px;flex:1}.profile-setting-icon{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.profile-setting-icon-svg{width:22px;height:22px}.profile-setting-icon-svg *{fill:#fff}.profile-setting-icon-red{background-color:#ff3b30}.profile-setting-icon-green{background-color:#34c759}.profile-setting-icon-purple{background-color:#af52de}.profile-setting-icon-gray{background-color:#636366}.profile-setting-icon-blue{background-color:#007aff}.profile-setting-icon-orange{background-color:#ff9500}.profile-setting-icon-light-blue{background-color:#5ac8fa}.profile-setting-icon-yellow{background-color:#fc0}.profile-setting-icon-premium{background:linear-gradient(90deg,#0094fe,#6075ef)}.profile-setting-text{font-size:16px;font-weight:400;color:var(--tg-theme-text-color)}.profile-setting-right{display:flex;align-items:center;gap:8px}.profile-setting-status,.profile-setting-value{font-size:16px;font-weight:400;color:var(--tg-theme-subtitle-text-color);opacity:.8}.profile-links-section{margin-top:12px}.profile-link-item{padding:15px 20px;cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation;border-bottom:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent);transition:background-color .2s}.profile-link-item:focus{outline:none}.profile-link-item:last-child{border-bottom:none}.profile-link-item:active{background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent)}.profile-link-text{font-size:16px;font-weight:400;color:var(--tg-theme-accent-text-color)}.profile-subsection-title{padding:12px 16px 8px;font-size:15px;font-weight:500;color:var(--tg-theme-text-color);opacity:.7}.profile-overdue-list,.profile-overdue-row{display:flex;flex-direction:column}.profile-overdue-row:not(:first-child){border-top:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent)}.profile-overdue-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:none;background:transparent;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}.profile-overdue-inline-actions{display:flex;flex-direction:column;gap:8px;padding:8px 16px 12px;border-top:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent);background:color-mix(in srgb,var(--tg-theme-text-color) 3%,transparent)}.profile-overdue-text{font-size:15px;font-weight:400;color:var(--tg-theme-text-color);flex:1}.profile-overdue-date{font-size:13px;font-weight:400;color:var(--tg-theme-subtitle-text-color);opacity:.6;flex-shrink:0}.profile-overdue-empty{padding:16px;font-size:14px;color:var(--tg-theme-subtitle-text-color);opacity:.7}.profile-overdue-loading{padding:12px 16px;font-size:13px;color:var(--tg-theme-subtitle-text-color);opacity:.7}.profile-overdue-modal-button{width:100%;border:none;border-radius:12px;height:38px;font-size:14px;font-weight:400;color:var(--tg-theme-button-text-color);background:var(--tg-theme-button-color);cursor:pointer;-webkit-tap-highlight-color:transparent;box-shadow:none}.profile-overdue-modal-delete{background:var(--tg-theme-destructive-text-color)}.profile-subscription-details{padding:16px;display:flex;flex-direction:column;gap:16px}.profile-subscription-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-subscription-label{font-size:15px;font-weight:400;color:var(--tg-theme-text-color);opacity:.7}.profile-subscription-value{font-size:15px;font-weight:400;color:var(--tg-theme-text-color);text-align:right;flex:1}.profile-subscription-value-wrapper{display:flex;align-items:center;gap:8px;flex:1;justify-content:flex-end}.profile-edit-button{background:none;border:none;color:var(--tg-theme-accent-text-color);font-size:18px;cursor:pointer;padding:4px;-webkit-tap-highlight-color:transparent;opacity:.7;transition:opacity .2s}.profile-edit-button:hover{opacity:1}.profile-edit-field{display:flex;align-items:center;gap:8px;flex:1;justify-content:flex-end}.profile-edit-input,.profile-edit-select{flex:1;max-width:200px;padding:8px 12px;border:1px solid color-mix(in srgb,var(--tg-theme-text-color) 20%,transparent);border-radius:8px;background-color:var(--tg-theme-section-bg-color);color:var(--tg-theme-text-color);font-size:15px;font-weight:400}.profile-edit-input:focus,.profile-edit-select:focus{outline:none;border-color:var(--tg-theme-accent-text-color)}.profile-edit-select{cursor:pointer}.profile-edit-buttons{display:flex;gap:4px}.profile-edit-save,.profile-edit-cancel{width:32px;height:32px;border:none;border-radius:8px;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent;transition:background-color .2s}.profile-edit-save{background-color:#34c759;color:#fff}.profile-edit-save:active{background-color:#2aa44f}.profile-edit-cancel{background-color:color-mix(in srgb,var(--tg-theme-text-color) 20%,transparent);color:var(--tg-theme-text-color)}.profile-edit-cancel:active{background-color:color-mix(in srgb,var(--tg-theme-text-color) 30%,transparent)}.profile-details-section{display:flex;flex-direction:column;gap:20px}.profile-details-row-animated{animation:slideDown .3s ease-out;animation-fill-mode:both}.profile-details-row{cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);min-height:50px;box-sizing:border-box;overflow:hidden;-webkit-tap-highlight-color:transparent;outline:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}.profile-details-row:focus{outline:none}.profile-details-row-editing{flex-direction:column;align-items:flex-start;gap:12px;overflow:hidden;box-sizing:border-box}.profile-details-label{font-size:16px;font-weight:400;color:var(--tg-theme-text-color);flex-shrink:0}.profile-details-value-wrapper{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;flex:1;margin-left:12px;-webkit-tap-highlight-color:transparent;outline:none;touch-action:manipulation}.profile-details-value{font-size:15px;font-weight:400;color:var(--tg-theme-hint-color);text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.profile-details-edit-button{width:34px;height:34px;flex-shrink:0;border:none;border-radius:50%;background-color:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);color:var(--tg-theme-text-color);cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent;outline:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}.profile-details-edit-button:active{opacity:.7}.profile-details-edit-icon{display:block}.profile-details-edit-button:focus{outline:none}.profile-details-edit-row{display:flex;align-items:center;gap:6px;width:100%;min-width:0;box-sizing:border-box;overflow:hidden}.profile-details-edit-field{display:flex;flex-direction:column;gap:12px;width:100%;margin-left:20px}.profile-details-edit-input{flex:1 1 0;min-width:0;max-width:100%;height:50px;padding:8px 12px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);border:none;border-radius:100px;color:var(--tg-theme-accent-text-color);font-size:16px;font-weight:400;outline:none;-webkit-tap-highlight-color:transparent;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.profile-details-edit-input:focus{outline:none}.profile-details-edit-input:disabled{opacity:.6;cursor:not-allowed}.profile-details-edit-input::placeholder{color:var(--tg-theme-hint-color);opacity:.6}.profile-details-edit-select{width:100%;padding:12px 16px;background-color:var(--tg-theme-bg-color);border:1px solid var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);color:var(--tg-theme-text-color);font-size:16px;outline:none;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.profile-details-edit-select:focus{border-color:var(--tg-theme-accent-text-color)}.profile-details-edit-buttons{display:flex;gap:6px;flex-shrink:0}.profile-details-edit-save,.profile-details-edit-cancel{width:34px;height:34px;border-radius:50%;border:none;font-size:15px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0;-webkit-tap-highlight-color:transparent;outline:none;touch-action:manipulation}.profile-details-edit-save:focus,.profile-details-edit-cancel:focus{outline:none}.profile-details-edit-save{background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.profile-details-edit-save:active:not(:disabled){opacity:.8}.profile-details-edit-save:disabled,.profile-details-edit-cancel:disabled{opacity:.5;cursor:not-allowed}.profile-details-edit-cancel{background-color:var(--tg-theme-section-bg-color);color:var(--tg-theme-text-color)}.profile-details-edit-cancel:active:not(:disabled){opacity:.8}.profile-details-row-active{border-radius:var(--main-border-radius) var(--main-border-radius) 0 0}.profile-details-timezone-edit{display:flex;flex-direction:column;gap:12px;width:100%}.profile-details-timezone-row{display:flex;align-items:center;gap:6px;width:100%;min-width:0}.profile-details-timezone-button{flex:1;min-width:0;height:50px;display:flex;align-items:center;justify-content:center;padding:8px 12px;background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent);border-radius:100px;font-size:16px;font-weight:400;color:var(--tg-theme-accent-text-color);cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:all .2s ease;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-details-timezone-button:focus{outline:none}.profile-details-timezone-button:active{opacity:.8}.timezone-picker{background-color:var(--tg-theme-section-bg-color);border-radius:0 0 var(--main-border-radius) var(--main-border-radius);padding:13px 20px 20px;margin-top:-18px;display:flex;flex-direction:column;gap:4px;max-height:300px;overflow-y:auto;animation:slideDown .3s ease-in-out}.timezone-picker-option{padding:12px 24px;border-radius:12px;font-size:16px;font-weight:400;color:var(--tg-theme-text-color);cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:background-color .2s}.timezone-picker-option:focus{outline:none}.timezone-picker-option:hover{background-color:color-mix(in srgb,var(--tg-theme-text-color) 5%,transparent)}.timezone-picker-option-active{background-color:color-mix(in srgb,var(--tg-theme-accent-text-color) 10%,transparent);color:var(--tg-theme-accent-text-color);font-weight:500}.profile-details-row-skeleton{opacity:.5;pointer-events:none;animation:skeleton-pulse 1.5s ease-in-out infinite}.profile-error-section{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.profile-error-text{font-size:16px;color:var(--tg-theme-hint-color);margin:0}.profile-details-error-message{font-size:14px;color:var(--tg-theme-destructive-text-color, #ff3333);margin-top:8px;padding:0 12px;line-height:1.4}.profile-details-unbind-email-button{width:100%;height:44px;margin-top:12px;padding:0 12px;background-color:transparent;border:1px solid var(--tg-theme-destructive-text-color, #ff3333);border-radius:100px;color:var(--tg-theme-destructive-text-color, #ff3333);font-size:15px;font-weight:400;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;-webkit-tap-highlight-color:transparent;outline:none}.profile-details-unbind-email-button:active:not(:disabled){opacity:.8;background-color:color-mix(in srgb,var(--tg-theme-destructive-text-color, #ff3333) 10%,transparent)}.profile-details-unbind-email-button:disabled{opacity:.5;cursor:not-allowed}.notifications-section{display:flex;flex-direction:column;gap:15px}.notifications-row{height:50px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:8px 10px 8px 24px;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);min-height:50px;-webkit-tap-highlight-color:transparent;outline:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}.notifications-row:focus{outline:none}.notifications-label{font-size:16px;font-weight:400;color:var(--tg-theme-text-color)}.subscription-details-section{display:flex;flex-direction:column;gap:20px}.subscription-details-row,.subscription-empty-section{animation:slideDown .3s ease-out;animation-fill-mode:both}.subscription-details-row-skeleton{opacity:.5;pointer-events:none;animation:skeleton-pulse 1.5s ease-in-out infinite}@keyframes skeleton-pulse{0%,to{opacity:.5}50%{opacity:.3}}.subscription-details-row{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);min-height:50px}.subscription-details-row-auto-renew,.subscription-details-row-payment{align-items:flex-start}.subscription-auto-renew-content,.subscription-payment-content{display:flex;flex-direction:column;gap:8px;width:100%}.subscription-payment-header,.subscription-auto-renew-header{display:flex;align-items:center;justify-content:space-between;width:100%}.subscription-details-label{font-size:16px;font-weight:400;color:var(--tg-theme-text-color)}.subscription-details-label--ended{font-size:16px;font-weight:600;letter-spacing:.02em;color:var(--tg-theme-destructive-text-color, #e85d5d)}.subscription-details-row-resume{display:block;padding:12px 20px}.subscription-details-value{font-size:16px;font-weight:400;color:var(--tg-theme-hint-color);text-align:right}.subscription-info-text{font-size:13px;font-weight:400;color:var(--tg-theme-hint-color);line-height:1.4}.subscription-delete-payment-button{padding:10px 14px;background-color:transparent;color:var(--tg-theme-destructive-text-color, #ff4d4f);border:1px solid color-mix(in srgb,var(--tg-theme-destructive-text-color, #ff4d4f) 60%,transparent);border-radius:var(--main-border-radius);font-size:13px;font-weight:500;align-self:flex-start;cursor:pointer;transition:opacity .2s ease}.subscription-delete-payment-button:disabled{opacity:.6;cursor:default}.toggle-switch-disabled{opacity:.5;pointer-events:none}.subscription-empty-section{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center}.subscription-empty-container{min-height:calc(100vh - 170px);padding-bottom:max(16px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px}.subscription-content-container{padding-bottom:24px}.subscription-empty-container .subscription-empty-section{flex:1}.subscription-empty-container .subscription-nav-card-group{margin-top:auto;flex-shrink:0}.subscription-empty-text{font-size:16px;color:var(--tg-theme-hint-color);margin-bottom:24px}.subscription-subscribe-button{padding:14px 28px;background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color);border:none;border-radius:var(--main-border-radius);font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease}.subscription-subscribe-button:active{opacity:.8}.subscription-history-button{margin-top:16px;padding:12px 20px;width:100%;background:transparent;color:var(--tg-theme-text-color);border:1px solid var(--tg-theme-hint-color);border-radius:var(--main-border-radius);font-size:15px;font-weight:500;cursor:pointer;transition:opacity .2s ease}.subscription-history-button:active{opacity:.75}.subscription-history-button-animated{animation:slideDown .3s ease-out;animation-fill-mode:both}.subscription-nav-card-group{display:flex;flex-direction:column;width:100%;background:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);overflow:hidden;animation:slideDown .3s ease-out;animation-fill-mode:both}.subscription-nav-card-group .subscription-nav-card--grouped{background:transparent;border-radius:0;border-bottom:1px solid color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);animation:none}.subscription-nav-card-group .subscription-nav-card--grouped:last-child{border-bottom:none}.subscription-nav-card-group .subscription-nav-card--grouped:active{background:color-mix(in srgb,var(--tg-theme-text-color) 7%,transparent);opacity:1}.subscription-nav-card{display:flex;align-items:center;gap:14px;width:100%;padding:14px 16px;background:var(--tg-theme-section-bg-color);border:none;border-radius:var(--main-border-radius);color:var(--tg-theme-text-color);cursor:pointer;text-align:left;-webkit-tap-highlight-color:transparent;animation:slideDown .3s ease-out;animation-fill-mode:both}.subscription-nav-card:not(.subscription-nav-card--grouped):active{opacity:.88}.subscription-nav-card-icon-circle{width:44px;height:44px;border-radius:50%;background:color-mix(in srgb,#7a8aa0 32%,var(--tg-theme-section-bg-color));display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--tg-theme-text-color)}.subscription-nav-card-icon-inner{width:24px;height:24px;display:block}.subscription-nav-card-label{flex:1;font-size:16px;font-weight:400;color:var(--tg-theme-text-color)}.subscription-nav-card-chevron{flex-shrink:0;color:var(--tg-theme-hint-color);opacity:.5}.profile-overdue-batch-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;margin-bottom:12px;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);animation:slideDown .25s ease-out;flex-wrap:wrap}.profile-overdue-batch-close{width:34px;height:34px;border:none;background:color-mix(in srgb,var(--tg-theme-text-color) 6%,transparent);color:var(--tg-theme-subtitle-text-color);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent;padding:0;flex-shrink:0}.profile-overdue-batch-count{font-size:13px;font-weight:500;color:var(--tg-theme-text-color);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-overdue-batch-actions{display:flex;gap:8px;flex-shrink:0}.profile-overdue-batch-btn-select-all{margin-right:4px}.profile-overdue-batch-btn{width:34px;height:34px;border:none;border-radius:50%;background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color);display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent}.profile-overdue-batch-btn:disabled{opacity:.6;cursor:not-allowed}.profile-overdue-batch-btn-delete{background-color:var(--tg-theme-destructive-text-color)}.profile-overdue-batch-btn-delete .profile-overdue-batch-icon *{fill:#fff;fill-opacity:1}.profile-overdue-batch-btn-active{outline:2px solid color-mix(in srgb,var(--tg-theme-button-text-color) 55%,transparent);outline-offset:1px}.profile-overdue-batch-icon{width:18px;height:18px}.profile-overdue-batch-icon *{fill:currentColor}.profile-overdue-checkbox-wrap{width:0;flex-shrink:0;overflow:hidden;opacity:0;transition:width .22s ease,opacity .18s ease,margin-right .22s ease;margin-right:-12px}.profile-overdue-checkbox-wrap-open{width:24px;opacity:1;margin-right:0}.profile-overdue-checkbox{width:24px;height:24px;border-radius:50%;border:2px solid color-mix(in srgb,var(--tg-theme-text-color) 40%,var(--tg-theme-section-bg-color));flex-shrink:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box}.profile-overdue-item-selected .profile-overdue-checkbox{border-color:var(--tg-theme-button-color);background-color:var(--tg-theme-button-color)}.profile-overdue-checkbox-icon{width:14px;height:14px}.profile-overdue-checkbox-icon *{fill:var(--tg-theme-button-text-color)}.profile-overdue-move-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.profile-overdue-move-modal{background-color:var(--tg-theme-bg-color);border-radius:var(--main-border-radius);padding:20px;max-width:100%;max-height:90vh;overflow-y:auto}.profile-overdue-move-title{font-size:16px;font-weight:600;color:var(--tg-theme-text-color);margin-bottom:16px}.profile-overdue-move-buttons{display:flex;gap:12px;margin-top:16px}.profile-overdue-move-buttons .profile-overdue-modal-button{flex:1}.profile-overdue-move-modal .calendar-picker{animation:slideDown .3s ease-out;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:10px 20px 20px}.profile-overdue-move-modal .calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.profile-overdue-move-modal .calendar-month-year{font-size:16px;font-weight:600;color:var(--tg-theme-text-color)}.profile-overdue-move-modal .calendar-nav{display:flex;gap:8px}.profile-overdue-move-modal .calendar-nav-button{width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer}.profile-overdue-move-modal .calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-bottom:12px}.profile-overdue-move-modal .calendar-weekday{text-align:center;font-size:12px;color:var(--tg-theme-subtitle-text-color);opacity:.5}.profile-overdue-move-modal .calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.profile-overdue-move-modal .calendar-day{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--tg-theme-text-color);cursor:pointer;border-radius:50%}.profile-overdue-move-modal .calendar-day-empty{cursor:default}.profile-overdue-move-modal .calendar-day-today{color:var(--tg-theme-accent-text-color)}.profile-overdue-move-modal .calendar-day-selected{background-color:color-mix(in srgb,var(--tg-theme-button-color) 20%,transparent);color:var(--tg-theme-accent-text-color);font-weight:500}.profile-overdue-move-modal .calendar-day-past{opacity:.5}.profile-overdue-move-modal .calendar-nav-button-icon{width:16px;height:16px}.profile-overdue-move-modal .calendar-nav-button-icon *{fill:var(--tg-theme-accent-text-color)}.delete-confirm-button-primary{background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.profile-search-input{width:100%;box-sizing:border-box;margin-bottom:16px;padding:14px 16px;border:none;border-radius:var(--main-border-radius);background-color:var(--tg-theme-section-bg-color);color:var(--tg-theme-text-color);font-size:16px;font-weight:400;-webkit-tap-highlight-color:transparent}.profile-search-input::placeholder{color:var(--tg-theme-subtitle-text-color);opacity:.6}.profile-search-input:focus{outline:none}.profile-search-empty,.profile-search-loading{padding:8px 4px 16px;font-size:14px;color:var(--tg-theme-subtitle-text-color);opacity:.7}.profile-search-group{margin-bottom:12px}.profile-search-date{padding:12px 16px 4px;font-size:13px;font-weight:600;color:var(--tg-theme-subtitle-text-color)}.profile-search-row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:.5px solid color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent)}.profile-search-check{width:24px;height:24px;padding:0;border-radius:50%;border:1.5px solid color-mix(in srgb,var(--tg-theme-text-color) 28%,var(--tg-theme-section-bg-color));background:transparent;flex-shrink:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;-webkit-tap-highlight-color:transparent}.profile-search-check-done{background-color:var(--tg-theme-button-color);border-color:var(--tg-theme-button-color)}.profile-search-main{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.profile-search-open{padding:0;border:none;background:transparent;text-align:left;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}.profile-search-text{font-size:15px;font-weight:400;color:var(--tg-theme-text-color);flex:1;min-width:0;overflow-wrap:anywhere}.profile-search-text-completed{opacity:.55}.profile-search-description{font-size:13px;color:var(--tg-theme-subtitle-text-color);opacity:.7;overflow-wrap:anywhere}.profile-search-time{flex-shrink:0;font-size:13px;font-weight:500;color:var(--tg-theme-subtitle-text-color);opacity:.7}.preferences-group{margin-bottom:24px}.preferences-group:last-of-type{margin-bottom:0}.preferences-row{cursor:pointer;-webkit-tap-highlight-color:transparent}.preferences-saving-hint{margin-top:12px;font-size:13px;color:var(--tg-theme-subtitle-text-color);opacity:.7;text-align:center}.premium-page{width:100%;min-height:100vh;background-color:var(--tg-theme-bg-color);padding:20px 15px 100px}.premium-page--dual-buttons{padding-bottom:170px}.premium-page-content{max-width:100%;margin:0 auto;animation:slideDown .2s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.premium-header{text-align:center;padding-top:20px;padding-bottom:10px;background-color:var(--tg-theme-bg-color)}.premium-icon{width:115px;height:115px;margin:0 auto 20px;display:flex;justify-content:center;align-items:center;overflow:visible}.premium-icon-svg{overflow:visible;width:115px;height:115px;filter:drop-shadow(0 0 20px color-mix(in srgb,var(--tg-theme-accent-text-color) 30%,transparent))}.premium-icon-svg path{fill:var(--tg-theme-accent-text-color);stroke:#fff;stroke-width:.2}.premium-icon-svg *{fill:var(--tg-theme-accent-text-color)}.premium-title{font-size:28px;font-weight:600;color:var(--tg-theme-text-color);margin:0 0 17px}.premium-subtitle{font-size:14px;font-weight:600;max-width:350px;margin:0 auto;color:var(--tg-theme-text-color);line-height:1.5;padding:0 10px}.premium-plans{margin-bottom:10px;background:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);border-radius:var(--main-border-radius);padding:15px 20px}.premium-plan{display:flex;align-items:center;border-radius:16px;cursor:pointer;transition:background-color .2s;position:relative;-webkit-tap-highlight-color:transparent;outline:none}.premium-plan:active{background-color:transparent}.premium-plan:focus{outline:none}.premium-plan:not(:last-child){margin-bottom:25px}.premium-plan:not(:last-child):after{content:"";position:absolute;right:0;bottom:-12px;height:.7px;width:calc(100% - 38px);background:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);pointer-events:none;z-index:1}.premium-plan-radio{width:22px;height:22px;border-radius:50%;border:1px solid var(--tg-theme-hint-color);display:flex;align-items:center;justify-content:center;margin-right:15px;flex-shrink:0;margin-top:2px}.premium-plan-selected .premium-plan-radio{background-color:var(--tg-theme-button-color);border-color:var(--tg-theme-button-color)}.premium-plan-radio-check{width:8px;height:8px;border-radius:50%;background-color:var(--tg-theme-button-text-color)}.premium-plan-content{flex:1;display:flex;justify-content:space-between;align-items:center;gap:10px}.premium-plan-content-left-block{display:flex;flex-direction:column;justify-content:center;row-gap:8px;height:100%}.premium-plan-header{display:flex;align-items:center;gap:8px}.premium-plan-title{font-size:15px;font-weight:400;color:var(--tg-theme-text-color)}.premium-plan-discount{font-size:12px;font-weight:500;background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color);padding:4px 8px;border-radius:8px}.premium-plan-details{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}.premium-plan-period{font-size:11px;font-weight:400;color:var(--tg-theme-subtitle-text-color)}.premium-plan-period--stars{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px}.premium-plan-inline-stars-icon{width:16px;height:16px;flex-shrink:0;display:block}.premium-plan-monthly{font-size:14px;font-weight:400;color:var(--tg-theme-subtitle-text-color)}.premium-features{margin-bottom:4px}.premium-features-title{font-size:12px;font-weight:400;color:var(--tg-theme-section-header-text-color);text-transform:uppercase;letter-spacing:.5px;margin:0 0 7px 17px}.premium-features-list{display:flex;flex-direction:column;gap:24px;background:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);border-radius:var(--main-border-radius);padding:10px 15px}.premium-feature{display:flex;align-items:flex-start;gap:16px;position:relative}.premium-feature:not(:last-child):after{content:"";position:absolute;right:0;bottom:-12px;height:.7px;width:calc(100% - 45px);background:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);pointer-events:none;z-index:1}.premium-feature-icon{width:30px;height:30px;flex-shrink:0;display:flex;align-items:center;justify-content:center;margin-top:4px;border-radius:7px}.premium-feature-icon-color-1{background-color:#4492ff}.premium-feature-icon-color-2{background-color:#6172ff}.premium-feature-icon-color-3{background-color:#8958ff}.premium-feature-icon-color-4{background-color:#ab4ac4}.premium-feature-icon-color-5{background-color:#cb3e6d}.premium-feature-icon-color-6{background-color:#db374b}.premium-feature-icon-color-7{background-color:#e54937}.premium-feature-icon-color-8{background-color:#e74e33}.premium-feature-icon-color-9{background-color:#ef6922}.premium-feature-icon-color-10{background-color:#f07a1a}.premium-feature-content{flex:1}.premium-feature-title{font-size:16px;font-weight:400;color:var(--tg-theme-text-color);margin:0 0 3px;line-height:1.4}.premium-feature-description{font-size:12px;font-weight:400;color:var(--tg-theme-subtitle-text-color);line-height:1.5;margin:0}.premium-subscribe-agreement{padding-left:17px;font-size:13px;font-weight:400;color:var(--tg-theme-subtitle-text-color);line-height:1.5;margin:10px 0 0}.premium-subscribe-agreement a{color:var(--tg-theme-accent-text-color);padding:0 4px}.premium-subscribe-button-container{position:fixed;bottom:0;left:0;width:100%;padding:15px;min-height:100px;height:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:10px;background:linear-gradient(0deg,var(--tg-theme-bg-color) 10%,rgba(0,0,0,0) 100%);z-index:3000;opacity:0;transform:translateY(20px);animation:buttonFadeIn .3s ease-out .2s forwards}@keyframes buttonFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.premium-subscribe-button{width:100%;height:56px;display:flex;align-items:center;justify-content:center;padding:0 18px;box-sizing:border-box;background-color:color-mix(in srgb,var(--tg-theme-button-color) 90%,black);color:var(--tg-theme-button-text-color);border:none;border-radius:50px;font-size:16px;font-weight:600;cursor:pointer;-webkit-tap-highlight-color:transparent;box-shadow:0 2px 8px #00000026;transition:opacity .2s;border:.3px solid rgba(255,255,255,.6)}.premium-subscribe-button:active{opacity:.8}.premium-subscribe-button:disabled{opacity:.7;cursor:not-allowed}.premium-subscribe-button-loading{pointer-events:none}.premium-subscribe-button-stars{background:linear-gradient(180deg,color-mix(in srgb,var(--tg-theme-bg-color) 85%,rgb(255,210,57)),color-mix(in srgb,var(--tg-theme-bg-color) 70%,rgb(231,169,0)));color:var(--tg-theme-text-color);border:1.5px solid color-mix(in srgb,rgb(255,210,57) 70%,var(--tg-theme-text-color));box-shadow:0 2px 10px #e7a90033}.premium-subscribe-button-stars-inner{display:inline-flex;align-items:center;justify-content:center;gap:8px}.premium-subscribe-telegram-stars-icon{display:block;width:22px;height:22px;flex-shrink:0}.premium-subscribe-button-spinner-stars{border-color:color-mix(in srgb,var(--tg-theme-text-color) 35%,transparent);border-top-color:var(--tg-theme-text-color)}.premium-subscribe-button-content{display:flex;align-items:center;justify-content:center;gap:12px;max-width:100%}.premium-subscribe-button-spinner{width:20px;height:20px;border:2px solid rgba(255,255,255,.3);border-top-color:var(--tg-theme-button-text-color);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.premium-renewal-payment-block{margin-top:18px}.premium-renewal-payment-block .premium-features-title{margin-bottom:4px}.premium-renewal-choice-list{display:flex;flex-direction:column;padding:8px 16px 12px;background:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);margin-top:0}.premium-renewal-choice-list--skeleton{min-height:120px;justify-content:center;gap:12px}@keyframes premium-renewal-skel-pulse{0%,to{opacity:.45}50%{opacity:.25}}.premium-renewal-skeleton-line{height:48px;width:100%;border-radius:10px;background:color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent);animation:premium-renewal-skel-pulse 1.2s ease-in-out infinite}.premium-renewal-choice-row{display:flex;flex-direction:row;align-items:center;width:100%;min-height:56px;padding:10px 0;text-align:left;background:none;border:none;color:var(--tg-theme-text-color);cursor:pointer;gap:12px;-webkit-tap-highlight-color:transparent;border-bottom:1px solid color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent)}.premium-renewal-choice-row:last-child{border-bottom:none}.premium-renewal-choice-row .premium-plan-radio{margin-right:0;margin-top:0}.premium-renewal-choice-brand{width:24px;height:24px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.premium-renewal-pm-brand-icon{width:100%;height:100%;max-width:22px;max-height:22px;object-fit:contain;object-position:center;display:block;flex-shrink:0}.premium-renewal-choice-stars-svg{width:22px;height:22px;display:block}.premium-renewal-choice-stars-svg path,.premium-renewal-choice-stars-svg *{fill:var(--tg-theme-link-color, #2ea6ff)}.premium-renewal-choice-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;align-items:flex-start;text-align:left}.premium-renewal-choice-title-line{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px;width:100%}.premium-renewal-choice-title{font-size:16px;font-weight:400;color:var(--tg-theme-text-color);line-height:1.25;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.premium-renewal-choice-primary{font-size:13px;font-weight:400;color:var(--tg-theme-hint-color);flex-shrink:0;margin-left:auto;text-align:right;white-space:nowrap}.premium-renewal-choice-subline{font-size:12px;font-weight:400;color:var(--tg-theme-hint-color);line-height:1.35;display:flex;flex-wrap:wrap;align-items:center;gap:4px}.premium-renewal-payment-block+.premium-features{margin-top:18px}.premium-trial-option{margin-bottom:20px;background:color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);border-radius:var(--main-border-radius);padding:15px 20px}.premium-trial-checkbox-container{display:flex;align-items:center;gap:12px}.premium-trial-checkbox{width:22px;height:22px;border-radius:6px;border:1.5px solid var(--tg-theme-hint-color);display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;transition:all .2s;-webkit-tap-highlight-color:transparent;outline:none}.premium-trial-checkbox:active{background-color:transparent}.premium-trial-checkbox:focus{outline:none}.premium-trial-checkbox-checked{background-color:var(--tg-theme-button-color);border-color:var(--tg-theme-button-color)}.premium-trial-checkbox-check{width:6px;height:10px;border:2px solid var(--tg-theme-button-text-color);border-top:none;border-left:none;transform:rotate(45deg);margin-top:-2px}.premium-trial-label{flex:1;font-size:15px;font-weight:400;color:var(--tg-theme-text-color);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;outline:none}.premium-trial-label:active{background-color:transparent}.premium-trial-label:focus{outline:none}.premium-trial-info-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--tg-theme-hint-color);flex-shrink:0;transition:color .2s;-webkit-tap-highlight-color:transparent;outline:none}.premium-trial-info-icon:active{background-color:transparent}.premium-trial-info-icon:focus{outline:none}.premium-trial-info-icon:hover{color:var(--tg-theme-text-color)}.premium-trial-info-icon svg{width:16px;height:16px}.premium-trial-info-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000}.premium-trial-info-modal{background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:24px;margin:20px;max-width:320px;width:100%}.premium-trial-info-title{font-size:17px;font-weight:600;color:var(--tg-theme-text-color);text-align:center;margin-bottom:16px}.premium-trial-info-text{font-size:14px;font-weight:400;color:var(--tg-theme-subtitle-text-color);text-align:center;line-height:1.5;margin-bottom:24px}.premium-trial-info-button{width:100%;height:50px;background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color);border:none;border-radius:50px;font-size:16px;font-weight:600;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:opacity .2s}.premium-trial-info-button:active{opacity:.8}.premium-success-overlay{position:fixed;inset:0;z-index:10001;display:flex;align-items:center;justify-content:center;padding:20px;background-color:#0000006b;-webkit-backdrop-filter:blur(16px) saturate(1.1);backdrop-filter:blur(16px) saturate(1.1);isolation:isolate;animation:premiumSuccessOverlayIn .25s ease-out}@keyframes premiumSuccessOverlayIn{0%{opacity:0}to{opacity:1}}.premium-success-modal{background:linear-gradient(165deg,color-mix(in srgb,var(--tg-theme-section-bg-color) 92%,var(--tg-theme-accent-text-color)) 0%,var(--tg-theme-section-bg-color) 55%,var(--tg-theme-section-bg-color) 100%);border-radius:var(--main-border-radius);padding:28px 24px 22px;margin:0 auto;max-width:320px;width:100%;text-align:center;box-shadow:0 8px 32px #00000038,0 0 0 1px color-mix(in srgb,var(--tg-theme-accent-text-color) 18%,transparent);animation:premiumSuccessModalIn .35s cubic-bezier(.22,1,.36,1)}@keyframes premiumSuccessModalIn{0%{opacity:0;transform:scale(.94) translateY(12px)}to{opacity:1;transform:scale(1) translateY(0)}}.premium-success-icon-wrap{width:88px;height:88px;margin:0 auto 16px;display:flex;align-items:center;justify-content:center}.premium-success-icon{width:88px;height:88px;overflow:visible;filter:drop-shadow(0 0 18px color-mix(in srgb,var(--tg-theme-accent-text-color) 35%,transparent))}.premium-success-icon path{fill:var(--tg-theme-accent-text-color)}.premium-success-icon *{fill:var(--tg-theme-accent-text-color)}.premium-success-title{font-size:20px;font-weight:700;color:var(--tg-theme-text-color);margin:0 0 10px;line-height:1.25}.premium-success-text{font-size:14px;font-weight:500;color:var(--tg-theme-subtitle-text-color);line-height:1.5;margin:0 0 22px}.premium-success-button{width:100%;height:50px;background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color);border:none;border-radius:50px;font-size:16px;font-weight:600;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:opacity .2s}.premium-success-button:active{opacity:.85}img.payment-method-brand-yoomoney:not(.premium-renewal-pm-brand-icon){display:block;width:36px;height:36px;max-width:36px;max-height:36px;min-width:36px;min-height:36px;object-fit:contain;object-position:center}.payment-methods-pm-brand-wrap:has(>.payment-method-brand-yoomoney),.pm-detail-brand-wrap:has(>.payment-method-brand-yoomoney){width:36px;height:36px;min-width:36px;min-height:36px;align-items:center;justify-content:center}img.payment-method-bank-fallback{object-position:center}.payment-check-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background-color:var(--tg-theme-bg-color)}.payment-check-container{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:400px;width:100%}.payment-check-icon{margin-bottom:32px;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.05)}}.payment-check-title{font-size:24px;font-weight:600;color:var(--tg-theme-text-color);margin:0 0 16px;line-height:1.3}.payment-check-description{font-size:16px;font-weight:400;color:var(--tg-theme-hint-color);margin:0 0 24px;line-height:1.5}.payment-check-instruction{font-size:16px;font-weight:400;color:var(--tg-theme-text-color);margin:0;line-height:1.5;padding:16px 24px;background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);width:100%;box-sizing:border-box}.session-expired-page{width:100%;min-height:100vh;background-color:var(--tg-theme-bg-color);display:flex;align-items:center;justify-content:center;padding:20px}.session-expired-container{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;max-width:320px;width:100%}.session-expired-title{font-size:24px;font-weight:600;color:var(--tg-theme-text-color);margin:0 0 16px}.session-expired-description{font-size:16px;font-weight:400;color:var(--tg-theme-subtitle-text-color);margin:0 0 40px;line-height:1.5}.session-expired-button{width:100%;height:56px;background-color:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color);border:none;border-radius:50px;font-size:16px;font-weight:600;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:opacity .2s;box-shadow:0 2px 8px #00000026}.session-expired-button:active{opacity:.8}.payment-history-container{margin-top:16px;padding-bottom:24px}.payment-history-card{display:flex;flex-direction:column;padding:12px 16px 16px;background:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);margin-top:4px}.payment-history-empty{font-size:15px;color:var(--tg-theme-hint-color);text-align:center;padding:32px 16px}.payment-history-list{display:flex;flex-direction:column;gap:0}.payment-history-row{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:10px 0;border:none;border-bottom:1px solid color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);background:transparent;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}.payment-history-card .payment-history-row:last-child{border-bottom:none}.payment-history-row:active{opacity:.85}.payment-history-row-icon{position:relative;width:48px;height:48px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.payment-history-premium-svg{width:44px;height:44px}.payment-history-premium-svg path,.payment-history-premium-svg *{fill:var(--tg-theme-accent-text-color)}.payment-history-star-badge{position:absolute;right:-2px;bottom:-2px;width:20px;height:20px;border-radius:50%;background:var(--tg-theme-section-bg-color);display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 1px color-mix(in srgb,var(--tg-theme-hint-color) 40%,transparent)}.payment-history-star-badge-icon{width:14px;height:14px}.payment-history-star-badge--refund .payment-history-star-badge-icon{width:13px;height:13px}.payment-history-star-badge--yookassa .payment-history-star-badge-icon{width:14px;height:10px}.payment-history-star-badge-icon--refund path,.payment-history-star-badge-icon--refund *{fill:var(--tg-theme-link-color, #5e9fff)!important}.payment-history-row-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.payment-history-title{font-size:16px;font-weight:400;color:var(--tg-theme-text-color);line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payment-history-desc{font-size:13px;font-weight:400;color:var(--tg-theme-hint-color);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.payment-history-row-right{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right}.subscription-payment-amount{font-size:17px;font-weight:600;line-height:1.2;display:inline-flex;align-items:center;gap:4px}.subscription-payment-amount--success{color:var(--tg-theme-text-color)}.subscription-payment-amount--cancelled{color:var(--tg-theme-destructive-text-color, #ff4d4f)}.subscription-payment-amount--refunded{color:var(--tg-theme-link-color, #5e9fff)}.payment-history-inline-star{width:18px;height:18px;flex-shrink:0}.payment-history-date{font-size:12px;font-weight:400;color:var(--tg-theme-hint-color)}.payment-history-skeleton-row{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:10px 0;border-bottom:1px solid color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent);pointer-events:none}.payment-history-card .payment-history-skeleton-row:last-of-type{border-bottom:none}.payment-history-skeleton-icon{width:44px;height:44px;border-radius:50%;background:color-mix(in srgb,var(--tg-theme-hint-color) 22%,transparent);animation:payment-history-skeleton-pulse 1.2s ease-in-out infinite}.payment-history-skeleton-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.payment-history-skeleton-right{width:88px;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.payment-history-skeleton-line{height:12px;border-radius:999px;background:color-mix(in srgb,var(--tg-theme-hint-color) 22%,transparent);animation:payment-history-skeleton-pulse 1.2s ease-in-out infinite}.payment-history-skeleton-line--title{width:72%;height:14px}.payment-history-skeleton-line--desc{width:90%}.payment-history-skeleton-line--amount{width:72px;height:14px}.payment-history-skeleton-line--date{width:52px}@keyframes payment-history-skeleton-pulse{0%,to{opacity:.45}50%{opacity:.25}}.payment-detail-container{margin-top:20px;padding-bottom:32px}.payment-detail-hero{text-align:center;margin-bottom:24px}.payment-detail-amount.subscription-payment-amount{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;font-size:32px;font-weight:700;letter-spacing:-.02em;line-height:1.15;margin-bottom:8px}.payment-detail-amount-inner{display:inline-flex;align-items:center;justify-content:center;gap:8px}.payment-detail-hero-star{width:32px;height:32px}.payment-detail-subtitle{font-size:15px;font-weight:500;color:var(--tg-theme-subtitle-text-color);margin-bottom:6px}.payment-detail-datetime{font-size:14px;color:var(--tg-theme-hint-color)}.payment-detail-card{background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);padding:16px;margin-bottom:16px}.payment-detail-card-row{display:flex;align-items:center;gap:14px}.payment-detail-card-icon{position:relative;width:52px;height:52px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.payment-detail-premium-svg{width:48px;height:48px}.payment-detail-premium-svg path,.payment-detail-premium-svg *{fill:var(--tg-theme-accent-text-color)}.payment-detail-icon-badge{position:absolute;right:-2px;bottom:-2px;width:20px;height:20px;border-radius:50%;background:var(--tg-theme-section-bg-color);display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 1px color-mix(in srgb,var(--tg-theme-hint-color) 40%,transparent)}.payment-detail-icon-badge-svg{width:14px;height:14px}.payment-detail-icon-badge--refund .payment-detail-icon-badge-svg{width:13px;height:13px}.payment-detail-icon-badge--yookassa .payment-detail-icon-badge-svg{width:14px;height:10px}.payment-detail-icon-badge-svg--refund path,.payment-detail-icon-badge-svg--refund *{fill:var(--tg-theme-link-color, #5e9fff)!important}.payment-detail-card-text{flex:1;min-width:0}.payment-detail-card-title{font-size:17px;font-weight:600;color:var(--tg-theme-text-color);margin-bottom:4px}.payment-detail-card-desc{font-size:14px;color:var(--tg-theme-hint-color);line-height:1.4}.payment-detail-section{background-color:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);overflow:hidden}.payment-detail-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:.5px solid color-mix(in srgb,var(--tg-theme-hint-color) 30%,transparent)}.payment-detail-row:last-child{border-bottom:none}.payment-detail-row-multiline{flex-direction:column;align-items:stretch}.payment-detail-label{font-size:15px;color:var(--tg-theme-hint-color);flex-shrink:0}.payment-detail-value{font-size:15px;color:var(--tg-theme-text-color);text-align:right;word-break:break-word}.payment-detail-row-multiline .payment-detail-value{text-align:left}.payment-detail-value-status--cancelled,.payment-detail-value-status--canceled{color:var(--tg-theme-destructive-text-color, #ff4d4f)}.payment-detail-value-status--pending{color:var(--tg-theme-hint-color)}.payment-detail-value-status--refunded{color:var(--tg-theme-link-color, #5e9fff)}.pm-detail-container{margin-top:20px}.pm-detail-skeleton{min-height:120px;border-radius:var(--main-border-radius);background:color-mix(in srgb,var(--tg-theme-text-color) 8%,transparent);animation:pm-detail-skel 1.2s ease-in-out infinite}@keyframes pm-detail-skel{50%{opacity:.6}}.pm-detail-card{padding:18px 20px;background:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);margin-bottom:16px}.pm-detail-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.pm-detail-row-main{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1}.pm-detail-brand-wrap{width:36px;height:22px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.pm-detail-brand-icon{width:100%;height:100%;max-width:36px;max-height:22px;object-fit:contain;object-position:left center;display:block;flex-shrink:0}.pm-detail-mask{font-size:16px;font-weight:400;color:var(--tg-theme-text-color);word-break:break-all}.pm-detail-primary-label{font-size:14px;color:var(--tg-theme-hint-color);flex-shrink:0;padding-top:2px;text-align:right;margin-left:auto}.pm-detail-set-default{width:100%;padding:14px 16px;margin-bottom:20px;font-size:16px;font-weight:500;color:var(--tg-theme-link-color, #0088ff);background:var(--tg-theme-section-bg-color);border:1px solid color-mix(in srgb,var(--tg-theme-hint-color) 28%,transparent);border-radius:var(--main-border-radius);cursor:pointer;-webkit-tap-highlight-color:transparent}.pm-detail-set-default:disabled{opacity:.65}.pm-detail-delete{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:14px 16px;font-size:16px;font-weight:500;color:var(--tg-theme-destructive-text-color, #ff4d4f);background:var(--tg-theme-section-bg-color);border:none;border-radius:var(--main-border-radius);cursor:pointer;-webkit-tap-highlight-color:transparent}.pm-detail-delete:disabled{opacity:.6}.pm-detail-delete-icon{display:flex;color:var(--tg-theme-destructive-text-color, #ff4d4f)}.payment-methods-page .container{padding-bottom:24px}.payment-methods-pm-outer{display:flex;flex-direction:column;gap:10px;margin-top:8px}.payment-methods-pm-header{display:flex;align-items:flex-start;gap:14px;padding:0 2px 0 0}.payment-methods-pm-icon-wrap{width:52px;height:52px;border-radius:14px;background:color-mix(in srgb,#007aff 20%,var(--tg-theme-section-bg-color));display:flex;align-items:center;justify-content:center;flex-shrink:0}.payment-methods-pm-header-icon{width:30px;height:30px;display:block}.payment-methods-pm-title{font-size:20px;font-weight:600;color:var(--tg-theme-text-color);margin:0 0 4px;line-height:1.25}.payment-methods-pm-subtitle{font-size:14px;color:var(--tg-theme-hint-color);margin:0;line-height:1.4;max-width:320px}.payment-methods-pm-security{display:flex;align-items:center;gap:6px;font-size:13px;line-height:1.35;color:var(--tg-theme-positive-text, #3ecf8e);margin:0;padding:0 2px}.payment-methods-pm-security-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;font-size:10px;font-weight:700;border-radius:50%;background:color-mix(in srgb,var(--tg-theme-positive-text, #3ecf8e) 25%,transparent);color:var(--tg-theme-positive-text, #3ecf8e);flex-shrink:0}.payment-methods-pm-list{display:flex;flex-direction:column;padding:12px 16px 16px;background:var(--tg-theme-section-bg-color);border-radius:var(--main-border-radius);gap:0;margin-top:4px}.payment-methods-pm-row{display:flex;flex-direction:row;align-items:center;width:100%;min-height:56px;padding:10px 0;text-align:left;background:none;border:none;color:var(--tg-theme-text-color);cursor:pointer;gap:12px;-webkit-tap-highlight-color:transparent}.payment-methods-pm-row:disabled{opacity:.55;cursor:default}.payment-methods-pm-row:not(:last-of-type){border-bottom:1px solid color-mix(in srgb,var(--tg-theme-text-color) 10%,transparent)}.payment-methods-pm-brand-wrap{width:36px;height:22px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.payment-methods-pm-brand-icon{width:100%;height:100%;max-width:36px;max-height:22px;object-fit:contain;object-position:left center;display:block;flex-shrink:0}.payment-methods-pm-row-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.payment-methods-pm-row-title{font-size:16px;color:var(--tg-theme-text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payment-methods-pm-row-sub{font-size:12px;color:var(--tg-theme-hint-color)}.payment-methods-pm-row-right{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-shrink:0;margin-left:auto;text-align:right}.payment-methods-pm-default-label{font-size:13px;color:var(--tg-theme-hint-color);white-space:nowrap}.payment-methods-pm-chevron{flex-shrink:0;color:var(--tg-theme-hint-color);opacity:.5}.payment-methods-pm-row--add{padding-top:14px;border-bottom:none}.payment-methods-pm-add-circle{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:400;line-height:1;color:#fff;background:#007aff;flex-shrink:0}.payment-methods-pm-empty{font-size:14px;color:var(--tg-theme-hint-color);padding:4px 0 12px;text-align:center}
