/* 0.30.2: compact shared workspace. Data, routes and permissions stay server-owned. */
html{scroll-padding-top:var(--spectr-sticky-space,0px);scroll-padding-bottom:12px}
body[data-ui-release="0302"] .page :is(h1,h2,h3,h4,[id],input,select,textarea,button,a[href],[tabindex]){scroll-margin-top:10px;scroll-margin-bottom:12px}
body[data-ui-release="0302"]{--radius-lg:10px;--radius-md:8px;--control-height:36px;font-size:15px}
body[data-ui-release="0302"] .topbar{position:sticky;top:0;z-index:80;background:var(--surface);box-shadow:0 1px 4px #17304212}
body[data-ui-release="0302"] .topbar-inner{display:flex;align-items:center;flex-wrap:nowrap;min-height:56px;padding:6px 16px;gap:10px;max-width:none}
body[data-ui-release="0302"] .brand{flex:0 0 auto}
body[data-ui-release="0302"] .brand-wordmark{width:142px;height:34px;object-fit:contain}
body[data-ui-release="0302"] .top-global-search-wrap{flex:1 1 240px;min-width:100px;max-width:520px;margin-right:auto;order:0}
body[data-ui-release="0302"] .top-global-search{min-height:34px;height:36px;border-radius:6px;padding:0 10px}
body[data-ui-release="0302"] .top-global-search input{min-height:32px;padding:4px 6px;font-size:14px}
body[data-ui-release="0302"] .top-actions{display:flex;align-items:center;flex:0 1 auto;flex-wrap:nowrap;gap:6px;margin-left:auto;min-width:0}
body[data-ui-release="0302"] .erp-daymeter{min-width:0;width:184px;max-width:184px;padding:5px 8px;border-radius:6px;box-shadow:none}
body[data-ui-release="0302"] .erp-daymeter-date,body[data-ui-release="0302"] .erp-daymeter-state{font-size:11px}
body[data-ui-release="0302"] .erp-daymeter-time{font-size:14px}
body[data-ui-release="0302"] .topbar :is(.notification-bell,.chat-drawer-launch,.support-mini-link){width:34px;min-width:34px;height:34px;min-height:34px;padding:6px;border-radius:6px}
body[data-ui-release="0302"] .topbar :is(.notification-bell,.chat-drawer-launch) svg{width:22px;height:22px}
body[data-ui-release="0302"] .topbar .user-profile-chip{min-width:0;max-width:180px;padding:3px 7px;border-radius:6px;gap:7px;box-shadow:none;font-size:13px}
body[data-ui-release="0302"] .top-avatar{height:28px;width:28px;min-width:28px}
body[data-ui-release="0302"] .user-profile-chip>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-ui-release="0302"] .topbar .ghost-button{min-height:34px;padding:6px 9px;font-size:13px;border-radius:6px}
body[data-ui-release="0302"] .app-version-mini{font-size:10px}
body[data-ui-release="0302"] .navigation-v2{position:sticky;top:var(--nav-top,56px);z-index:60}
body[data-ui-release="0302"] .nav-context{flex-wrap:nowrap;min-height:0;padding:5px 12px;gap:5px;max-height:none;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
body[data-ui-release="0302"] .nav-context a{flex:0 0 auto;font-size:14px;line-height:20px;min-height:34px;padding:6px 9px;white-space:nowrap;box-sizing:border-box}
body[data-ui-release="0302"] .nav-sidebar{z-index:70}
body[data-ui-release="0302"] .nav-section{font-size:15px;min-height:40px;padding:7px 11px;margin-bottom:3px;border-radius:5px}
body[data-ui-release="0302"] :is(.cabinet-tabs030,.module-tabs,.crm-tabs){position:sticky;top:calc(var(--nav-top,56px) + var(--context-height,0px));z-index:55;display:flex;flex-wrap:nowrap;gap:5px;overflow-x:auto;overflow-y:hidden;max-height:none;min-height:40px;padding:5px 0;scrollbar-width:thin;background:var(--bg);box-sizing:border-box}
body[data-ui-release="0302"] :is(.cabinet-tabs030,.module-tabs,.crm-tabs)>*{flex:0 0 auto;white-space:nowrap;font-size:14px}
body[data-ui-release="0302"] .cabinet-tabs030 a{padding:6px 10px;border-radius:5px;min-height:32px;box-sizing:border-box}
body[data-ui-release="0302"] .page{padding-top:12px;overflow-x:visible}
body[data-ui-release="0302"] :is(.card,.module-card,.hero-panel,.p-card,.kpi-card,.metric-card){border-radius:9px;box-shadow:0 1px 4px #17304208}
body[data-ui-release="0302"] .employee-hero{padding:14px 18px;gap:14px;min-height:0;margin-bottom:10px}
body[data-ui-release="0302"] .employee-hero h1{font-size:25px;line-height:1.25;margin:0 0 5px}
body[data-ui-release="0302"] .employee-hero p{font-size:14px;margin:0}
body[data-ui-release="0302"] .employee-hero .eyebrow{display:none}
body[data-ui-release="0302"] .cabinet-profile-link{padding:6px 10px;border-radius:7px;box-shadow:none}
body[data-ui-release="0302"] .cabinet-profile-avatar{width:32px;height:32px}
body[data-ui-release="0302"] .cabinet-profile-link strong{font-size:14px}
body[data-ui-release="0302"] .cabinet-profile-link small{font-size:12px}
body[data-ui-release="0302"] .cabinet-meta-row:empty{display:none}
body[data-ui-release="0302"] .cabinet-refresh-bar{padding:7px 12px;gap:6px 14px;margin-bottom:8px;font-size:12px;min-height:0}
body[data-ui-release="0302"] .erp-daymeter-date{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-ui-release="0302"] .erp-daymeter-time{flex-shrink:0}
/* overflow:hidden on these page roots creates a second, non-scrolling sticky container. */
body[data-ui-release="0302"] :is(.crm-shell,.est-module,.fc-shell,.p-shell)[data-phase-f-workspace]{overflow-x:clip;overflow-y:visible}
body[data-ui-release="0302"] #inventory{padding:0 0 24px;max-width:none}
body[data-ui-release="0302"] #inventory>.inv-head{gap:12px;align-items:baseline}
body[data-ui-release="0302"] #inventory>.inv-head h1{font-size:24px}
body[data-ui-release="0302"] #inventory>.inv-head .inv-kicker{display:none}
body[data-ui-release="0302"] #inventory>.inv-head p{font-size:14px;margin:3px 0}
body[data-ui-release="0302"] #inventory #inv-quick{margin:8px 0;gap:6px}
body[data-ui-release="0302"] #inventory :is(button,.inv-button-link){padding:6px 9px;min-height:34px;font-size:14px;border-radius:5px}
body[data-ui-release="0302"] #inventory #inv-tabs{position:sticky;top:calc(var(--nav-top,56px) + var(--context-height,0px));z-index:55;background:var(--bg);flex-wrap:nowrap;gap:5px;margin:0 0 8px;padding:5px 0;scrollbar-width:thin;overflow-x:auto;overflow-y:hidden}
body[data-ui-release="0302"] #inventory #inv-tabs a{padding:6px 9px;font-size:14px;flex:0 0 auto;border-radius:5px}
body[data-ui-release="0302"] #inventory .inv-toolbar{padding:10px;margin-bottom:10px}
body[data-ui-release="0302"] #inventory .inv-toolbar form{gap:8px;display:flex;flex-wrap:wrap}
body[data-ui-release="0302"] #inventory .inv-toolbar label{flex:1 1 120px;min-width:100px}
body[data-ui-release="0302"] #inventory .inv-toolbar .inv-search{flex:2 1 180px}
body[data-ui-release="0302"] #inventory .inv-toolbar :is(input,select){min-height:34px;height:36px;width:100%;max-width:none;padding:5px 8px;font-size:14px;box-sizing:border-box}
body[data-ui-release="0302"] #inventory #inv-actions:empty{display:none}
body[data-ui-release="0302"] #inventory .inv-stat{padding:12px;border-radius:8px}
body[data-ui-release="0302"] #inventory .inv-stat strong{font-size:22px;margin-top:6px}
body[data-ui-release="0302"] #inventory .inv-material-table :is(td,th){font-size:14px;padding:8px 10px}
body[data-ui-release="0302"] .calendar-pro-shell-v2{grid-template-columns:220px minmax(0,1fr)!important;gap:12px;min-height:0;align-content:start;align-items:start}
body[data-ui-release="0302"] .calendar-main-v2{display:block;overflow-x:clip;overflow-y:visible;background:transparent;border:0;box-shadow:none}
body[data-ui-release="0302"] :is(.calendar-time-view-v2,.calendar-month-view-v2){margin-top:8px;padding:8px;border-radius:8px}
body[data-ui-release="0302"] .calendar-sidebar-disclosure{position:sticky;top:calc(var(--nav-top,56px) + var(--context-height,0px) + 8px);max-height:calc(100dvh - var(--nav-top,56px) - var(--context-height,0px) - 20px);overflow:auto}
body[data-ui-release="0302"] .calendar-sidebar-disclosure>summary{display:none;cursor:pointer;padding:10px;font-weight:600}
body[data-ui-release="0302"] .calendar-sidebar-content{display:grid;gap:10px}
body[data-ui-release="0302"] .calendar-sidebar-card{padding:10px;border-radius:7px}
body[data-ui-release="0302"] .calendar-pro-toolbar-v2{position:sticky;top:calc(var(--nav-top,56px) + var(--context-height,0px));z-index:52;padding:8px;border-radius:7px;gap:7px}
body[data-ui-release="0302"] .calendar-pro-title h1{font-size:19px;margin:0}
body[data-ui-release="0302"] .calendar-pro-title>span{display:none}
body[data-ui-release="0302"] .calendar-pro-toolbar-v2 :is(button,a){font-size:14px;min-height:34px;padding:6px 8px}
body[data-ui-release="0302"] .calendar-time-axis,body[data-ui-release="0302"] .calendar-time-day-body{height:calc(48 * var(--calendar-slot,28px))}
body[data-ui-release="0302"] .calendar-time-slot{height:var(--calendar-slot,28px);box-sizing:border-box}
body[data-ui-release="0302"] .calendar-hour-label{top:calc((var(--row) - 1) * var(--calendar-slot,28px) - 7px);font-size:12px}
body[data-ui-release="0302"] .calendar-timed-event{position:absolute;box-sizing:border-box;padding:3px 5px;min-height:26px}
body[data-ui-release="0302"] .calendar-timed-event strong{font-size:13px;line-height:1.35}
body[data-ui-release="0302"] .calendar-timed-event span{font-size:12px}
body[data-ui-release="0302"] .calendar-month-day.off{background:#f0f4f7}
@media(max-width:980px){
 body[data-ui-release="0302"] .calendar-pro-shell-v2{grid-template-columns:1fr!important;gap:8px}
 body[data-ui-release="0302"] .calendar-sidebar-disclosure{position:static;max-height:none;overflow:visible;border:1px solid var(--line);border-radius:7px}
 body[data-ui-release="0302"] .calendar-sidebar-disclosure>summary{display:list-item;margin-left:10px}
 body[data-ui-release="0302"] .calendar-sidebar-content{max-height:50dvh;overflow:auto;padding:6px}
 body[data-ui-release="0302"] .calendar-pro-toolbar-v2{display:flex;flex-wrap:wrap;align-items:center}
 body[data-ui-release="0302"] .calendar-pro-toolbar-v2 .calendar-pro-title{flex:1 1 auto}
 body[data-ui-release="0302"] .calendar-pro-toolbar-v2 .calendar-view-tabs{order:3}
}
body[data-ui-release="0302"] .employee-section{margin-top:16px}
body[data-ui-release="0302"] .employee-section-head{margin-bottom:10px}
body[data-ui-release="0302"] .employee-section-head h2{font-size:19px;margin:0}
body[data-ui-release="0302"] .employee-section-head .eyebrow{display:none}
body[data-ui-release="0302"] .employee-section-head p{font-size:14px;margin:4px 0}
body[data-ui-release="0302"] .cabinet-action-grid{gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
body[data-ui-release="0302"] :is(.cabinet-attention032,.cabinet-quick032){margin-top:16px}
body[data-ui-release="0302"] :is(.cabinet-attention032,.cabinet-quick032) h2{font-size:19px;margin:0 0 8px}
body[data-ui-release="0302"] .cabinet-quick032 p{font-size:13px;margin:4px 0 8px}
body[data-ui-release="0302"] .cabinet-quick032 nav{display:flex;flex-wrap:wrap;gap:7px}
body[data-ui-release="0302"] .cabinet-quick032 a{padding:7px 10px;border:1px solid var(--line);border-radius:5px;background:var(--surface);text-decoration:none;font-size:14px}
body[data-ui-release="0302"] .employee-kpi-card{padding:14px 16px;min-height:0;border-radius:8px;box-shadow:none}
body[data-ui-release="0302"] .employee-kpi-card strong{font-size:21px;line-height:1.3}
body[data-ui-release="0302"] .employee-kpi-card small{font-size:14px;line-height:1.45}
body[data-ui-release="0302"] .employee-kpi-label{font-size:12px;letter-spacing:.035em}
body[data-ui-release="0302"] .day-action-chip{font-size:12px;padding:3px 7px;white-space:normal}
body[data-ui-release="0302"] table{font-size:14px}
body[data-ui-release="0302"] table :is(td,th){padding:9px 10px;line-height:1.4}
body[data-ui-release="0302"] .erp-grid th{font-size:13px}
body[data-ui-release="0302"] dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
body[data-ui-release="0302"] dialog::backdrop{background:#102b4380}
body[data-ui-release="0302"] dialog :is(.inv-head,.dialog-head,.calendar-dialog-head){position:sticky;top:0;background:var(--surface);z-index:2}
body[data-ui-release="0302"] dialog :is(.inv-actions,.dialog-actions,.calendar-dialog-actions,.crm-actions){position:sticky;bottom:0;background:var(--surface);z-index:2;padding:10px 0;flex-wrap:wrap;border-top:1px solid var(--line)}
body[data-ui-release="0302"] :is(button,a,input,select,textarea,summary){scroll-margin-top:calc(var(--nav-top,56px) + var(--context-height,0px) + 50px)}
body[data-ui-release="0302"] .nav-more-panel{z-index:150;max-height:calc(100dvh - var(--nav-top,56px) - 24px);overflow:auto}
body[data-ui-release="0302"] :is(.fc-tabs,.est-nav,.p-tabs,.production-quick-nav){position:sticky;top:calc(var(--nav-top,56px) + var(--context-height,0px));z-index:54;display:flex;flex-wrap:nowrap;gap:5px;padding:6px 0;background:var(--bg);overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
body[data-ui-release="0302"] :is(.fc-tabs,.est-nav,.p-tabs,.production-quick-nav)>*{flex:0 0 auto;font-size:14px;white-space:nowrap}
body[data-ui-release="0302"] :is(.fc-head,.est-heading,.p-head) h1{font-size:25px;margin:0}
body[data-ui-release="0302"] :is(.owner-hero,.hero-panel){padding:16px 20px;margin-bottom:12px}
body[data-ui-release="0302"] .owner-assets-grid{gap:12px}
body[data-ui-release="0302"] .owner-assets-grid .owner-kpi-card{min-height:0;padding:16px}
body[data-ui-release="0302"] .owner-assets-grid .owner-money-total{font-size:26px}
body[data-ui-release="0302"] .fc-amount-income{color:#236638}
body[data-ui-release="0302"] .fc-amount-expense{color:#a62d31}
body[data-ui-release="0302"] .fc-amount-transfer{color:var(--text)}
body[data-ui-release="0302"] .money-chart-wrap{max-width:100%;overflow-x:auto}
body[data-ui-release="0302"] .money-chart032{display:block;width:100%;min-width:650px;height:auto;max-height:360px}
body[data-ui-release="0302"] .money-chart032 text{font:14px sans-serif;fill:var(--text)}
body[data-ui-release="0302"] .context-help032{font-size:14px;flex:0 1 330px;max-width:100%;border:1px solid var(--line);border-radius:6px;padding:6px 10px;background:var(--surface)}
body[data-ui-release="0302"] .context-help032:not([open]){flex-basis:auto}
body[data-ui-release="0302"] .context-help032 summary{cursor:pointer;color:var(--text);font-weight:600}
body[data-ui-release="0302"] .context-help032 ol{padding-left:20px;margin:8px 0;line-height:1.5}
@media(max-width:1100px){
 body[data-ui-release="0302"] .brand-wordmark{width:112px;height:30px}
 body[data-ui-release="0302"] .topbar-inner{padding:5px 10px;gap:7px}
 body[data-ui-release="0302"]:not([data-design="graphite-1"]) .erp-daymeter{width:150px;max-width:150px}
 body[data-ui-release="0302"] .app-version-mini{display:none}
 body[data-ui-release="0302"] .topbar .user-profile-chip{max-width:125px}
}
@media(max-width:760px){
 body[data-ui-release="0302"] .topbar-inner{display:grid;grid-template-columns:auto 1fr auto;gap:5px 7px;padding:5px 8px;min-height:0}
 body[data-ui-release="0302"] .topbar .brand{grid-column:1;grid-row:1}
 body[data-ui-release="0302"] .topbar .global-back-button{grid-column:3;grid-row:1;padding:4px 8px;min-height:30px}
 body[data-ui-release="0302"] .topbar .top-global-search-wrap{grid-column:2;grid-row:1;min-width:0;width:100%;max-width:none}
 body[data-ui-release="0302"] .topbar .top-actions{grid-column:1/-1;grid-row:2;justify-content:space-between;width:100%;gap:4px}
 body[data-ui-release="0302"] .brand-wordmark{width:86px;height:26px}
 body[data-ui-release="0302"]:not([data-design="graphite-1"]) .topbar .erp-daymeter{max-width:128px!important;width:128px;padding:3px 5px}
 body[data-ui-release="0302"] .topbar .user-profile-chip{max-width:75px;padding:2px 4px}
 body[data-ui-release="0302"] .topbar .user-profile-chip>span:last-child{display:none}
 body[data-ui-release="0302"] .topbar :is(.notification-bell,.chat-drawer-launch,.support-mini-link){width:30px;min-width:30px;height:32px;min-height:32px;padding:5px}
 body[data-ui-release="0302"] .topbar .ghost-button{padding:5px 6px;font-size:12px}
 body[data-ui-release="0302"] .employee-hero{padding:12px;flex-wrap:wrap}
 body[data-ui-release="0302"] .employee-hero h1{font-size:22px}
 body[data-ui-release="0302"] .cabinet-profile-link{padding:4px 6px}
 body[data-ui-release="0302"] .page{padding-left:10px;padding-right:10px}
 body[data-ui-release="0302"] .nav-expanded .nav-sidebar{z-index:140}
}
@media(max-height:650px) and (min-width:761px){
 body[data-ui-release="0302"] .topbar-inner{min-height:48px;padding-top:3px;padding-bottom:3px}
 body[data-ui-release="0302"] .erp-daymeter{padding-top:2px;padding-bottom:2px}
 body[data-ui-release="0302"] .employee-hero{padding-top:10px;padding-bottom:10px}
}
/* Existing direct-report scope, same canonical personal grid preferences. */
.team-table032{max-width:100%;overflow:auto}.team-table032 table{width:100%;border-collapse:collapse;font-size:14px}.team-table032 th,.team-table032 td{padding:10px 12px;border-bottom:1px solid var(--line,#dce5de);text-align:left}.team-table032 th{white-space:nowrap}.team-table032 input[type=checkbox]{width:18px;height:18px}
body[data-ui-release="0302"] .est-nav[aria-label="Работа по объекту"]{position:static;z-index:auto}
body[data-ui-release="0302"] .version-timeline{width:100%;min-width:0}
body[data-ui-release="0302"] .version-card{min-width:0;overflow-wrap:anywhere}
body[data-ui-release="0302"] .version-head{flex-wrap:wrap;gap:8px}
body[data-ui-release="0302"] .version-head>div{min-width:0}
@media(max-width:600px){body[data-ui-release="0302"] .version-entry{grid-template-columns:22px minmax(0,1fr);gap:7px}body[data-ui-release="0302"] .version-card{padding:12px}body[data-ui-release="0302"] .version-timeline:before{left:10px}}
/* RC3: two task-oriented areas, same role-scoped cards and counts. */
body[data-ui-release="0302"] .cabinet-workspace032{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;align-items:start}
body[data-ui-release="0302"] .cabinet-workspace032.without-attention{grid-template-columns:minmax(0,1fr)}
body[data-ui-release="0302"] .cabinet-workspace032 .cabinet-attention032{margin-top:0}
body[data-ui-release="0302"] .cabinet-workspace032 .cabinet-action-grid{grid-template-columns:minmax(0,1fr);gap:8px}
body[data-ui-release="0302"] .cabinet-day032>h2{font-size:19px;margin:0 0 8px}
body[data-ui-release="0302"] .cabinet-workspace032 .employee-kpi-card{padding:12px;min-width:0;overflow-wrap:anywhere}
body[data-ui-release="0302"] .cabinet-workspace032 .employee-kpi-card strong{font-size:18px}
body[data-ui-release="0302"] .employee-hero.employee-hero-clean{padding:10px 14px}
body[data-ui-release="0302"] .employee-hero.employee-hero-clean h1{font-size:22px}
body[data-ui-release="0302"] .employee-hero-copy{min-width:0;overflow-wrap:anywhere}
body[data-ui-release="0302"] #inv-summary{margin:6px 0 12px}
body[data-ui-release="0302"] #inv-summary .inv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:8px}
body[data-ui-release="0302"] #inv-summary .inv-stat{padding:10px;min-width:0;overflow-wrap:anywhere}
body[data-ui-release="0302"] #inv-summary .inv-stat strong{font-size:20px}
body[data-ui-release="0302"] #inv-summary .inv-stat small{font-size:12px;line-height:1.4}
body[data-ui-release="0302"] #inventory .inv-central-grid{gap:10px}
body[data-ui-release="0302"] #inventory .inv-toolbar label{font-size:13px}
body[data-ui-release="0302"] #inventory .inv-card{min-width:0;overflow-wrap:anywhere}
@media(max-width:1050px){body[data-ui-release="0302"] .cabinet-workspace032{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){body[data-ui-release="0302"] #inv-summary .inv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-ui-release="0302"] #inv-summary .inv-stat{padding:8px;font-size:13px}body[data-ui-release="0302"] #inv-summary .inv-stat strong{font-size:17px}}
body[data-ui-release="0302"] .personal-metric-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px}
body[data-ui-release="0302"] :is(.personal-metric-card,.personal-metric-copy){min-width:0;overflow-wrap:anywhere;word-break:normal}
body[data-ui-release="0302"] :is(.production-pilot-main,.gantt-command-filters,.gantt-command-filters label){min-width:0}
body[data-ui-release="0302"] .gantt-command-filters select{width:100%;min-width:0;max-width:100%}
body[data-ui-release="0302"] .gantt-v48-panel{min-width:0;max-width:100%}
@media(max-width:1100px){body[data-ui-release="0302"] .gantt-commandbar{align-items:stretch;flex-direction:column}body[data-ui-release="0302"] .gantt-command-filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));width:100%}body[data-ui-release="0302"] .gantt-command-actions{flex-wrap:wrap}}
@media(max-width:760px){body[data-ui-release="0302"] :is(.gantt-v48-left-header,.gantt-v48-task-left,.gantt-v48-left){position:static!important}body[data-ui-release="0302"] .gantt-dependency-cell{display:block}body[data-ui-release="0302"] .gantt-v48-left-header>span:last-child{display:block}}
