:root{--workspace-touch-size:44px;--workspace-mobile-gap:12px}html{-webkit-text-size-adjust:100%;scroll-padding-top:100px}.workspace-shell,.workspace-shell>section,.workspace-content,.project-page{min-width:0;max-width:100%}.workspace-shell :where(form,fieldset,label,article,section){min-width:0}.workspace-shell :where(img,video,canvas){max-width:100%}.workspace-table-scroll,[data-slot=table-container]{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;min-width:0;max-width:100%;overflow:auto}.workspace-responsive-header .workspace-menu-toggle{display:none}.workspace-responsive-header .workspace-header-actions>a{font-size:14px}.workspace-header-actions a[aria-current=page]{color:#007d59;font-weight:700}.workspace-responsive-header :focus-visible{outline-offset:3px;outline:2px solid #087a59}.finance-mobile-week-totals,.finance-mobile-filter-toggle{display:none}@media (max-width:1024px){.workspace-shell .workspace-top.workspace-responsive-header{z-index:35;height:auto;min-height:72px;padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));flex-wrap:nowrap;gap:10px;display:flex;position:sticky;top:0}.workspace-responsive-header .workspace-brand{text-align:left;flex:1;min-width:0;max-width:calc(100% - 92px)}.workspace-responsive-header .brand-home{flex:none;width:76px;height:46px}.workspace-responsive-header .brand-home img{width:74px;height:43px}.workspace-responsive-header .workspace-brand-copy>b{font-size:12px}.workspace-responsive-header .workspace-section-title{font-size:17px;line-height:1.25}.workspace-responsive-header .workspace-section-heading{gap:4px;margin:2px 0 0}.workspace-responsive-header .workspace-section-meta{font-size:11px;line-height:1.35}.workspace-responsive-header .workspace-menu-toggle{color:#087a59;background:#f5faf8;border:1px solid #cfdfda;border-radius:9px;flex:none;justify-content:center;align-items:center;gap:5px;min-height:44px;padding:8px;font-size:12px;display:flex}.workspace-menu-toggle svg{flex:none;width:20px;height:20px}.workspace-responsive-header .workspace-menu-toggle span{display:inline}.workspace-shell .workspace-top.workspace-responsive-header .workspace-header-actions{top:100%;left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));width:auto;max-width:none;max-height:calc(100dvh - var(--workspace-header-height,100px) - 16px - env(safe-area-inset-bottom));overscroll-behavior:contain;text-align:left;white-space:normal;background:#fff;border:1px solid #ccdfd7;border-radius:0 0 12px 12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:8px;display:none;position:absolute;overflow:auto;box-shadow:0 14px 28px #1d403630}.workspace-shell .workspace-top.workspace-responsive-header[data-menu-open=true] .workspace-header-actions{display:grid}.workspace-responsive-header .workspace-header-actions>a,.workspace-responsive-header .workspace-header-actions>button{white-space:normal;text-align:left;overflow-wrap:anywhere;border-radius:7px;align-items:center;min-height:44px;padding:10px 12px;line-height:1.35;font-size:14px!important;display:flex!important}.workspace-top.workspace-responsive-header .workspace-header-actions>a{font-size:16px!important}.workspace-responsive-header .workspace-header-actions>a[aria-current=page]{background:#e2f5ec}.workspace-responsive-header .workspace-header-actions>a:hover,.workspace-responsive-header .workspace-header-actions>button:hover{background:#edf7f2}.workspace-responsive-header .workspace-header-actions>span{color:#617c76;grid-column:1/-1;padding:10px 12px;font-size:12px;display:block}}@media (max-width:760px),(max-width:1024px) and (max-height:500px){.workspace-shell.finance-shell{height:auto;min-height:100dvh;overflow:visible}.workspace-shell.finance-shell>.finance-page{padding-bottom:86px;display:block}.finance-page>:not(:last-child){margin-bottom:12px}.workspace-shell .finance-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.workspace-shell .finance-mobile-filter-toggle{grid-area:2/1;display:block}.workspace-shell .finance-filters .finance-add-project{grid-area:2/2}.workspace-shell .finance-filters[data-mobile-open=false]>label,.workspace-shell .finance-filters[data-mobile-open=false]>.finance-filter-reset{display:none}.workspace-shell .finance-filters label{width:100%;min-width:0;display:grid}.workspace-shell .finance-filters label>span{clip-path:none;white-space:normal;width:auto;height:auto;position:static;overflow:visible}.workspace-shell .finance-filters label:first-of-type,.workspace-shell .finance-filters .summary-button{grid-column:1/-1}.workspace-shell .finance-filters :is(select,.searchable-select){width:100%;max-width:100%}.workspace-shell .finance-filters button{justify-content:center;margin:0}.workspace-shell .finance-subsections{grid-area:1/1/auto/-1;gap:8px;display:flex}.workspace-shell .finance-filters>.finance-subsections button{height:auto;min-height:44px;font-size:12px}.workspace-shell .finance-filters>button{white-space:normal;height:auto;min-height:44px}.workspace-shell .finance-filters:not(:has(.finance-add-project))>.finance-mobile-filter-toggle{grid-column:1/-1}.workspace-shell .finance-subsections button{white-space:normal;flex:1}.workspace-shell .finance-table{overscroll-behavior:contain;min-height:240px;max-height:75dvh;overflow:auto}.workspace-shell .finance-table .finance-head{display:none}.workspace-shell .finance-table .finance-row:not(.finance-head){border-bottom:3px solid #d6e5df;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;min-width:0;padding:14px;display:grid}.workspace-shell .finance-table .finance-row>span,.workspace-shell .finance-table .finance-row>strong,.workspace-shell .finance-table .comments-column{text-align:left;white-space:normal;justify-content:flex-start;align-items:stretch;min-width:0;padding:0}.workspace-shell .finance-table [data-label]:before{content:attr(data-label);color:#607a80;margin-bottom:5px;font-size:11px;font-weight:400;line-height:1.4;display:block}.workspace-shell .finance-table :where(.finance-object-cell,.comments-column,.finance-planned-kr-date,.finance-remaining-amount,.finance-house-registration){grid-column:1/-1}.workspace-shell .finance-table .comments-column{display:block}.workspace-shell .finance-table .finance-open{width:100%;min-height:44px;padding:0}.workspace-shell .finance-table .finance-open>b{font-size:16px;line-height:1.45}.workspace-shell .finance-table .finance-object-meta{white-space:normal;flex-wrap:wrap;gap:5px 8px}.workspace-shell .finance-table .finance-object-client{white-space:normal;text-overflow:clip;max-width:100%;overflow:visible}.workspace-shell .finance-table :where(.stage-select,.workflow-status,.finance-house-registration :is(select,.searchable-select)){width:100%;max-width:100%;padding:8px 4px}.workspace-shell .finance-table .week-value{border-radius:8px;padding:8px}.workspace-shell .finance-week-editor{width:100%;min-width:0}.workspace-shell .finance-week-editor input{width:100%;min-width:0;padding:8px 4px}.workspace-shell .finance-week-editor button{width:44px;min-width:44px}.workspace-shell .finance-table .finance-section{min-width:0;padding:14px;display:block;position:static}.workspace-shell .finance-block-summary>div{min-width:0}.workspace-shell .finance-block-summary dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.workspace-shell .finance-block-summary dl>div{min-width:0}.workspace-shell .finance-block-summary dl>div:last-child{grid-column:1/-1}.workspace-shell .finance-mobile-week-totals{background:#fff;border:1px solid #d6e5df;border-radius:10px;padding:0 12px;display:block}.finance-mobile-week-totals summary{cursor:pointer;font-size:14px;line-height:44px;display:list-item}.finance-mobile-week-totals dl{gap:12px;margin:0 0 12px;font-size:13px;display:grid}.finance-mobile-week-totals dd{margin:4px 0 0;font-weight:600}.workspace-shell .finance-detail :where(.finance-project-fields,.detail-weeks,.finance-comment-task-fields),.workspace-shell .finance-inline-task-fields{grid-template-columns:minmax(0,1fr)}.workspace-shell .finance-detail-title{flex-wrap:wrap;gap:12px}.workspace-shell .finance-detail-balance{text-align:left;margin:0}.workspace-shell .summary-table>div{grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;padding:14px;display:grid}.workspace-shell .summary-table>div:first-child{display:none}.workspace-shell .summary-table>div>span:nth-child(2):before{content:"Следующий шаг: ";font-weight:600}.workspace-shell .summary-table>div>span:nth-child(3):before{content:"Ответственный: ";font-weight:600}.workspace-shell .summary-table>div>span:nth-child(4):before{content:"Дата контроля: ";font-weight:600}.workspace-shell .finance-week-receipts{overflow-x:auto}.workspace-shell :where(input:not([type=checkbox]):not([type=radio]),:is(select,.searchable-select),textarea),.auth-shell :where(input,:is(select,.searchable-select),textarea),:where(.modal-backdrop,dialog) :where(input:not([type=checkbox]):not([type=radio]),:is(select,.searchable-select),textarea){min-width:0;max-width:100%;font-size:16px!important}.workspace-shell :where(input:not([type=checkbox]):not([type=radio]),:is(select,.searchable-select)),.auth-shell input,:where(.modal-backdrop,dialog) :where(input:not([type=checkbox]):not([type=radio]),:is(select,.searchable-select)){min-height:44px}.workspace-shell :where(button,summary),.auth-shell button,:where(.modal-backdrop,dialog) button{touch-action:manipulation;min-height:44px}.workspace-shell :where(input[type=checkbox],input[type=radio]),dialog :where(input[type=checkbox],input[type=radio]){accent-color:#01a573;flex:none;width:20px;height:20px;min-height:20px}.workspace-shell :where(p,h1,h2,h3,button,summary){overflow-wrap:anywhere}.workspace-shell .primary-action,.modal-backdrop .primary-action,.auth-shell .primary-action{gap:7px;font-size:14px;line-height:1.35}.workspace-shell .primary-action svg{flex:none;width:18px;height:18px}.workspace-shell>.workspace-content,.workspace-shell>.project-page,.workspace-shell>.finance-page,.workspace-shell>.production-calendar-page,.workspace-shell>.deal-accounting-page,.workspace-shell>.journey-content,.workspace-shell>.customer-balances-page,.workspace-shell>.supply-page,.workspace-shell>.suggestions-content{width:100%;padding:14px max(12px,env(safe-area-inset-right)) calc(86px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));margin:0}.workspace-shell :where(.workspace-page-actions,.form-actions,.project-actionbar,.project-toolbar,.payment-actions){flex-wrap:wrap;gap:8px}.workspace-shell :where(.workspace-page-actions,.form-actions)>button{flex:1;justify-content:center}.workspace-shell .project-actionbar{overflow:visible}.workspace-shell .project-toolbar{flex-direction:column;align-items:stretch}.workspace-shell .project-toolbar .project-actionbar{flex:auto;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:0;display:grid}.workspace-shell .project-toolbar .notification-button{flex:auto;width:100%;margin:0}.workspace-shell .project-actionbar button{flex:130px;padding:9px;font-size:12px}.workspace-shell .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.workspace-shell .stats-grid article:last-child{display:flex}.workspace-shell .payment-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-shell .payment-summary article{min-width:0}.workspace-shell .payment-summary article:last-child{display:block}.workspace-shell .payment-summary b{overflow-wrap:anywhere}.workspace-shell .project-row:not(.project-head){grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:14px;position:relative}.workspace-shell .project-row:not(.project-head)>span{overflow-wrap:anywhere;min-width:0;display:block}.workspace-shell .project-row:not(.project-head)>span:first-child{grid-column:1/-1;padding-right:22px}.workspace-shell .project-row:not(.project-head)>span:nth-child(4){grid-column:1/-1}.workspace-shell .project-row:not(.project-head)>svg{width:18px;position:absolute;top:14px;right:10px}.workspace-shell .project-row>span:nth-child(2):before{content:"Клиент";color:#71888b;margin-bottom:4px;font-size:11px;display:block}.workspace-shell .project-row>span:nth-child(3):before{content:"Статус";color:#71888b;margin-bottom:4px;font-size:11px;display:block}.workspace-shell .project-row>span:nth-child(4):before{content:"Готовность";color:#71888b;margin-bottom:4px;font-size:11px;display:block}.workspace-shell :where(.project-hero,.project-panel){min-width:0;padding:16px}.workspace-shell .project-hero{grid-template-columns:minmax(0,1fr) 72px;align-items:flex-start;gap:12px;display:grid}.workspace-shell .progress-ring{flex-shrink:0;width:72px;height:72px}.workspace-shell .project-hero>div{min-width:0}.workspace-shell .project-hero h1{font-size:23px}.workspace-shell :where(.project-panel>header,.bitrix-card>header){flex-wrap:wrap;gap:8px}.workspace-shell :where(.chat-send,.suggestion-dialog footer){flex-wrap:wrap}.workspace-shell .chat-send input{flex:180px;min-width:0}.workspace-shell .chat-send button{flex:90px}.workspace-shell .document-line{overflow-wrap:anywhere}.workspace-shell .document-line>span{min-width:0}.workspace-shell :where(.finance-project-fields,.bitrix-payment-fields,.form-grid,.employee-permission-row){grid-template-columns:minmax(0,1fr)}.modal-backdrop{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));overscroll-behavior:contain;overflow:auto}.modal-backdrop>:where(form,section,div){max-width:100%;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:14px;min-width:0;overflow:auto}.modal-backdrop :where(.project-form,.payment-form,.payment-detail,.finance-detail,.summary-modal,.access-editor,.creditor-modal,.production-change-modal){width:100%;padding:16px}.modal-backdrop :where(header,h2){min-width:0}.modal-backdrop :where(header>button,.modal-close){flex:none;min-width:44px;min-height:44px}dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain}.auth-shell{min-height:100dvh;padding:16px}.auth-card{width:min(440px,100%);min-width:0;padding:24px 20px}.auth-brand{margin-bottom:22px}.auth-card .otp [data-slot=input-otp-slot]{width:38px;height:50px}.workspace-shell .production-calendar-scroll{--calendar-name-width:140px;--calendar-kr-width:108px;--calendar-day-width:46px;min-height:240px;max-height:66dvh}.workspace-shell .production-calendar-grid td.production-calendar-kr-date{position:static}.workspace-shell .production-calendar-months th.production-calendar-kr-corner{z-index:4;left:auto}.workspace-shell .journey-chart .journey-start-date,.workspace-shell .journey-chart .journey-duration{position:static}.workspace-shell .journey-chart{--journey-stage-width:140px}.workspace-shell :where(.production-calendar-toolbar,.journey-toolbar,.supply-toolbar,.deal-filters,.employee-access-filters){gap:10px}.workspace-shell .production-calendar-month-select{flex:100%;min-width:0}.workspace-shell .production-calendar-month-select :is(select,.searchable-select){width:100%;min-width:0}.workspace-shell .journey-search{flex:100%;min-width:0}.workspace-shell .supply-project-toggle small{font-size:12px;display:block}.workspace-shell .supply-project-toggle{flex-wrap:wrap;gap:8px}.workspace-shell .supply-project-toggle strong{flex-basis:calc(100% - 36px);min-width:0}.workspace-shell .supply-archive-label{margin:5px 0 0;display:block}.supply-viewer .supply-viewer-tabs{flex-wrap:wrap;gap:6px}.supply-viewer .supply-viewer-tabs button{flex:1;min-width:0}.supply-viewer .supply-sheet-toolbar>div{flex-wrap:wrap}.supply-viewer .supply-viewer-header h2{font-size:17px}.supply-viewer .supply-viewer-header>button{width:44px;height:44px}.suggestion-dialog{max-height:calc(100dvh - 90px);bottom:max(66px,calc(env(safe-area-inset-bottom) + 56px))}.suggestion-dialog textarea{font-size:16px}.notification-button{white-space:normal;max-width:calc(100vw - 24px);bottom:74px}.workspace-shell .project-toolbar .notification-button{justify-content:center}.workspace-shell .paid-filter-search-buttons,.payment-request-filters .paid-filter-search-buttons{height:44px}.workspace-shell .paid-filter-search-buttons button{width:36px;min-height:40px}.workspace-shell .paid-filter-search-control input{padding-right:84px}.paid-filter-search-option{min-height:44px;font-size:15px}.workspace-shell .paid-row,.workspace-shell .paid-date,.workspace-shell .paid-amount{font-size:14px}.workspace-shell .paid-cell:before{font-size:12px}.workspace-shell .paid-filter-dates{gap:8px}.workspace-shell .creditor-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;min-width:0;padding:14px}.workspace-shell .creditor-entry,.workspace-shell .creditor-table-top{width:100%;min-width:0}.workspace-shell .bitrix-payment-fields{grid-template-columns:minmax(0,1fr)}.workspace-shell .creditor-total>b{grid-column:1/-1}.workspace-shell .creditor-total>span:empty{display:none}.workspace-shell .creditor-row>strong{white-space:normal;overflow-wrap:anywhere}.workspace-shell .creditor-head{display:none}.workspace-shell .creditor-row>div:first-child{grid-column:1/-1}.workspace-shell .creditor-row>strong{text-align:left}.workspace-shell .creditor-row>strong:before,.workspace-shell .creditor-inn:before{color:#607a80;margin-bottom:4px;font-size:11px;font-weight:400;display:block}.workspace-shell .creditor-row>strong:nth-child(3):before{content:"Оплачено за год"}.workspace-shell .creditor-row>strong:nth-child(4):before{content:"Сейчас в работе"}.workspace-shell .creditor-row>strong:nth-child(5):before{content:"Задолженность"}.workspace-shell .creditor-inn:before{content:"ИНН"}.workspace-shell .creditor-table{max-height:none}.workspace-shell :where(.customer-table-scroll,.local-payment-scroll,.bitrix-open-scroll){border-radius:10px;max-height:none}.workspace-shell table.mobile-records{table-layout:auto;width:100%;min-width:0;display:block}.workspace-shell .mobile-records thead{display:none}.workspace-shell .mobile-records tbody{display:block}.workspace-shell .mobile-records tr{border-bottom:2px solid #dae8e3;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;display:grid}.workspace-shell .mobile-records td{white-space:normal;text-align:left;overflow-wrap:anywhere;border:0;padding:0;font-size:14px;display:block;width:auto!important;min-width:0!important;max-width:none!important}.workspace-shell .mobile-records td:first-child,.workspace-shell .mobile-records td[colspan],.workspace-shell .mobile-records td.mobile-full{grid-column:1/-1}.workspace-shell .mobile-records td[data-label]:before{content:attr(data-label);color:#607a80;margin-bottom:5px;font-size:11px;font-weight:400;line-height:1.4;display:block}.workspace-shell .mobile-records td:empty{display:none}.workspace-shell .mobile-records td a{overflow-wrap:anywhere}.workspace-shell .mobile-records td input{width:100%;max-width:120px}.workspace-shell .suggestions-table tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;display:grid}.workspace-shell .suggestions-table thead{display:none}.workspace-shell .suggestions-table :where(tbody,td){display:block}.workspace-shell .suggestions-table td{border:0;width:100%;padding:0;font-size:14px}.workspace-shell .suggestions-table td.suggestions-text{grid-column:1/-1}}@media (max-width:540px){.workspace-shell .workspace-responsive-header .workspace-header-actions{grid-template-columns:minmax(0,1fr)}.workspace-shell .workspace-responsive-header .workspace-brand{gap:6px}.workspace-responsive-header .brand-home{width:58px;height:42px}.workspace-responsive-header .brand-home img{width:56px;height:36px}.workspace-responsive-header .workspace-section-title{font-size:16px}.workspace-responsive-header .workspace-brand-copy>b{font-size:11px}.workspace-responsive-header .workspace-section-meta{font-size:10px}.workspace-shell .wallet-organizations,.workspace-shell .payment-summary{grid-template-columns:minmax(0,1fr)}.workspace-shell :where(.production-change-actions,.finance-comment-actions){flex-wrap:wrap}.workspace-shell :where(.production-change-actions,.finance-comment-actions)>button{flex:1}}@media (prefers-reduced-motion:reduce){html,.workspace-shell *{scroll-behavior:auto}}
@media screen{.workspace-viewport .workspace-top.workspace-responsive-header.workspace-sidebar-header{gap:4px 10px;height:auto!important;min-height:48px!important;padding:6px 16px!important}.workspace-viewport .workspace-top.workspace-responsive-header.workspace-sidebar-header .workspace-section-heading{gap:2px 8px;margin:0}.workspace-viewport .workspace-top.workspace-responsive-header.workspace-sidebar-header .workspace-section-title{overflow-wrap:anywhere;min-width:0;margin:0;line-height:1.25;font-size:16px!important}.workspace-viewport .workspace-top.workspace-responsive-header.workspace-sidebar-header .workspace-section-meta{min-width:0;margin:0;font-size:11px;line-height:1.3}.workspace-viewport .workspace-title{gap:8px}.workspace-viewport .workspace-title h1{margin:0;font-size:16px;line-height:1.3}.workspace-viewport .workspace-shell>.workspace-content{margin-top:0;padding-top:8px}.workspace-viewport .workspace-shell>.unified-project-toolbar{gap:6px;padding:6px 14px}.workspace-viewport :is(.workspace-section-header,.workspace-tab-header){flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0;margin:0 0 8px;padding:0;display:flex}.workspace-viewport :is(.workspace-section-header,.workspace-tab-header)>:is(h2,h3){overflow-wrap:anywhere;min-width:0;margin:0;font-size:15px;font-weight:600;line-height:1.3}.workspace-viewport .workspace-content>h2,.workspace-viewport [role=tabpanel]>h2{overflow-wrap:anywhere;margin:0 0 8px;font-size:15px;font-weight:600;line-height:1.3}}@media screen and (max-width:767px){.workspace-viewport .workspace-top.workspace-responsive-header.workspace-sidebar-header{gap:4px 7px;min-height:52px!important;padding:6px max(10px,env(safe-area-inset-right)) 6px max(10px,env(safe-area-inset-left))!important}.workspace-viewport .workspace-top.workspace-responsive-header.workspace-sidebar-header .workspace-section-title{font-size:15px!important}.workspace-viewport :is(.workspace-section-header,.workspace-tab-header){gap:6px;margin-bottom:8px}}@media screen{.workspace-viewport [role=tablist]:not([aria-orientation=vertical]){box-sizing:border-box;overscroll-behavior-x:contain;scrollbar-width:thin;align-items:center;gap:6px;min-width:0;max-width:100%;padding:3px 2px 5px;overflow:auto hidden;flex-wrap:nowrap!important;display:flex!important}.workspace-viewport [role=tablist]:not([aria-orientation=vertical])>[role=tab]{white-space:nowrap;flex:none}.workspace-viewport [role=tablist]:not([aria-orientation=vertical])::-webkit-scrollbar{height:5px}}@media screen and (min-width:768px){.workspace-viewport [role=tablist]:not([aria-orientation=vertical]){block-size:max-content;min-block-size:max-content}}
