@charset "UTF-8";.tg-site-gallery{width:100%;max-width:100%;min-width:0;overflow:hidden}.tg-site-gallery--content-width{max-width:720px;margin-right:auto;margin-left:auto;padding-right:20px;padding-left:20px}.tg-gallery-single__image{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}.tg-gallery-swiper{width:100%;max-width:100%;min-width:0;overflow:hidden;display:flex;flex-direction:column;--tg-gallery-thumb-height: 200px;--tg-gallery-accent: var(--tg-accent, #3390ec)}.tg-gallery-swiper__main{order:1;width:100%;max-width:100%;border-radius:var(--tg-radius-sm, 8px);overflow:hidden;position:relative}.tg-gallery-swiper__main:not(.swiper-initialized) .swiper-wrapper{display:none}.tg-gallery-swiper__fallback{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--tg-scrollbar-color, rgba(60, 60, 67, .32) transparent)}.tg-gallery-swiper__fallback::-webkit-scrollbar{height:var(--tg-scrollbar-size, 5px)}.tg-gallery-swiper__fallback::-webkit-scrollbar-track{background:var(--tg-scrollbar-track, transparent)}.tg-gallery-swiper__fallback::-webkit-scrollbar-thumb{border-radius:999px;background:var(--tg-scrollbar-thumb, rgba(60, 60, 67, .22))}.tg-gallery-swiper__main.swiper-initialized .tg-gallery-swiper__fallback{display:none}.tg-gallery-swiper__fallback-slide{flex:0 0 100%;scroll-snap-align:start;margin:0;min-width:0}.tg-gallery-swiper__fallback-image{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}.tg-gallery-swiper__slide{display:flex;align-items:center;justify-content:center;background:var(--tg-bg-secondary, #f7f7f8)}.tg-gallery-swiper__open{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}.tg-gallery-swiper__image{display:block;width:auto;max-width:100%;height:auto;max-height:70vh;margin:0 auto;object-fit:contain}.tg-gallery-swiper__thumbs{order:2;margin-top:8px;width:100%;max-width:100%;min-width:0;height:var(--tg-gallery-thumb-height)}.tg-gallery-swiper__thumb-slide{opacity:.55;cursor:pointer;transition:opacity .12s ease;height:var(--tg-gallery-thumb-height);box-sizing:border-box;overflow:hidden;border-radius:6px;background:var(--tg-bg-secondary, #f7f7f8)}.tg-gallery-swiper__thumb-slide.swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px var(--tg-gallery-accent)}.tg-gallery-swiper__thumb{display:block;width:100%;height:var(--tg-gallery-thumb-height);object-fit:contain;border-radius:6px}.tg-gallery-swiper .swiper-button-prev,.tg-gallery-swiper .swiper-button-next{color:var(--tg-gallery-accent)}.tg-gallery-swiper .swiper-pagination-bullet-active{background:var(--tg-gallery-accent)}.tg-gallery-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:max(12px,env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) max(12px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));background:#0000008c}body.tg-gallery-lightbox-open{overflow:hidden}.tg-gallery-lightbox__panel{display:flex;flex-direction:column;width:100%;max-width:min(960px,100%);max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);border-radius:var(--tg-radius, 12px);background:var(--tg-bg, #fff);box-shadow:0 12px 40px #00000047;overflow:hidden}.tg-gallery-lightbox__header{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:12px 12px 12px 16px;border-bottom:1px solid var(--tg-divider, rgba(60, 60, 67, .12))}.tg-gallery-lightbox__title{flex:1 1 auto;min-width:0;margin:0;font-size:16px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-gallery-lightbox__close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--tg-hint, #8e8e93);cursor:pointer}.tg-gallery-lightbox__close svg{width:20px;height:20px}.tg-gallery-lightbox__close:active{color:var(--tg-text, #000);background:var(--tg-bg-secondary, rgba(120, 120, 128, .12))}.tg-gallery-lightbox__body{flex:1 1 auto;display:flex;min-height:min(70dvh,720px);padding:8px;background:#0a0a0a}.tg-gallery-lightbox__swiper{flex:1 1 auto;width:100%;min-height:0;height:100%}.tg-gallery-lightbox__swiper.swiper,.tg-gallery-lightbox__swiper .swiper-wrapper{height:100%}.tg-gallery-lightbox__slide{display:flex;align-items:center;justify-content:center;height:100%}.tg-gallery-lightbox__slide .swiper-zoom-container{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.tg-gallery-lightbox__image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.tg-gallery-lightbox--immersive{padding:0;background:#000000f0}.tg-gallery-lightbox--immersive .tg-gallery-lightbox__panel{width:100%;max-width:none;max-height:none;height:100%;border-radius:0;background:transparent;box-shadow:none}.tg-gallery-lightbox--immersive .tg-gallery-lightbox__body{min-height:100%;height:100%;padding:0;background:transparent}.tg-gallery-lightbox--immersive .tg-gallery-lightbox__close{position:absolute;top:max(12px,env(safe-area-inset-top,0px));right:max(12px,env(safe-area-inset-right,0px));z-index:2;width:44px;height:44px;border-radius:999px;color:#fff;background:#00000073}.tg-gallery-lightbox--immersive .tg-gallery-lightbox__close:active{color:#fff;background:#000000a6}.tg-gallery-lightbox--immersive .tg-gallery-lightbox__swiper{width:100%;height:100%}.tg-gallery-lightbox--immersive .tg-gallery-lightbox__slide{display:flex;align-items:center;justify-content:center;height:100%}.tg-gallery-lightbox--immersive .tg-gallery-lightbox__image{max-width:100vw;max-height:100dvh}.tg-gallery-display-settings__title{margin:0 0 12px;font-size:15px;font-weight:600}.tg-block-settings__divider{margin:16px 0;border:0;border-top:1px solid var(--tg-divider, rgba(60, 60, 67, .12))}:root{--tg-bg: #ffffff;--tg-bg-page: #f5f7fb;--tg-bg-secondary: #f2f5f9;--tg-accent: #2787e4;--tg-accent-muted: rgba(39, 135, 228, .12);--tg-text: #17202a;--tg-hint: #718096;--tg-border: rgba(34, 65, 98, .18);--tg-divider: rgba(34, 65, 98, .1);--tg-danger: #ff3b30;--tg-header: #ffffff;--tg-tab-active: #2787e4;--tg-tab-inactive: #718096;--tg-radius: 16px;--tg-radius-sm: 12px;--tg-shadow: 0 8px 28px rgba(35, 82, 128, .08);--tg-safe-bottom: env(safe-area-inset-bottom, 0px);--tg-tab-height: 56px;--tg-nav-offset: calc(var(--tg-tab-height) + var(--tg-safe-bottom));--tg-nav-gap: 0px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--tg-text);background:var(--tg-bg-page);-webkit-font-smoothing:antialiased}:root{--tg-surface: var(--tg-bg);--tg-surface-soft: #edf4fc;--tg-surface-raised: #ffffff;--tg-text-secondary: #475569;--tg-success: #17875d;--tg-warning: #b7791f;--tg-focus-ring: rgba(39, 135, 228, .32);--tg-on-accent: #ffffff;--tg-danger-muted: rgba(255, 59, 48, .1);--tg-radius-xs: 8px;--tg-radius-lg: 20px;--tg-shadow-sm: 0 2px 10px rgba(35, 82, 128, .06);--tg-shadow-md: 0 12px 36px rgba(35, 82, 128, .1);--tg-gutter: 16px;--tg-content-max: 1120px;--tg-reading-max: 880px;--tg-safe-top: env(safe-area-inset-top, 0px);--tg-safe-right: env(safe-area-inset-right, 0px);--tg-safe-left: env(safe-area-inset-left, 0px);--tg-control-height: 32px;--tg-control-padding-x: 12px;--tg-scrollbar-size: 5px;--tg-scrollbar-thumb: rgba(60, 60, 67, .22);--tg-scrollbar-thumb-hover: rgba(60, 60, 67, .38);--tg-scrollbar-thumb-active: rgba(60, 60, 67, .48);--tg-scrollbar-track: transparent;--tg-scrollbar-color: rgba(60, 60, 67, .32) transparent;--tg-z-header: 20;--tg-z-nav: 30;--tg-z-overlay: 40;--tg-z-modal: 50}.telegram-webapp--dark{--tg-bg: #182333;--tg-bg-page: #111a26;--tg-bg-secondary: #223044;--tg-surface: #182333;--tg-surface-soft: #203a55;--tg-surface-raised: #1d2a3d;--tg-text: #f5f8fc;--tg-text-secondary: #c1ccda;--tg-hint: #91a0b4;--tg-border: rgba(196, 213, 232, .18);--tg-divider: rgba(196, 213, 232, .11);--tg-shadow: 0 8px 28px rgba(0, 0, 0, .24);--tg-scrollbar-thumb: rgba(196, 213, 232, .28);--tg-scrollbar-thumb-hover: rgba(196, 213, 232, .42);--tg-scrollbar-thumb-active: rgba(196, 213, 232, .55);--tg-scrollbar-color: rgba(196, 213, 232, .4) transparent}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100dvh;background:var(--tg-bg-page)}html{scrollbar-width:thin;scrollbar-color:var(--tg-scrollbar-color)}html::-webkit-scrollbar{width:var(--tg-scrollbar-size);height:var(--tg-scrollbar-size)}html::-webkit-scrollbar-track{background:var(--tg-scrollbar-track)}html::-webkit-scrollbar-thumb{border-radius:999px;background:var(--tg-scrollbar-thumb)}html::-webkit-scrollbar-thumb:hover{background:var(--tg-scrollbar-thumb-hover)}html::-webkit-scrollbar-thumb:active{background:var(--tg-scrollbar-thumb-active)}button,input{font:inherit}.tg-app button{-webkit-tap-highlight-color:transparent}.tg-app button:focus{outline:none}.tg-app button:focus-visible{outline:2px solid var(--tg-accent-muted);outline-offset:2px}a{color:var(--tg-accent);text-decoration:none}.tg-app{width:100%;min-height:100dvh;display:flex;flex-direction:column;background:var(--tg-bg-page)}.tg-view-stack{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.tg-view-stack__base{flex:1;min-height:0;display:flex;flex-direction:column}.tg-view-stack__base--dimmed{pointer-events:none}.tg-view-stack__base--dimmed .tg-acts-toolbar{visibility:hidden}.tg-view-stack__layer{flex:1;min-height:0;display:flex;flex-direction:column}.tg-view-stack__layer--overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;flex:none}html.telegram-webapp body{background:var(--tg-bg-page)}.tg-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 16px;padding-top:calc(8px + env(safe-area-inset-top,0px));background:var(--tg-header);color:#fff}.tg-header--progress{overflow:hidden}.tg-header--progress:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.05) 30%,rgba(255,255,255,.16) 50%,rgba(255,255,255,.05) 70%,transparent 100%);transform:translate(-130%);animation:tg-header-progress 2.6s cubic-bezier(.33,1,.68,1) infinite;pointer-events:none}@keyframes tg-header-progress{0%{transform:translate(-130%)}to{transform:translate(130%)}}@media (prefers-reduced-motion: reduce){.tg-header--progress:after{animation:none;opacity:.12;transform:none;background:#ffffff1a}}.tg-header--light{background:var(--tg-bg);color:var(--tg-text);border-bottom:.5px solid var(--tg-divider)}.tg-header__title{flex:1;margin:0;font-size:17px;font-weight:600;letter-spacing:-.02em}.tg-header__back,.tg-header__action{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}.tg-header__action--accent{color:#fff;font-size:28px;font-weight:300;line-height:1}.tg-header__favorite{color:var(--tg-hint)}.tg-header__favorite--active{color:#e6af27;animation:tg-favorite-pop .26s ease-out}.tg-header__favorite--active svg{fill:currentColor}@keyframes tg-favorite-pop{45%{transform:scale(1.2)}to{transform:scale(1)}}.tg-header__title--editable{cursor:pointer;border-radius:8px}.tg-header__title--editable:active{background:#ffffff1f}.tg-header-title-edit{flex:1;min-width:0;display:flex;align-items:center;gap:8px}.tg-header-title-edit__input{flex:1;min-width:0;height:36px;padding:0 12px;border:0;border-radius:8px;background:#fff3;color:#fff;font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-header-title-edit__input:focus{outline:2px solid rgba(255,255,255,.35)}.tg-header-title-edit__input:disabled{opacity:.7}.tg-header-title-edit__save{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:0;border:0;border-radius:8px;background:#ffffff29;color:#fff;cursor:pointer}.tg-header-title-edit__save:active:not(:disabled){background:#ffffff47}.tg-header-title-edit__save:disabled{opacity:.55;cursor:default}.tg-header-title-edit__save svg{width:20px;height:20px}.tg-header__action svg{width:22px;height:22px}.tg-header-share{display:flex;align-items:center;gap:8px;width:100%}.tg-header-share__input{flex:1;min-width:0;height:36px;padding:0 12px;border:0;border-radius:8px;background:#fff3;color:#fff;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-header-share__input:focus{outline:2px solid rgba(255,255,255,.35)}.tg-header-share__copy{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:0;border:0;border-radius:8px;background:#ffffff29;color:#fff;cursor:pointer}.tg-header-share__copy:active{background:#ffffff47}.tg-header-share__copy svg{width:20px;height:20px}.tg-header-share__done{font-size:18px;font-weight:700;line-height:1}.tg-main{flex:1;min-width:0;padding-bottom:calc(var(--tg-tab-height) + var(--tg-safe-bottom) + 8px)}.tg-main--no-tab{padding-bottom:calc(var(--tg-safe-bottom) + 16px)}.tg-chrome-dock{position:fixed;left:0;right:0;bottom:0;z-index:var(--tg-z-nav, 30);width:100%;height:var(--tg-nav-offset);padding-bottom:var(--tg-safe-bottom);box-sizing:border-box;background:#fffffff5;border-top:.5px solid var(--tg-divider);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.tg-chrome-dock__frame{position:relative;height:var(--tg-tab-height)}.tg-chrome-dock .tg-tabbar,.tg-chrome-dock .tg-header{position:relative;top:auto;bottom:auto;left:auto;right:auto;z-index:auto;width:100%;height:var(--tg-tab-height);min-height:var(--tg-tab-height);padding-top:0;padding-bottom:0;box-sizing:border-box;border:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.tg-chrome-dock .tg-header{color:var(--tg-text)}.tg-chrome-dock .tg-header-title-edit__input,.tg-chrome-dock .tg-header-share__input{color:var(--tg-text);background:var(--tg-bg-secondary)}.tg-chrome-dock .tg-header-title-edit__save,.tg-chrome-dock .tg-header-share__copy{color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-chrome-dock .tg-header__title--editable:active{background:var(--tg-bg-secondary)}.tg-dock-swap-enter-active,.tg-dock-swap-leave-active{transition:opacity .16s ease}.tg-dock-swap-leave-active{position:absolute;top:0;right:0;bottom:0;left:0}.tg-dock-swap-enter-from,.tg-dock-swap-leave-to{opacity:0}@media (prefers-reduced-motion: reduce){.tg-dock-swap-enter-active,.tg-dock-swap-leave-active{transition:none}}.tg-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:30;width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;min-height:var(--tg-tab-height);padding-bottom:var(--tg-safe-bottom);background:#fffffff5;border-top:.5px solid var(--tg-divider);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.tg-tabbar__item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 0 4px;border:0;background:transparent;color:var(--tg-tab-inactive);cursor:pointer}.tg-tabbar__item--active{color:var(--tg-tab-active)}.tg-tabbar__item--create{color:var(--tg-accent)}.tg-tabbar__create-icon{display:grid;width:28px;height:28px;place-items:center;border-radius:10px;background:var(--tg-accent);color:var(--tg-on-accent, #fff);font-size:22px;font-weight:600;line-height:1}.tg-tabbar__icon{width:28px;height:28px}.tg-tabbar__label{font-size:11px;font-weight:500}.tg-section{margin:16px 0}.tg-section__title{margin:0 0 8px;padding:0 16px;font-size:13px;font-weight:400;color:var(--tg-hint);text-transform:uppercase;letter-spacing:.02em}.tg-list{background:var(--tg-bg);border-top:.5px solid var(--tg-divider);border-bottom:.5px solid var(--tg-divider)}.tg-list__row{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 16px;border-bottom:.5px solid var(--tg-divider)}.tg-list__row:last-child{border-bottom:0}.tg-list__row--action{width:100%;border:0;background:var(--tg-bg);cursor:pointer;text-align:left}.tg-list__row--action:active{background:var(--tg-bg-secondary)}.tg-list__action-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:var(--tg-accent)}.tg-list__action-icon svg{width:22px;height:22px}.tg-list__label--accent{color:var(--tg-accent);font-weight:500}.tg-list__label{flex:0 0 auto;min-width:88px;font-size:16px;color:var(--tg-text)}.tg-list__value{flex:1;font-size:16px;color:var(--tg-hint);text-align:right;word-break:break-word}.tg-list__value--strong{color:var(--tg-text)}.tg-input{width:100%;max-width:100%;min-width:0;padding:10px 12px;border:0;border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary);color:var(--tg-text);font-size:16px}.tg-input:focus{outline:2px solid var(--tg-accent-muted)}.tg-select.multiselect{--ms-font-size: 16px;--ms-line-height: 1.35;--ms-border-color: transparent;--ms-border-width: 0;--ms-radius: var(--tg-radius-sm);--ms-bg: var(--tg-bg-secondary);--ms-ring-width: 0;--ms-py: 10px;--ms-px: 12px;--ms-min-height: 44px;--ms-spinner-color: var(--tg-accent);--ms-caret-color: var(--tg-hint);--ms-clear-color: var(--tg-hint);--ms-clear-color-hover: var(--tg-text);--ms-tag-font-size: 14px;--ms-tag-line-height: 1.25;--ms-tag-font-weight: 500;--ms-tag-bg: var(--tg-accent-muted);--ms-tag-color: var(--tg-text);--ms-tag-radius: 8px;--ms-tag-py: 4px;--ms-tag-px: 8px;--ms-tag-my: 2px;--ms-tag-mx: 4px;--ms-dropdown-border-color: var(--tg-divider);--ms-dropdown-radius: var(--tg-radius-sm);--ms-dropdown-bg: var(--tg-bg);--ms-dropdown-border-width: .5px;--ms-dropdown-shadow: var(--tg-shadow);--ms-option-font-size: 16px;--ms-option-line-height: 1.35;--ms-option-bg-pointed: rgba(0, 0, 0, .04);--ms-option-bg-selected: var(--tg-accent-muted);--ms-option-bg-disabled: transparent;--ms-option-color-pointed: var(--tg-text);--ms-option-color-selected: var(--tg-text);--ms-option-color-disabled: var(--tg-hint);--ms-option-py: 10px;--ms-option-px: 12px;--ms-placeholder-color: var(--tg-hint);--ms-max-height: 240px;width:100%;min-width:0;color:var(--tg-text)}.tg-select.multiselect.is-disabled{opacity:.55}.tg-select.multiselect.is-active{outline:2px solid var(--tg-accent-muted);outline-offset:0}.tg-select .multiselect-search{color:var(--tg-text)}.tg-select .multiselect-dropdown{z-index:120}.tg-btn{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tg-control-height);padding:0 var(--tg-control-padding-x);border:0;border-radius:var(--tg-radius-sm);background:var(--tg-accent);color:#fff;font-size:14px;font-weight:600;cursor:pointer}.tg-btn:disabled{opacity:.55;cursor:default}.tg-btn--ghost{background:transparent;color:var(--tg-accent)}.tg-btn--danger{background:transparent;color:var(--tg-danger)}.tg-btn--block{width:100%}.tg-btn--icon{width:var(--tg-control-height);min-width:var(--tg-control-height);min-height:var(--tg-control-height);padding:0}.tg-btn--surface{background:var(--tg-bg-secondary);color:var(--tg-text);border:1px solid var(--tg-divider)}.tg-btn--surface:hover:not(:disabled){background:var(--tg-bg-page);border-color:var(--tg-border)}.tg-btn--surface:active:not(:disabled){background:var(--tg-divider)}.tg-btn__icon{width:18px;height:18px;flex:0 0 auto}.tg-avatar{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#6eb1f7,#3390ec);color:#fff;font-size:24px;font-weight:600}.tg-avatar__image{width:100%;height:100%;object-fit:cover}.tg-avatar--action{border:0;cursor:pointer;padding:0}.tg-avatar--sm{width:40px;height:40px;font-size:16px}.tg-avatar--xs{width:28px;height:28px;font-size:12px}.tg-avatar--md{width:48px;height:48px;font-size:18px}.tg-acts-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.tg-acts-toolbar__left{display:flex;align-items:center;gap:8px;flex-shrink:0}.tg-acts-toolbar__presets{position:relative;display:flex;flex:1 1 auto;align-items:center;min-width:0;margin-left:auto}.tg-acts-toolbar__presets-trigger{display:inline-flex;overflow:hidden;align-items:center;gap:6px;width:100%;max-width:100%;min-height:36px;padding:0 10px 0 12px;border:1px solid var(--tg-divider);border-radius:999px;color:var(--tg-text);background:var(--tg-bg);font:inherit;font-size:13px;font-weight:600;line-height:1.2;cursor:pointer}.tg-acts-toolbar__presets-trigger--active{border-color:color-mix(in srgb,var(--preset-color, var(--tg-accent)) 55%,var(--tg-divider));background:color-mix(in srgb,var(--preset-color, var(--tg-accent)) 12%,var(--tg-bg))}.tg-acts-toolbar__presets-dot{flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:var(--preset-color, var(--tg-accent))}.tg-acts-toolbar__presets-value{flex:1 1 auto;min-width:0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.tg-acts-toolbar__presets-chevron{flex:0 0 auto;width:16px;height:16px;color:var(--tg-hint);transition:transform .16s ease}.tg-acts-toolbar__presets-chevron.is-open{transform:rotate(180deg)}.tg-acts-toolbar__presets-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:calc(var(--tg-z-header, 20) + 2);display:grid;gap:8px;max-height:min(60vh,360px);padding:10px;overflow:auto;border:1px solid var(--tg-divider);border-radius:var(--tg-radius);background:var(--tg-bg);box-shadow:var(--tg-shadow-md, 0 12px 28px rgba(35, 82, 128, .14))}.tg-acts-toolbar__presets-search{display:block;margin:0}.tg-acts-toolbar__presets-search-input{width:100%;min-height:40px;padding:8px 12px;font-size:14px}.tg-acts-toolbar__presets-list{display:grid;gap:6px}.tg-acts-toolbar__presets-empty{margin:4px 0 0;color:var(--tg-hint);font-size:13px;text-align:center}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.tg-acts-toolbar__btn{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:var(--tg-control-height);min-height:var(--tg-control-height);padding:0;border:0;border-radius:8px;background:transparent;color:var(--tg-hint);cursor:pointer}.tg-acts-toolbar__btn:focus-visible{outline:none;box-shadow:0 0 0 2px var(--tg-accent-muted)}.tg-acts-toolbar__btn:active{background:var(--tg-bg-secondary)}.tg-acts-toolbar__btn:hover{color:var(--tg-text)}.tg-acts-toolbar__icon{width:22px;height:22px}.tg-acts-toolbar__btn--active{color:var(--tg-accent);background:color-mix(in srgb,var(--tg-accent) 12%,transparent)}.tg-acts-toolbar__badge{position:absolute;top:2px;right:2px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--tg-accent);color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center}.tg-filter-preset{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:4px 10px 4px 8px;border:1px solid var(--tg-divider);border-radius:999px;background:var(--tg-bg-secondary);color:var(--tg-text);font-size:13px;line-height:1.2;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none}.tg-filter-preset:focus-visible{outline:none;box-shadow:0 0 0 2px var(--tg-accent-muted)}.tg-filter-preset--active:focus-visible{box-shadow:0 0 0 1px color-mix(in srgb,var(--preset-color, var(--tg-accent)) 35%,transparent),0 0 0 3px var(--tg-accent-muted)}.tg-filter-preset:active{background:color-mix(in srgb,var(--preset-color, var(--tg-accent)) 12%,var(--tg-bg-secondary))}.tg-filter-preset--active{border-color:var(--preset-color, var(--tg-accent));background:color-mix(in srgb,var(--preset-color, var(--tg-accent)) 14%,var(--tg-bg-secondary));box-shadow:0 0 0 1px color-mix(in srgb,var(--preset-color, var(--tg-accent)) 35%,transparent)}.tg-filter-preset__dot{flex-shrink:0;width:8px;height:8px;border-radius:50%;background:var(--preset-color, var(--tg-accent))}.tg-filter-preset__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-filter-hub__save,.tg-filter-hub__cloud{margin-top:8px}.tg-filter-cloud__list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}.tg-filter-cloud__row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:6px 8px;padding:10px 12px;border:1px solid var(--tg-border);border-radius:var(--tg-radius-sm);background:var(--tg-bg-page)}.tg-filter-cloud__name{grid-column:1;grid-row:1;min-width:0;padding:8px 10px;border:1px solid var(--tg-border);background:var(--tg-bg);font-size:15px}.tg-filter-cloud__name:focus{outline:none;border-color:var(--tg-accent);box-shadow:0 0 0 2px var(--tg-accent-muted)}.tg-filter-cloud__name::placeholder{color:var(--tg-hint)}.tg-filter-cloud__count{grid-column:1/-1;grid-row:2;color:var(--tg-hint);font-size:12px;line-height:1.2}.tg-filter-cloud__actions{grid-column:2;grid-row:1;display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:2px;flex-shrink:0}.tg-filter-cloud__icon-btn{width:36px;height:36px;min-height:0;border-radius:8px;color:var(--tg-hint)}.tg-filter-cloud__icon-btn:hover:not(:disabled){color:var(--tg-text);background:var(--tg-bg-secondary)}.tg-filter-cloud__icon-btn--danger{color:var(--tg-danger)}.tg-filter-cloud__icon-btn--danger:hover:not(:disabled){color:var(--tg-danger);background:color-mix(in srgb,var(--tg-danger) 10%,transparent)}.tg-preset-colors{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.tg-preset-colors__item{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;padding:0;border:2px solid transparent;border-radius:10px;background:var(--tg-bg-secondary);cursor:pointer}.tg-preset-colors__item--selected{border-color:var(--preset-color, var(--tg-accent));box-shadow:0 0 0 2px color-mix(in srgb,var(--preset-color, var(--tg-accent)) 25%,transparent)}.tg-preset-colors__dot{width:24px;height:24px;border-radius:50%;background:var(--preset-color, var(--tg-accent))}.tg-filter-hub{list-style:none;margin:0;padding:0}.tg-filter-hub__row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:10px 0;border-bottom:.5px solid var(--tg-divider)}.tg-filter-hub__row:last-child{border-bottom:0}.tg-filter-hub__switch{display:inline-flex;align-items:center;cursor:pointer}.tg-filter-hub__switch input{position:absolute;opacity:0;width:0;height:0}.tg-filter-hub__switch-ui{width:42px;height:26px;border-radius:999px;background:var(--tg-bg-secondary);position:relative;transition:background .15s ease}.tg-filter-hub__switch-ui:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .15s ease}.tg-filter-hub__switch input:checked+.tg-filter-hub__switch-ui{background:var(--tg-accent)}.tg-filter-hub__switch input:checked+.tg-filter-hub__switch-ui:after{transform:translate(16px)}.tg-filter-hub__body{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.tg-filter-hub__body--static{flex:1;cursor:default}.tg-filter-hub__label{font-size:15px;font-weight:500;color:var(--tg-text)}.tg-filter-hub__summary{font-size:13px;color:var(--tg-hint)}.tg-filter-hub__chevron{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--tg-hint);cursor:pointer}.tg-filter-hub__chevron svg{width:18px;height:18px}.tg-filter-hub__reset{margin-top:12px}.tg-radio-row{display:flex;align-items:center;gap:10px;padding:8px 0;cursor:pointer}.tg-acts-sentinel{height:1px}.tg-loading--inline{padding:12px 16px 24px;text-align:center;font-size:14px;color:var(--tg-hint)}.tg-empty__action{margin-top:12px;padding:0;border:0;background:none;color:var(--tg-accent);font-size:15px;cursor:pointer}.tg-acts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr));gap:12px;padding:16px}.tg-acts-grid--list{grid-template-columns:1fr}.tg-tile{position:relative;display:flex;align-items:stretch;justify-content:center;flex-direction:column;gap:6px;min-width:0;min-height:96px;padding:16px;border:0;border-radius:var(--tg-radius);background:var(--tg-bg);box-shadow:var(--tg-shadow);color:var(--tg-text);font-size:15px;font-weight:500;text-align:center;cursor:pointer}.tg-tile__row{display:flex;align-items:stretch;gap:12px;width:100%;min-width:0}.tg-tile__content{display:flex;flex:1 1 auto;flex-direction:column;align-items:stretch;gap:6px;min-width:0}.tg-tile__content--corner{padding-top:28px}.tg-tile__main{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}.tg-tile__meta-corner{position:absolute;top:8px;left:8px;z-index:1;display:flex;flex-wrap:wrap;align-items:center;gap:4px;max-width:calc(100% - 16px)}.tg-tile__meta-corner .tg-tile-owner-chip{margin-right:0}.tg-tile__meta-inline{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.tg-tile__meta-chip{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;line-height:1.3}.tg-tile__meta-chip--date{border:1px solid var(--tg-border);background:var(--tg-bg-secondary);color:var(--tg-hint)}.tg-tile__preview{flex:0 0 72px;width:72px;min-height:72px;overflow:hidden;border-radius:10px;background:var(--tg-bg-secondary)}.tg-tile__preview img{display:block;width:100%;height:100%;object-fit:cover}.tg-tile__tags{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;min-width:0;margin-top:auto;margin-left:auto;padding-top:0}.tg-tile__footer{display:flex;align-items:flex-start;justify-content:flex-end;gap:8px;width:100%;margin-top:auto;padding-top:4px}.tg-tile-owner-chip{display:inline-flex;align-items:center;gap:6px;margin-right:auto;padding:2px 8px 2px 4px;border:1px solid var(--tg-border);border-radius:999px;background:var(--tg-bg-secondary);color:var(--tg-accent);font-size:12px;font-weight:600;cursor:pointer}.tg-tile-owner-chip__login{color:var(--tg-accent);font-weight:600}.tg-user-profile-popup{display:grid;gap:16px}.tg-user-profile-popup__hero{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}.tg-user-profile-popup__name{margin:0;font-size:18px;font-weight:600}.tg-user-profile-popup__login{margin:0;color:var(--tg-hint);font-size:14px}.tg-user-profile-popup__meta{margin:0;color:var(--tg-text);font-size:14px}.tg-tile__title{overflow:hidden;max-width:100%;text-overflow:ellipsis}.tg-tile__progress{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%;margin-top:4px}.tg-tile__progress-track{position:relative;overflow:hidden;width:100%;height:4px;border-radius:999px;background:var(--tg-bg-secondary)}.tg-tile__progress-track--indeterminate:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;width:40%;border-radius:inherit;background:color-mix(in srgb,var(--tg-accent) 45%,transparent);animation:tg-tile-progress-indeterminate 1.4s ease-in-out infinite}.tg-tile__progress-bar{height:100%;border-radius:inherit;background:var(--tg-accent);transition:width .2s ease}.tg-tile__progress-label{color:var(--tg-hint);font-size:11px;line-height:1.2}@keyframes tg-tile-progress-indeterminate{0%{transform:translate(-120%)}to{transform:translate(320%)}}.tg-tile__badge{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;background:var(--tg-accent-muted);color:var(--tg-accent);font-size:12px;font-weight:600}.tg-tile--list,.tg-acts-grid--list .tg-tile{flex-direction:row;flex-wrap:nowrap;align-items:center;min-width:0;max-width:none;width:100%;min-height:56px;justify-content:flex-start;text-align:left}.tg-tile--list .tg-tile__row,.tg-acts-grid--list .tg-tile .tg-tile__row{flex:1 1 auto;align-items:center}.tg-tile--list .tg-tile__content,.tg-acts-grid--list .tg-tile .tg-tile__content{flex-direction:row;align-items:center;gap:10px}.tg-tile--list .tg-tile__main,.tg-acts-grid--list .tg-tile .tg-tile__main{flex:1 1 auto;min-width:0}.tg-tile--list .tg-tile__preview,.tg-acts-grid--list .tg-tile .tg-tile__preview{flex-basis:56px;width:56px;min-height:56px}.tg-tile--list .tg-tile__tags,.tg-acts-grid--list .tg-tile .tg-tile__tags{flex:0 1 auto;justify-content:flex-end;margin-top:0}.tg-tile--list .tg-tile__footer,.tg-acts-grid--list .tg-tile .tg-tile__footer{width:auto;margin-top:0;margin-left:auto;padding-top:0}.tg-tile--list .tg-tile-owner-chip,.tg-acts-grid--list .tg-tile .tg-tile-owner-chip{margin-right:0}.tg-empty{padding:48px 24px;text-align:center;color:var(--tg-hint);font-size:15px}.tg-error{margin:0;padding:8px 16px;color:var(--tg-danger);font-size:14px}.tg-profile-hero{display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 16px 16px;background:var(--tg-bg);border-bottom:.5px solid var(--tg-divider)}.tg-profile-hero__name{margin:0;font-size:20px;font-weight:600}.tg-profile-hero__login{margin:0;font-size:14px;color:var(--tg-hint)}.tg-profile-hero__remove-avatar{border:0;padding:0;background:transparent;color:var(--tg-accent);font-size:12px;font-weight:500;cursor:pointer}.tg-profile-hero__remove-avatar:disabled{opacity:.55;cursor:default}.tg-avatar-cropper{width:min(100%,560px);max-height:60dvh;margin:0 auto 12px}.tg-avatar-cropper img{display:block;max-width:100%}.tg-badge{display:inline-block;padding:4px 10px;border-radius:999px;background:var(--tg-accent-muted);color:var(--tg-accent);font-size:12px;font-weight:600}.tg-stub{margin:24px 16px;padding:24px 20px;border-radius:var(--tg-radius);background:var(--tg-bg);text-align:center;box-shadow:var(--tg-shadow)}.tg-stub__title{margin:0 0 8px;font-size:18px;font-weight:600}.tg-stub__text{margin:0;color:var(--tg-hint);font-size:15px;line-height:1.45}.tg-act-hero{display:grid;gap:8px;padding:16px;background:var(--tg-bg);border-bottom:.5px solid var(--tg-divider)}.tg-act-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:var(--tg-bg);border-bottom:.5px solid var(--tg-divider)}.tg-act-panel__stats{display:flex;align-items:center;gap:8px}.tg-act-panel__stat{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:999px;background:var(--tg-bg-secondary);color:var(--tg-text);font-size:14px;font-weight:600}.tg-act-panel__stat--button{border:0;cursor:pointer;color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-act-panel__stat--button:active{opacity:.85}.tg-act-panel__stat--toggle{color:var(--tg-hint);background:var(--tg-bg-secondary)}.tg-act-panel__stat--toggle-on{color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-act-panel__stat--link{text-decoration:none}.tg-act-panel__icon{width:18px;height:18px;flex-shrink:0}.tg-act-panel__value{line-height:1}.tg-act-panel__owner{display:inline-flex;align-items:center;gap:8px;color:var(--tg-accent);font-size:15px;font-weight:600;text-decoration:none}.tg-states-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.tg-states-list__item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary);border:1px solid transparent;transition:border-color .15s ease,background-color .15s ease}.tg-states-list__item--merge-selected{border-color:var(--tg-accent);background:color-mix(in srgb,var(--tg-accent) 10%,var(--tg-bg-secondary))}.tg-states-list__actions{display:inline-flex;align-items:center;gap:4px}.tg-states-list__merge{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--tg-text-secondary, #8e8e93);cursor:pointer;transition:color .15s ease,background-color .15s ease}.tg-states-list__merge--active{color:var(--tg-accent);background:color-mix(in srgb,var(--tg-accent) 14%,transparent)}.tg-states-list__merge:disabled,.tg-states-list__restore:disabled{opacity:.45;cursor:default}.tg-states-list__merge svg{width:20px;height:20px}.tg-states-hint{margin:0 0 12px;padding:10px 12px;border-radius:var(--tg-radius-sm);background:color-mix(in srgb,var(--tg-accent) 12%,var(--tg-bg-secondary));color:var(--tg-text);font-size:14px;text-align:center;animation:tg-states-hint-in .2s ease}@keyframes tg-states-hint-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.tg-states-merge-confirm__lead{margin:0 0 12px;font-size:15px;color:var(--tg-text)}.tg-states-merge-confirm__list{margin:0 0 20px;padding:0;list-style:none;display:grid;gap:8px}.tg-states-merge-confirm__list li{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary);font-size:15px}.tg-states-merge-confirm__actions{display:flex;justify-content:flex-end;gap:10px}.tg-states-merge-confirm__cancel,.tg-states-merge-confirm__submit{padding:10px 16px;border-radius:var(--tg-radius-sm);border:0;font-size:15px;cursor:pointer}.tg-states-merge-confirm__cancel{background:var(--tg-bg-secondary);color:var(--tg-text)}.tg-states-merge-confirm__submit{background:var(--tg-accent);color:#fff}.tg-states-merge-confirm__cancel:disabled,.tg-states-merge-confirm__submit:disabled{opacity:.5;cursor:default}.tg-states-list__date{font-size:15px;color:var(--tg-text)}.tg-states-list__index{font-size:13px;opacity:.7;margin-right:8px}.tg-states-list__restore{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--tg-accent);cursor:pointer}.tg-states-list__restore svg{width:20px;height:20px}.tg-act-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 16px 8px}.tg-section-title{margin:0;font-size:18px;font-weight:600}.tg-loading--compact{min-height:96px}.tg-empty--compact{padding:28px 16px}.tg-blocks{display:grid;gap:12px;padding:12px 16px 24px;min-width:0;max-width:100%}.tg-blocks__list{display:grid;gap:12px;min-width:0}.tg-blocks__list--reordering{opacity:.92;pointer-events:none}.tg-block-item{display:flex;align-items:stretch;gap:4px;min-width:0;max-width:100%}.tg-block-item__content{flex:1;min-width:0}.tg-block-drag-handle{flex:0 0 auto;align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;width:44px;min-height:44px;margin-top:6px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--tg-hint);font-size:22px;line-height:1;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.tg-block-drag-handle:hover:not(:disabled){background:var(--tg-bg-secondary);color:var(--tg-text)}.tg-block-drag-handle:active:not(:disabled){cursor:grabbing}.tg-block-drag-handle:disabled{opacity:.45;cursor:default}.tg-block-sortable-ghost{opacity:.45}.tg-block-sortable-ghost .tg-block-card{box-shadow:none;border:1px dashed var(--tg-border)}.tg-block-sortable-chosen .tg-block-card{box-shadow:0 8px 24px #0000001f}.tg-block-sortable-drag{opacity:1}.tg-act-errors{margin:0;padding:0 16px 8px}.tg-block-add{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;padding:12px 16px;border:1px dashed var(--tg-border);border-radius:var(--tg-radius);background:transparent;color:var(--tg-hint);cursor:pointer;transition:color .15s ease,border-color .15s ease,background .15s ease}.tg-block-add:hover:not(:disabled){color:var(--tg-accent);border-color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-block-add:active:not(:disabled){opacity:.85}.tg-block-add:disabled{cursor:default;opacity:.6}.tg-block-add--placeholder{justify-content:flex-start;font-size:15px;font-weight:400;cursor:default}.tg-block-add--placeholder:hover{color:var(--tg-hint);border-color:var(--tg-border);background:transparent}.tg-block-add__plus{font-size:28px;font-weight:300;line-height:1}.tg-block-card{display:grid;gap:12px;padding:14px;border-radius:var(--tg-radius);background:var(--tg-bg);box-shadow:var(--tg-shadow);min-width:0;container-type:inline-size;container-name:tg-block-card}.tg-block-card--unsupported{color:var(--tg-hint)}.tg-block-card__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.tg-block-card__header-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin-left:auto}.tg-block-card__title-wrap{min-width:0;flex:1}.tg-block-card__title-row{display:flex;align-items:center;gap:8px;min-width:0}.tg-block-card__type{margin:0;flex:0 0 auto;color:var(--tg-hint);font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.tg-block-card__title{margin:0;flex:1;min-width:0;color:var(--tg-text);font-size:16px;font-weight:600;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-block-card__title--editable{cursor:pointer;border-radius:8px}.tg-block-card__title--editable:active{background:var(--tg-bg-secondary)}.tg-block-title-edit{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.tg-block-title-edit__input{flex:1;min-width:0;height:32px;padding:0 10px;border:0;border-radius:8px;background:var(--tg-bg-secondary);color:var(--tg-text);font-size:16px;font-weight:600;text-align:left}.tg-block-title-edit__input:focus{outline:2px solid var(--tg-accent-muted)}.tg-block-title-edit__input:disabled{opacity:.7}.tg-block-title-edit__save{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;padding:0;border:0;border-radius:8px;background:var(--tg-accent-muted);color:var(--tg-accent);cursor:pointer}.tg-block-title-edit__save:active:not(:disabled){opacity:.85}.tg-block-title-edit__save:disabled{opacity:.55;cursor:default}.tg-block-title-edit__save svg{width:20px;height:20px}.tg-block-card__status{flex:0 0 auto;color:var(--tg-accent);font-size:12px;font-weight:600}.tg-block-textarea{width:100%;max-width:100%;min-width:0;min-height:88px;padding:12px;resize:none;overflow:hidden;border:0;border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary);color:var(--tg-text);font:inherit;font-size:16px;line-height:1.45}.tg-block-textarea:focus{outline:2px solid var(--tg-accent-muted)}.tg-block-textarea:read-only{color:var(--tg-text)}.tg-block-textarea--code{min-height:160px;resize:vertical;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.5;white-space:pre}.tg-block-content{margin:0;font-size:16px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.tg-block-content--text{color:var(--tg-text)}.tg-block-content--empty{color:var(--tg-hint);font-style:italic}.tg-block-content--markdown{white-space:normal}.tg-markdown-body{color:var(--tg-text);font-size:16px;line-height:1.55;max-width:100%;word-break:break-word;overflow-wrap:anywhere}.tg-markdown-body>:first-child{margin-top:0}.tg-markdown-body>:last-child{margin-bottom:0}.tg-markdown-body h1,.tg-markdown-body h2,.tg-markdown-body h3,.tg-markdown-body h4{margin:1em 0 .5em;line-height:1.3;font-weight:700}.tg-markdown-body h1{font-size:1.5em}.tg-markdown-body h2{font-size:1.3em}.tg-markdown-body h3{font-size:1.15em}.tg-markdown-body p{margin:.65em 0}.tg-markdown-body ul,.tg-markdown-body ol{margin:.65em 0;padding-left:1.4em}.tg-markdown-body li+li{margin-top:.25em}.tg-markdown-body blockquote{margin:.75em 0;padding:.25em 0 .25em .9em;border-left:3px solid var(--tg-border);color:var(--tg-hint)}.tg-markdown-body code{padding:.1em .35em;border-radius:6px;background:var(--tg-bg-secondary);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.9em;overflow-wrap:anywhere}.tg-markdown-body pre{margin:.75em 0;padding:10px 12px;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary)}.tg-markdown-body pre code{padding:0;background:transparent;font-size:13px;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.tg-markdown-body a{color:var(--tg-accent);text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere;word-break:break-word}.tg-markdown-body img,.tg-markdown-body video,.tg-markdown-body iframe{max-width:100%;height:auto}.tg-markdown-body .tg-md-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:.75em 0}.tg-markdown-body table{display:table;width:100%;min-width:280px;border-collapse:collapse;border-spacing:0;font-size:.95em}.tg-markdown-body th,.tg-markdown-body td{border:1px solid var(--tg-border, rgba(0, 0, 0, .12));padding:6px 10px;text-align:left;vertical-align:top}.tg-markdown-body th{font-weight:600;background:var(--tg-secondary-bg, rgba(0, 0, 0, .04))}.tg-markdown-body--empty{margin:0;color:var(--tg-hint);font-style:italic}.tg-markdown-editor{display:grid;gap:8px;min-width:0}.tg-markdown-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.tg-markdown-toolbar__btn{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;padding:0 8px;border:0;border-radius:8px;background:var(--tg-bg-secondary);color:var(--tg-text);font-size:13px;line-height:1;cursor:pointer}.tg-markdown-toolbar__btn:active:not(:disabled){opacity:.85}.tg-markdown-toolbar__btn:disabled,.tg-markdown-toolbar__btn--disabled{opacity:.45;cursor:default;pointer-events:none}.tg-markdown-toolbar__btn--file{position:relative;overflow:hidden}.tg-markdown-toolbar__btn--file input[type=file]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.tg-markdown-toolbar__btn--active{background:var(--tg-accent-muted);color:var(--tg-accent)}.tg-markdown-toolbar__btn--source{margin-left:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px}.tg-markdown-toolbar__sep{width:1px;height:20px;margin:0 2px;background:var(--tg-divider)}.tg-markdown-editor--mobile{gap:4px}.tg-markdown-editor__chrome{display:flex;justify-content:flex-end;align-items:center;gap:4px;min-height:32px}.tg-markdown-editor__chrome .tg-markdown-toolbar__btn--source{margin-left:0}.tg-markdown-toolbar__btn--menu{font-size:14px;font-weight:600;letter-spacing:-.02em}.tg-markdown-toolbar--block-sheet{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:6px;padding-bottom:2px}.tg-markdown-toolbar--block-sheet::-webkit-scrollbar{display:none}.tg-markdown-bubble{display:flex;align-items:center;gap:2px;padding:4px 6px;border-radius:10px;background:var(--tg-bg);box-shadow:0 4px 18px #00000024;border:.5px solid var(--tg-divider);z-index:25}.tg-markdown-bubble .tg-markdown-toolbar__btn{background:transparent}.tg-markdown-bubble .tg-markdown-toolbar__btn--active{background:var(--tg-accent-muted)}.tg-markdown-editor__surface{min-width:0}.tg-markdown-editor__hint{margin:0;font-size:12px;line-height:1.35;color:var(--tg-hint)}.tg-markdown-editor__surface .ProseMirror{min-height:120px;padding:10px 12px;border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary);color:var(--tg-text);font-size:16px;line-height:1.55;outline:none;word-break:break-word}.tg-markdown-editor__surface .ProseMirror table{display:table;width:100%;border-collapse:collapse;margin:.6em 0;table-layout:auto;overflow:hidden}.tg-markdown-editor__surface .ProseMirror th,.tg-markdown-editor__surface .ProseMirror td{border:1px solid var(--tg-border, rgba(0, 0, 0, .12));padding:6px 10px;vertical-align:top;min-width:48px}.tg-markdown-editor__surface .ProseMirror th{font-weight:600;background:var(--tg-bg, rgba(0, 0, 0, .03))}.tg-markdown-editor__surface .ProseMirror .selectedCell:after{background:var(--tg-accent-muted, rgba(51, 144, 236, .18))}.tg-markdown-editor__surface .ProseMirror:focus{box-shadow:0 0 0 2px var(--tg-accent-muted)}.tg-markdown-editor__surface .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;height:0;color:var(--tg-hint);pointer-events:none}.tg-markdown-editor__surface .ProseMirror>:first-child{margin-top:0}.tg-markdown-editor__surface .ProseMirror>:last-child{margin-bottom:0}.tg-markdown-editor__surface .ProseMirror h1,.tg-markdown-editor__surface .ProseMirror h2,.tg-markdown-editor__surface .ProseMirror h3{margin:.85em 0 .4em;line-height:1.3;font-weight:700}.tg-markdown-editor__surface .ProseMirror h1{font-size:1.5em}.tg-markdown-editor__surface .ProseMirror h2{font-size:1.3em}.tg-markdown-editor__surface .ProseMirror h3{font-size:1.15em}.tg-markdown-editor__surface .ProseMirror p{margin:.55em 0}.tg-markdown-editor__surface .ProseMirror ul,.tg-markdown-editor__surface .ProseMirror ol{margin:.55em 0;padding-left:1.4em}.tg-markdown-editor__surface .ProseMirror blockquote{margin:.65em 0;padding-left:.9em;border-left:3px solid var(--tg-border);color:var(--tg-hint)}.tg-markdown-editor__surface .ProseMirror pre{margin:.65em 0;padding:10px 12px;border-radius:var(--tg-radius-sm);background:color-mix(in srgb,var(--tg-bg-secondary) 70%,var(--tg-text) 8%);overflow-x:auto}.tg-markdown-editor__surface .ProseMirror code{padding:.1em .35em;border-radius:6px;background:color-mix(in srgb,var(--tg-bg-secondary) 70%,var(--tg-text) 8%);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.9em}.tg-markdown-editor__surface .ProseMirror pre code{padding:0;background:transparent}.tg-markdown-editor__surface .ProseMirror a{color:var(--tg-accent);text-decoration:underline}.tg-markdown-editor__surface .ProseMirror img{display:inline-block;max-width:100%;height:auto;vertical-align:middle;border-radius:6px}.tg-markdown-editor__source{min-height:120px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.5;white-space:pre}.tg-block-meta{display:grid;gap:8px;margin:0}.tg-block-meta__row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:15px}.tg-block-meta__row dt{margin:0;color:var(--tg-hint);font-weight:500}.tg-block-meta__row dd{margin:0;color:var(--tg-text);font-weight:600}@container tg-block-card (max-width: 420px){.tg-block-card__title-row{flex-direction:column;align-items:flex-start;gap:2px}.tg-block-card__title{width:100%;white-space:normal;overflow:visible;text-overflow:unset;word-break:break-word}.tg-block-title-edit{width:100%}.tg-block-meta__row{flex-direction:column;align-items:flex-start;gap:2px}.tg-block-meta__row dd{word-break:break-word}.tg-block-card__header{flex-direction:column;align-items:flex-start;gap:6px}.tg-field,.tg-checklist-editor,.tg-checklist-editor__item{min-width:0;max-width:100%}.tg-checklist-editor__main{flex-wrap:wrap}.tg-checklist-editor__main .tg-checklist-editor__md{flex:1 1 0;min-width:0}.tg-checklist-editor__toolbar{flex:1 1 100%;justify-content:flex-start;padding-left:46px}.tg-checklist-editor__main:has(.tg-checklist__marker) .tg-checklist-editor__toolbar{padding-left:80px}.tg-block-textarea,.tg-input,select.tg-input{max-width:100%;min-width:0}.tg-block-actions--compact{flex-wrap:wrap;justify-content:flex-start}}.tg-app--mobile .tg-block-card__title-row{flex-direction:column;align-items:flex-start;gap:2px}.tg-app--mobile .tg-block-card__title{width:100%;white-space:normal;overflow:visible;text-overflow:unset;word-break:break-word}.tg-app--mobile .tg-block-title-edit{width:100%}.tg-app--mobile .tg-block-meta__row{flex-direction:column;align-items:flex-start;gap:2px}.tg-app--mobile .tg-block-meta__row dd{word-break:break-word}.tg-app--mobile .tg-block-card__header{flex-direction:column;align-items:stretch;gap:6px}.tg-app--mobile .tg-block-card__header-actions{margin-left:0;align-self:flex-end}.tg-app--mobile .tg-block-card__title-wrap,.tg-app--mobile .tg-block-card__title-row{width:100%}.tg-app--mobile .tg-block-card--editing .tg-block-card__header{width:calc(100% + 2 * var(--tg-gutter, 15px));margin-left:calc(-1 * var(--tg-gutter, 15px));margin-right:calc(-1 * var(--tg-gutter, 15px));padding:0 var(--tg-gutter, 15px) 10px;box-sizing:border-box;border-bottom:.5px solid var(--tg-divider)}.tg-app--mobile .tg-field,.tg-app--mobile .tg-checklist-editor,.tg-app--mobile .tg-checklist-editor__item{min-width:0;max-width:100%}.tg-app--mobile .tg-checklist-editor__main{flex-wrap:wrap}.tg-app--mobile .tg-checklist-editor__main .tg-checklist-editor__md{flex:1 1 0;min-width:0}.tg-app--mobile .tg-checklist-editor__toolbar{flex:1 1 100%;justify-content:flex-start;padding-left:46px}.tg-app--mobile .tg-checklist-editor__main:has(.tg-checklist__marker) .tg-checklist-editor__toolbar{padding-left:80px}.tg-app--mobile .tg-block-actions--compact{flex-wrap:wrap;justify-content:flex-start}.tg-app--mobile{--tg-gutter: 15px}.tg-app--mobile .tg-header,.tg-app--mobile .tg-section__title,.tg-app--mobile .tg-list__row{padding-left:var(--tg-gutter);padding-right:var(--tg-gutter)}.tg-app--mobile .tg-acts-grid{padding:12px 0 24px;gap:8px}.tg-app--mobile .tg-acts-grid:not(.tg-acts-grid--list){grid-template-columns:1fr}.tg-app--mobile .tg-tile{padding:14px var(--tg-gutter);border-radius:0;box-shadow:none}.tg-app--mobile .tg-loading--inline,.tg-app--mobile .tg-empty--compact{padding-left:var(--tg-gutter);padding-right:var(--tg-gutter)}.tg-app--mobile .tg-act-panel{padding:10px var(--tg-gutter)}.tg-app--mobile .tg-act-errors{padding:0 var(--tg-gutter) 8px}.tg-app--mobile .tg-blocks{padding:0 0 24px;gap:8px}.tg-app--mobile .tg-blocks__list{gap:8px}.tg-app--mobile .tg-block-item:not(.tg-block-item--no-handle){background:var(--tg-bg)}.tg-app--mobile .tg-block-drag-handle{width:36px;margin:0;border-radius:0}.tg-app--mobile .tg-block-card{padding:14px var(--tg-gutter);border-radius:0;box-shadow:none}.tg-app--mobile .tg-block-sortable-ghost .tg-block-card{border:0;opacity:.55}.tg-app--mobile .tg-block-add{padding:14px var(--tg-gutter);border:0;border-radius:0;background:var(--tg-bg)}.tg-app--mobile .tg-block-add:hover:not(:disabled){border-color:transparent;background:var(--tg-bg-secondary)}.tg-app--mobile .tg-block-card .tg-block-textarea,.tg-app--mobile .tg-block-card .tg-markdown-editor__source{padding:0;border-radius:0;background:transparent}.tg-app--mobile .tg-block-card .tg-block-textarea:focus{outline:none}.tg-app--mobile .tg-block-card .tg-markdown-editor__surface .ProseMirror{padding:0;border-radius:0;background:transparent}.tg-app--mobile .tg-block-card .tg-markdown-editor__surface .ProseMirror:focus{box-shadow:none}.tg-app--mobile .tg-block-card .tg-markdown-toolbar__btn{background:transparent}.tg-app--mobile .tg-block-card .tg-markdown-toolbar__btn--active{background:var(--tg-accent-muted)}.tg-app--mobile .tg-block-card .tg-input{padding-left:0;padding-right:0;border-radius:0;background:transparent}.tg-app--mobile .tg-block-card .tg-input:focus{outline:none}.tg-app--mobile .tg-checklist-editor__item,.tg-app--mobile .tg-checklist__item{padding:10px 0;border:0;border-radius:0;background:transparent;border-bottom:.5px solid var(--tg-divider)}.tg-app--mobile .tg-checklist-editor__item:last-child,.tg-app--mobile .tg-checklist__item:last-child{border-bottom:0}.tg-app--mobile .tg-site-text,.tg-app--mobile .tg-site-markdown,.tg-app--mobile .tg-site-checklist,.tg-app--mobile .tg-site-gallery,.tg-app--mobile .tg-skeleton--blocks,.tg-app--mobile .tg-skeleton--acts,.tg-app--mobile .tg-skeleton--profile{padding-left:var(--tg-gutter);padding-right:var(--tg-gutter)}.tg-main--site{padding:0;padding-bottom:env(safe-area-inset-bottom,0px);flex:1;display:flex;flex-direction:column;min-height:0;min-width:0;max-width:100%;overflow-x:hidden}.tg-site-blocks{display:flex;flex:1;flex-direction:column;min-height:0;width:100%;max-width:100%;min-width:0;overflow-x:hidden}.tg-site-html{width:100%;overflow-x:hidden}.tg-preview-bar{--tg-preview-tab-width: 40px;position:fixed;left:0;right:0;bottom:env(safe-area-inset-bottom,0px);z-index:25;display:flex;align-items:flex-end;width:100%;max-width:100%;pointer-events:none}.tg-preview-bar__tab{flex:0 0 var(--tg-preview-tab-width);width:var(--tg-preview-tab-width);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px 4px;border:0;border-radius:0 12px 0 0;background:#1a1a1af0;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:2px -2px 12px #0000002e;pointer-events:auto}.tg-preview-bar__tab:active{opacity:.88}.tg-preview-bar__tab-icon{font-size:18px;line-height:1;font-weight:700}.tg-preview-bar__tab-label{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;writing-mode:vertical-rl;text-orientation:mixed;opacity:.88;white-space:nowrap}.tg-preview-bar__panel-wrap{overflow:hidden;width:0;height:0;transition:width .28s ease;pointer-events:none}.tg-preview-bar--expanded .tg-preview-bar__panel-wrap{flex:1 1 auto;width:min(400px,100% - var(--tg-preview-tab-width));min-width:0;height:auto;pointer-events:auto}.tg-preview-bar__panel{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;width:100%;padding:10px 14px 10px 10px;background:#1a1a1aeb;color:#fff;font-size:14px;font-weight:600;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:0 12px 0 0;box-shadow:0 -4px 20px #0000001f}.tg-preview-bar__viewer{display:flex;align-items:center;gap:8px;flex:1 1 auto;min-width:0}.tg-preview-bar__viewer-label{flex:0 0 auto;font-size:13px;font-weight:500;opacity:.85;white-space:nowrap}.tg-preview-bar__select{flex:1 1 140px;min-width:0;max-width:220px}.tg-preview-bar__select.tg-select.multiselect{--ms-font-size: 13px;--ms-py: 6px;--ms-px: 10px;--ms-min-height: 32px;--ms-bg: #fff;font-weight:500;color:#1a1a1a}.tg-preview-bar__exit{flex:0 0 auto;padding:6px 12px;border-radius:999px;background:#ffffff24;color:#fff;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}.tg-preview-bar__exit:active{opacity:.85}@media (max-width: 420px){.tg-preview-bar--expanded .tg-preview-bar__tab{align-self:flex-end;min-height:88px}.tg-preview-bar--expanded .tg-preview-bar__panel-wrap{flex:1 1 auto;width:auto;min-width:0}.tg-preview-bar__panel{flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px;padding:8px 10px 8px 8px}.tg-preview-bar__viewer{flex:1 1 auto;flex-direction:row;align-items:center;gap:6px;min-width:0}.tg-preview-bar__viewer-label{display:none}.tg-preview-bar__select{flex:1 1 auto;max-width:none;min-width:0}.tg-preview-bar__exit{flex:0 0 auto;padding:6px 10px;font-size:12px;text-align:center}}.tg-tag-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:#0000000f;color:#1a1a1a;font-size:13px;font-weight:600;line-height:1.3}.tg-tag-chip--readonly{padding-right:10px}.tg-tag-chip--tile{font-size:11px;padding:2px 8px;font-weight:600}.tg-tag-chip--clickable{border:none;font:inherit;cursor:pointer;transition:background-color .15s ease,color .15s ease}.tg-tag-chip--clickable:hover{background:#0000001a}.tg-tag-chip--clickable:focus-visible{outline:2px solid var(--tg-accent);outline-offset:1px}.tg-tag-chip__remove{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:none;border-radius:50%;background:#00000014;color:#444;font-size:14px;line-height:1;cursor:pointer}.tg-tag-op-toggle{flex:0 0 auto;padding:4px 8px;border:none;border-radius:6px;background:#00000014;color:#333;font-size:11px;font-weight:700;letter-spacing:.04em;cursor:pointer}.tg-tags-modal__chips,.tg-tags-filter-chain{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.tg-tags-modal__suggestions{margin:0;padding:0;list-style:none;border:1px solid rgba(0,0,0,.08);border-radius:10px;overflow:hidden}.tg-tags-modal__suggestion{display:block;width:100%;padding:10px 12px;border:none;background:#fff;color:#1a1a1a;font-size:14px;text-align:left;cursor:pointer}.tg-tags-modal__suggestion:hover,.tg-tags-modal__suggestion:focus{background:#0000000a}.tg-tags-modal{display:flex;flex-direction:column;gap:12px}.tg-act-view{min-width:0;width:100%;height:100%;display:flex;flex-direction:column;min-height:0}.tg-act-view--boot{min-height:100%;display:flex;flex-direction:column}.tg-act-view--pending{opacity:0;pointer-events:none;background:transparent}.tg-act-view--revealed{opacity:1;pointer-events:auto;background:var(--tg-bg-page);transition:opacity .28s ease}.tg-main--boot{flex:1;display:flex;flex-direction:column;min-height:0}.tg-act-boot-pane{flex:1;min-height:0}.tg-act-view--site .tg-act-boot-pane{background:#fff}.tg-act-view--site{min-height:100dvh;display:flex;flex-direction:column;background:#fff;max-width:100%;overflow-x:hidden}html.act-site-view,html.act-site-view body{overflow-x:hidden;max-width:100%;background:#fff}html.act-site-view .tg-app{background:#fff;max-width:100%;overflow-x:hidden}.tg-site-text{width:100%;max-width:720px;min-width:0;margin:0 auto;padding:20px;color:#1a1a1a;font-size:16px;line-height:1.6;white-space:pre-wrap;word-break:break-word}.tg-site-markdown{width:100%;max-width:720px;min-width:0;margin:0 auto;padding:20px;color:#1a1a1a;overflow-x:hidden}.tg-site-markdown .tg-markdown-body{color:#1a1a1a;font-size:16px;line-height:1.6}.tg-site-markdown .tg-markdown-body h1,.tg-site-markdown .tg-markdown-body h2,.tg-site-markdown .tg-markdown-body h3{color:#1a1a1a}.tg-site-markdown .tg-markdown-body blockquote{border-left-color:#d0d0d0;color:#444}.tg-site-markdown .tg-markdown-body code,.tg-site-markdown .tg-markdown-body pre{background:#f5f5f5}.tg-site-markdown .tg-markdown-body a{color:#3390ec}.tg-site-markdown .tg-markdown-body .tg-md-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:.75em 0}.tg-site-markdown .tg-markdown-body table{display:table;width:100%;min-width:280px;border-collapse:collapse;font-size:.95em}.tg-site-markdown .tg-markdown-body th,.tg-site-markdown .tg-markdown-body td{border:1px solid #d8d8d8;padding:6px 10px;text-align:left;vertical-align:top}.tg-site-markdown .tg-markdown-body th{font-weight:600;background:#f5f5f5}.tg-site-checklist{max-width:720px;margin:0 auto;padding:20px;display:flex;flex-direction:column;gap:14px;min-width:0}.tg-site-checklist .tg-checklist__title{margin:0;font-size:20px;font-weight:700;color:#1a1a1a}.tg-site-checklist .tg-checklist__description{margin:0;color:#444;font-size:15px;line-height:1.5}.tg-site-checklist .tg-checklist__item{background:transparent;border:none;border-bottom:1px solid #eee;border-radius:0;padding:12px 0}.tg-loading--site,.tg-error--site{padding:20px;color:#666;text-align:center}.tg-checklist{gap:14px;min-width:0}.tg-checklist-agreement{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border-radius:12px;background:#f2f7f4;color:#264a37}.tg-checklist-agreement__body{display:grid;gap:3px;min-width:0}.tg-checklist-agreement__body span{color:#597064;font-size:13px}.tg-agreement-settings{display:grid;gap:18px}.tg-agreement-settings__intro{display:grid;gap:7px}.tg-agreement-settings__intro h4,.tg-agreement-settings__intro p,.tg-agreement-settings__status p{margin:0}.tg-agreement-settings__intro h4{color:var(--tg-text);font-size:17px;font-weight:650}.tg-agreement-settings__intro p,.tg-agreement-settings__note,.tg-agreement-settings__empty{color:var(--tg-text-muted);font-size:14px;line-height:1.5}.tg-agreement-settings__status{display:flex;align-items:flex-start;gap:11px;padding:14px 16px;border-radius:12px;background:#f2f7f4;color:#264a37}.tg-agreement-settings__status p{margin-top:3px;color:#597064;font-size:13px}.tg-agreement-settings__status-dot{width:8px;height:8px;margin-top:6px;flex:0 0 auto;border-radius:50%;background:#3f9667;box-shadow:0 0 0 4px #3f96671f}.tg-agreement-settings__details{display:grid;gap:13px;margin:0}.tg-agreement-settings__details div{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(0,1.5fr);gap:14px}.tg-agreement-settings__details dt{color:var(--tg-text-muted);font-size:13px}.tg-agreement-settings__details dd{min-width:0;margin:0;color:var(--tg-text);font-size:14px;overflow-wrap:anywhere}.tg-agreement-settings__note,.tg-agreement-settings__empty{padding:13px 15px;border-radius:10px;background:var(--tg-surface-muted, #f6f6f6)}@media (max-width: 520px){.tg-agreement-settings__details div{grid-template-columns:1fr;gap:3px}}@media (max-width: 640px){.tg-checklist-agreement{align-items:stretch;flex-direction:column}}.tg-checklist__header{display:grid;gap:4px}.tg-checklist__title{margin:0;color:var(--tg-text);font-size:18px;font-weight:600}.tg-checklist__description{margin:0;color:var(--tg-text);font-size:15px;line-height:1.45;white-space:pre-wrap}.tg-checklist__items,.tg-checklist-editor{display:grid;gap:10px}.tg-checklist__item,.tg-checklist-editor__item{display:flex;align-items:flex-start;gap:10px;min-width:0;max-width:100%;padding:10px;border:1px solid var(--tg-border);border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary)}.tg-checklist__marker{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:24px;height:24px;border:1.5px solid var(--tg-accent);border-radius:50%;color:var(--tg-accent);font-size:14px;font-weight:700}.tg-checklist__marker--clickable{cursor:pointer}.tg-checklist__marker--clickable:focus-visible{outline:2px solid var(--tg-accent);outline-offset:2px}.tg-checklist__body{display:grid;gap:7px;flex:1;min-width:0}.tg-checklist-editor__main{display:flex;align-items:flex-start;gap:10px;flex:1;min-width:0}.tg-checklist__text{color:var(--tg-text);font-size:15px;font-weight:600;line-height:1.35;word-break:break-word}.tg-checklist__text.tg-markdown-body,.tg-checklist__text .tg-markdown-body{font-weight:600;font-size:15px;line-height:1.4}.tg-checklist__text.tg-markdown-body>:first-child,.tg-checklist__text .tg-markdown-body>:first-child{margin-top:0}.tg-checklist__text.tg-markdown-body>:last-child,.tg-checklist__text .tg-markdown-body>:last-child{margin-bottom:0}.tg-checklist__text.tg-markdown-body h1,.tg-checklist__text.tg-markdown-body h2,.tg-checklist__text.tg-markdown-body h3,.tg-checklist__text .tg-markdown-body h1,.tg-checklist__text .tg-markdown-body h2,.tg-checklist__text .tg-markdown-body h3{font-size:1.05em;margin:.35em 0}.tg-checklist__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--tg-hint);font-size:13px;line-height:1.35}.tg-checklist__signer{display:inline-flex;align-items:center;gap:6px}.tg-checklist-editor__mechanics,.tg-gallery-editor__mechanics{display:flex}.tg-block-mechanics-btn{gap:7px}.tg-block-mechanics-btn svg{width:18px;height:18px}.tg-checklist-options-settings__title{margin:0 0 12px;font-size:15px;font-weight:600}.tg-checklist-editor__main .tg-checklist-editor__md{flex:1;min-width:0;width:100%}.tg-checklist-editor__md-preview{display:block;width:100%;min-height:var(--tg-control-height);margin:0;padding:8px 12px;border:1px solid var(--tg-border);border-radius:var(--tg-radius-sm);color:inherit;background:var(--tg-bg);text-align:left;cursor:text;font:inherit}.tg-checklist-editor__md-preview:disabled{opacity:.65;cursor:default}.tg-checklist-editor__md-preview:focus-visible{outline:2px solid var(--tg-accent-muted);border-color:var(--tg-accent)}.tg-checklist-editor__md .tg-markdown-editor--bare{border:1px solid var(--tg-border);border-radius:var(--tg-radius-sm);background:var(--tg-bg)}.tg-checklist-editor__md .tg-markdown-editor--bare .tg-markdown-editor__surface .ProseMirror{min-height:var(--tg-control-height);padding:8px 12px;font-size:15px;line-height:1.4}.tg-checklist-editor__md .tg-markdown-editor--bare .tg-markdown-editor__surface .ProseMirror:focus{outline:2px solid var(--tg-accent-muted)}.tg-checklist-editor__toolbar{display:flex;justify-content:flex-end;align-items:center;gap:6px;padding-top:2px}.tg-checklist-icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid var(--tg-border);border-radius:var(--tg-radius-sm);background:var(--tg-bg);color:var(--tg-hint);cursor:pointer}.tg-checklist-icon-btn svg{width:18px;height:18px}.tg-checklist-icon-btn__badge{position:absolute;top:-5px;right:-5px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--tg-accent);color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center}.tg-checklist-icon-btn__badge--symbol{min-width:18px;font-size:11px;line-height:16px}.tg-checklist-icon-btn--danger:hover{color:var(--tg-danger, #e53935);border-color:color-mix(in srgb,var(--tg-danger, #e53935) 35%,var(--tg-border))}.tg-checklist__text-row{display:flex;align-items:center;gap:8px;min-width:0}.tg-checklist__text-row .tg-checklist__text{flex:1;min-width:0}.tg-checklist__count-badge{flex:0 0 auto;min-width:22px;height:22px;padding:0 6px;border:0;border-radius:999px;background:color-mix(in srgb,var(--tg-accent) 14%,transparent);color:var(--tg-accent);font-size:12px;font-weight:700;line-height:22px;cursor:pointer}.tg-checklist__meta-link{padding:0;border:0;background:none;color:var(--tg-accent);font-size:13px;cursor:pointer}.tg-checklist__marker--checked{background:color-mix(in srgb,var(--tg-accent) 12%,transparent)}.tg-checklist-access-modal,.tg-checklist-signers-modal{display:grid;gap:14px}.tg-checklist-access-modal__modes{margin:0;padding:0;border:0}.tg-radio-row__body{display:grid;gap:2px}.tg-radio-row__title{color:var(--tg-text);font-size:15px;font-weight:600}.tg-radio-row__hint{color:var(--tg-hint);font-size:13px}.tg-checklist-signers-modal__list{margin:0;padding:0;list-style:none;display:grid;gap:10px}.tg-checklist-signers-modal__item{display:grid;grid-template-columns:auto 1fr auto;gap:2px 12px;align-items:center;padding:10px 12px;border:1px solid var(--tg-border);border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary)}.tg-checklist-signers-modal__avatar{grid-row:1/span 2}.tg-checklist-signers-modal__name{color:var(--tg-text);font-size:15px;font-weight:600}.tg-checklist-signers-modal__login{grid-column:1;color:var(--tg-hint);font-size:13px}.tg-checklist-signers-modal__date{grid-column:2;grid-row:1/span 2;align-self:center;color:var(--tg-hint);font-size:12px;white-space:nowrap}.tg-checklist__signature,.tg-checklist__signed{color:var(--tg-accent);font-weight:600}.tg-checklist-editor__side{display:flex;align-items:center;flex:0 0 auto;min-height:40px}.tg-checklist__items,.tg-checklist-editor{gap:0}.tg-checklist__item,.tg-checklist-editor__item{position:relative;padding:14px 4px;border:0;border-bottom:1px solid var(--tg-divider);border-radius:0;background:transparent}.tg-checklist__item:last-child,.tg-checklist-editor__item:last-child{border-bottom:0}.tg-checklist__item{align-items:flex-start;gap:8px;transition:background-color .16s ease}.tg-checklist__item--article{padding-top:20px;padding-bottom:20px}.tg-checklist__item--signable:hover{border-radius:12px;background:color-mix(in srgb,var(--tg-accent) 4%,transparent)}.tg-checklist__marker-action{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;margin:-7px 0 0 -7px;padding:0;border:0;border-radius:50%;color:var(--tg-accent);background:transparent}.tg-checklist__marker-action:not(:disabled){cursor:pointer}.tg-checklist__marker-action:disabled{opacity:1}.tg-checklist__marker-action:focus-visible{outline:2px solid var(--tg-accent-muted);outline-offset:1px}.tg-checklist__marker-action .tg-checklist__marker{width:24px;height:24px;border-width:1.5px;transition:background-color .16s ease,border-color .16s ease,transform .16s ease}.tg-checklist__marker-check{width:15px;height:15px;opacity:0;transform:scale(.7);transition:opacity .14s ease,transform .18s ease}.tg-checklist__marker-action--checked .tg-checklist__marker,.tg-checklist__marker--checked{border-color:var(--tg-accent);color:#fff;background:var(--tg-accent)}.tg-checklist__marker-action--checked .tg-checklist__marker-check{opacity:1;transform:scale(1)}.tg-checklist__body{gap:6px;padding-top:1px}.tg-checklist__text,.tg-checklist__text.tg-markdown-body,.tg-checklist__text .tg-markdown-body{font-size:15px;font-weight:500;line-height:1.5}.tg-checklist__item--article .tg-checklist__text,.tg-checklist__item--article .tg-checklist__text .tg-markdown-body{font-weight:400;line-height:1.65}.tg-checklist__item--checked .tg-checklist__text{color:color-mix(in srgb,var(--tg-text) 78%,var(--tg-hint))}.tg-checklist__signers-summary{display:inline-flex;align-items:center;justify-self:start;gap:5px;min-height:30px;margin:0;padding:2px 4px 2px 0;border:0;color:var(--tg-hint);background:transparent;font:inherit;font-size:12px;cursor:pointer}.tg-checklist__signers-summary:hover{color:var(--tg-accent)}.tg-checklist__signers-summary-arrow{color:currentColor;font-size:18px;line-height:1}.tg-checklist-editor__item{padding-top:16px;padding-bottom:16px}.tg-checklist-editor__main{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:start;width:100%;gap:8px}.tg-checklist-editor__content{position:relative;display:grid;gap:7px;min-width:0}.tg-checklist-editor__content-head{display:flex;align-items:center;justify-content:space-between;min-height:22px;gap:10px}.tg-checklist-editor__content-label{color:var(--tg-hint);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.tg-checklist-editor__mode-toggle{padding:2px 0;border:0;color:var(--tg-hint);background:transparent;font:inherit;font-size:12px;cursor:pointer}.tg-checklist-editor__mode-toggle:hover{color:var(--tg-accent)}.tg-checklist-editor__mode-toggle:disabled{cursor:default;opacity:.6}.tg-checklist-editor__mode-toggle--compact{position:absolute;z-index:1;top:10px;right:10px;padding:2px 5px;border-radius:6px;background:transparent}.tg-checklist-editor__compact-input{display:block;width:100%;min-height:42px;resize:vertical;padding:10px 82px 10px 12px;border:0;border-radius:10px;outline:0;color:var(--tg-text);background:var(--tg-bg);font:inherit;font-size:15px;line-height:1.4}.tg-checklist-editor__compact-input:focus{outline:0;background:var(--tg-bg);box-shadow:none}.tg-checklist-editor__content--article{gap:9px}.tg-checklist-editor__content--article .tg-markdown-editor{overflow:hidden;border:0;border-radius:0;background:var(--tg-bg)}.tg-checklist-editor__content--article .tg-markdown-editor__surface .ProseMirror{min-height:180px}.tg-app .tg-checklist.tg-block-card--editing{border-color:var(--tg-divider);box-shadow:var(--tg-shadow-sm)}.tg-app .tg-checklist.tg-block-card--editing .tg-block-textarea,.tg-app .tg-checklist .tg-checklist-editor__compact-input,.tg-app .tg-checklist .tg-markdown-editor__source,.tg-app .tg-checklist .tg-markdown-editor__surface .ProseMirror{border:0;outline:0;color:var(--tg-text);background:var(--tg-bg);box-shadow:none;transition:none}.tg-app .tg-checklist.tg-block-card--editing .tg-block-textarea:focus,.tg-app .tg-checklist.tg-block-card--editing .tg-block-textarea:focus-visible,.tg-app .tg-checklist .tg-checklist-editor__compact-input:focus,.tg-app .tg-checklist .tg-checklist-editor__compact-input:focus-visible,.tg-app .tg-checklist .tg-markdown-editor__source:focus,.tg-app .tg-checklist .tg-markdown-editor__source:focus-visible,.tg-app .tg-checklist .tg-markdown-editor__surface .ProseMirror:focus,.tg-app .tg-checklist .tg-markdown-editor__surface .ProseMirror:focus-visible{border:0;outline:0;background:var(--tg-bg);box-shadow:none}.tg-checklist-editor__toolbar{align-self:end;padding:0 0 4px}@container tg-block-card (max-width: 520px){.tg-checklist-editor__main{grid-template-columns:auto auto minmax(0,1fr)}.tg-checklist-editor__toolbar,.tg-checklist-editor__main:has(.tg-checklist__marker) .tg-checklist-editor__toolbar{grid-column:3;justify-content:flex-start;padding:0}.tg-checklist-editor__content-head{align-items:flex-start;flex-direction:column;gap:2px}}.tg-app--mobile .tg-checklist-editor__main{display:grid;grid-template-columns:auto auto minmax(0,1fr)}.tg-app--mobile .tg-checklist-editor__toolbar,.tg-app--mobile .tg-checklist-editor__main:has(.tg-checklist__marker) .tg-checklist-editor__toolbar{grid-column:3;justify-content:flex-start;padding-left:0}.tg-app--mobile .tg-checklist-editor__content-head{align-items:flex-start;flex-direction:column;gap:2px}.tg-gallery__header{margin-bottom:12px}.tg-gallery__title{margin:0;font-size:17px;font-weight:600;line-height:1.3}.tg-gallery-admin-summary{display:grid;gap:10px}.tg-gallery-admin-summary__meta{margin:0;font-size:14px;color:var(--tg-hint)}.tg-gallery-admin-summary__thumbs{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}.tg-gallery-admin-summary__thumb-item{flex:0 0 auto;overflow:hidden;border-radius:6px;border:1px solid var(--tg-divider)}.tg-gallery-admin-summary__thumb-item--inactive{opacity:.45}.tg-gallery-admin-summary__thumb-btn{display:block;padding:0;border:0;background:transparent;cursor:zoom-in}.tg-gallery-admin-summary__thumb{display:block;width:56px;height:56px;object-fit:cover}.tg-gallery-single .tg-gallery-single__image,.tg-gallery-single__image{border-radius:var(--tg-radius-sm)}.tg-site-gallery{padding-left:var(--tg-gutter);padding-right:var(--tg-gutter)}.tg-gallery-editor__dropzone{margin-bottom:12px;padding:16px;border:1px dashed var(--tg-divider);border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary);text-align:center}.tg-gallery-editor__dropzone--active{border-color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-gallery-editor__dropzone-text{margin:0;font-size:14px;color:var(--tg-hint)}.tg-gallery-editor__file-label{color:var(--tg-accent);cursor:pointer;text-decoration:underline}.tg-gallery-editor__file-input{display:none}.tg-gallery-editor__slides{display:grid;gap:8px}.tg-gallery-editor__slide{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:12px;align-items:start;min-height:150px;padding:10px;border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary)}.tg-gallery-editor__media{display:grid;gap:6px;justify-items:center;width:120px}.tg-gallery-editor__preview{position:relative;width:fit-content}.tg-gallery-editor__drag-handle,.tg-drag-handle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:36px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--tg-hint);cursor:grab;touch-action:none}.tg-gallery-editor__drag-handle svg,.tg-drag-handle svg{width:14px;height:20px}.tg-gallery-editor__drag-handle:hover:not(:disabled),.tg-gallery-editor__drag-handle:focus-visible,.tg-drag-handle:hover:not(:disabled),.tg-drag-handle:focus-visible{color:var(--tg-text);background:color-mix(in srgb,var(--tg-hint) 12%,transparent);outline:none}.tg-gallery-editor__drag-handle:active:not(:disabled),.tg-drag-handle:active:not(:disabled){cursor:grabbing}.tg-gallery-editor__drag-handle:disabled,.tg-drag-handle:disabled{opacity:.45;cursor:not-allowed}.tg-gallery-editor__zoom-btn{position:absolute;right:6px;bottom:6px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:#0000008c;color:#fff;cursor:zoom-in}.tg-gallery-editor__zoom-btn svg{width:16px;height:16px}.tg-gallery-editor__zoom-btn:hover:not(:disabled){background:#000000b8}.tg-gallery-editor__zoom-btn:disabled{opacity:.5;cursor:not-allowed}.tg-gallery-editor__thumb{display:block;width:120px;height:120px;object-fit:cover;border-radius:var(--tg-radius-sm);background:var(--tg-bg)}.tg-gallery-editor__meta{display:grid;gap:8px;min-width:0}.tg-gallery-editor__filename{font-size:14px;font-weight:600;word-break:break-word}.tg-gallery-editor__stats{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:13px;color:var(--tg-hint)}.tg-gallery-editor__alt{display:grid;gap:4px}.tg-gallery-editor__active{display:flex;align-items:center;gap:8px;font-size:14px}.tg-block-webapp{overflow:hidden;border-radius:var(--tg-radius-sm);border:.5px solid var(--tg-divider);background:#fff}.tg-block-webapp__frame{display:block;width:100%;min-height:200px;border:0;background:#fff}.tg-block-type-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.tg-block-type-list__item{display:flex;align-items:flex-start;gap:12px;width:100%;padding:12px;border:0;border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary);color:inherit;text-align:left;cursor:pointer}.tg-block-type-list__item:hover:not(:disabled){background:var(--tg-accent-muted)}.tg-block-type-list__item:disabled{opacity:.6;cursor:default}.tg-block-type-list__icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border-radius:10px;background:var(--tg-bg);color:var(--tg-accent)}.tg-block-type-list__icon svg{width:22px;height:22px}.tg-block-type-list__body{display:grid;gap:4px;min-width:0}.tg-block-type-list__title{font-size:16px;font-weight:600;color:var(--tg-text)}.tg-block-type-list__desc{font-size:13px;line-height:1.35;color:var(--tg-hint)}.tg-block-actions{display:flex;gap:8px}.tg-block-actions--compact{justify-content:flex-end;gap:6px;min-height:0;margin-top:-4px}.tg-block-live-preview-btn{color:var(--tg-hint)}.tg-block-live-preview-btn--active{color:var(--tg-accent);border-color:color-mix(in srgb,var(--tg-accent) 42%,var(--tg-divider));background:var(--tg-accent-muted)}.tg-block-live-preview-btn--active:hover:not(:disabled){color:var(--tg-accent);border-color:color-mix(in srgb,var(--tg-accent) 55%,var(--tg-border));background:color-mix(in srgb,var(--tg-accent-muted) 78%,var(--tg-bg))}.tg-block-card--live-preview{background:transparent;box-shadow:none}.tg-block-card--live-preview .tg-site-text,.tg-block-card--live-preview .tg-site-markdown{margin:0;padding:4px 2px 8px}.tg-block-actions--compact .tg-btn{min-height:var(--tg-control-height);padding:0 var(--tg-control-padding-x);font-size:14px;font-weight:600}.tg-block-actions--compact .tg-btn--icon{width:var(--tg-control-height);min-width:var(--tg-control-height);min-height:var(--tg-control-height);padding:0;border-radius:var(--tg-radius-sm)}.tg-block-actions--edit{justify-content:flex-end}.tg-btn--done .tg-btn__icon--check{width:18px;height:18px;object-fit:contain}.tg-error--inline{padding:0}.tg-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#00000059}.tg-sheet{position:fixed;left:0;right:0;bottom:0;z-index:50;width:100%;padding:16px 16px calc(16px + var(--tg-safe-bottom));border-radius:16px 16px 0 0;background:var(--tg-bg)}.tg-sheet__title{margin:0 0 12px;font-size:17px;font-weight:600}.tg-sheet__actions{display:grid;gap:8px;margin-top:12px}.tg-auth{display:flex;flex-direction:column;min-height:100dvh;padding:24px 16px;background:var(--tg-bg-page)}.tg-auth__card{margin-top:24px;padding:20px 16px;border-radius:var(--tg-radius);background:var(--tg-bg);box-shadow:var(--tg-shadow)}.tg-auth__title{margin:0 0 4px;font-size:28px;font-weight:700}.tg-auth__sub{margin:0 0 20px;color:var(--tg-hint);font-size:15px}.tg-auth__legal-check{align-items:flex-start;margin-top:10px;color:var(--tg-hint);font-size:13px;line-height:1.4}.tg-auth__legal-check input{margin-top:2px}.tg-legal-document{display:block;width:100%;min-height:min(68dvh,620px);border:0;border-radius:8px;background:var(--tg-bg)}.tg-field{display:grid;gap:6px;margin-bottom:14px;min-width:0}.tg-field__label{font-size:14px;color:var(--tg-hint)}.tg-field__hint{margin:4px 0 0;font-size:13px;line-height:1.35;color:var(--tg-hint)}.tg-field__input-row{display:flex;align-items:stretch;gap:8px;min-width:0}.tg-field__input-row .tg-input{flex:1;min-width:0}.tg-field__clear{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:38px;min-height:38px;padding:0;border:0;border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary);color:var(--tg-hint);font-size:22px;line-height:1;cursor:pointer}.tg-field__clear:active{opacity:.85}.tg-switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;cursor:pointer}.tg-switch-row__body{display:grid;gap:3px;min-width:0}.tg-switch-row__title{color:var(--tg-text);font-size:15px;font-weight:600}.tg-switch-row__hint{color:var(--tg-hint);font-size:13px;line-height:1.35}.tg-switch-row__input{flex:0 0 auto;width:44px;height:26px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:999px;background:var(--tg-border);cursor:pointer;transition:background .12s ease}.tg-switch-row__input:before{content:"";display:block;width:22px;height:22px;margin:2px;border-radius:50%;background:var(--tg-bg);box-shadow:0 1px 3px #00000038;transition:transform .12s ease}.tg-switch-row__input:checked{background:var(--tg-accent)}.tg-switch-row__input:checked:before{transform:translate(18px)}.tg-block-settings{display:grid;gap:12px}.tg-user-picker{position:relative;display:grid;gap:8px}.tg-user-picker__chips{display:flex;flex-wrap:wrap;gap:6px}.tg-chip{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 10px;border:1px solid var(--tg-border);border-radius:999px;background:var(--tg-bg-secondary);color:var(--tg-text);font-size:13px;font-weight:600;cursor:pointer}.tg-chip .tg-avatar--xs{margin-left:-2px}.tg-chip--active{border-color:var(--tg-accent);background:var(--tg-accent-muted);color:var(--tg-accent)}.tg-chip--readonly{cursor:default;border-style:dashed}.tg-access-inherit__title{margin:0 0 4px;font-size:15px;font-weight:600}.tg-access-inherit__chips{margin:10px 0 12px}.tg-access-inherit__override,.tg-access-inherit__reset{margin-bottom:4px}.tg-chip__login{color:var(--tg-hint);font-weight:500}.tg-user-picker__input{min-height:40px}.tg-user-picker__dropdown{position:absolute;z-index:60;top:calc(100% - 2px);left:0;right:0;max-height:220px;overflow-y:auto;border:1px solid var(--tg-border);border-radius:12px;background:var(--tg-bg);box-shadow:var(--tg-shadow)}.tg-user-picker__option{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;background:transparent;color:var(--tg-text);text-align:left;cursor:pointer}.tg-user-picker__option:active{background:var(--tg-accent-muted)}.tg-user-picker__avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:32px;height:32px;border-radius:50%;background:var(--tg-bg-secondary);color:var(--tg-hint);font-size:12px;font-weight:700}.tg-user-picker__identity{display:grid;gap:2px;min-width:0}.tg-user-picker__name{overflow:hidden;color:var(--tg-text);font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.tg-user-picker__login,.tg-user-picker__empty{color:var(--tg-hint);font-size:13px}.tg-user-picker__empty{padding:10px}.tg-async{position:relative;min-width:0;transition:min-height .36s cubic-bezier(.4,0,.2,1)}.tg-async:not(.tg-async--revealed){overflow:hidden}.tg-async--page.tg-async--loading{min-height:40dvh}.tg-async--section.tg-async--loading{min-height:120px}.tg-async--modal.tg-async--loading{min-height:180px}.tg-async--inline.tg-async--loading{min-height:48px}.tg-async--site.tg-async--page.tg-async--loading{min-height:160px}.tg-async__shell{transition:opacity .16s ease}.tg-async--loader-spinner .tg-async__shell{display:flex;align-items:center;justify-content:center;min-height:inherit}.tg-async-spinner{display:flex;align-items:center;justify-content:center;width:100%;min-height:inherit}.tg-async--loader-spinner:not(.tg-async--shell-delayed) .tg-async-spinner{opacity:0;animation:tg-spinner-fade-in .22s ease forwards}.tg-async--loader-spinner.tg-async--shell-delayed:not(.tg-async--shell-ready) .tg-async__shell,.tg-async--loader-spinner.tg-async--shell-delayed:not(.tg-async--shell-ready) .tg-async-spinner{opacity:0}.tg-async--loader-spinner.tg-async--shell-delayed.tg-async--shell-ready .tg-async__shell,.tg-async--loader-spinner.tg-async--shell-delayed.tg-async--shell-ready .tg-async-spinner{opacity:1;transition:opacity var(--tg-async-shell-fade, .4s) ease}.tg-async-spinner__ring{width:32px;height:32px;border:3px solid var(--tg-divider);border-top-color:var(--tg-accent);border-radius:50%;animation:tg-spinner-spin .72s linear infinite}.tg-async--site .tg-async-spinner__ring{border-color:#0000001a;border-top-color:#3390ec}@keyframes tg-spinner-fade-in{0%{opacity:0}to{opacity:1}}@keyframes tg-spinner-spin{to{transform:rotate(360deg)}}.tg-async--revealed .tg-async__shell{opacity:0;pointer-events:none}.tg-async__content{opacity:0;transition:opacity .18s ease}.tg-async__content--measure{position:absolute;left:0;right:0;top:0;visibility:hidden;pointer-events:none}.tg-async__content--visible{opacity:1}@keyframes tg-skeleton-pulse{0%,to{opacity:.42}50%{opacity:.78}}.tg-skeleton{display:grid;gap:10px;padding:4px 0}.tg-skeleton__bar{height:14px;border-radius:8px;background:var(--tg-bg-secondary);animation:tg-skeleton-pulse 1.15s ease-in-out infinite}.tg-skeleton__bar--toolbar{height:40px;border-radius:var(--tg-radius-sm)}.tg-skeleton__bar--panel{height:52px;border-radius:var(--tg-radius-sm)}.tg-skeleton__bar--title{width:56%;margin:0 auto;height:18px}.tg-skeleton__bar--subtitle{width:36%;margin:0 auto;height:12px}.tg-skeleton__bar--switch{height:48px;border-radius:var(--tg-radius-sm)}.tg-skeleton__bar--short{width:62%}.tg-skeleton__acts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tg-skeleton__tile{min-height:96px;border-radius:var(--tg-radius);background:var(--tg-bg-secondary);animation:tg-skeleton-pulse 1.15s ease-in-out infinite}.tg-skeleton__block{min-height:120px;border-radius:var(--tg-radius);background:var(--tg-bg-secondary);animation:tg-skeleton-pulse 1.15s ease-in-out infinite}.tg-skeleton__block--short{min-height:88px}.tg-skeleton__profile-hero{display:grid;gap:10px;justify-items:center;padding:8px 0 16px}.tg-skeleton__avatar{width:64px;height:64px;border-radius:50%;background:var(--tg-bg-secondary);animation:tg-skeleton-pulse 1.15s ease-in-out infinite}.tg-skeleton__list-row{height:52px;border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary);animation:tg-skeleton-pulse 1.15s ease-in-out infinite}.tg-skeleton--blocks{padding:12px 16px}.tg-skeleton--acts,.tg-skeleton--profile{padding:0 16px}.tg-skeleton--modal{gap:12px}.tg-view-enter-active,.tg-view-leave-active{transition:opacity .14s ease}.tg-view-enter-from,.tg-view-leave-to{opacity:0}.tg-boot-splash{min-height:40dvh;padding:16px}.tg-loading{display:flex;align-items:center;justify-content:center;min-height:40dvh;color:var(--tg-hint)}.tg-profile-field{gap:8px}.tg-profile-field__edit{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin:-6px -8px -6px 0;padding:0;border:0;border-radius:8px;background:transparent;color:var(--tg-hint);cursor:pointer}.tg-profile-field__edit:active{color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-profile-field__edit svg{width:18px;height:18px}.tg-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top,0px)) 16px max(16px,env(safe-area-inset-bottom,0px));background:#0006}.tg-modal{position:relative;z-index:50;display:flex;flex-direction:column;width:100%;max-width:340px;max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:20px 12px 16px 16px;border-radius:var(--tg-radius);background:var(--tg-bg);box-shadow:0 8px 32px #0000002e;overflow:hidden}.tg-modal--wide{max-width:min(720px,100%)}.tg-modal__close{position:absolute;top:8px;right:8px;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--tg-hint);cursor:pointer}.tg-modal__close:active{color:var(--tg-text);background:var(--tg-bg-secondary)}.tg-modal__close svg{width:20px;height:20px}.tg-modal__title{margin:0 36px 0 0;font-size:17px;font-weight:600}.tg-modal__header{flex:0 0 auto;margin-bottom:12px}.tg-modal__body{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;padding-right:4px}.tg-scroll{scrollbar-width:thin;scrollbar-color:var(--tg-scrollbar-color)}.tg-scroll::-webkit-scrollbar{width:var(--tg-scrollbar-size);height:var(--tg-scrollbar-size)}.tg-scroll::-webkit-scrollbar-track{margin:2px 0;background:var(--tg-scrollbar-track)}.tg-scroll::-webkit-scrollbar-thumb{border-radius:999px;background:var(--tg-scrollbar-thumb)}.tg-scroll::-webkit-scrollbar-thumb:hover{background:var(--tg-scrollbar-thumb-hover)}.tg-scroll::-webkit-scrollbar-thumb:active{background:var(--tg-scrollbar-thumb-active)}.tg-modal .tg-field{margin-bottom:12px}.tg-modal .tg-btn{margin-top:4px}.tg-modal-enter-active,.tg-modal-leave-active{transition:opacity .1s ease}.tg-modal-enter-active .tg-modal,.tg-modal-leave-active .tg-modal{transition:opacity .1s ease,transform .1s ease}.tg-modal-enter-from,.tg-modal-leave-to{opacity:0}.tg-modal-enter-from .tg-modal,.tg-modal-leave-to .tg-modal{opacity:0;transform:scale(.97)}.tg-link-btn{border:0;background:none;color:var(--tg-accent);cursor:pointer;font:inherit;padding:0}.tg-auth-switch{margin-top:16px;text-align:center;font-size:15px}.tg-checkbox{display:flex;align-items:center;gap:10px;margin-bottom:14px;cursor:pointer;font-size:15px;-webkit-user-select:none;user-select:none}.tg-checkbox input{width:20px;height:20px;margin:0;accent-color:var(--tg-accent);cursor:pointer}.tg-mcp-block{gap:8px}.tg-mcp-block--site{padding:12px 14px;border-radius:var(--tg-radius);background:var(--tg-bg-secondary, var(--tg-bg));color:var(--tg-hint)}.tg-mcp-block__label{margin:0;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.tg-mcp-block__body{display:grid;gap:4px}.tg-mcp-block__hint,.tg-mcp-settings__hint{margin:0;font-size:13px;color:var(--tg-hint);line-height:1.4}.tg-mcp-block__token{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px}.tg-mcp-block__token--muted{color:var(--tg-hint)}.tg-mcp-block__badge{flex-shrink:0;font-size:12px;font-weight:600;padding:4px 8px;border-radius:999px}.tg-mcp-block__badge--on{color:#0d7a45;background:#0d7a451f}.tg-mcp-block__badge--off{color:var(--tg-hint);background:#0000000f}.tg-mcp-settings{display:grid;gap:16px}.tg-mcp-settings__textarea{min-height:120px}.tg-mcp-settings__section{display:grid;gap:12px}.tg-mcp-settings__lead{margin:0;font-size:14px;line-height:1.45;color:var(--tg-text)}.tg-mcp-settings__lead code,.tg-mcp-settings__copy-hint code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.92em}.tg-mcp-settings__copy-block{display:grid;gap:8px;padding:12px;border-radius:var(--tg-radius);background:#00000008;border:1px solid rgba(0,0,0,.06)}.tg-mcp-settings__copy-title{display:block;font-size:14px;font-weight:600}.tg-mcp-settings__copy-hint{margin:4px 0 0;font-size:13px;line-height:1.4;color:var(--tg-hint)}.tg-mcp-settings__section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.tg-mcp-settings__json{margin:0;padding:12px;border-radius:var(--tg-radius);background:#0000000a;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;line-height:1.45;overflow:auto;max-height:min(28vh,220px);white-space:pre;word-break:normal}.tg-mcp-settings__copy-group{display:grid;gap:10px}.tg-mcp-settings__scope-block{display:grid;gap:10px;padding:12px;border-radius:var(--tg-radius);border:1px solid rgba(0,0,0,.08);background:#00000005}.tg-mcp-settings__scope-title{margin:0;font-size:15px;font-weight:600}.tg-mcp-settings__scope-meta{margin:0;font-size:13px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.tg-mcp-settings__scope-meta--muted{color:var(--tg-hint);font-family:inherit}.tg-mcp-settings__scope-actions{display:flex;flex-wrap:wrap;gap:8px}.tg-mcp-settings .tg-block-actions{flex-wrap:wrap}.tg-act-delete__body{display:grid;gap:8px;padding:0 2px 4px}.tg-act-delete__warning{margin:0;font-size:14px;line-height:1.45;color:var(--tg-destructive, #e53935)}.tg-act-delete__uuid{margin:0;font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;word-break:break-all}.tg-act-delete__uuid--muted{color:var(--tg-hint)}.tg-act-delete__modal-text{margin:0 0 12px;font-size:14px;line-height:1.45;color:var(--tg-text)}.tg-act-delete__modal-actions{display:grid;gap:8px;margin-top:16px}.tg-btn--xs{font-size:12px;padding:2px 8px}.tg-storage-meter__row{display:block;padding:14px 16px}.tg-storage-meter__content{display:grid;gap:10px;width:100%}.tg-storage-meter__header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.tg-storage-meter__label{font-size:15px;font-weight:600;color:var(--tg-text)}.tg-storage-meter__percent{font-size:13px;font-weight:600;color:var(--tg-hint);font-variant-numeric:tabular-nums}.tg-storage-meter__percent--full{color:#c45c26}.tg-storage-meter__track{height:10px;border-radius:999px;background:#00000014;overflow:hidden}.tg-storage-meter__fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#0d5c7a,#1a8fb8);transition:width .45s cubic-bezier(.33,1,.68,1)}.tg-storage-meter__fill--full{background:linear-gradient(90deg,#c45c26,#e07a3a)}.tg-storage-meter__meta{margin:0;font-size:13px;color:var(--tg-hint)}.tg-chat{gap:14px;min-width:0}.tg-chat__header{display:grid;gap:4px}.tg-chat__title{margin:0;color:var(--tg-text);font-size:18px;font-weight:600}.tg-chat__description{margin:0;color:var(--tg-text);font-size:15px;line-height:1.45;white-space:pre-wrap}.tg-chat__messages{display:flex;flex-direction:column;gap:10px;max-height:360px;overflow-y:auto;padding:10px;border:1px solid var(--tg-border);border-radius:var(--tg-radius-sm);background:var(--tg-bg-secondary)}.tg-chat__load-more{align-self:center;border:0;background:transparent;color:var(--tg-accent);font-size:13px;cursor:pointer}.tg-chat__status{margin:0;text-align:center;color:var(--tg-hint);font-size:14px}.tg-chat__message{display:grid;gap:4px;min-width:0;width:min(86%,680px);padding:9px 11px;border-radius:14px;background:var(--tg-bg)}.tg-chat__message--own{align-self:flex-end;background:var(--tg-accent-muted)}.tg-chat__message--own .tg-chat__message-head{flex-direction:row-reverse}.tg-chat__message--own .tg-chat__delete{margin-left:0;margin-right:auto}.tg-chat__message-head{display:flex;align-items:center;gap:8px;min-width:0}.tg-chat__author-wrap{display:inline-flex;align-items:center;gap:6px;min-width:0}.tg-chat__author{font-size:13px;font-weight:600;color:var(--tg-text)}.tg-chat__time{font-size:12px;color:var(--tg-hint)}.tg-chat__delete{margin-left:auto;border:0;background:transparent;color:var(--tg-hint);font-size:18px;line-height:1;cursor:pointer}.tg-chat__body{font-size:15px;line-height:1.45;color:var(--tg-text);word-break:break-word}.tg-chat__body p{margin:0 0 .5em}.tg-chat__body p:last-child{margin-bottom:0}.tg-chat__attachments{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:6px}.tg-chat__attachment{display:block;overflow:hidden;min-width:0;border-radius:10px;background:var(--tg-bg-secondary)}.tg-chat__attachment img{display:block;width:100%;max-height:300px;object-fit:cover}.tg-chat__composer{display:grid;gap:8px;position:relative}.tg-chat__input{min-height:72px;resize:vertical}.tg-chat__composer-tools{display:flex;align-items:center;gap:6px}.tg-chat__tool{display:grid;width:32px;height:32px;place-items:center;padding:0;border:0;border-radius:8px;color:var(--tg-hint);background:transparent;cursor:pointer}.tg-chat__tool:hover{color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-chat__tool input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.tg-chat__emoji-picker{position:absolute;z-index:2;bottom:calc(100% + 6px);left:0;display:flex;flex-wrap:wrap;width:220px;gap:4px;padding:8px;border:1px solid var(--tg-border);border-radius:12px;background:var(--tg-bg);box-shadow:var(--tg-shadow-md)}.tg-chat__emoji-picker button{width:30px;height:30px;padding:0;border:0;border-radius:7px;background:transparent;cursor:pointer}.tg-chat__emoji-picker button:hover{background:var(--tg-bg-secondary)}.tg-chat__pending-attachments{display:flex;flex-wrap:wrap;gap:8px}.tg-chat__pending-attachment{position:relative;overflow:hidden;width:68px;height:68px;border-radius:9px;background:var(--tg-bg-secondary)}.tg-chat__pending-attachment img{width:100%;height:100%;object-fit:cover}.tg-chat__pending-attachment button{position:absolute;top:3px;right:3px;width:20px;height:20px;padding:0;border:0;border-radius:50%;color:#fff;background:#0009;cursor:pointer}.tg-chat__login-hint{margin:0;font-size:14px;color:var(--tg-hint)}.tg-chat__login-link{color:var(--tg-accent);text-decoration:none}.tg-finance__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.tg-finance__title{margin:0;font-size:18px;font-weight:600}.tg-finance__description{margin:4px 0 0;font-size:14px;color:var(--tg-hint)}.tg-finance__icon-btn{min-width:40px;padding:8px 10px}.tg-finance__period,.tg-finance__kind-toggle{display:flex;gap:8px;margin-bottom:12px}.tg-finance__period-btn{flex:1;border:1px solid var(--tg-separator, rgba(0, 0, 0, .08));background:transparent;border-radius:10px;padding:8px 12px;font:inherit;color:var(--tg-hint);cursor:pointer}.tg-finance__period-btn--active{color:var(--tg-text, inherit);background:var(--tg-secondary-bg, rgba(0, 0, 0, .04));border-color:transparent;font-weight:600}.tg-finance__summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.tg-finance__stat{display:flex;flex-direction:column;gap:4px;padding:10px;border-radius:12px;background:var(--tg-secondary-bg, rgba(0, 0, 0, .04))}.tg-finance__stat-label{font-size:12px;color:var(--tg-hint)}.tg-finance__stat-value{font-size:14px;font-weight:600;word-break:break-word}.tg-finance__stat-value--income{color:#1a9f5b}.tg-finance__stat-value--expense{color:#d14343}.tg-finance__chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.tg-finance__chip{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;border:1px solid var(--tg-separator, rgba(0, 0, 0, .08));background:transparent;border-radius:12px;padding:8px 10px;font:inherit;cursor:pointer;text-align:left}.tg-finance__chip--active{background:var(--tg-secondary-bg, rgba(0, 0, 0, .06));border-color:transparent}.tg-finance__chip-bal{font-size:12px;color:var(--tg-hint)}.tg-finance__status{margin:0 0 12px;color:var(--tg-hint);font-size:14px}.tg-finance__day-title{margin:0 0 8px;font-size:13px;font-weight:600;color:var(--tg-hint);text-transform:capitalize}.tg-finance__tx-list{list-style:none;margin:0 0 16px;padding:0}.tg-finance__tx{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;max-width:100%;padding:10px 0;border-bottom:1px solid var(--tg-separator, rgba(0, 0, 0, .06));cursor:pointer}.tg-finance__tx-main{display:flex;flex:1 1 0;flex-direction:column;gap:2px;min-width:0;max-width:100%}.tg-finance__tx-cat{font-weight:500;overflow-wrap:anywhere}.tg-finance__tx-note{font-size:13px;color:var(--tg-hint);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-finance__tx-amount{flex:0 0 auto;font-weight:600;white-space:nowrap}@media (max-width: 640px){.tg-finance__feed,.tg-finance__day,.tg-finance__tx-list{min-width:0;max-width:100%}.tg-finance__tx{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px}.tg-finance__tx-note{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;word-break:break-word}}.tg-finance__more,.tg-finance__fab{width:100%;margin-top:8px}.tg-finance__fab{margin-top:12px}.tg-finance-form,.tg-finance-settings{display:flex;flex-direction:column;gap:12px}.tg-finance-form__actions{display:flex;justify-content:flex-end;gap:8px}.tg-finance-settings__h{margin:8px 0 0;font-size:14px}.tg-finance-settings__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.tg-finance-settings__row,.tg-finance-settings__add{display:flex;gap:8px;align-items:center}.tg-finance-settings__row .tg-input,.tg-finance-settings__add .tg-input{flex:1}.tg-stats__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.tg-stats__title{margin:0;font-size:18px;font-weight:600}.tg-stats__description{margin:4px 0 0;font-size:14px;color:var(--tg-hint)}.tg-stats__header-actions{display:flex;gap:4px;flex-shrink:0}.tg-stats__period{display:flex;gap:8px;margin-bottom:12px}.tg-stats__period-btn{flex:1;border:1px solid var(--tg-separator, rgba(0, 0, 0, .08));background:transparent;border-radius:10px;padding:8px 12px;font:inherit;color:var(--tg-hint);cursor:pointer}.tg-stats__period-btn--active{color:var(--tg-text, inherit);background:var(--tg-secondary-bg, rgba(0, 0, 0, .04));border-color:transparent;font-weight:600}.tg-stats__summary{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:14px}@media (min-width: 480px){.tg-stats__summary{grid-template-columns:repeat(4,1fr)}}.tg-stats__stat{display:flex;flex-direction:column;gap:4px;padding:10px;border-radius:12px;background:var(--tg-secondary-bg, rgba(0, 0, 0, .04))}.tg-stats__stat-label{font-size:12px;color:var(--tg-hint)}.tg-stats__stat-value{font-size:16px;font-weight:600;word-break:break-word}.tg-stats__stat-value--split{font-size:14px}.tg-stats__chart-wrap{height:200px;margin-bottom:14px}.tg-stats__chart{width:100%!important;height:100%!important}.tg-stats__status{margin:0 0 12px;font-size:14px;color:var(--tg-hint)}.tg-stats__referrers-title{margin:0 0 8px;font-size:14px;font-weight:600}.tg-stats__referrers-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.tg-stats__referrers-item{display:flex;justify-content:space-between;gap:12px;font-size:13px}.tg-stats__referrers-host{color:var(--tg-text, inherit);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-stats__referrers-count{color:var(--tg-hint);flex-shrink:0}.tg-qna{display:grid;gap:14px}.tg-qna__editor-question,.tg-qna__question,.tg-qna__history-row{display:grid;gap:12px;padding:18px;border:1px solid var(--tg-border, #d9d9d9);border-radius:16px;background:var(--tg-surface-raised, #fff);box-shadow:var(--tg-shadow-sm)}.tg-qna__question h3{margin:0;color:var(--tg-text, #172033);font-size:17px;line-height:1.4}.tg-qna__answer-entry{display:grid;gap:7px;padding:12px 14px;border-radius:12px;background:var(--tg-bg-secondary, #f4f6f8)}.tg-qna__answer-entry p{margin:0;color:var(--tg-text);line-height:1.45}.tg-qna__answer-entry small{color:var(--tg-hint);overflow-wrap:anywhere}.tg-qna__answer-entry .tg-btn{width:fit-content}.tg-qna__editor-option,.tg-qna__custom,.tg-qna__options{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tg-qna__editor-option .tg-field__input,.tg-qna__custom .tg-field__input{flex:1 1 180px}.tg-qna__question-input,.tg-qna .tg-field__input,.tg-qna .tg-block-textarea{border:0;outline:0;border-radius:10px;background:var(--tg-bg-secondary, #f1f3f6);box-shadow:none}.tg-qna__question-input{width:100%;min-height:42px;resize:none;field-sizing:content;overflow:hidden;padding:10px 12px;font:inherit;line-height:1.45}.tg-qna .tg-field__input{min-height:42px;padding:10px 12px;line-height:1.4}.tg-qna .tg-block-textarea{padding:12px 14px;line-height:1.45}.tg-qna__editor-option{min-height:42px;padding:2px 0}.tg-qna__editor-option .tg-btn{min-width:36px;min-height:36px;padding:0 10px}.tg-qna .tg-field__input:focus,.tg-qna .tg-block-textarea:focus,.tg-qna__question-input:focus{outline:2px solid color-mix(in srgb,var(--tg-link-color, #3390ec) 35%,transparent);outline-offset:1px}.tg-qna__options{display:grid;width:100%;gap:9px}.tg-qna__options .tg-btn{min-height:48px;padding:12px 14px;width:100%;justify-content:flex-start;text-align:left;border:1px solid var(--tg-border, #d9e0e8);border-radius:10px;background:var(--tg-bg-secondary, #edf1f5);color:var(--tg-text, #111);font-weight:600;box-shadow:0 1px 1px #1c2e460d;transition:background .15s ease,border-color .15s ease,transform .15s ease}.tg-qna__options .tg-btn:hover,.tg-qna__options .tg-btn:focus-visible{border-color:var(--tg-link-color, #2679e8);background:var(--tg-surface-soft, #e8f1fd);transform:translateY(-1px)}.tg-qna__options .tg-btn:disabled{opacity:.55;transform:none}.tg-qna__custom{padding-top:4px;border-top:1px solid var(--tg-divider, #e5eaf0)}.tg-qna__custom .tg-field__input{min-height:42px;background:var(--tg-bg, #fff);border:1px solid var(--tg-border, #d9e0e8)}.tg-qna__custom .tg-btn{min-height:42px;padding:0 14px;border:1px solid var(--tg-border, #d9e0e8);background:var(--tg-surface-raised, #fff)}.tg-qna__progress{position:relative;min-height:100px;overflow:hidden;border:1px solid var(--tg-border, #d9e0e8);border-radius:16px;background:var(--tg-bg-secondary, #e9eef5);color:var(--tg-text);text-align:left;cursor:pointer;box-shadow:var(--tg-shadow-sm)}.tg-qna__progress-fill{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#2679e8,#559cf2);opacity:1;transition:width .25s ease}.tg-qna__progress-label{position:relative;display:flex;width:fit-content;height:auto;min-height:40px;align-items:center;margin:28px 20px;padding:0 14px;border-radius:999px;background:var(--tg-surface-raised, rgba(255, 255, 255, .94));color:var(--tg-text, #172033);font-weight:700;box-shadow:0 2px 8px #1b3d6829}.tg-app{color:var(--tg-text);background:radial-gradient(circle at 15% 0%,rgba(39,135,228,.055),transparent 28rem),var(--tg-bg-page)}.tg-app a,.tg-app button{-webkit-tap-highlight-color:transparent}.tg-app button:focus-visible,.tg-app a:focus-visible,.tg-app input:focus-visible,.tg-app textarea:focus-visible,.tg-app select:focus-visible{outline:3px solid var(--tg-focus-ring);outline-offset:2px}.tg-header{min-height:64px;padding:calc(10px + var(--tg-safe-top)) max(16px,var(--tg-safe-right)) 10px max(16px,var(--tg-safe-left));border-bottom:1px solid var(--tg-divider);color:var(--tg-text);background:color-mix(in srgb,var(--tg-bg) 92%,transparent);box-shadow:0 4px 24px #2352800f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.tg-header--light{background:color-mix(in srgb,var(--tg-bg) 94%,transparent)}.tg-header__title{font-size:18px;font-weight:720}.tg-header__back,.tg-header__action,.tg-header-title-edit__save,.tg-header-share__copy{min-width:var(--tg-control-height);min-height:var(--tg-control-height);border-radius:13px}.tg-header__action--accent{color:var(--tg-on-accent);background:var(--tg-accent);box-shadow:0 8px 20px #2787e43d;font-size:24px}.tg-header__back:hover,.tg-header__action:not(.tg-header__action--accent):hover{background:var(--tg-bg-secondary)}.tg-header-title-edit__input,.tg-header-share__input{color:var(--tg-text);background:var(--tg-bg-secondary);border:1px solid var(--tg-divider)}.tg-header-title-edit__save,.tg-header-share__copy{color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-main{width:100%;max-width:var(--tg-content-max);margin-inline:auto}.tg-main--no-tab{max-width:var(--tg-reading-max)}.tg-btn{min-height:var(--tg-control-height);padding:0 var(--tg-control-padding-x);border-radius:var(--tg-radius-sm);background:linear-gradient(135deg,var(--tg-accent),color-mix(in srgb,var(--tg-accent) 82%,#075aa5));box-shadow:0 7px 18px #2787e42e;font-size:14px;transition:background .15s ease,border-color .15s ease,opacity .15s ease}.tg-btn--ghost{border:1px solid var(--tg-divider);color:var(--tg-text-secondary);background:var(--tg-bg-secondary);box-shadow:none}.tg-btn--danger{border:1px solid transparent;color:var(--tg-danger);background:var(--tg-danger-muted);box-shadow:none}.tg-btn--done{border:0;color:var(--tg-accent);background:var(--tg-accent-muted);box-shadow:none}.tg-btn--done:hover:not(:disabled){opacity:.9}.tg-btn--surface{color:var(--tg-text);background:var(--tg-bg);box-shadow:none}.tg-input,.tg-block-textarea{border:1px solid var(--tg-divider);color:var(--tg-text);background:var(--tg-bg-secondary);transition:border-color .15s ease,box-shadow .15s ease}.tg-input:focus,.tg-block-textarea:focus{border-color:color-mix(in srgb,var(--tg-accent) 55%,transparent);outline:0;box-shadow:0 0 0 3px var(--tg-accent-muted)}.tg-acts-toolbar{position:sticky;top:var(--tg-acts-toolbar-top, 56px);z-index:calc(var(--tg-z-header, 20) - 1);display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px var(--tg-gutter) 8px;padding:10px;border:1px solid var(--tg-divider);border-radius:var(--tg-radius);background:color-mix(in srgb,var(--tg-bg) 94%,transparent);box-shadow:var(--tg-shadow-sm);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.tg-acts-toolbar__btn{min-width:var(--tg-control-height);min-height:var(--tg-control-height);border-radius:12px}.tg-acts-toolbar__btn--active{color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-acts-toolbar__favorite{color:var(--tg-hint)}.tg-acts-toolbar__favorite--active{color:#d89e12;background:color-mix(in srgb,#e6af27 16%,var(--tg-bg))}.tg-acts-toolbar__favorite--active svg{fill:currentColor}.tg-acts-toolbar__presets{flex:1 1 auto;min-width:0;max-width:min(280px,100%);margin-left:0}.tg-acts-toolbar__presets-trigger{min-height:40px;border-radius:12px;box-shadow:0 1px #2352800a}.tg-acts-toolbar__presets.has-selected .tg-acts-toolbar__presets-value{margin-right:30px}.tg-acts-toolbar__presets-reset{position:absolute;z-index:1;top:50%;right:32px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;border-radius:7px;color:var(--tg-hint);background:transparent;cursor:pointer;transform:translateY(-50%)}.tg-acts-toolbar__presets-reset:hover{color:var(--tg-text);background:var(--tg-bg-secondary)}.tg-acts-toolbar__presets-reset svg{width:16px;height:16px}.tg-acts-toolbar__presets-menu{min-width:min(280px,100vw - 32px);border-radius:14px}.tg-acts-toolbar__spacer{flex:1 1 auto;min-width:0}.tg-acts-toolbar__right{display:inline-flex;align-items:center;gap:4px;margin-left:auto;flex:0 0 auto}.tg-filter-preset-wrap{display:inline-flex;overflow:hidden;flex:0 0 auto;max-width:min(180px,100vw - 48px);height:27px;border:1px solid var(--tg-divider);border-radius:999px;background:var(--tg-bg)}.tg-filter-preset-wrap--menu{display:flex;width:100%;max-width:none;height:36px;border-radius:12px}.tg-filter-preset-wrap .tg-filter-preset{min-width:0;min-height:25px;padding:0 7px;border:0;border-radius:0;font-size:12px;line-height:1}.tg-filter-preset-wrap--menu .tg-filter-preset{flex:1 1 auto;min-height:34px;padding:0 12px;justify-content:flex-start;font-size:14px}.tg-filter-preset-wrap .tg-filter-preset__dot{width:7px;height:7px}.tg-filter-preset-wrap--menu .tg-filter-preset__dot{width:8px;height:8px}.tg-filter-preset__delete{flex:0 0 26px;width:26px;min-height:25px;padding:0;border:0;border-left:1px solid var(--tg-divider);color:var(--tg-hint);background:transparent;font-size:15px;line-height:1;cursor:pointer}.tg-filter-preset-wrap--menu .tg-filter-preset__delete{flex:0 0 36px;width:36px;min-height:34px;font-size:18px}.tg-filter-preset__delete:hover{color:var(--tg-danger);background:var(--tg-danger-muted)}.tg-acts-toolbar__more{position:relative}.tg-acts-toolbar__more-btn{display:grid;width:var(--tg-control-height);height:var(--tg-control-height);place-items:center;padding:0;border:0;border-radius:12px;color:var(--tg-hint);background:transparent;font:inherit;line-height:1;cursor:pointer}.tg-acts-toolbar__more-dots{display:grid;gap:3px;place-items:center}.tg-acts-toolbar__more-dots>span{display:block;width:4px;height:4px;border-radius:50%;background:currentColor}.tg-acts-toolbar__more.is-open>.tg-acts-toolbar__more-btn{color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-acts-toolbar__menu{position:absolute;z-index:12;top:calc(100% + 7px);right:0;display:grid;width:210px;padding:7px;border:1px solid var(--tg-divider);border-radius:13px;background:var(--tg-bg);box-shadow:var(--tg-shadow-md)}.tg-acts-toolbar__menu button{min-height:40px;padding:0 10px;border:0;border-radius:9px;color:var(--tg-text);background:transparent;text-align:left;cursor:pointer}.tg-acts-toolbar__menu button:hover{background:var(--tg-bg-secondary)}.tg-acts-grid{gap:14px;padding:8px var(--tg-gutter) 22px}.tg-state-card{display:grid;max-width:520px;justify-items:center;gap:10px;margin:clamp(40px,10vh,96px) auto;padding:32px 24px;border:1px solid var(--tg-divider);border-radius:var(--tg-radius-lg);background:var(--tg-bg);box-shadow:var(--tg-shadow-sm);color:var(--tg-text);text-align:center}.tg-state-card__icon{display:grid;width:48px;height:48px;place-items:center;border-radius:15px;color:var(--tg-accent);background:var(--tg-accent-muted);font-size:23px;font-weight:750}.tg-state-card h2,.tg-state-card p{margin:0}.tg-state-card h2{font-size:19px}.tg-state-card p{max-width:400px;color:var(--tg-hint);line-height:1.5}.tg-state-card--error .tg-state-card__icon{color:var(--tg-danger);background:var(--tg-danger-muted)}.tg-tile{min-height:118px;padding:18px;border:1px solid var(--tg-divider);border-radius:var(--tg-radius-lg);background:var(--tg-surface-raised);box-shadow:var(--tg-shadow-sm);text-align:left;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.tg-tile:hover{border-color:color-mix(in srgb,var(--tg-accent) 26%,var(--tg-divider));box-shadow:var(--tg-shadow-md);transform:translateY(-1px)}.tg-tile--favorite{border:2px solid color-mix(in srgb,#e6af27 74%,var(--tg-divider));box-shadow:0 0 0 1px color-mix(in srgb,#e6af27 18%,transparent),var(--tg-shadow-sm)}.tg-tile--favorite:hover{border-color:#e6af27;box-shadow:0 0 0 3px color-mix(in srgb,#e6af27 18%,transparent),var(--tg-shadow-md)}.tg-tile__title{color:var(--tg-text);font-size:16px;font-weight:700;line-height:1.3}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile{min-height:200px;padding:18px}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__meta-corner{top:16px;right:18px;left:18px;justify-content:flex-start;gap:8px;max-width:none}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__meta-corner .tg-tile-owner-chip{margin-right:0;margin-left:auto}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__meta-chip--date{gap:5px;padding:4px 8px;color:var(--tg-text-secondary);background:var(--tg-bg-secondary);font-size:11px;font-weight:650}.tg-tile__meta-icon{width:14px;height:14px;flex:0 0 auto;color:var(--tg-accent)}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__content--corner{padding-top:30px}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__row{align-items:center;gap:16px}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__preview{flex:0 0 108px;width:108px;min-height:108px;border-radius:16px}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__content{justify-content:center;min-height:108px}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__main{gap:10px}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__title{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:clamp(18px,1.4vw,22px);font-weight:750;line-height:1.2;text-overflow:clip}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__progress{gap:6px;margin-top:2px}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__progress-track{height:12px;border:1px solid color-mix(in srgb,var(--tg-accent) 18%,var(--tg-divider));background:color-mix(in srgb,var(--tg-accent) 10%,var(--tg-bg-secondary));box-shadow:inset 0 1px 2px #23528014}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__progress-bar{background:linear-gradient(90deg,var(--tg-accent),#57b7f7);box-shadow:0 1px 3px #2787e44d}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__progress-label{color:var(--tg-text-secondary);font-size:12px;font-weight:650}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tile__tags{gap:6px;margin-top:16px}.tg-acts-grid:not(.tg-acts-grid--list) .tg-tag-chip--tile{padding:4px 9px;font-size:12px;font-weight:650}.tg-tile__preview{width:72px;height:72px;border-radius:14px}.tg-tile__meta-corner{top:14px;right:14px;left:auto}.tg-tile__meta-chip{border:0;color:var(--tg-hint);background:var(--tg-bg-secondary)}.tg-tile__tags{justify-content:flex-start;margin-top:12px}.tg-tag-chip--tile{border:0;color:var(--tg-text-secondary);background:var(--tg-bg-secondary)}.tg-tabbar,.tg-chrome-dock{z-index:var(--tg-z-nav);border-top:1px solid var(--tg-divider);background:color-mix(in srgb,var(--tg-bg) 93%,transparent);box-shadow:0 -8px 28px #2352800f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.tg-chrome-dock .tg-tabbar,.tg-chrome-dock .tg-header{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:transparent;border:0}.tg-tabbar__item{min-height:56px}.tg-act-panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:12px var(--tg-gutter) 18px;padding:10px;border:1px solid var(--tg-divider);border-radius:var(--tg-radius);background:var(--tg-bg);box-shadow:var(--tg-shadow-sm)}.tg-act-panel__summary{display:grid;min-width:0;gap:3px}.tg-act-panel__eyebrow{color:var(--tg-hint);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.tg-act-panel__summary-text{color:var(--tg-text-secondary);font-size:13px}.tg-act-panel__actions{display:flex;align-items:center;gap:8px}.tg-act-panel__commit{min-width:0;white-space:nowrap}.tg-act-panel__add,.tg-act-panel__preview{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:var(--tg-control-height);min-width:var(--tg-control-height);min-height:var(--tg-control-height);padding-inline:0;text-decoration:none;white-space:nowrap}.tg-act-panel__add{font-size:22px;line-height:1}.tg-act-panel__preview .tg-act-panel__icon{width:17px;height:17px}.tg-act-panel__more{position:relative}.tg-act-panel__more-btn{display:grid;width:var(--tg-control-height);height:var(--tg-control-height);place-items:center;padding:0;border:0;border-radius:12px;color:var(--tg-hint);background:transparent;font:inherit;line-height:1;cursor:pointer}.tg-act-panel__more-dots{display:grid;gap:3px;place-items:center}.tg-act-panel__more-dots>span{display:block;width:4px;height:4px;border-radius:50%;background:currentColor}.tg-act-panel__more.is-open>.tg-act-panel__more-btn{color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-act-panel__menu{position:absolute;z-index:10;right:0;bottom:calc(100% + 8px);top:auto;display:grid;width:min(280px,100vw - 44px);padding:7px;border:1px solid var(--tg-divider);border-radius:14px;background:var(--tg-bg);box-shadow:var(--tg-shadow-md)}.tg-act-panel__menu--below{top:calc(100% + 8px);bottom:auto}.tg-act-panel__menu button{display:flex;min-height:var(--tg-control-height);align-items:center;justify-content:space-between;gap:12px;padding:0 var(--tg-control-padding-x);border:0;border-radius:9px;color:var(--tg-text);background:transparent;text-align:left;cursor:pointer}.tg-act-panel__menu button:hover{background:var(--tg-bg-secondary)}.tg-act-panel__menu-hint{color:var(--tg-hint);font-size:12px}.tg-act-panel__reorder-note{display:flex;grid-column:1/-1;align-items:center;gap:8px;padding:9px 10px;border-radius:11px;color:var(--tg-accent);background:var(--tg-accent-muted);font-size:12px;line-height:1.4}.tg-act-panel__owner{justify-self:start}.tg-act-panel__stats{gap:6px}.tg-act-panel__stat{min-height:40px;padding-inline:10px;border-radius:11px;color:var(--tg-text-secondary);background:var(--tg-bg-secondary)}.tg-act-panel__stat--button:hover,.tg-act-panel__stat--toggle-on{color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-act-panel__label{display:none;margin-left:6px;font-size:12px;font-weight:650}.tg-act-panel__primary{color:var(--tg-on-accent);background:var(--tg-accent)}.tg-blocks{padding-inline:var(--tg-gutter)}.tg-blocks__list{display:grid;gap:14px}.tg-block-item{gap:8px}.tg-block-card{padding:18px;border:1px solid var(--tg-divider);border-radius:var(--tg-radius-lg);background:var(--tg-bg);box-shadow:var(--tg-shadow-sm);transition:border-color .16s ease,box-shadow .16s ease}.tg-block-card--editing{border-color:color-mix(in srgb,var(--tg-accent) 45%,transparent);box-shadow:0 0 0 3px var(--tg-accent-muted),var(--tg-shadow-md)}.tg-block-card__header{min-height:34px;padding-bottom:12px;border-bottom:1px solid var(--tg-divider)}.tg-block-card__type{color:var(--tg-accent);font-size:10px;font-weight:800;letter-spacing:.08em}.tg-block-card__title,.tg-checklist__title,.tg-chat__title,.tg-gallery__title{color:var(--tg-text);font-size:18px;font-weight:720}.tg-block-card__status{color:var(--tg-warning);background:color-mix(in srgb,var(--tg-warning) 12%,transparent);border-radius:999px;padding:4px 8px}.tg-block-actions{align-items:center;gap:8px;padding-top:12px;border-top:1px solid var(--tg-divider)}.tg-block-actions .tg-btn--icon,.tg-block-card .tg-btn--icon,.tg-checklist-icon-btn{min-width:var(--tg-control-height);min-height:var(--tg-control-height)}.tg-block-actions--edit{position:sticky;bottom:calc(var(--tg-safe-bottom) + 8px);z-index:5;margin:8px -6px -6px;padding:10px;border:1px solid var(--tg-divider);border-radius:14px;background:color-mix(in srgb,var(--tg-bg) 94%,transparent);box-shadow:var(--tg-shadow-md);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.tg-block-actions__danger{margin-left:auto}.tg-block-add{min-height:62px;margin-top:14px;border:1px dashed color-mix(in srgb,var(--tg-accent) 38%,transparent);border-radius:var(--tg-radius);color:var(--tg-accent);background:color-mix(in srgb,var(--tg-accent-muted) 48%,transparent)}.tg-block-add:after{margin-left:8px;content:"Добавить блок";font-size:14px;font-weight:700}.tg-block-type-list{display:grid;gap:18px}.tg-block-type-list__group{display:grid;gap:8px}.tg-block-type-list__group>ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.tg-block-type-list__group-title{margin:0;color:var(--tg-hint);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.tg-block-type-list__item{border:1px solid var(--tg-divider);border-radius:14px;background:var(--tg-bg)}.tg-block-type-list__item:hover{border-color:color-mix(in srgb,var(--tg-accent) 35%,transparent);background:var(--tg-surface-soft)}.tg-block-type-list__item--danger{border-color:color-mix(in srgb,var(--tg-danger) 20%,transparent)}.tg-block-type-list__icon{border-radius:12px;color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-block-type-list__item--danger .tg-block-type-list__icon{color:var(--tg-danger);background:var(--tg-danger-muted)}.tg-block-type-list__badge{display:inline-flex;margin-left:6px;padding:3px 6px;border-radius:999px;color:var(--tg-hint);background:var(--tg-bg-secondary);font-size:10px;font-weight:700;vertical-align:middle}.tg-block-type-list__item--danger .tg-block-type-list__badge{color:var(--tg-danger);background:var(--tg-danger-muted)}.tg-checklist-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:12px 0 14px;color:var(--tg-hint);font-size:12px;font-weight:650}.tg-checklist-progress__track{height:7px;overflow:hidden;border-radius:999px;background:var(--tg-bg-secondary)}.tg-checklist-progress__bar{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--tg-accent),#36b5d8);transition:width .18s ease}.tg-modal-backdrop{z-index:var(--tg-z-overlay);background:#0f1e306b;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.tg-modal-backdrop--confirm{z-index:calc(var(--tg-z-modal) + 20)}.tg-modal{z-index:var(--tg-z-modal);width:min(500px,100vw - 32px);max-width:500px;border:1px solid var(--tg-divider);border-radius:var(--tg-radius-lg);background:var(--tg-bg);box-shadow:0 24px 80px #0f1e3033}.tg-modal--wide{width:min(760px,100vw - 32px);max-width:760px}.tg-modal__header{padding-right:44px}.tg-modal__title{color:var(--tg-text);font-size:20px;font-weight:720}.tg-modal__close{width:40px;height:40px;border-radius:12px;color:var(--tg-hint);background:var(--tg-bg-secondary)}.tg-modal .tg-block-settings{display:grid;gap:18px}.tg-modal .tg-block-actions,.tg-modal .tg-act-delete__modal-actions,.tg-modal .tg-states-merge-confirm__actions{position:sticky;bottom:-1px;z-index:3;margin:8px -2px -2px;padding:12px 2px 2px;border-top:1px solid var(--tg-divider);background:linear-gradient(to bottom,transparent,var(--tg-bg) 16px)}.tg-confirm-dialog__message{margin:0;color:var(--tg-text-secondary);line-height:1.55}.tg-confirm-dialog__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.tg-toast{position:fixed;z-index:calc(var(--tg-z-modal) + 10);right:max(16px,var(--tg-safe-right));bottom:max(20px,var(--tg-safe-bottom) + 12px);max-width:min(420px,100vw - 32px);padding:13px 16px;border:1px solid var(--tg-divider);border-radius:13px;color:var(--tg-text);background:var(--tg-bg);box-shadow:var(--tg-shadow-md);font-size:14px;font-weight:600}.tg-toast--error{border-color:color-mix(in srgb,var(--tg-danger) 28%,transparent);color:var(--tg-danger)}.tg-toast--success{border-color:color-mix(in srgb,var(--tg-success) 28%,transparent);color:var(--tg-success)}.tg-toast-enter-active,.tg-toast-leave-active{transition:opacity .15s ease,transform .15s ease}.tg-toast-enter-from,.tg-toast-leave-to{opacity:0;transform:translateY(8px)}.tg-auth{min-height:100dvh;padding:54px 20px;background:radial-gradient(circle at 50% 0%,rgba(39,135,228,.14),transparent 25rem),var(--tg-bg-page)}.tg-auth__brand{display:inline-flex;align-items:center;gap:10px;margin-bottom:32px;color:var(--tg-text);font-weight:750}.tg-auth__brand-mark{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:12px;color:#fff;background:linear-gradient(135deg,#32b8dd,var(--tg-accent));box-shadow:0 8px 20px #2787e43d}.tg-auth__card{border:1px solid var(--tg-divider);border-radius:var(--tg-radius-lg);box-shadow:var(--tg-shadow-md)}.tg-auth__title{color:var(--tg-text);letter-spacing:-.03em}.tg-auth__sub{color:var(--tg-hint)}.tg-profile-hero{margin:18px var(--tg-gutter);padding:28px 20px;border:1px solid var(--tg-divider);border-radius:var(--tg-radius-lg);background:radial-gradient(circle at 50% 0%,rgba(39,135,228,.12),transparent 14rem),var(--tg-bg);box-shadow:var(--tg-shadow-sm)}.tg-profile-hero__name{color:var(--tg-text);letter-spacing:-.02em}.tg-section{margin-inline:var(--tg-gutter)}.tg-list{overflow:hidden;border:1px solid var(--tg-divider);border-radius:var(--tg-radius);background:var(--tg-bg);box-shadow:var(--tg-shadow-sm)}.tg-list__row{min-height:54px;border-bottom-color:var(--tg-divider)}.tg-list__row--action:hover{background:var(--tg-bg-secondary)}.tg-chat__messages{border:1px solid var(--tg-divider);border-radius:14px;background:var(--tg-bg-secondary)}.tg-chat__composer{position:sticky;bottom:8px;padding:10px;border:1px solid var(--tg-divider);border-radius:14px;background:color-mix(in srgb,var(--tg-bg) 94%,transparent);box-shadow:var(--tg-shadow-md);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.tg-error[role=alert],.tg-error[aria-live]{border-radius:10px}@media (min-width: 900px){.tg-app--desktop .tg-header{top:30px;width:100%;max-width:none;margin-inline:0;border:0;border-bottom:1px solid var(--tg-divider);border-radius:0}.tg-app--desktop .tg-main{max-width:none;margin-inline:0;padding-top:30px;padding-bottom:calc(var(--tg-safe-bottom) + 16px)}.tg-app--desktop .tg-main--no-tab{padding-top:30px}.tg-app--desktop .tg-main--profile{max-width:720px;margin-inline:auto}.tg-app--desktop .tg-tabbar{position:fixed;top:0;right:auto;bottom:auto;left:0;width:100%;height:30px;min-height:30px;grid-template-columns:repeat(3,auto);justify-content:flex-start;gap:2px;padding:0 16px;border:0;border-bottom:1px solid var(--tg-divider);border-radius:0;box-shadow:none;transform:none;background:var(--tg-bg)}.tg-app--desktop .tg-tabbar__item{flex-direction:row;gap:6px;min-height:30px;padding:0 10px;border-radius:0;font-size:13px;font-weight:600;color:var(--tg-text-secondary)}.tg-app--desktop .tg-tabbar__item:hover{background:var(--tg-bg-secondary)}.tg-app--desktop .tg-tabbar__item--active{color:var(--tg-accent);background:var(--tg-accent-muted)}.tg-app--desktop .tg-tabbar__item--create{color:var(--tg-accent)}.tg-app--desktop .tg-tabbar__create-icon{width:18px;height:18px;border-radius:6px;font-size:16px}.tg-app--desktop .tg-tabbar__icon{width:18px;height:18px}.tg-app--desktop .tg-tabbar__label{font-size:13px;font-weight:600}.tg-app--desktop .tg-act-panel__label{display:inline}.tg-app--desktop .tg-block-card{padding:22px}}.tg-app--mobile.tg-app--no-chrome .tg-main{padding-top:var(--tg-safe-top)}.tg-app--mobile .tg-main{padding-bottom:calc(var(--tg-nav-offset) + var(--tg-nav-gap) + var(--tg-acts-toolbar-reserve, 0px) + 8px)}.tg-app--mobile .tg-acts-toolbar{position:fixed;top:auto;left:0;right:0;bottom:calc(var(--tg-nav-offset) + var(--tg-nav-gap));z-index:calc(var(--tg-z-nav) - 1);margin:0;border-radius:0;border-left:0;border-right:0;border-bottom:0}.tg-app--mobile .tg-acts-toolbar__presets-menu{position:fixed;top:auto;left:8px;right:8px;bottom:calc(var(--tg-nav-offset) + var(--tg-nav-gap) + var(--tg-acts-toolbar-reserve, 64px) + 6px);width:auto;min-width:0;max-width:none}.tg-app--mobile .tg-acts-toolbar__presets-chevron{transform:rotate(180deg)}.tg-app--mobile .tg-acts-toolbar__presets-chevron.is-open{transform:rotate(0)}@media (max-width: 899px){.tg-app--mobile{--tg-gutter: 14px}.tg-acts-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}.tg-acts-toolbar__left{grid-column:1;grid-row:1}.tg-acts-toolbar__right{grid-column:3;grid-row:1;margin-left:0}.tg-acts-toolbar__more{grid-column:auto;grid-row:auto}.tg-acts-toolbar__presets{grid-column:2;grid-row:1;max-width:none}.tg-app--desktop .tg-acts-toolbar__presets-menu{left:auto;right:calc(-1 * (102px + var(--tg-gutter)));width:min(320px,100vw - 28px);max-width:calc(100vw - 28px)}.tg-app--mobile .tg-tile,.tg-app--mobile .tg-block-card{margin-inline:0;border:1px solid var(--tg-divider);border-radius:var(--tg-radius);box-shadow:var(--tg-shadow-sm)}.tg-app--mobile .tg-tile--favorite{border:2px solid color-mix(in srgb,#e6af27 74%,var(--tg-divider));box-shadow:0 0 0 1px color-mix(in srgb,#e6af27 18%,transparent),var(--tg-shadow-sm)}.tg-app--mobile .tg-block-card__header{margin-inline:0;padding-inline:0}.tg-app--mobile .tg-block-card .tg-input,.tg-app--mobile .tg-block-card .tg-block-textarea{padding-inline:12px;border:1px solid var(--tg-divider);background:var(--tg-bg-secondary)}.tg-modal-backdrop{align-items:flex-end;padding:max(10px,var(--tg-safe-top)) max(10px,var(--tg-safe-right)) max(10px,var(--tg-safe-bottom)) max(10px,var(--tg-safe-left))}.tg-modal,.tg-modal--wide{width:100%;max-width:none;max-height:min(88dvh,760px);border-radius:22px 22px 14px 14px}.tg-block-actions--edit{display:grid;grid-template-columns:1fr 1fr}.tg-act-panel{grid-template-columns:1fr}.tg-act-panel__actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center}.tg-act-panel__commit{width:100%}.tg-act-panel__eyebrow{display:none}.tg-block-actions__danger{grid-column:1/-1;width:100%;margin-left:0}}@media (prefers-reduced-motion: reduce){.tg-app *,.tg-app *:before,.tg-app *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
