body:not([data-admin-night=true]) .stock-layout :is(.stock-content.panel,.stock-categories.panel){border:1px solid #b8c7da!important;box-shadow:inset 0 1px #fff9,0 3px 12px #344d6d08!important}main[data-view]>.manager-header,main[data-view]>.topbar{flex-shrink:0}.stock-table-wrap,[data-slot=table-container]{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}@media(max-width:1199px){main[data-view=home]{height:auto!important;min-height:100dvh;overflow:visible!important}.home-board,.home-board.has-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto!important;align-items:start;flex:none}.home-board>.home-middle,.home-board>.home-primary{display:flex;flex-direction:column;gap:12px;min-height:0}.home-board .home-middle>*,.home-board .home-primary>*{grid-column:auto!important;grid-row:auto!important}.home-board>.home-events{grid-column:1/-1;grid-row:auto;max-height:520px}.home-board .home-primary>.panel:not(.home-deliveries){height:330px;flex:none}.home-board .goal-panel{min-height:370px}.home-board .goal-people{gap:3px;min-height:185px}.home-board .home-deals{min-height:280px}.home-board .delivery-notes{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:auto;overflow:visible}.home-board .delivery-note{min-height:112px}.home-board .home-deliveries{min-height:0;height:auto}main[data-view] .manager-context{position:static!important;transform:none!important;max-width:100%;flex-wrap:wrap}main[data-view]>.manager-header,main[data-view]>.topbar{height:auto!important;flex-wrap:wrap;gap:10px!important;align-items:center;margin-bottom:14px!important}.crm-header-actions{height:auto!important;flex-wrap:wrap}main[data-view] .crm-header-actions :is(#crm-column-settings-slot,#tender-add-slot,.accounting-add-button){position:static!important;width:auto!important;flex:1 0 100%}.crm-header-actions :is(.crm-config-trigger,.tender-add-button,.accounting-add-button){width:100%!important}.crm-pipeline-tabs{margin-top:0;gap:8px}.crm-board-configurable{overscroll-behavior-x:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(250px,1fr)}.crm-column{scroll-snap-align:start}.goal-people.with-activity>button{grid-template-columns:23px minmax(0,1fr) auto 36px 10px!important;column-gap:5px!important}.goal-people.with-activity .person-activity{margin-right:8px}.tender-filters.has-header-action{padding-right:0}}@media(max-width:1000px){.home-board,.home-board.has-metrics{grid-template-columns:minmax(0,1fr)}.home-board>.home-events{grid-column:1;max-height:520px}.home-board .home-middle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-board .goal-panel{min-height:380px}.home-board .goal-people.with-activity>button{grid-template-columns:23px minmax(0,1fr) 36px 10px!important}.home-board .goal-people.with-activity .person-activity{grid-column:2;grid-row:3;margin:2px 0 0;font-size:12px!important}.home-board .goal-people.with-activity small{grid-column:2/5;grid-row:2}.home-board .goal-people.with-activity>button>strong{grid-column:3;grid-row:1}.home-board .goal-people.with-activity>button>svg{grid-column:4;grid-row:1}.home-board .goal-people.with-activity>button{min-height:53px;max-height:none}.home-board .goal-people{min-height:270px}}@media(max-width:767px){.shell,main.manager-home{padding:12px max(12px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;min-width:0}main[data-view]>.manager-header,main[data-view]>.topbar{display:flex;gap:10px!important;align-items:center}main[data-view] :is(.topbar,.manager-header) h1{font-size:21px!important;line-height:1.25}main[data-view] .manager-context{order:2;width:100%;justify-content:center;gap:9px!important;flex-wrap:wrap}main[data-view] :is(.topbar>.actions,.manager-header>.toolbar){order:3;width:100%;margin:0!important;justify-content:flex-end;gap:8px!important;flex-wrap:wrap}main[data-view] .manager-context :is(.context-date,.manager-date-panel strong,.manager-weather strong){font-size:16px!important}main[data-view] .manager-context .manager-weather span{font-size:12px!important}.manager-context .manager-date-panel>div{gap:9px!important}.home-board,.home-board.has-metrics{display:flex;flex-direction:column;gap:12px}.home-board>.home-events,.home-board>.home-middle,.home-board>.home-primary{width:100%;display:flex;flex-direction:column;gap:12px}.home-board .goal-panel{min-height:0}.home-board .home-primary>.panel:not(.home-deliveries){height:310px}.home-board .home-event-scroll{max-height:440px}.home-board .metrics .metric-title{font-size:13px!important;gap:4px}.home-board .metrics .metric strong{font-size:17px!important;white-space:nowrap}.home-board .metrics .metric{padding:8px 4px!important}.home-board .home-stage-grid{min-height:200px}.shell:is(.admin-crm-main,.manager-crm-main){height:auto!important;min-height:100dvh;overflow:visible!important}main .crm-board-configurable{flex:none!important;height:calc(100dvh - 275px);min-height:380px;max-width:100%;grid-auto-columns:min(80vw,300px)!important;gap:10px}main .crm-board-configurable .crm-column{height:100%!important;min-height:0!important}.crm-pipeline-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:6px}.crm-pipeline-tabs .btn{font-size:12px;white-space:normal;padding:8px;line-height:1.3;gap:5px}.crm-summary{flex-wrap:wrap;font-size:12px}.stock-layout{grid-template-columns:minmax(0,1fr)}.stock-categories{max-height:240px;overflow-y:auto;overscroll-behavior-y:contain}.stock-heading .equipment-buttons{width:100%;gap:6px}.stock-heading .btn{flex:1 1 140px;white-space:normal;min-height:42px!important;font-size:12px!important}.stock-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stock-filters .search{grid-column:1/-1;width:100%}.stock-filters select{width:100%!important;max-width:100%;min-width:0}.panel-head,.stock-offer-bar,.tools-actions,.tools-document-footer{flex-wrap:wrap;gap:8px}.stock-offer-bar>.btn{flex:1 1 140px}.document-responsibility,.form-grid,.tools-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}.tool-card,.tools-grid>*{min-width:0}.tool-card{padding:12px 4px!important}.tool-card h3{font-size:12px!important;overflow-wrap:anywhere}.equipment-panel,.report-aside,.report-form,.tools-document,.tools-history,.tools-main{min-width:0;max-width:100%}.tools-tabs,[role=tablist]:not(.crm-pipeline-tabs):not(.goal-scope){max-width:100%;overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start}.tools-tabs button,[role=tablist]>[role=tab]{flex-shrink:0}.goal-scope button{min-width:0;white-space:normal;line-height:1.3}body [data-slot=dialog-content]:not(.crm-deal-window),body [data-slot=sheet-content].floating-sale{left:50%!important;right:auto!important;top:calc(var(--visible-top,0px) + var(--visible-height,100dvh)/2)!important;bottom:auto!important;transform:translate(-50%,-50%)!important;translate:none!important;width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(var(--visible-height,100dvh) - 24px - env(safe-area-inset-bottom))!important;border-radius:18px!important}body [data-slot=dialog-content]:not(.crm-deal-window):not(.assistant-dialog):not(.stock-card-modal):not(.video-lessons-dialog):not(.invoice-registry-dialog){overflow-y:auto!important;padding:16px!important}body .assistant-dialog[data-slot=dialog-content]{height:calc(var(--visible-height,100dvh) - 24px - env(safe-area-inset-bottom))!important;padding:12px!important}body .crm-deal-window[data-slot=dialog-content]{left:8px!important;top:calc(var(--visible-top,0px) + 8px)!important;width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;height:calc(var(--visible-height,100dvh) - 16px - env(safe-area-inset-bottom))!important;max-height:calc(var(--visible-height,100dvh) - 16px - env(safe-area-inset-bottom))!important;overflow:auto!important;transform:none!important;translate:none!important}.crm-deal-layout{display:flex!important;flex-direction:column;height:auto;min-height:100%}.crm-deal-left,.crm-deal-right{width:100%;min-width:0;flex-shrink:0}.crm-deal-fields{overflow:visible!important;flex:none!important}.crm-deal-right{min-height:360px}.crm-deal-footer{position:sticky;bottom:0;z-index:3}.stock-card-header{padding-right:28px;flex-wrap:wrap}.stock-card-header h2{font-size:18px}.employee-report-layout,.lessons-grid,.stock-card-body,.stock-card-details{grid-template-columns:minmax(0,1fr)!important}.stock-card-modal .stock-photo-stage{height:clamp(190px,30dvh,280px)}.stock-gallery-actions{flex-wrap:wrap}.employee-report-dialog .report-calendar{min-width:0;padding:8px!important}.employee-report-metrics>div{padding:9px}.calendar-head>div,.tender-filters,.tender-toolbar{flex-wrap:wrap}.tender-filters .search{min-width:0;width:100%}.login-card{max-width:100%;margin-inline:auto}}@media(pointer:coarse){body :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select,textarea){font-size:16px!important;min-height:42px!important;scroll-margin-block:72px}body :is(.btn,.icon-btn,.text-button,.stock-check-chip,.calendar-day,.crm-add,.tools-tabs button,.delivery-tabs button,.goal-scope button,.stock-category){min-height:44px!important}body :is(.icon-btn,[data-slot=dialog-close],[data-slot=sheet-close],.notification-trigger,.mobile-trigger){min-width:44px!important;min-height:44px!important}.goal-people>button{min-height:48px!important;max-height:none!important}.goal-people{min-height:250px!important}.crm-card-open{min-height:64px}.crm-card{touch-action:pan-x pan-y}.stock-thumbnails button{min-width:48px;min-height:48px}.assistant-attach,.assistant-send{min-width:44px;min-height:44px}.tools-grid .tool-card:hover{transform:none}}@media(max-width:380px){.home-board .metrics .metric-title{font-size:12px!important}.home-board .metrics .metric strong{font-size:15px!important}.manager-context{column-gap:6px!important}.manager-context .manager-weather{gap:4px!important}.employee-report-metrics,.form-grid{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.sky-milky-way,.sky-stars{animation:none!important}}@media(max-width:1199px){main[data-view] .crm-header-actions{flex-wrap:wrap!important;max-width:100%;min-width:0;justify-content:flex-end}main[data-view]>.manager-header>.toolbar,main[data-view]>.topbar .actions{min-width:0;max-width:100%}}@media(max-width:767px){main[data-view] .crm-header-actions{width:100%;gap:8px!important}main[data-view] .crm-header-actions #crm-column-settings-slot{flex-basis:100%;margin-top:2px}}@media(max-width:1100px){.delivery-grid,.price-builder:not(.stock-offer-builder),.tools-calculator-layout{grid-template-columns:minmax(0,1fr);height:auto;min-height:0}.price-controls{max-height:none;min-height:0}.price-pick-list{max-height:360px;flex:none}.price-preview{max-height:none;min-height:220px}}@media(max-width:767px){.tools-cards{min-height:0!important;padding:16px 0!important;gap:16px 8px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.tools-cards h3{font-size:12px!important;line-height:1.35;overflow-wrap:anywhere}.tools-cards .tool-card{padding:12px 4px!important}}@media(pointer:coarse){body [data-slot=dialog-content]:not(.crm-deal-window){top:calc(var(--visible-top,0px) + var(--visible-height,100dvh)/2)!important;max-height:calc(var(--visible-height,100dvh) - 24px - env(safe-area-inset-bottom))!important}body .crm-deal-window[data-slot=dialog-content]{top:calc(var(--visible-top,0px) + 8px)!important;height:calc(var(--visible-height,100dvh) - 16px - env(safe-area-inset-bottom))!important;max-height:calc(var(--visible-height,100dvh) - 16px - env(safe-area-inset-bottom))!important}.nav-item{min-height:44px!important}}@media(pointer:coarse){body :is([data-slot=dialog-content],[data-slot=sheet-content]){transition-property:opacity,box-shadow,border-color,background-color!important}}@media(max-width:767px){body main[data-view=home]>:is(.topbar,.manager-header){display:grid!important;grid-template-columns:minmax(0,1fr) 44px 44px;grid-template-rows:auto auto auto;gap:10px 6px!important;width:100%;height:auto!important;min-height:0!important;padding:0!important;margin:0 0 16px!important;position:relative!important;background:none!important;border:0!important;box-shadow:none!important;align-items:center}body main[data-view=home]>:is(.topbar,.manager-header)>:first-child{grid-column:1;grid-row:1;min-width:0;margin:0!important}body main[data-view=home]>:is(.topbar,.manager-header) :is(.title-group,.manager-title){display:flex;align-items:center;gap:6px;min-width:0}body main[data-view=home]>:is(.topbar,.manager-header) h1{font-size:19px!important;line-height:1.25;margin:0!important;white-space:nowrap;letter-spacing:-.4px}body main[data-view=home]>.manager-header>div>.subtle{display:none}body main[data-view=home]>:is(.topbar,.manager-header) :is(.actions,.toolbar,.crm-header-actions){display:contents!important}body main[data-view=home]>:is(.topbar,.manager-header) .app-theme-toggle{grid-column:2;grid-row:1;width:44px!important;height:44px!important;margin:0!important;justify-self:center}body main[data-view=home]>:is(.topbar,.manager-header) .task-bell{grid-column:3;grid-row:1;width:42px!important;height:42px!important;min-width:0!important;margin:0!important;justify-self:end}body main[data-view=home]>:is(.topbar,.manager-header) .crm-header-actions>.btn.primary{grid-column:1/-1;grid-row:3;display:flex;align-items:center;justify-content:center;gap:7px;width:100%;height:44px!important;min-height:44px!important;margin:0!important;border-radius:12px!important;font-size:14px!important}body main[data-view=home]>:is(.topbar,.manager-header) .manager-context{grid-column:1/-1;grid-row:2;position:static!important;transform:none!important;inset:auto!important;display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap!important;width:100%!important;min-width:0;height:auto!important;min-height:38px;gap:14px!important;margin:0!important;padding:0!important}body main[data-view=home] .manager-context :is(.manager-date-panel,.manager-date-panel>div,.manager-weather,.manager-weather>div){display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;width:auto!important;min-height:0!important;margin:0!important;padding:0!important;gap:7px!important}body main[data-view=home] .manager-context .context-date{font-size:14px!important;white-space:nowrap;line-height:1.4!important}body main[data-view=home] .manager-context .manager-date-panel strong{font-size:20px!important;line-height:1.2!important;font-variant-numeric:tabular-nums}body main[data-view=home] .manager-context .manager-weather strong{font-size:16px!important;line-height:1.2!important}body main[data-view=home] .manager-context .manager-weather span{font-size:11px!important;line-height:1.2!important}body main[data-view=home] .manager-context .manager-weather svg{width:22px!important;height:22px!important;flex-shrink:0}}@media(max-width:374px){body main[data-view=home]>.manager-header h1,body main[data-view=home]>.topbar h1{font-size:17px!important}body main[data-view=home]>:is(.topbar,.manager-header) .manager-context{gap:8px!important}body main[data-view=home] .manager-context .context-date{font-size:13px!important}}@media(max-width:767px){.home-board>.home-primary>.metrics{order:0}.home-board>.home-primary>.home-deliveries{order:1}.home-board>.home-primary>.home-chart{order:2}.home-board>.home-primary>.metrics>.metric{order:0}}.stock-mobile-search,.stock-mobile-toolbar{display:none}.stock-collapsible-controls{display:contents}@media(max-width:767px){.stock-mobile-search.search{display:flex;align-items:center;position:relative;width:100%;margin:0 0 12px;gap:8px}.stock-mobile-search .field-input{width:100%;min-height:44px;border-radius:12px;padding-left:36px!important}.stock-mobile-search>svg{position:absolute;left:12px;pointer-events:none;color:#859db8}.stock-layout{gap:12px!important}.stock-layout>.stock-categories{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:none!important;overflow:visible!important;padding:10px!important;align-items:start}.stock-categories>.panel-head,.stock-categories>.stock-category-add{grid-column:1/-1;margin:0!important}.stock-categories>.panel-head{min-height:32px;padding:0 2px 5px!important}.stock-categories>.panel-head h3{font-size:13px!important}.stock-categories>.stock-category-all{display:none!important}.stock-categories .stock-category-row{position:relative;display:block!important}.stock-categories .stock-category{display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;width:100%;min-width:0;min-height:86px;margin:0!important;padding:9px 5px!important;border-radius:10px!important;font-size:11px!important;line-height:1.25!important}.stock-categories .stock-category svg{width:25px!important;height:25px!important;flex-shrink:0}.stock-categories .stock-category span{min-width:0;overflow-wrap:anywhere}.stock-categories .stock-category small{display:block;font-size:9px!important;line-height:1.3;margin-top:3px}.stock-categories .stock-category-row>.icon-btn{position:absolute;right:0;top:0;width:26px!important;height:26px!important;min-height:26px!important;min-width:26px!important;padding:5px!important;background:transparent!important}.stock-categories .stock-subcategory{margin:4px 0 0!important;padding:0!important;display:flex;align-items:center}.stock-categories .stock-subcategory .stock-category{min-height:44px;flex-direction:row;font-size:10px!important;padding:5px!important}.stock-categories .stock-subcategory .stock-category svg{width:16px!important;height:16px!important}.stock-categories .stock-subcategory>.icon-btn{width:26px!important;min-width:26px!important;padding:5px!important}.stock-categories>.stock-category-add{min-height:36px!important;font-size:11px!important;padding:6px!important}.stock-mobile-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:0 0 10px}.stock-mobile-toolbar>.btn{flex:1;min-height:42px;justify-content:center;font-size:12px;gap:6px}.stock-mobile-selection{display:flex;width:100%;justify-content:space-between;align-items:center;gap:10px;padding:5px 0 0;font-size:12px}.stock-mobile-selection strong{font-size:13px}.stock-mobile-selection span{color:#8295ae;white-space:nowrap}.stock-collapsible-controls{display:none!important}.stock-collapsible-controls[data-open=true]{display:block!important;padding-bottom:8px}.stock-collapsible-controls .stock-heading>div:first-child{display:none}.stock-collapsible-controls .stock-filters .search,.stock-layout>.stock-categories>.stock-category-all{display:none!important}.stock-layout .stock-categories .stock-category{min-height:74px;padding:6px 4px!important;gap:4px}.stock-layout .stock-categories .stock-category .stock-section-icon{width:28px;height:28px;flex:0 0 28px;border-radius:8px}.stock-layout .stock-categories .stock-category .stock-section-icon svg{width:22px!important;height:22px!important}}