.tab-bar{background:var(--tg-theme-bottom-bar-bg-color)}.tab-link{display:flex;flex:1 1;height:100%;justify-content:center;padding:8px 0}.tab-link svg{--color:var(--tg-theme-hint-color);fill:var(--color);stroke:var(--color)}.tab-link.active svg{--color:var(--tg-theme-button-color)}.chess{height:100%;overflow-x:hidden;overflow-y:scroll;position:relative;width:100%}.chess__header{background:var(--tg-theme-secondary-bg-color);height:40px;min-width:100vw;padding-left:30px;position:fixed;top:0;will-change:transform;z-index:5}.chess__header,.chess__header-item{align-items:center;display:flex;overflow:hidden}.chess__header-item{height:100%;justify-content:center;min-width:240px;width:240px}.chess__header-item:not(:last-child){border-right:none}.chess__header.--one-item .chess__header-item{width:calc(100vw - 30px)}.chess__more-button{align-items:center;background:var(--tg-theme-button-color);display:flex;height:40px;justify-content:center;left:0;position:fixed;top:0;width:30px;z-index:5}.timeline{position:absolute;top:40px;z-index:2}.timeline.--grid{z-index:0}.chess__grid-wrapper{overflow-x:scroll;overflow-y:hidden;padding-left:30px;padding-top:40px;position:relative;width:100%}.chess__grid{height:100%}.chess__column{height:100%;max-width:240px;padding:4px 2px;position:relative;width:240px}.chess__grid.--one-item,.chess__grid.--one-item .chess__column{max-width:calc(100vw - 30px);width:calc(100vw - 30px)}.chess__grid.--one-item .chess__column{padding:4px 10px}.chess__grid.--one-item .chess__event{width:calc(100% - 20px)}.chess__current-time-line{border-bottom:1px solid var(--tg-theme-button-color);position:absolute;width:100vw;z-index:2}.chess__event{border-radius:8px;outline:1px solid #87878790;overflow:hidden;position:relative;width:calc(100% - 2px)}.chess__event:before{background:#fff;background:var(--tg-theme-secondary-bg-color);content:"";inset:0;opacity:.9;position:absolute}.chess__event-content{padding:3px 7px 7px;width:100%;z-index:1}.chess__event-type{background:linear-gradient(40deg,#0000 60%,var(--color) 100%);border-radius:6px;font-size:10px;margin:-3px -3px 3px;padding:0 4px;position:relative}.chess__event-type span{opacity:.7}.chess__event.in-time .chess__event-type:before{animation:eventTypeAnimation .7s linear infinite alternate;background:var(--tg-theme-button-color);border-radius:10px;content:"";height:8px;position:absolute;right:3px;top:50%;transform:translateY(-50%);width:8px;z-index:0}@keyframes eventTypeAnimation{0%{filter:brightness(70%)}to{filter:brightness(100%)}}.chess__event-name{-webkit-box-orient:vertical;display:-webkit-box;font-size:12px;line-height:1.05em;margin-bottom:2px;overflow:hidden}.chess__event-time{color:var(--tg-theme-hint-color);font-size:10px}.chess__rooms{align-items:left;display:flex;flex-direction:column;height:100%;justify-content:center;overflow-x:hidden;overflow-y:scroll;padding:12px 32px}.chess__rooms .close-btn{right:12px;top:12px}.chess__room{font-size:1.2em;margin-bottom:10px}.shifts{flex:1 1;flex-direction:column;height:100%;overflow:hidden}.staff-list{flex:1 1;overflow-x:hidden;overflow-y:scroll;padding:1rem 0;width:100%}.shifts-person-item{align-items:center;background:var(--tg-theme-secondary-bg-color);border-radius:3.5rem;display:flex;justify-content:flex-start;margin:0 12px;position:relative}.shifts-person-item:not(:last-child){margin-bottom:.5rem}.persin-item__accent{align-self:stretch;background:var(--color);border-radius:3.5rem 0 0 3.5rem;margin-right:-52px;-webkit-mask-image:linear-gradient(90deg,#000,#000 5%,rgba(0,0,0,.187) 40%,#0000);mask-image:linear-gradient(90deg,#000,#000 5%,rgba(0,0,0,.187) 40%,#0000);width:59.2px}.shifts-person-item__photo{aspect-ratio:1/1;border-radius:100%;margin:2px;width:3.2rem;z-index:1}.shifts-person-item__text{margin-left:.75rem}.shifts-person-item__name{font-size:1rem;font-weight:500}.shifts-person-item__status{font-size:.85rem;opacity:.4}.shifts-person-item__status .--circle{background:#fff;height:4px;width:4px}.shifts-person-item__buttons{gap:.4rem;margin-left:auto;padding-right:.45rem}.shifts-person-item__buttons *{aspect-ratio:1/1;position:relative;transform:translateY(1%);width:2.6rem}.calendar{color:var(--text_color);position:relative;width:100%;z-index:1}.calendar table{border:2px solid var(--tg-theme-hint-color);border-collapse:collapse;font-family:sans-serif;table-layout:fixed;text-align:center;width:100%}.calendar th{background:var(--tg-theme-secondary-bg-color)}.calendar th,.calendar__day{border:2px solid var(--tg-theme-hint-color);font-size:1em;padding:10px}.calendar__day{background:var(--tg-theme-section-bg-color);height:16vw;position:relative}.calendar__day.hidden,.calendar__day:not(.hidden).prev-bill{background:var(--tg-theme-bg-color);border:none;color:#0000;filter:brightness(70%);pointer-events:none}.calendar__day:not(.hidden).--selected:before{background:var(--tg-theme-hint-color);content:"";height:100%;left:0;opacity:.3;position:absolute;top:0;width:100%;z-index:1}.calendar__day.planning{background:var(--green)}.calendar__day.busy{background:var(--red)}.calendar__day.work{background:var(--light-blue)}.calendar__day.ask{background:var(--yellow)}.calendar__day-number{font-size:.83em;margin:0;pointer-events:none;position:absolute;right:.3em;top:.3em;z-index:2}.calendar__day:not(.hidden) .calendar__day-number.today:before{aspect-ratio:1/1;border:.18em solid red;border-radius:100%;content:"";left:50%;opacity:.8;position:absolute;top:50%;transform:translate(-50%,-50%);width:2em}.calendar__day-rate-difference{background:var(--tg-theme-section-bg-color);border-radius:4px;bottom:6px;color:var(--tg-theme-accent-text-color);font-size:9px;font-weight:500;height:16px;left:0;overflow:hidden;position:absolute;width:100%;z-index:2}.calendar__month{--edit-color:var(--tg-theme-text-color);background:var(--tg-theme-secondary-bg-color)}.calendar__month-title{align-self:stretch;color:var(--tg-theme-hint-color);font-size:1.2rem;font-weight:500;padding:0 1.5em;white-space:nowrap}.calendar__month.--edit .calendar__month-title{color:var(--tg-theme-text-color)}.calendar__month-edit-icon{align-self:stretch;aspect-ratio:1/1;border-radius:100%;margin-left:-1.2em;min-width:1.2em}.calendar__month-edit-icon svg{fill:var(--tg-theme-hint-color);stroke:var(--tg-theme-hint-color);height:100%;width:100%}.calendar__month.--edit .calendar__month-edit-icon svg{fill:var(--tg-theme-text-color);stroke:var(--tg-theme-text-color)}.calendar__arrow{cursor:pointer;height:3rem;padding:0 1.5rem;width:100%}.calendar__arrow-icon{aspect-ratio:1/1;background:var(--tg-theme-hint-color);content:"";height:60%;-webkit-mask:url(/static/media/arrow.e3618261eccad04fefa7.svg) no-repeat;mask:url(/static/media/arrow.e3618261eccad04fefa7.svg) no-repeat;-webkit-mask-size:contain;mask-size:contain}.calendar__arrow.--right{justify-content:end}.calendar__arrow.--right .calendar__arrow-icon{transform:rotate(180deg)}.calendar__view-button{bottom:-6vw;height:6vw;left:calc(50% - 7vw);overflow:hidden;position:absolute;width:14vw}.calendar__view-button:before{aspect-ratio:1/1;border-radius:100%;bottom:0;filter:brightness(60%)}.calendar__view-button:after,.calendar__view-button:before{background:var(--tg-theme-hint-color);content:"";left:0;position:absolute;width:100%}.calendar__view-button:after{height:100%;mask-image:url(/static/media/arrow-down.f644f047662096e6088f.svg);-webkit-mask-image:url(/static/media/arrow-down.f644f047662096e6088f.svg);mask-position:center;-webkit-mask-position:center;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-size:60%;-webkit-mask-size:60%;top:-10%;transform:scaleY(-1) translateY(-12%)}.calendar__view-button.collapsed:after{transform:none}.billing{display:flex;flex:1 1;flex-direction:column;overflow:hidden}.billing-staff-list{height:100%;overflow-y:scroll;padding:.8em 0}.billing-person-item{align-items:center;background:var(--tg-theme-secondary-bg-color);border-radius:3.5rem;display:flex;justify-content:flex-start;margin:0 12px;padding:6px;position:relative}.billing-person-item:not(:last-child){margin-bottom:.5rem}.billing-person-item__photo{aspect-ratio:1/1;border-radius:100%;width:2.6rem;z-index:1}.billing-person-item__text{margin-left:.75rem}.billing-person-item__name{font-size:1rem;font-weight:500}.billing-person-item__side{margin-left:auto;margin-right:6px}.billing-person-item__amount{color:var(--tg-theme-hint-color);font-family:Roboto Mono;font-weight:300;letter-spacing:1.5px;margin-right:10px}.billing-person-item__shifts-count{background:var(--tg-theme-button-color);border-radius:100px;font-size:1.2em;font-weight:700;height:30px;width:30px}.billing-periods,.billing-person-item__shifts-count{align-items:center;display:flex;justify-content:center}.billing-periods{position:relative;z-index:10}.billing-periods.active>.billing-periods__item{background:var(--tg-theme-button-color);color:var(--tg-theme-text-color)}.billing-periods__item{align-items:center;background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-hint-color);display:flex;gap:8px;justify-content:center;padding:12px;width:100%}.billing-periods__list{align-items:center;background:var(--tg-theme-bg-color);bottom:0;display:flex;flex-direction:column;left:0;max-height:80dvh;overflow-x:hidden;overflow-y:scroll;position:absolute;transform:translateY(-100%);transition:all .1s ease-in;width:100%;will-change:transform;z-index:-1}.billing-periods.active .billing-periods__list{transform:translateY(100%);transition:all .1s ease-out}.billing-periods__list .billing-periods__item.active{color:var(--tg-theme-accent-text-color)}.billing-periods__list-add,.billing-periods__list-edit{align-items:center;display:flex;height:100%;justify-content:center;opacity:0;padding:0 24px;position:absolute;transition:all .1s ease-out;will-change:transform,opacity}.billing-periods.active .billing-periods__list-add,.billing-periods.active .billing-periods__list-edit{opacity:1}.billing-periods__list-add{left:0;transform:translateX(-100%)}.billing-periods__list-edit{right:0;transform:translateX(100%)}.billing-periods.active .billing-periods__list-add{left:0;transform:none}.billing-periods.active .billing-periods__list-edit{right:0;transform:none}.billing-person{overflow-x:hidden;overflow-y:scroll;padding:1em 0;position:relative}.billing-person__header{align-items:center;background:var(--tg-theme-secondary-bg-color);border-radius:48px;display:flex;gap:10px;margin-bottom:12px;padding:8px 48px 8px 8px}.billing-person__photo{border-radius:100%;height:80px;min-width:80px;width:80px}.billing-person__photo img{height:100%;object-fit:cover;width:100%}.billing-person__name{font-size:.9em;line-height:1.5em}.billing-person__header-statuses{align-self:stretch;font-size:10px;line-height:1.5em;margin-left:auto;max-height:84px;overflow-y:scroll;padding:12px 0;text-align:end}.billing-person__header-statuses>*{color:var(--tg-theme-hint-color)}.billing-person__header-statuses>:first-child{color:var(--tg-theme-text-color)}.billing-person__card{--border-radius:16px;background:var(--tg-theme-secondary-bg-color);border-radius:var(--border-radius);margin-bottom:16px;padding:16px 14px 16px 24px}.billing-person__card-item{font-weight:600;line-height:2.5em}.billing-person__card-item-title{font-weight:400;opacity:.8}.billing-person__card-item-value{font-family:Roboto Mono;padding:0 14px}.billing-person__card-ruble{margin-left:.35em;margin-right:-.12em;transform:translateY(5%)}.billing-person__card-item-button{margin-right:0!important}.billing-person .calendar{padding:0 2px}.billing-person:not(:has(.billing-person__day)) .calendar{margin-bottom:1.5em}.billing-person__day{border-radius:0 0 var(--border-radius) var(--border-radius);margin:0 1.7px 1.5em;padding-right:24px;padding-top:1.2em}.billing-person__day-title{border-bottom:1px solid var(--tg-theme-hint-color);line-height:1.5em;margin-bottom:.7em;padding-bottom:.5em}.billing-person__day .billing-person__card-item-value{padding:0}.billing-person__day .list__container{background:var(--tg-theme-section-bg-color)}:root{--index:calc(1vw + 1dvh);--tg-theme-accent-text-color:#71bbe4;--tg-theme-bg-color:#232e39;--tg-theme-bottom-bar-bg-color:#161f25;--tg-theme-button-color:#60b0e1;--tg-theme-button-text-color:#fff;--tg-theme-destructive-text-color:#ee686f;--tg-theme-header-bg-color:#262e37;--tg-theme-hint-color:#7f8c97;--tg-theme-link-color:#6ab0d7;--tg-theme-secondary-bg-color:#161f25;--tg-theme-section-bg-color:#1f2831;--tg-theme-section-header-text-color:#84c9f1;--tg-theme-section-separator-color:#0e1317;--tg-theme-subtitle-text-color:#7d888e;--tg-theme-text-color:#fff;--tg-viewport-height:591px;--tg-viewport-stable-height:591px;--tg-safe-area-inset-top:0px;--tg-safe-area-inset-bottom:0px;--tg-safe-area-inset-left:0px;--tg-safe-area-inset-right:0px;--tg-content-safe-area-inset-top:0px;--tg-content-safe-area-inset-bottom:0px;--tg-content-safe-area-inset-left:0px;--tg-content-safe-area-inset-right:0px;--white:#aab7c4;--red:#8f1414;--green:#295929;--light-green:#097209;--blue:#1b246d;--light-blue:#2539cf;--yellow:#798211}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#232e39;background:var(--tg-theme-bg-color);color:#fff;color:var(--tg-theme-text-color);font-family:Montserrat;height:100dvh;margin:0;max-width:100vw;overflow:hidden;width:100vw}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}button{background:#0000;border:none;margin:0;outline:none;padding:0}#root,.app{height:100%;overflow:hidden;width:100%}.app{display:flex;flex-direction:column}.screen{background:#1f2831;background:var(--tg-theme-section-bg-color);display:flex;flex:1 1;flex-direction:column;overflow:hidden;width:100%}*{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}*,:after,:before{-webkit-tap-highlight-color:transparent;border:none;box-sizing:border-box;margin:0;padding:0}a,a:hover,a:link,a:visited{text-decoration:none}aside,footer,header,main,nav,section{display:block}h1,h2,h3,h4,h5,h6,p{font-size:inherit;font-weight:inherit}ul,ul li{list-style:none}img{vertical-align:top}img,svg{height:auto;max-width:100%}address{font-style:normal}button,input,select,textarea{background-color:initial;color:inherit;font-family:inherit;font-size:inherit}input::-ms-clear{display:none}button,input[type=submit]{background-color:initial;background:none;box-shadow:none;cursor:pointer;display:inline-block}button:active,button:focus,input:active,input:focus{outline:none}button::-moz-focus-inner{border:0;padding:0}label{cursor:pointer}legend{display:block}input[type=file]{max-width:100%}.w{width:100%}.noscroll::-webkit-scrollbar{display:none;width:0}.flex{justify-content:space-between}.flex,.flex-c{align-items:center;display:flex}.flex-c{justify-content:center}.wrapper{margin:0 auto;max-width:calc(100% - 32px);width:100%}.preloader{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.preloader__icon{animation:rotate 1s linear infinite;height:60px;width:60px}@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.a-btn{background:#60b0e1;background:var(--tg-theme-button-color);border-radius:.5em;color:#fff;color:var(--tg-theme-button-text-color);padding:.8em 1em;position:relative}.close-btn{align-items:center;background:#1f2831;background:var(--tg-theme-section-bg-color);border-radius:100px;display:flex;height:40px;justify-content:center;position:fixed;right:12px;width:40px;z-index:10}.close-btn svg{fill:#7f8c97;fill:var(--tg-theme-hint-color)}.checkbox-wrapper input[type=checkbox]{display:none}.checkbox-wrapper label{align-items:center;cursor:pointer;display:flex;font-size:1em;gap:8px;-webkit-user-select:none;user-select:none}.checkbox-wrapper .custom-checkbox{align-items:center;border:2px solid #7f8c97;border:2px solid var(--tg-theme-hint-color);border-radius:4px;display:inline-flex;font-size:1em;height:1em;justify-content:center;position:relative;transition:all .2s;width:1em}.checkbox-wrapper input[type=checkbox]:checked+label .custom-checkbox{background-color:#60b0e1;background-color:var(--tg-theme-button-color);border-color:#60b0e1;border-color:var(--tg-theme-button-color)}.price{font-family:Roboto mono;font-weight:600;width:fit-content}.price__icon{margin-left:.2em;transform:scale(.95) translateY(2%)}.modal{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000077;display:flex;height:100dvh;justify-content:center;left:0;overflow:hidden;padding:24px;position:fixed;top:0;width:100vw;z-index:100}.modal__content{background:#1f2831;background:var(--tg-theme-section-bg-color);border-radius:24px;max-height:calc(100% - 48px);overflow-y:scroll;padding:18px}.modal__content>:not(:last-child),.modal__wrapper>:not(:last-child){margin-bottom:12px}.modal__wrapper{max-width:70vw;width:70vw}.modal__title{font-weight:300;line-height:1.4em;text-align:center}.modal__inputs{gap:10px}.modal__input .modal__input{width:11ch}.modal__input{background:#161f25;background:var(--tg-theme-secondary-bg-color);border-radius:8px;padding:8px 10px;text-align:center;width:100%}.modal__input.--price{font-family:Roboto Mono}.modal__input::placeholder,.modal__label{color:#7f8c97;color:var(--tg-theme-hint-color)}.modal__label{display:block;font-size:.8em;line-height:1.8em;margin-bottom:0!important}.modal__button{background:#60b0e1;background:var(--tg-theme-button-color);border-radius:8px;padding:10px 4px;width:100%}.modal__button.--delete{background:#ee686f;background:var(--tg-theme-destructive-text-color)}.modal__errors{list-style-type:circle;padding-bottom:4px;padding-left:18px}.modal__error{color:#ee686f;color:var(--tg-theme-destructive-text-color);font-size:.8em;max-width:24ch}.list{--size:1em;max-height:calc(var(--size)*18);overflow-x:hidden;overflow-y:scroll}.list__container{background:#161f25;background:var(--tg-theme-secondary-bg-color);border-radius:.5em;overflow:hidden}.list__label{margin-bottom:.5em;margin-left:.4em;opacity:.7}.list__button{align-items:center;color:#7f8c97;color:var(--tg-theme-hint-color);display:flex;justify-content:center;padding:.8em 1em;width:100%}.list__button:active{background:#60b0e1;background:var(--tg-theme-button-color);border-top:none;color:#fff;color:var(--tg-theme-text-color)}.list__container.has-items .list__button{border-top:1px solid #7f8c97;border-top:1px solid var(--tg-theme-hint-color)}.list__item{align-items:center;background:#161f25;background:var(--tg-theme-secondary-bg-color);display:flex;height:calc(var(--size)*3.6);justify-content:space-between;padding:0 1.5em}.list__item,.list__item-title{font-size:var(--size)}.list__item-button{background-color:#1f2831;background-color:var(--tg-theme-section-bg-color);border-radius:12px;color:#71bbe4;color:var(--tg-theme-accent-text-color);font-family:Roboto Mono;margin-right:-.5em;padding:6px .9em}.list__item-button:active{background:#60b0e1;background:var(--tg-theme-button-color);color:#fff;color:var(--tg-theme-button-text-color)}.list__item-value{gap:.6em}.list__item-value-details{color:#71bbe4;color:var(--tg-theme-accent-text-color);font-size:.85em;opacity:.7}.list__item.--done{filter:brightness(60%)}.image-picker-multiple{display:flex;flex-direction:column;gap:.5em;margin:0 auto;min-width:100px;width:fit-content}.image-picker-grid{align-items:center;border:1px dashed #7f8c97;border:1px dashed var(--tg-theme-hint-color);border-radius:8px;cursor:pointer;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;min-height:100px;padding:8px}.image-picker__item{position:relative}.image-picker__preview{aspect-ratio:1/1;border-radius:4px;height:80px;object-fit:cover}.image-picker__remove{background:#0009;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:12px;height:20px;position:absolute;right:-5px;top:-5px;width:20px}.image-picker__placeholder{color:#fff;color:var(--tg-theme-text-color);font-size:.9rem;margin:0 auto;opacity:.5}
/*# sourceMappingURL=main.19fff7f5.css.map*/