/* WERGER workspace — one composition system for lists, reports and editors.
   Legacy skins remain below this layer; documents/printing are deliberately separate. */
@layer werger-visibility,werger-workspace,werger-system;
@layer werger-workspace{
@media screen{
body.werger-ui:not([class*="printing-"]){
 --ws-paper:var(--exec-surface);--ws-canvas:var(--exec-app);--ws-soft:var(--exec-surface-2);--ws-line:var(--exec-line);--ws-ink:var(--exec-text);--ws-muted:var(--exec-muted);
 --ds-control:38px;--ws-radius:10px;--ws-sidebar:232px;
 font-family:Manrope,Arial,sans-serif!important;font-size:13px!important;color:var(--ws-ink)!important;background:var(--ws-canvas)!important;
}
body.werger-ui:not([class*="printing-"]) :focus-visible{outline:2px solid color-mix(in srgb,var(--primary) 60%,transparent)!important;outline-offset:3px!important}
body.werger-ui:not([class*="printing-"]) :is(button,input,select,textarea){font-family:inherit!important}
body.werger-ui:not([class*="printing-"]) #app-aside:not(.sidebar-collapsed){width:var(--ws-sidebar)!important;min-width:var(--ws-sidebar)!important;max-width:var(--ws-sidebar)!important;flex:0 0 var(--ws-sidebar)!important;background:var(--exec-nav)!important;border-right:1px solid var(--ws-line)!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) #app-aside .logo-area{height:64px!important;min-height:64px!important;margin:0!important;padding:0 22px!important;border-bottom:1px solid var(--ws-line)!important;gap:12px!important;justify-content:flex-start!important}
body.werger-ui:not([class*="printing-"]) #app-aside .brand-logo-sidebar-vps{width:29px!important;min-width:29px!important;height:29px!important;flex-basis:29px!important;object-fit:contain!important}
body.werger-ui:not([class*="printing-"]) #app-aside .brand-name{font-size:14px!important;letter-spacing:.12em!important;font-weight:700!important}
body.werger-ui:not([class*="printing-"]) #app-aside:not(.sidebar-collapsed) .menu{padding:18px 16px 24px!important;scrollbar-width:thin!important}
body.werger-ui:not([class*="printing-"]) #app-aside .menu-group{min-height:34px!important;margin:14px 0 4px!important;padding:8px 10px!important;font-size:10px!important;font-weight:600!important;letter-spacing:.07em!important;color:var(--ws-muted)!important;opacity:.82!important}
body.werger-ui:not([class*="printing-"]) #app-aside .menu-group:first-child{margin-top:0!important}
body.werger-ui:not([class*="printing-"]) #app-aside:not(.sidebar-collapsed) .menu-item{padding:10px 12px!important;min-height:40px!important;margin:2px 0!important;gap:11px!important;border-radius:8px!important;font-size:12px!important;font-weight:500!important;line-height:1.5!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) #app-aside .menu-item>.material-icons-round{font-size:19px!important;opacity:.75!important}
body.werger-ui:not([class*="printing-"]) #app-aside .menu-item.active{font-weight:600!important;background:color-mix(in srgb,var(--primary) 8%,var(--exec-nav))!important}
body.werger-ui:not([class*="printing-"]) #app-aside .menu-item.active>.material-icons-round{opacity:1!important}
body.werger-ui:not([class*="printing-"]) #app-main{min-width:0!important;flex:1 1 auto!important}
body.werger-ui:not([class*="printing-"]) #app-main>header{height:64px!important;min-height:64px!important;padding:0 28px!important;background:var(--ws-paper)!important;border-bottom:1px solid var(--ws-line)!important;box-shadow:none!important;gap:16px!important}
body.werger-ui:not([class*="printing-"]) #page-title{font-size:12px!important;font-weight:600!important;color:var(--ws-ink)!important;line-height:1.5!important}
.ds-breadcrumb-brand{font-size:11px;color:var(--ws-muted);white-space:nowrap}
.ds-breadcrumb-separator{font-size:16px!important;color:var(--ws-muted);margin:0 10px}
body.werger-ui:not([class*="printing-"]) .app-header-actions{gap:4px!important}
body.werger-ui:not([class*="printing-"]) .app-header-actions>.btn.icon{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important}
body.werger-ui:not([class*="printing-"]) #user-display{font-size:12px!important;font-weight:500!important}
body.werger-ui:not([class*="printing-"]) .branch-context{margin-right:12px!important}
body.werger-ui:not([class*="printing-"]) .content-area{padding:26px 28px 40px!important;scrollbar-gutter:stable!important;scroll-padding-top:20px!important}
body.werger-ui:not([class*="printing-"]) .ds-page-head{margin:0 0 20px!important;min-height:54px!important;gap:20px!important;align-items:center!important;flex-wrap:nowrap!important}
body.werger-ui:not([class*="printing-"]) .ds-page-head .ds-heading-copy{flex:1 1 auto!important;min-width:160px!important}
body.werger-ui:not([class*="printing-"]) .ds-page-head h2{font-size:26px!important;line-height:1.2!important;letter-spacing:-.045em!important;font-weight:700!important}
body.werger-ui:not([class*="printing-"]) .ds-page-description{font-size:11px!important;line-height:1.55!important;margin-top:7px!important;max-width:620px!important}
body.werger-ui:not([class*="printing-"]) .ds-page-head>:is(.toolbar-actions,.project-toolbar-tools){flex:0 1 400px!important;min-width:0!important;max-width:54%!important;width:400px!important}
body.werger-ui:not([class*="printing-"]) :is(.toolbar-actions,.project-toolbar-tools).ds-action-rail{flex-wrap:nowrap!important;gap:8px!important;justify-content:flex-end!important}
body.werger-ui:not([class*="printing-"]) .ds-action-rail>.ds-main-action{order:-2!important}
body.werger-ui:not([class*="printing-"]) .ds-action-rail>.ds-more-button{order:10!important}
body.werger-ui:not([class*="printing-"]) .btn{height:38px!important;min-height:38px!important;padding:0 13px!important;border-radius:8px!important;font-size:12px!important;letter-spacing:0!important;font-weight:600!important;gap:7px!important;box-shadow:none!important;text-shadow:none!important;transform:none!important;line-height:1.35!important}
body.werger-ui:not([class*="printing-"]) .btn.sm{height:32px!important;min-height:32px!important;font-size:11px!important;padding:0 10px!important}
body.werger-ui:not([class*="printing-"]) .btn.icon{width:38px!important;min-width:38px!important;padding:0!important}
body.werger-ui:not([class*="printing-"]) .btn .material-icons-round{font-size:18px!important}
body.werger-ui:not([class*="printing-"]) .btn-act{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border-radius:7px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:1px solid transparent!important;color:var(--ws-muted)!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .btn-act:hover{background:var(--ws-soft)!important;color:var(--ws-ink)!important;border-color:var(--ws-line)!important}
body.werger-ui:not([class*="printing-"]) .btn-act .material-icons-round{font-size:18px!important}
body.werger-ui:not([class*="printing-"]) :is(input,select,textarea):where(:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color])){font-size:13px!important;border-radius:8px!important;border:1px solid var(--ws-line)!important;padding:9px 11px!important;background:var(--ws-paper)!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) :is(input,select):where(:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color])){height:38px!important;min-height:38px!important}
body.werger-ui:not([class*="printing-"]) :is(input,select,textarea):focus{border-color:color-mix(in srgb,var(--primary) 55%,var(--ws-line))!important}
body.werger-ui:not([class*="printing-"]) input:is([type=checkbox],[type=radio]){accent-color:var(--primary)!important}
/* One command surface: search + meaningful scope + filters + view. */
.ds-workspace-tools{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:12px;background:var(--ws-paper);border:1px solid var(--ws-line);border-radius:10px;margin:0 0 14px}
body.werger-ui:not([class*="printing-"]) .ds-workspace-tools>.ds-filter-bar{background:transparent!important;border:0!important;padding:0!important;margin:0!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;gap:10px!important;align-items:center!important}
body.werger-ui:not([class*="printing-"]) .ds-workspace-tools>.ds-filter-bar>.ds-filter-lead:is(.ds-search-field,.search){width:260px!important;max-width:320px!important;flex:0 1 260px!important}
body.werger-ui:not([class*="printing-"]) .ds-workspace-tools .ds-filter-core{width:188px!important;flex:0 1 188px!important}
body.werger-ui:not([class*="printing-"]) .ds-workspace-tools .ds-filter-field{gap:6px!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .ds-workspace-tools :is(.ds-filter-lead,.ds-filter-core)>.ds-filter-label{display:none!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar>.ds-filter-toggle{margin-left:auto!important;min-width:0!important;font-size:11px!important;padding:0 10px!important;align-self:flex-start!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-period{width:318px!important;flex:0 1 318px!important;gap:8px!important}
body.werger-ui:not([class*="printing-"]) .ds-date-field{width:155px!important;flex:0 1 155px!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-label{font-size:11px!important;font-weight:500!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-divider{margin:2px 0 0!important;border-top:1px solid var(--ws-line)!important}
body.werger-ui:not([class*="printing-"]) .ds-workspace-tools .ds-filter-control{width:196px!important;flex:0 1 196px!important}
body.werger-ui:not([class*="printing-"]) .ds-workspace-tools .ds-filter-control.ds-filter-period{width:318px!important;flex-basis:318px!important}
body.werger-ui:not([class*="printing-"]) .ds-workspace-tools>.project-mode-tabs{margin:0!important;flex:0 0 auto!important;min-height:38px!important;height:38px!important;padding:3px!important;background:var(--ws-soft)!important;border:0!important;border-radius:8px!important;gap:2px!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .ds-workspace-tools .project-mode-tabs>.btn{height:32px!important;min-height:32px!important;border:0!important;background:transparent!important;color:var(--ws-muted)!important;border-radius:6px!important;font-size:11px!important;padding:0 10px!important}
body.werger-ui:not([class*="printing-"]) .ds-workspace-tools .project-mode-tabs>.btn:not(.sec){background:var(--ws-paper)!important;color:var(--ws-ink)!important;box-shadow:0 1px 3px #0000000d!important}
body.werger-ui:not([class*="printing-"]) .ds-workspace-tools>.task-view-toggle{display:block!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;flex:0 0 auto!important;min-width:0!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .ds-view-trigger{gap:8px!important;min-width:134px!important;justify-content:space-between!important;font-size:11px!important}
body.werger-ui:not([class*="printing-"]) .ds-overflow-menu{padding:6px!important;background:var(--ws-paper)!important;border:1px solid var(--ws-line)!important;border-radius:10px!important;box-shadow:0 12px 36px #00000024!important;min-width:210px!important;max-width:min(340px,calc(100vw - 24px))!important;max-height:min(460px,calc(100dvh - 24px))!important;overflow-y:auto!important}
body.werger-ui:not([class*="printing-"]) .ds-overflow-menu>:is(.btn,.btn-act){display:flex!important;width:100%!important;min-width:0!important;height:auto!important;min-height:36px!important;justify-content:flex-start!important;text-align:left!important;border:0!important;padding:9px 10px!important;border-radius:6px!important;background:transparent!important;color:var(--ws-ink)!important;font-size:12px!important;white-space:normal!important}
body.werger-ui:not([class*="printing-"]) .ds-overflow-menu>:is(.btn,.btn-act):hover{background:var(--ws-soft)!important}
body.werger-ui:not([class*="printing-"]) .ds-overflow-menu>.danger{color:var(--danger)!important}
body.werger-ui:not([class*="printing-"]) .ds-view-menu>[aria-pressed=true]{color:var(--primary)!important;background:color-mix(in srgb,var(--primary) 6%,var(--ws-paper))!important}
body.werger-ui:not([class*="printing-"]) .ui-list-meta{display:flex!important;align-items:center!important;gap:12px!important;margin:0 2px 12px!important;min-height:20px!important;font-size:11px!important;color:var(--ws-muted)!important}
.ds-results-hint{max-width:62%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;opacity:.8}
/* Tables are quiet data surfaces; row actions have one consistent placement. */
body.werger-ui:not([class*="printing-"]) #view-container .card{background:var(--ws-paper)!important;border:1px solid var(--ws-line)!important;border-radius:10px!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) #view-container .card:has(>.table-wrap),body.werger-ui:not([class*="printing-"]) #view-container .card:has(>.ds-table-scroll-tools){padding:0!important;overflow:hidden!important}
body.werger-ui:not([class*="printing-"]) .ds-table-frame{border:0!important;border-radius:10px!important;background:var(--ws-paper)!important;overflow-x:auto!important;scrollbar-width:thin!important;scrollbar-color:var(--ws-muted) var(--ws-soft)!important}
body.werger-ui:not([class*="printing-"]) #view-container table{border-collapse:separate!important;border-spacing:0!important;background:var(--ws-paper)!important;font-size:12px!important}
body.werger-ui:not([class*="printing-"]) #view-container table th{height:42px!important;padding:10px 16px!important;background:var(--ws-soft)!important;color:var(--ws-muted)!important;font-size:10px!important;font-weight:600!important;letter-spacing:.015em!important;line-height:1.5!important;border-bottom:1px solid var(--ws-line)!important;border-left:0!important;border-right:0!important;box-shadow:none!important;white-space:normal!important}
body.werger-ui:not([class*="printing-"]) #view-container table td{padding:14px 16px!important;line-height:1.55!important;font-weight:400!important;border-bottom:1px solid var(--ws-line)!important;border-left:0!important;border-right:0!important;box-shadow:none!important;background:transparent!important}
body.werger-ui:not([class*="printing-"]) #view-container table tbody tr:last-child>td{border-bottom:0!important}
body.werger-ui:not([class*="printing-"]) #view-container table tbody tr:hover{background:var(--ws-soft)!important}
body.werger-ui:not([class*="printing-"]) #view-container table td b{font-weight:600!important}
body.werger-ui:not([class*="printing-"]) #view-container table :is(td,th).ui-actions-col{position:static!important}
.ds-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;width:76px;min-width:76px;margin-left:auto}
body.werger-ui:not([class*="printing-"]) .ds-row-actions>.ds-more-button{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;font-size:0!important;border:0!important;background:transparent!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) .ds-row-actions>.ds-more-button>.material-icons-round{font-size:18px!important}
.ds-table-scroll-tools{display:flex;justify-content:flex-end;align-items:center;gap:4px;padding:6px 12px;border-bottom:1px solid var(--ws-line);font-size:10px;color:var(--ws-muted);background:var(--ws-paper)}
body.werger-ui:not([class*="printing-"]) .ds-table-scroll-tools .btn{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;background:var(--ws-soft)!important;border:0!important}
/* Edge-to-edge tables do not remove the inset from sibling headings or footers. */
body.werger-ui:not([class*="printing-"]) #view-container .card:has(>.table-wrap)>:not(.table-wrap,.ds-table-scroll-tools){padding:16px 20px!important;margin:0!important;min-width:0!important;box-sizing:border-box!important}
body.werger-ui:not([class*="printing-"]) #view-container .card:has(>.table-wrap)>:is(.toolbar,.project-payment-section-head){gap:12px!important;align-items:flex-start!important}
body.werger-ui:not([class*="printing-"]) .project-payment-section-head h3{margin:0 0 6px!important;line-height:1.5!important}
body.werger-ui:not([class*="printing-"]) .project-payment-section-head .hint{line-height:1.65!important;max-width:85ch!important}
body.werger-ui:not([class*="printing-"]) #view-container .grid-stats.project-payment-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.werger-ui:not([class*="printing-"]) #view-container .project-payment-stats>.stat-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:6px!important;padding:14px 16px!important}
body.werger-ui:not([class*="printing-"]) #view-container .project-payment-stats>.stat-card>.stat-value{font-size:22px!important;line-height:1.4!important;font-variant-numeric:tabular-nums!important}
body.werger-ui:not([class*="printing-"]) #view-container .project-payment-stats>.stat-card>.hint{font-size:10px!important;line-height:1.6!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .payment-account-notice:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;margin-top:10px;border:1px solid var(--ws-line);border-radius:8px;background:var(--ws-soft);color:var(--ws-muted);font-size:12px;line-height:1.6}
.payment-account-notice>span{flex:1 1 260px;min-width:0}
body.werger-ui .recipient-picker-dialog .modal-box{width:min(760px,calc(100vw - 32px))!important}
body.werger-ui .project-tech-recipient-picker{display:flex!important;flex-direction:column!important;gap:16px!important;min-width:0!important}
body.werger-ui .recipient-picker-toolbar{display:flex!important;align-items:flex-end!important;gap:12px!important;flex-wrap:wrap!important}
body.werger-ui .recipient-picker-toolbar>.field{flex:1 1 220px!important;min-width:0!important;margin:0!important}
body.werger-ui .recipient-picker-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
body.werger-ui .recipient-picker-summary{font-size:12px!important;color:var(--ws-muted)!important}
body.werger-ui .project-tech-recipient-list{display:flex!important;flex-direction:column!important;gap:8px!important}
body.werger-ui .project-tech-recipient-row{display:flex!important;align-items:center!important;gap:14px!important;width:100%!important;min-height:68px!important;margin:0!important;padding:14px 16px!important;border:1px solid var(--ws-line)!important;border-radius:10px!important;background:var(--ws-paper)!important;cursor:pointer!important;text-align:left!important;box-sizing:border-box!important}
body.werger-ui .project-tech-recipient-row[hidden]{display:none!important}
body.werger-ui .project-tech-recipient-row.selected{border-color:var(--primary)!important;background:var(--ws-soft)!important}
body.werger-ui .project-tech-recipient-row:focus-within{outline:2px solid var(--primary)!important;outline-offset:2px!important}
body.werger-ui .project-tech-recipient-row>input{flex:0 0 20px!important;width:20px!important;height:20px!important;margin:0!important}
body.werger-ui .project-tech-recipient-copy{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:5px!important;min-width:0!important}
body.werger-ui .project-tech-recipient-copy>b{display:block!important;line-height:1.5!important;font-size:13px!important;font-weight:650!important;overflow-wrap:anywhere!important}
body.werger-ui .project-tech-recipient-copy>small{display:block!important;color:var(--ws-muted)!important;line-height:1.5!important;font-size:11px!important;overflow-wrap:anywhere!important}
body.werger-ui .project-tech-recipient-channel{font-size:10px!important;color:var(--ws-muted)!important;flex:0 0 auto!important}
@media(max-width:640px){body.werger-ui .recipient-picker-dialog .modal-box{width:100%!important}body.werger-ui .project-tech-recipient-row{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;gap:6px 12px!important;padding:12px!important}body.werger-ui .project-tech-recipient-row>input{grid-row:1/3!important}body.werger-ui .project-tech-recipient-channel{grid-column:2!important}}

body.werger-ui:not([class*="printing-"]) .payment-receiver-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
body.werger-ui:not([class*="printing-"]) .payment-receiver-grid .field{min-width:0}
body.werger-ui:not([class*="printing-"]) .project-payment-form .payment-account-balance>span{flex:1;min-width:0}
body.werger-ui:not([class*="printing-"]) .project-payment-form .payment-account-balance>b{flex:0 0 auto;white-space:nowrap!important}
@media(max-width:640px){body.werger-ui:not([class*="printing-"]) .payment-receiver-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1200px){body.werger-ui:not([class*="printing-"]) #view-container .grid-stats.project-payment-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){body.werger-ui:not([class*="printing-"]) #view-container .card:has(>.table-wrap)>:not(.table-wrap,.ds-table-scroll-tools){padding:14px 16px!important}}
@media(max-width:420px){body.werger-ui:not([class*="printing-"]) #view-container .grid-stats.project-payment-stats{grid-template-columns:minmax(0,1fr)!important}}
/* Unified report metrics, without nested colored cards. */
body.werger-ui:not([class*="printing-"]) :is(.warehouse-kpis,.dds-summary-grid,.project-overview-kpis,.dashboard-kpi-grid){gap:12px!important}
body.werger-ui:not([class*="printing-"]) .warehouse-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;margin:0 0 18px!important;padding:0!important;background:transparent!important;border:0!important}
body.werger-ui:not([class*="printing-"]) .warehouse-kpis>div{padding:18px 20px!important;border:1px solid var(--ws-line)!important;border-radius:10px!important;background:var(--ws-paper)!important;box-shadow:none!important;min-width:0!important;display:grid!important;gap:12px!important}
body.werger-ui:not([class*="printing-"]) .warehouse-kpis span{font-size:11px!important;color:var(--ws-muted)!important;line-height:1.5!important}
body.werger-ui:not([class*="printing-"]) .warehouse-kpis b{font-size:23px!important;font-weight:600!important;letter-spacing:-.04em!important;line-height:1.3!important;font-variant-numeric:tabular-nums!important;overflow-wrap:anywhere!important}
body.werger-ui:not([class*="printing-"]) :is(.dashboard-kpi-card,.dashboard-control-card,.dashboard-readiness-card,.planning-hero){border-radius:10px!important;padding:20px!important;box-shadow:none!important;background:var(--ws-paper)!important;background-image:none!important;border:1px solid var(--ws-line)!important}
body.werger-ui:not([class*="printing-"]) :is(.dashboard-kpi-card,.dashboard-control-card)::before{display:none!important}
/* Editors: one surface, restrained sections, a fixed action area. */
body.werger-ui:not([class*="printing-"]) .drawer{width:min(920px,calc(100vw - 64px))!important;max-width:100vw!important;background:var(--ws-paper)!important;border-radius:14px 0 0 14px!important;border-left:1px solid var(--ws-line)!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .drawer.open{box-shadow:-16px 0 64px #00000020!important}
body.werger-ui:not([class*="printing-"]) .drawer:not(.open){visibility:hidden!important;pointer-events:none!important}
body.werger-ui:not([class*="printing-"]) .drawer:has(.project-workspace),body.werger-ui:not([class*="printing-"]) .drawer.calculator-drawer{width:min(1180px,calc(100vw - 48px))!important}
body.werger-ui:not([class*="printing-"]) :is(.drawer-overlay.show,.modal-wrap.open){backdrop-filter:none!important;background:rgb(12 20 32 / 38%)!important}
body.werger-ui:not([class*="printing-"]) :is(.drawer-header,.modal-header){min-height:68px!important;padding:16px 24px!important;background:var(--ws-paper)!important;border-bottom:1px solid var(--ws-line)!important;box-shadow:none!important;gap:16px!important}
body.werger-ui:not([class*="printing-"]) :is(.drawer-title,.modal-header>span,.modal-header>h3){font-size:17px!important;font-weight:700!important;line-height:1.35!important;letter-spacing:-.025em!important}
body.werger-ui:not([class*="printing-"]) :is(.drawer-body,.modal-body){padding:24px!important;background:var(--ws-paper)!important;overscroll-behavior:contain!important}
body.werger-ui:not([class*="printing-"]) :is(.drawer-footer,.modal-footer,.inventory-nested-footer){padding:14px 24px!important;min-height:68px!important;gap:8px!important;border-top:1px solid var(--ws-line)!important;background:var(--ws-paper)!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .drawer-footer>#drawer-cancel-btn{margin-right:auto!important}
body.werger-ui:not([class*="printing-"]) :is(.modal-box,.inventory-nested-box){border-radius:14px!important;background:var(--ws-paper)!important;border:1px solid var(--ws-line)!important;box-shadow:0 24px 80px #00000030!important;overflow:hidden!important}
body.werger-ui:not([class*="printing-"]) .ds-form-body .field{margin-bottom:18px!important}
body.werger-ui:not([class*="printing-"]) .ds-form-body .field>label{display:block!important;margin-bottom:7px!important;font-size:12px!important;font-weight:500!important;line-height:1.45!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) :is(.operation-form-card,.warehouse-form-section,.warehouse-form-block,.drawer-form-section,.ds-form-section){padding:0 0 24px!important;margin:0 0 24px!important;border:0!important;border-bottom:1px solid var(--ws-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) :is(.operation-form-card,.warehouse-form-section,.warehouse-form-block,.drawer-form-section,.ds-form-section):last-child{margin-bottom:0!important;border-bottom:0!important}
body.werger-ui:not([class*="printing-"]) .operation-drawer-form{gap:0!important}
body.werger-ui:not([class*="printing-"]) :is(.operation-form-card-title,.warehouse-form-section-title){font-size:13px!important;font-weight:700!important;color:var(--ws-ink)!important;margin-bottom:20px!important;gap:9px!important}
body.werger-ui:not([class*="printing-"]) :is(.operation-form-card-title,.warehouse-form-section-title) .material-icons-round{font-size:18px!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) .ds-form-body .hint{font-size:11px!important;line-height:1.65!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) .branch-scope-note{border:0!important;border-radius:8px!important;background:var(--ws-soft)!important;font-size:11px!important;padding:12px 14px!important;margin-bottom:20px!important;line-height:1.65!important}
body.werger-ui:not([class*="printing-"]) .upload-dropzone{background:var(--ws-soft)!important;border:1px dashed var(--ws-line)!important;border-radius:10px!important;min-height:110px!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .upload-dropzone:is(:hover,.dragover){border-color:var(--primary)!important;background:color-mix(in srgb,var(--primary) 4%,var(--ws-paper))!important}
body.werger-ui:not([class*="printing-"]) .project-workspace-tabs{gap:4px!important;padding:8px!important;border:1px solid var(--ws-line)!important;border-radius:9px!important;background:var(--ws-soft)!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .project-workspace-tabs button{min-height:36px!important;padding:8px 12px!important;border-radius:6px!important;font-size:11px!important}
body.werger-ui:not([class*="printing-"]) .ds-page-head .btn.sm{height:38px!important;min-height:38px!important;font-size:12px!important;padding:0 13px!important}
/* Project forms share the same quiet surface as financial and warehouse editors. */
body.werger-ui:not([class*="printing-"]) .project-create-intro{font-size:12px!important;line-height:1.7!important;color:var(--ws-muted)!important;margin:0 0 16px!important;max-width:720px!important}
body.werger-ui:not([class*="printing-"]) .project-workspace .project-tabs.project-tabs{position:sticky!important;top:0!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important;padding:6px!important;margin:0 0 24px!important;background:var(--ws-soft)!important;border:1px solid var(--ws-line)!important;border-radius:9px!important;box-shadow:none!important;backdrop-filter:none!important}
body.werger-ui:not([class*="printing-"]) .project-workspace .project-tab-btn{height:auto!important;min-height:40px!important;min-width:0!important;white-space:normal!important;padding:8px 10px!important;font-size:11px!important;font-weight:500!important;line-height:1.45!important;border:0!important;border-radius:6px!important;justify-content:flex-start!important}
body.werger-ui:not([class*="printing-"]) .project-workspace .project-tab-btn.active{background:var(--ws-paper)!important;color:var(--ws-ink)!important;font-weight:600!important;box-shadow:0 1px 3px #0000000d!important}
body.werger-ui:not([class*="printing-"]) .project-workspace .project-tab-btn.active::after{display:none!important}
body.werger-ui:not([class*="printing-"]) .project-workspace .project-tab-panel.active{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .project-workspace :is(.project-overview-section,.project-technical-section){padding:0 0 24px!important;margin:0 0 24px!important;border:0!important;border-bottom:1px solid var(--ws-line)!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .project-workspace :is(.project-overview-heading,.project-technical-heading){margin:0 0 18px!important;gap:10px!important}
body.werger-ui:not([class*="printing-"]) .project-workspace :is(.project-overview-heading,.project-technical-heading)>span{width:auto!important;height:auto!important;padding:0!important;background:transparent!important;border:0!important;color:var(--ws-muted)!important;font-size:18px!important}
body.werger-ui:not([class*="printing-"]) .project-workspace :is(.project-overview-heading,.project-technical-heading) b{font-size:13px!important;font-weight:700!important;line-height:1.5!important}
body.werger-ui:not([class*="printing-"]) .project-workspace :is(.project-overview-heading,.project-technical-heading) small{font-size:11px!important;line-height:1.6!important;font-weight:400!important;margin-top:4px!important}
body.werger-ui:not([class*="printing-"]) .project-workspace-hero{grid-template-columns:minmax(0,1fr)!important;gap:20px!important;padding:0 0 24px!important;margin:0 0 24px!important;border:0!important;border-bottom:1px solid var(--ws-line)!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .project-workspace-summary{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0!important;width:100%!important;padding:16px 0!important;border:1px solid var(--ws-line)!important;border-radius:9px!important;background:var(--ws-soft)!important}
body.werger-ui:not([class*="printing-"]) .project-summary-chip{padding:0 16px!important;background:transparent!important;border:0!important;border-right:1px solid var(--ws-line)!important;border-radius:0!important;box-shadow:none!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .project-summary-chip:last-child{border-right:0!important}
body.werger-ui:not([class*="printing-"]) .project-summary-chip span{font-size:10px!important;font-weight:500!important;line-height:1.5!important}
body.werger-ui:not([class*="printing-"]) .project-summary-chip b{font-size:15px!important;line-height:1.5!important;margin-top:8px!important;font-weight:600!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.werger-ui:not([class*="printing-"]) .project-hero-commandbar{border:0!important;padding:0!important;gap:12px!important}
body.werger-ui:not([class*="printing-"]) #proj-create-modal .modal-footer>.btn:first-child{margin-right:auto!important}
@container project-workspace (max-width:900px){
 body.werger-ui:not([class*="printing-"]) .project-workspace .project-tabs.project-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.werger-ui:not([class*="printing-"]) .project-workspace-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 0!important}
 body.werger-ui:not([class*="printing-"]) .project-summary-chip:nth-child(3n){border-right:0!important}
}
@container project-workspace (max-width:560px){
 body.werger-ui:not([class*="printing-"]) .project-workspace .project-tabs.project-tabs{display:none!important}
 body.werger-ui:not([class*="printing-"]) .project-workspace-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.werger-ui:not([class*="printing-"]) .project-summary-chip:nth-child(3n){border-right:1px solid var(--ws-line)!important}
 body.werger-ui:not([class*="printing-"]) .project-summary-chip:nth-child(2n){border-right:0!important}
 body.werger-ui:not([class*="printing-"]) .project-tab-mobile{border:0!important;border-radius:0!important;padding:0 0 16px!important;margin-bottom:8px!important;background:var(--ws-paper)!important;box-shadow:none!important}
}
/* Task cards share the typography and action scale of the other lists. */
body.werger-ui:not([class*="printing-"]) .task-cards-grid{gap:16px!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important}
body.werger-ui:not([class*="printing-"]) .task-card{padding:20px!important;border:1px solid var(--ws-line)!important;border-radius:10px!important;background:var(--ws-paper)!important;box-shadow:none!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .task-card-title{font-size:14px!important;font-weight:600!important;line-height:1.6!important;min-height:0!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .task-card-top{align-items:flex-start!important;gap:12px!important}
body.werger-ui:not([class*="printing-"]) .task-card-buttons{border-top:1px solid var(--ws-line)!important;margin-top:18px!important;padding-top:14px!important}
body.werger-ui:not([class*="printing-"]) .task-card .task-meta{gap:10px!important;margin-top:14px!important;line-height:1.6!important}
body.werger-ui:not([class*="printing-"]) .task-card :is(.tag,.task-priority){font-size:10px!important;font-weight:500!important;border:0!important;border-radius:5px!important;padding:4px 6px!important}
body.werger-ui:not([class*="printing-"]) .task-board-help{font-size:11px!important;color:var(--ws-muted)!important;margin-bottom:14px!important}
body.werger-ui:not([class*="printing-"]) .task-kanban-board .kanban-col{background:var(--ws-soft)!important;border-radius:10px!important;padding:12px!important}
body.werger-ui:not([class*="printing-"]) .task-kanban-board .kanban-card{border-radius:8px!important;padding:16px!important}
body.werger-ui:not([class*="printing-"]) .task-kanban-board .kanban-col-head{font-size:12px!important;font-weight:600!important;padding:2px 2px 16px!important}
/* Do not show tiny decorative pills for ordinary references. */
body.werger-ui:not([class*="printing-"]) :is(.project-org-chip,.project-city-chip,.project-row-client){background:transparent!important;border:0!important;color:var(--ws-muted)!important;border-radius:0!important;padding:0!important;font-size:10px!important;font-weight:400!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .project-client-line{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .project-client-line>span>.material-icons-round{color:var(--ws-muted)!important}

/* Project register: seven stable columns fit a laptop; smaller workspaces use cards. */
body.werger-ui:not([class*="printing-"]) .ds-project-register{width:100%!important;max-width:100%!important;overflow-x:auto!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .projects-table-v2{table-layout:fixed!important;width:100%!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .projects-table-v2 :is(th,td){min-width:0!important;max-width:none!important;padding:14px 10px!important;box-sizing:border-box!important;white-space:normal!important;vertical-align:top!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register :is(th,td):nth-child(1){width:9%!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register :is(th,td):nth-child(2){width:27%!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register :is(th,td):nth-child(3){width:12%!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register :is(th,td):nth-child(4){width:15%!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register :is(th,td):nth-child(5){width:18%!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register :is(th,td):nth-child(6){width:13%!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register :is(th,td):nth-child(7){width:6%!important}
body.werger-ui:not([class*="printing-"]) #view-container .ds-project-register th:last-child{font-size:10px!important;padding-left:6px!important;padding-right:6px!important;text-align:center!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-number-cell>b{font-size:12px!important;letter-spacing:.02em!important;display:block!important;margin-bottom:10px!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-identity-badges{display:flex!important;flex-wrap:wrap!important;gap:6px!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-identity-badges>span{display:block!important;max-width:100%!important;white-space:normal!important;font-size:11px!important;line-height:1.5!important;background:transparent!important;border:0!important;color:var(--ws-muted)!important;padding:0!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-identity-badges .material-icons-round{display:none!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-main-title-row{display:block!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-main-title{font-size:13px!important;line-height:1.55!important;font-weight:600!important;max-width:none!important;overflow-wrap:anywhere!important;margin-bottom:7px!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-file-count-chip{display:inline-flex!important;height:24px!important;min-height:24px!important;margin:0 0 8px!important;padding:2px 6px!important;font-size:11px!important;background:var(--ws-soft)!important;border:0!important;border-radius:4px!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-client-line{display:block!important;background:transparent!important;border:0!important;padding:0!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-client-line>.material-icons-round,body.werger-ui:not([class*="printing-"]) .ds-project-register .project-client-line small{display:none!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-client-line b{font-size:11px!important;font-weight:400!important;color:var(--ws-muted)!important;white-space:normal!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-contract-stack{gap:9px!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-contract-stack>b{font-size:11px!important;font-weight:400!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register :is(.tag,.contract-type-badge){font-size:11px!important;padding:3px 5px!important;border:0!important;border-radius:4px!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.45!important;margin:2px 2px 2px 0!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-commercial-states{min-width:0!important;gap:9px!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-state-operation-switch{min-width:0!important;width:100%!important;border:0!important;border-radius:0!important;padding:2px 0!important;background:transparent!important;gap:6px!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .operation-payment-switch-track{width:27px!important;min-width:27px!important;flex-basis:27px!important;height:16px!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .operation-payment-switch-track::after{width:12px!important;height:12px!important;left:2px!important;top:2px!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-state-operation-switch.paid .operation-payment-switch-track::after{transform:translateX(11px)!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .operation-payment-switch-copy b{font-size:11px!important;font-weight:400!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .operation-payment-switch-copy small{font-size:11px!important;line-height:1.4!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-progress-stack{min-width:0!important;gap:16px!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-progress-block{display:grid!important;grid-template-columns:1fr auto!important;gap:5px!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-progress-block>span{font-size:11px!important;text-transform:none!important;color:var(--ws-muted)!important;grid-row:1!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-progress-block>b{font-size:11px!important;grid-column:2!important;grid-row:1!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-progress-block>.progress{grid-column:1/-1!important;grid-row:2!important;min-width:0!important;height:4px!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-progress-block>small{grid-column:1/-1!important;grid-row:3!important;font-size:11px!important;line-height:1.4!important;overflow-wrap:anywhere!important;white-space:normal!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-finance-v2{min-width:0!important;gap:8px!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-finance-v2>div{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:2px!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-finance-v2 span{font-size:11px!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-finance-v2 b{font-size:12px!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-finance-v2>div:nth-child(2)>b{font-size:11px!important;color:var(--ws-muted)!important;font-weight:400!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-finance-debt{border:0!important;padding-top:4px!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-deadline-badge{min-width:0!important;max-width:100%!important;padding:4px 6px!important;font-size:11px!important;white-space:normal!important;background:var(--ws-soft)!important;border:0!important;border-radius:5px!important;line-height:1.5!important}
body.werger-ui:not([class*="printing-"]) .project-actions-v2.ds-row-actions{width:32px!important;min-width:32px!important;display:flex!important;flex-direction:column!important;gap:4px!important}
body.werger-ui:not([class*="printing-"]) .project-register-created{font-size:10px!important;display:block!important;color:var(--ws-muted)!important;white-space:nowrap!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important;gap:14px!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-record{padding:20px!important;background:var(--ws-paper)!important;border:1px solid var(--ws-line)!important;border-radius:10px!important;box-shadow:none!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-record :is(.project-mobile-client,.project-mobile-finance){background:transparent!important;border:0!important;border-radius:0!important;padding:0!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-title{font-size:15px!important;font-weight:600!important;line-height:1.6!important;letter-spacing:-.02em!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-record .project-identity-badges{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:6px 12px!important;margin-top:10px!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-record .project-identity-badges>span{width:auto!important;flex:0 1 auto!important;padding:0!important;font-size:11px!important;font-weight:400!important;color:var(--ws-muted)!important;background:transparent!important;border:0!important;white-space:normal!important;line-height:1.5!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-record .project-identity-badges .material-icons-round{display:none!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-client{margin:10px 0!important;gap:8px!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-client small{display:none!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-client b{font-size:12px!important;font-weight:400!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-client>.material-icons-round{color:var(--ws-muted)!important;font-size:16px!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-finance{margin-top:16px!important;padding-top:16px!important;border-top:1px solid var(--ws-line)!important;gap:12px!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-finance b{font-size:15px!important;font-weight:600!important}
body.werger-ui:not([class*="printing-"]) .project-mobile-footer{margin-top:16px!important;padding-top:14px!important;border-top:1px solid var(--ws-line)!important}

.ds-active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:-2px 0 14px}
body.werger-ui:not([class*="printing-"]) .ds-filter-chip{display:inline-flex!important;align-items:center!important;gap:8px!important;min-width:0!important;max-width:100%!important;min-height:28px!important;padding:4px 8px!important;background:var(--ws-paper)!important;border:1px solid var(--ws-line)!important;border-radius:5px!important;font:inherit!important;font-size:10px!important;color:var(--ws-muted)!important;cursor:pointer!important}
.ds-filter-chip>span:first-child{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ds-filter-chip>.material-icons-round{font-size:14px!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-chip:hover{border-color:var(--primary)!important;color:var(--primary)!important}
body.werger-ui:not([class*="printing-"]) :is(.parameters-tabs,.settings-tabs,.directory-tabs){position:static!important;top:auto!important;display:flex!important;flex-wrap:wrap!important;gap:6px!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0 0 14px!important;margin:0 0 22px!important;border-bottom:1px solid var(--ws-line)!important;box-shadow:none!important;z-index:auto!important}
body.werger-ui:not([class*="printing-"]) :is(.parameters-tabs,.settings-tabs,.directory-tabs)>:is(button,.btn){min-height:36px!important;height:36px!important;padding:8px 12px!important;font-size:12px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--ws-muted)!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) :is(.parameters-tabs,.settings-tabs,.directory-tabs)>:is(button,.btn).active{background:var(--ws-paper)!important;color:var(--ws-ink)!important;box-shadow:0 0 0 1px var(--ws-line)!important}
body.werger-ui:not([class*="printing-"]) .dashboard-command-header{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:20px!important;padding:0!important;margin-bottom:22px!important;min-height:58px!important;border:0!important;background:transparent!important}
body.werger-ui:not([class*="printing-"]) .dashboard-eyebrow{display:none!important}
body.werger-ui:not([class*="printing-"]) .dashboard-command-header h1{font-size:26px!important;letter-spacing:-.045em!important;line-height:1.25!important;font-weight:700!important;margin:0 0 8px!important}
body.werger-ui:not([class*="printing-"]) .dashboard-command-header p{font-size:11px!important;line-height:1.55!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .dashboard-command-stats{display:flex!important;gap:18px!important;padding:0!important;background:transparent!important;border:0!important}
body.werger-ui:not([class*="printing-"]) .dashboard-command-stats>div{display:grid!important;gap:4px!important;padding:0 0 0 18px!important;min-width:0!important;border:0!important;border-left:1px solid var(--ws-line)!important;background:transparent!important;border-radius:0!important}
body.werger-ui:not([class*="printing-"]) .dashboard-command-stats span{font-size:10px!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) .dashboard-command-stats b{font-size:18px!important;font-weight:600!important;color:var(--ws-ink)!important}
body.werger-ui:not([class*="printing-"]) .dashboard-filter-panel.ds-filter-bar{padding:12px!important;background:var(--ws-paper)!important;border:1px solid var(--ws-line)!important;border-radius:10px!important;margin-bottom:18px!important;align-items:flex-end!important}
body.werger-ui:not([class*="printing-"]) .gpr-summary-control-card>.ds-filter-bar{padding:0!important;margin:0 0 12px!important;border:0!important;border-radius:0!important;background:transparent!important}
body.werger-ui:not([class*="printing-"]) .dashboard-filter-panel>.dashboard-filter-field{margin:0!important;width:200px!important;flex:0 1 200px!important}
body.werger-ui:not([class*="printing-"]) .dashboard-filter-panel>.dashboard-filter-field.ds-search-field{width:260px!important;flex:0 1 260px!important}
body.werger-ui:not([class*="printing-"]) .dashboard-filter-panel>.ds-filter-control{display:none!important}
body.werger-ui:not([class*="printing-"]) .dashboard-filter-panel.ds-filters-open>.ds-filter-control{display:flex!important}
body.werger-ui:not([class*="printing-"]) .dashboard-kpi-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 20px!important}
body.werger-ui:not([class*="printing-"]) .dashboard-kpi-card{padding:20px!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .dashboard-kpi-icon{background:var(--ws-soft)!important;color:var(--ws-muted)!important;width:32px!important;height:32px!important;border-radius:7px!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .dashboard-kpi-label{font-size:11px!important;font-weight:500!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) .dashboard-kpi-value{font-size:25px!important;line-height:1.4!important;letter-spacing:-.045em!important;margin:16px 0 8px!important;font-weight:600!important;white-space:normal!important;overflow-wrap:anywhere!important;color:var(--ws-ink)!important}
body.werger-ui:not([class*="printing-"]) .dashboard-kpi-meta{font-size:10px!important;color:var(--ws-muted)!important;line-height:1.65!important}
body.werger-ui:not([class*="printing-"]) :is(.dashboard-section-head,.account-state-head,.customer-debt-head){padding:20px!important;background:transparent!important;border-bottom:1px solid var(--ws-line)!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) :is(.account-state-card,.customer-debt-card,.dashboard-projects-card){padding:0!important;overflow:hidden!important}
body.werger-ui:not([class*="printing-"]) :is(.account-state-main-icon,.customer-debt-main-icon){background:var(--ws-soft)!important;color:var(--ws-muted)!important;box-shadow:none!important;border-radius:8px!important;width:36px!important;height:36px!important}
body.werger-ui:not([class*="printing-"]) :is(.account-state-grid,.customer-debt-list){padding:16px 20px!important;gap:0!important}
body.werger-ui:not([class*="printing-"]) :is(.account-state-item,.customer-debt-item){border:0!important;border-bottom:1px solid var(--ws-line)!important;border-radius:0!important;padding:14px 0!important;background:transparent!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) :is(.account-state-item,.customer-debt-item):last-child{border-bottom:0!important}
body.werger-ui:not([class*="printing-"]) :is(.account-state-item-icon,.customer-debt-avatar){border-radius:7px!important;background:var(--ws-soft)!important;color:var(--ws-muted)!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .planning-hero{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;align-items:center!important;gap:20px!important;margin-bottom:20px!important;padding:0!important;background:transparent!important;border:0!important}
body.werger-ui:not([class*="printing-"]) .planning-hero-icon{display:none!important}
body.werger-ui:not([class*="printing-"]) .planning-hero h2{font-size:26px!important;letter-spacing:-.04em!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .planning-hero p{font-size:11px!important;line-height:1.55!important;margin-top:8px!important}
body.werger-ui:not([class*="printing-"]) :is(.production-view-tabs,.planning-tabs,.budget-view-toggle,.attendance-view-tabs){margin:0 0 16px!important;min-height:38px!important;width:max-content!important;max-width:100%!important;gap:4px!important;padding:3px!important;border:1px solid var(--ws-line)!important;border-radius:8px!important;background:var(--ws-paper)!important}
@media(max-width:1100px){body.werger-ui:not([class*="printing-"]) .dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

body.werger-ui:not([class*="printing-"]) .ds-view-trigger{display:inline-flex!important;flex-direction:row!important;align-items:center!important;grid-template-columns:none!important;line-height:1.4!important;white-space:nowrap!important}
body.werger-ui:not([class*="printing-"]) .ds-view-trigger>span{width:auto!important;display:inline-block!important;grid-column:auto!important;grid-row:auto!important;margin-top:0!important;margin-bottom:0!important}
body.werger-ui:not([class*="printing-"]) .project-actions-v2{display:flex!important;justify-content:center!important;width:auto!important;min-width:0!important;gap:0!important}
body.werger-ui:not([class*="printing-"]) .project-action-popover{min-width:228px!important;max-width:calc(100vw - 24px)!important;padding:6px!important;background:var(--ws-paper)!important;color:var(--ws-ink)!important;border:1px solid var(--ws-line)!important;border-radius:10px!important;box-shadow:0 12px 36px #00000024!important}
body.werger-ui:not([class*="printing-"]) .project-action-popover>button{font-size:12px!important;min-height:36px!important;padding:9px 10px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--ws-ink)!important;font-weight:400!important;gap:10px!important}
body.werger-ui:not([class*="printing-"]) .project-action-popover>button:hover{background:var(--ws-soft)!important}
body.werger-ui:not([class*="printing-"]) .project-action-popover>button.danger{color:var(--danger)!important}
body.werger-ui:not([class*="printing-"]) .customer-debt-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;margin:0!important;padding:16px 20px!important;background:var(--ws-soft)!important;border-bottom:1px solid var(--ws-line)!important}
body.werger-ui:not([class*="printing-"]) .customer-debt-summary>div{padding:0 14px!important;background:transparent!important;border:0!important;border-right:1px solid var(--ws-line)!important;border-radius:0!important;grid-column:auto!important}
body.werger-ui:not([class*="printing-"]) .customer-debt-summary>div:first-child{padding-left:0!important}
body.werger-ui:not([class*="printing-"]) .customer-debt-summary>div:last-child{border-right:0!important}
body.werger-ui:not([class*="printing-"]) .customer-debt-summary span{font-size:10px!important;font-weight:500!important;text-transform:none!important;letter-spacing:0!important}
body.werger-ui:not([class*="printing-"]) .customer-debt-summary b{font-size:15px!important;font-weight:600!important;margin-top:8px!important;line-height:1.4!important}
body.werger-ui:not([class*="printing-"]) .account-state-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(270px,1fr))!important;gap:0 24px!important;max-height:none!important;overflow:visible!important}
body.werger-ui:not([class*="printing-"]) .settings-overview-grid{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin-bottom:16px!important}
body.werger-ui:not([class*="printing-"]) .settings-overview-grid>.settings-metric{flex:1 1 165px!important;min-width:0!important;border-radius:10px!important;background:var(--ws-paper)!important;border:1px solid var(--ws-line)!important;padding:18px!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .settings-metric-head{font-size:10px!important;text-transform:none!important;font-weight:500!important;line-height:1.5!important}
body.werger-ui:not([class*="printing-"]) .settings-metric-head .material-icons-round{color:var(--ws-muted)!important;font-size:18px!important}
body.werger-ui:not([class*="printing-"]) .settings-metric b{font-size:22px!important;font-weight:600!important;margin-top:12px!important;line-height:1.3!important}
body.werger-ui:not([class*="printing-"]) .settings-metric small{font-size:10px!important;line-height:1.6!important;margin-top:7px!important}

body.werger-ui:not([class*="printing-"]) .ds-project-register .project-identity-badges{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px 12px!important;margin-top:6px!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-identity-badges>span{display:inline-flex!important;width:auto!important;flex:0 1 auto!important;gap:3px!important;max-width:100%!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-number-cell .project-file-count-chip{margin:10px 0 0!important;font-size:9px!important;padding:2px 4px!important;white-space:nowrap!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-finance-v2 b:empty{display:none!important}
body.werger-ui:not([class*="printing-"]) .task-badge[data-task-priority=Средний],body.werger-ui:not([class*="printing-"]) .task-badge[data-task-priority=Низкий]{background:var(--ws-soft)!important;color:var(--ws-muted)!important;border:0!important}
@media(min-width:1600px){body.werger-ui:not([class*="printing-"]) .content-area{padding:30px 36px 44px!important}}
@media(max-width:1100px){
 body.werger-ui:not([class*="printing-"]){--ws-sidebar:212px}
 .ds-breadcrumb-brand,.ds-breadcrumb-separator{display:none!important}
 body.werger-ui:not([class*="printing-"]) .content-area{padding:22px!important}
 body.werger-ui:not([class*="printing-"]) .ds-page-head h2{font-size:24px!important}
 body.werger-ui:not([class*="printing-"]) .warehouse-kpis b{font-size:20px!important}
}
body.werger-ui:not([class*="printing-"]) .task-card-buttons.ds-action-rail>.btn{height:32px!important;min-height:32px!important;font-size:11px!important;padding:0 10px!important}
@media(max-width:680px){
 body.werger-ui:not([class*="printing-"]) .customer-debt-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;padding:16px!important}
 body.werger-ui:not([class*="printing-"]) .customer-debt-summary>div{padding:0!important;border:0!important}
 body.werger-ui:not([class*="printing-"]) .account-state-grid{grid-template-columns:minmax(0,1fr)!important;padding:14px 16px!important}
 body.werger-ui:not([class*="printing-"]) .settings-overview-grid>.settings-metric{flex:1 1 130px!important;padding:14px!important}
 body.werger-ui:not([class*="printing-"]) .settings-metric b{font-size:20px!important}
 body.werger-ui:not([class*="printing-"]) .ds-page-head .btn.sm,body.werger-ui:not([class*="printing-"]) .task-card-buttons.ds-action-rail>.btn{height:44px!important;min-height:44px!important}
 body.werger-ui:not([class*="printing-"]) .project-mobile-list{grid-template-columns:minmax(0,1fr)!important}
 body.werger-ui:not([class*="printing-"]) .dashboard-command-stats{width:100%!important;justify-content:space-between!important;gap:8px!important;margin-top:4px!important}
 body.werger-ui:not([class*="printing-"]) .dashboard-command-stats>div{padding-left:10px!important}
 body.werger-ui:not([class*="printing-"]) .dashboard-command-stats>div:first-child{padding-left:0!important;border:0!important}
 body.werger-ui:not([class*="printing-"]) .dashboard-kpi-card{padding:14px!important}
 body.werger-ui:not([class*="printing-"]) .dashboard-kpi-value{font-size:20px!important}
 body.werger-ui:not([class*="printing-"]) .dashboard-filter-panel>.dashboard-filter-field{width:100%!important;flex:1 1 100%!important}
 body.werger-ui:not([class*="printing-"]) .ds-filter-chip{min-height:36px!important;font-size:11px!important}
 body.werger-ui:not([class*="printing-"]){--ds-control:44px}
 body.werger-ui:not([class*="printing-"]) #app-main>header{height:58px!important;min-height:58px!important;padding:0 14px!important;gap:8px!important}
 body.werger-ui:not([class*="printing-"]) .content-area{padding:20px 16px 32px!important}
 body.werger-ui:not([class*="printing-"]) .ds-page-head{flex-wrap:wrap!important;gap:16px!important;margin-bottom:18px!important}
 body.werger-ui:not([class*="printing-"]) .ds-page-head .ds-heading-copy{flex:1 1 100%!important;min-width:0!important}
 body.werger-ui:not([class*="printing-"]) .ds-page-head h2{font-size:25px!important}
 body.werger-ui:not([class*="printing-"]) .ds-page-head>:is(.toolbar-actions,.project-toolbar-tools){max-width:100%!important;width:100%!important;flex:1 1 100%!important;justify-content:flex-start!important}
 body.werger-ui:not([class*="printing-"]) .ds-page-head .ds-main-action{flex:1 1 auto!important}
 body.werger-ui:not([class*="printing-"]) .btn{min-height:44px!important;height:44px!important;padding:0 12px!important;font-size:12px!important}
 body.werger-ui:not([class*="printing-"]) .btn.icon{width:44px!important;min-width:44px!important;padding:0!important}
 body.werger-ui:not([class*="printing-"]) :is(input,select):where(:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color])){height:44px!important;min-height:44px!important;font-size:16px!important}
 .ds-workspace-tools{flex-wrap:wrap;padding:10px;gap:10px;margin-bottom:12px}
 body.werger-ui:not([class*="printing-"]) .ds-workspace-tools>.ds-filter-bar{flex:1 1 100%!important;width:100%!important;gap:8px!important}
 body.werger-ui:not([class*="printing-"]) .ds-workspace-tools>.ds-filter-bar>.ds-filter-lead:is(.ds-search-field,.search){flex:1 1 0!important;width:auto!important;max-width:none!important}
 body.werger-ui:not([class*="printing-"]) .ds-workspace-tools>.ds-filter-bar>.ds-filter-lead>.search{width:100%!important}
 body.werger-ui:not([class*="printing-"]) .ds-workspace-tools .ds-filter-control{width:100%!important;flex:1 1 100%!important}
 body.werger-ui:not([class*="printing-"]) .ds-workspace-tools .ds-filter-core{width:100%!important;flex:1 1 100%!important;order:3!important}
 body.werger-ui:not([class*="printing-"]) .ds-workspace-tools.ds-has-view>.ds-filter-bar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}
 body.werger-ui:not([class*="printing-"]) .ds-workspace-tools.ds-has-view>.ds-filter-bar>.ds-filter-lead{grid-column:1!important;grid-row:1!important;width:100%!important;min-width:0!important}
 body.werger-ui:not([class*="printing-"]) .ds-workspace-tools.ds-has-view>.ds-filter-bar>.ds-filter-toggle{grid-column:2!important;grid-row:1!important;margin:0!important}
 body.werger-ui:not([class*="printing-"]) .ds-workspace-tools.ds-has-view>.ds-filter-bar>:is(.ds-filter-core,.ds-filter-control,.ds-filter-divider){grid-column:1/-1!important}
 body.werger-ui:not([class*="printing-"]) .ds-workspace-tools .ds-filter-control.ds-filter-period{flex:1 1 100%!important;width:100%!important;max-width:none!important}
 body.werger-ui:not([class*="printing-"]) .ds-workspace-tools>.project-mode-tabs{height:40px!important;min-height:40px!important;width:100%!important;flex:1 1 100%!important}
 body.werger-ui:not([class*="printing-"]) .ds-workspace-tools .project-mode-tabs>.btn{flex:1!important;height:34px!important;min-height:34px!important}
 body.werger-ui:not([class*="printing-"]) .ds-workspace-tools>.task-view-toggle{width:100%!important;flex:1 1 100%!important}
 body.werger-ui:not([class*="printing-"]) .ds-view-trigger{width:100%!important;justify-content:flex-start!important;font-size:12px!important}
 body.werger-ui:not([class*="printing-"]) .ds-view-trigger>.material-icons-round:last-child{margin-left:auto!important}
 .ds-results-hint{display:none}
 body.werger-ui:not([class*="printing-"]) .warehouse-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-bottom:14px!important}
 body.werger-ui:not([class*="printing-"]) .warehouse-kpis>div{padding:14px!important;gap:8px!important}
 body.werger-ui:not([class*="printing-"]) .warehouse-kpis b{font-size:19px!important}
 body.werger-ui:not([class*="printing-"]) .warehouse-kpis span{font-size:10px!important}
 body.werger-ui:not([class*="printing-"]) .task-cards-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 body.werger-ui:not([class*="printing-"]) .task-card{padding:18px!important}
 body.werger-ui:not([class*="printing-"]) :is(.drawer,.drawer:has(.project-workspace),.drawer.calculator-drawer){width:100vw!important;max-width:100vw!important;border-radius:0!important;border:0!important}
 body.werger-ui:not([class*="printing-"]) :is(.drawer-header,.modal-header){min-height:64px!important;padding:12px 16px!important}
 body.werger-ui:not([class*="printing-"]) :is(.drawer-body,.modal-body){padding:20px 16px!important}
 body.werger-ui:not([class*="printing-"]) :is(.drawer-footer,.modal-footer,.inventory-nested-footer){padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important;min-height:68px!important;flex-wrap:wrap!important}
 body.werger-ui:not([class*="printing-"]) :is(.drawer-footer,.modal-footer,.inventory-nested-footer)>.btn{height:auto!important;min-height:44px!important;white-space:normal!important;padding:10px 12px!important}
 body.werger-ui:not([class*="printing-"]) .modal-box{border-radius:12px!important;max-width:calc(100vw - 20px)!important}
 body.werger-ui:not([class*="printing-"]) .project-workspace-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(prefers-reduced-motion:reduce){body.werger-ui *{scroll-behavior:auto!important;transition:none!important}}
}
}

@layer werger-workspace{
@media screen{
/* One frame for nested stock/catalog editors, including the third-level group form. */
body.werger-ui:not([class*="printing-"]) .inventory-nested-modal{border-radius:12px!important;max-height:min(820px,calc(100dvh - 48px))!important;max-width:calc(100vw - 32px)!important;background:var(--ws-paper)!important;border:1px solid var(--ws-line)!important}
body.werger-ui:not([class*="printing-"]) .inventory-nested-head{flex:0 0 auto!important;min-height:68px!important;padding:16px 24px!important;border-bottom:1px solid var(--ws-line)!important;background:var(--ws-paper)!important;gap:16px!important}
body.werger-ui:not([class*="printing-"]) .inventory-nested-head b{font-size:17px!important;font-weight:600!important;line-height:1.4!important;overflow-wrap:anywhere!important}
body.werger-ui:not([class*="printing-"]) .inventory-nested-head .btn{flex:0 0 auto!important}
body.werger-ui:not([class*="printing-"]) .inventory-nested-body{min-height:0!important;padding:24px!important;overscroll-behavior:contain;scroll-padding:20px}
body.werger-ui:not([class*="printing-"]) .inventory-nested-footer{flex:0 0 auto!important;min-height:70px!important;padding:14px 24px!important;background:var(--ws-paper)!important;gap:10px!important;border-top:1px solid var(--ws-line)!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) #catalog-entry-modal .inventory-nested-modal{width:820px!important}
body.werger-ui:not([class*="printing-"]) :is(#catalog-group-modal,#catalog-group-picker) .inventory-nested-modal{width:560px!important}
.catalog-dialog .catalog-admin-form{max-width:none;gap:24px;margin:0}
.catalog-dialog .catalog-admin-form label,.catalog-group-field>label,.catalog-picker-search{font-size:12px;font-weight:500;line-height:1.5;color:var(--ws-ink)}
.catalog-dialog .catalog-admin-form label:not(.catalog-check),.catalog-picker-search{display:grid;gap:8px;min-width:0}
.catalog-entry-section{display:grid;gap:18px;min-width:0;padding-bottom:24px;border-bottom:1px solid var(--ws-line)}
.catalog-entry-section:last-child{padding-bottom:0;border-bottom:0}
.catalog-entry-section h3{font-size:13px;font-weight:600;line-height:1.5;margin:0;color:var(--ws-ink)}
.catalog-dialog .catalog-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.catalog-dialog .catalog-check{font-weight:400!important;align-items:flex-start!important;gap:10px!important}
.catalog-dialog .catalog-check input{accent-color:var(--primary);margin-top:1px}
.catalog-dialog .catalog-form-grid>.catalog-check{align-self:end;min-height:38px}
.catalog-group-field{display:grid;gap:8px;min-width:0}
.catalog-group-control{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:start;min-width:0}
.catalog-group-control select{width:100%;min-width:0;text-overflow:ellipsis}
.catalog-dialog .hint{font-size:11px!important;font-weight:400;line-height:1.65!important;margin:0!important;color:var(--ws-muted)!important}
.catalog-dialog textarea{resize:vertical;min-height:90px!important;line-height:1.6!important}
.catalog-dialog .catalog-upload{background:var(--ws-soft)!important;border:1px dashed var(--ws-line)!important;border-radius:8px!important;padding:24px 16px!important;gap:8px!important}
.catalog-dialog .catalog-upload>span.material-icons-round{font-size:26px!important;color:var(--ws-muted)!important}
.catalog-dialog .catalog-upload b{font-size:12px;font-weight:500;line-height:1.6}
.catalog-dialog .catalog-upload>span:not(.material-icons-round){font-size:11px;line-height:1.6}
.catalog-dialog .catalog-upload:hover,.catalog-dialog .catalog-upload.dragover{border-color:var(--primary)!important}
.catalog-form-feedback{padding:12px 14px;margin:0 0 20px;border:1px solid var(--ws-line);border-radius:8px;font-size:12px;line-height:1.6;background:var(--ws-soft);color:var(--ws-ink);overflow-wrap:anywhere}
.catalog-form-feedback[hidden]{display:none!important}
.catalog-form-feedback.error{border-color:color-mix(in srgb,var(--danger) 35%,var(--ws-line));color:var(--danger)}
.catalog-picker-results{display:grid;gap:4px;margin-top:16px}
.catalog-group-option{display:grid;gap:5px;min-width:0;min-height:52px;border:0;border-bottom:1px solid var(--ws-line);background:transparent;color:var(--ws-ink);text-align:left;padding:12px;border-radius:6px;cursor:pointer;font:inherit;overflow-wrap:anywhere}
.catalog-group-option:hover{background:var(--ws-soft)}
.catalog-group-option>b{font-size:12px;font-weight:500;line-height:1.5}
.catalog-group-option>small{font-size:11px;line-height:1.6;color:var(--ws-muted)}
.catalog-dialog[aria-busy="true"] .catalog-upload{pointer-events:none;opacity:.6}
.task-result-summary{display:grid;gap:6px;min-width:0;max-width:100%;margin:10px 0 0;padding:10px 12px;border:1px solid var(--ws-line);border-radius:8px;background:var(--ws-soft);font-size:12px;line-height:1.6;color:var(--ws-ink);text-align:left}
.task-result-summary>b{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:600}
.task-result-summary>b>.material-icons-round{font-size:16px;color:var(--success)}
.task-result-summary>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.task-result-summary>small{font-size:10px;color:var(--ws-muted);overflow-wrap:anywhere}
.task-detail{display:grid;gap:20px;min-width:0}
.task-result-panel{padding:20px;border:1px solid var(--ws-line);border-radius:10px;background:var(--ws-soft);min-width:0}
.task-result-heading{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px}
.task-result-heading>.material-icons-round{color:var(--success);font-size:22px}
.task-result-heading>div{display:grid;gap:6px;min-width:0}
.task-result-heading b{font-size:15px;line-height:1.5;font-weight:600;color:var(--ws-ink)}
.task-result-heading small{font-size:11px;line-height:1.6;color:var(--ws-muted);overflow-wrap:anywhere}
.task-result-panel.previous .task-result-heading>.material-icons-round{color:var(--ws-muted)}
.task-result-panel .task-result-text{font-size:13px;line-height:1.75;color:var(--ws-ink);margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.task-result-files{margin-top:18px;padding-top:16px;border-top:1px solid var(--ws-line);display:grid;gap:10px;min-width:0}
.task-result-files>b{font-size:12px;color:var(--ws-ink)}
body.werger-ui .task-file-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 12px!important;align-items:start!important;min-width:0!important}
body.werger-ui .task-file-link{grid-column:1;grid-row:1;min-width:0!important;max-width:100%!important;display:flex!important;align-items:flex-start!important;white-space:normal!important;line-height:1.6!important}
.task-file-link>.material-icons-round{flex:none;margin-top:2px}
.task-file-name{min-width:0;overflow-wrap:anywhere}
.task-file-meta{grid-column:1;grid-row:2;min-width:0;overflow-wrap:anywhere;line-height:1.7}
.task-file-actions{grid-column:2;grid-row:1 / span 2;display:flex;align-items:center;gap:4px;max-width:100%}
@media(max-width:600px){.task-file-actions{grid-column:1;grid-row:3;justify-content:flex-start;margin-top:4px}}
.task-detail-loading{padding:24px;color:var(--ws-muted);font-size:13px}
body.werger-ui:not([class*="printing-"]) .task-feedback-dialog .modal-box{width:800px!important;max-width:calc(100vw - 24px)!important}
.task-detail .task-view-grid{margin:0;gap:16px}
.task-detail .task-view-desc{margin:0}
@media(max-width:600px){.task-result-panel{padding:16px}.task-detail{gap:16px}.task-detail .task-view-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.task-detail .task-view-v{overflow-wrap:anywhere}}
.catalog-trash-hint{font-size:12px;line-height:1.7;color:var(--ws-muted);margin:0 0 18px;max-width:820px}
.catalog-entry-filters{display:grid;grid-template-columns:minmax(0,260px) minmax(0,180px);align-items:center;gap:10px;padding:12px 16px;margin-bottom:20px;border:1px solid var(--ws-line);border-radius:10px;background:var(--ws-paper)}
.catalog-entry-filters>input,.catalog-entry-filters>select{min-width:0;width:100%;margin:0}
@media(max-width:520px){.catalog-entry-filters{grid-template-columns:minmax(0,1fr);padding:12px;gap:8px}}
.catalog-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:auto;padding-top:8px}
body.werger-ui:not([class*="printing-"]) .catalog-card-actions>.btn{min-width:0!important;width:100%;padding-inline:10px!important;margin:0!important;align-self:stretch;font-size:12px!important}
.catalog-card-actions>.btn:only-child{grid-column:1/-1}
body.werger-ui:not([class*="printing-"]) .btn.catalog-delete{color:var(--danger)!important;background:transparent!important;border-color:var(--ws-line)!important}
body.werger-ui:not([class*="printing-"]) .btn.catalog-delete:hover{background:color-mix(in srgb,var(--danger) 8%,var(--ws-paper))!important;border-color:color-mix(in srgb,var(--danger) 35%,var(--ws-line))!important}
body.werger-ui:not([class*="printing-"]) .catalog-editor-delete{margin-right:auto!important}
body.werger-ui:not([class*="printing-"]) #catalog-entry-action-modal .inventory-nested-modal{width:500px!important}
.catalog-entry-confirm{display:grid;gap:16px;min-width:0;color:var(--ws-ink)}
.catalog-entry-confirm h3{font-size:16px;font-weight:600;line-height:1.5;margin:0;overflow-wrap:anywhere}
.catalog-entry-confirm p{font-size:13px;line-height:1.75;margin:0;color:var(--ws-muted)}
.catalog-action-symbol{display:grid;place-items:center;justify-self:start;width:44px;height:44px;font-size:24px;color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,var(--ws-paper));border-radius:10px}
.catalog-entry-confirm .catalog-unsaved-note{border-top:1px solid var(--ws-line);padding-top:16px;font-size:12px}
.catalog-dialog .catalog-file-row{gap:10px;font-size:12px;line-height:1.6;min-width:0}
.catalog-dialog .catalog-file-row>small{color:var(--ws-muted)}
body.werger-ui.mobile-layout .inventory-nested-wrap{top:var(--werger-visual-top,0px)!important;bottom:auto!important;height:var(--werger-visual-height,100dvh)!important;box-sizing:border-box!important;padding:10px!important}
body.werger-ui.mobile-layout .inventory-nested-modal{max-height:100%!important;max-width:100%!important}
body.werger-ui.mobile-layout .inventory-nested-body{scroll-padding-bottom:max(96px,env(safe-area-inset-bottom))!important}
@media(max-width:680px){
 body.werger-ui:not([class*="printing-"]) .inventory-nested-head{min-height:64px!important;padding:12px 16px!important;gap:12px!important}
 body.werger-ui:not([class*="printing-"]) .inventory-nested-head b{font-size:16px!important}
 body.werger-ui:not([class*="printing-"]) .inventory-nested-body{padding:20px 16px!important}
 body.werger-ui:not([class*="printing-"]) .inventory-nested-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important;min-height:68px!important}
 .catalog-dialog .catalog-form-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .catalog-dialog .catalog-admin-form,.catalog-entry-section{gap:18px}
 .catalog-group-control{grid-template-columns:minmax(0,1fr) auto}
 .catalog-group-control>button:last-child{grid-column:1/-1;justify-self:start}
 .catalog-entry-section{padding-bottom:20px}
 body.werger-ui:not([class*="printing-"]) .catalog-dialog .inventory-nested-footer>.btn{flex:1 1 auto!important}
}
}
}

/* 0.4.26.98 — shared corrections for populated registers and nested editors. */
@layer werger-workspace {
@media screen {
body.werger-ui:not([class*="printing-"]) :is(input,select,textarea):focus-visible{outline-offset:-2px!important}
body.werger-ui:not([class*="printing-"]) .ds-aligned-fields{align-items:start!important}
body.werger-ui:not([class*="printing-"]) .ds-aligned-fields>.field{align-self:start!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .ds-aligned-fields>.field>label{min-height:var(--ds-label-height,18px)!important;margin:0 0 7px!important;display:block!important}
body.werger-ui:not([class*="printing-"]) .field>.hint{display:block;margin-top:6px!important}
/* A single search row; all filters open on desktop, together on mobile. */
body.werger-ui:not([class*="printing-"]) .ds-workspace-tools{display:block!important;padding:12px!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar{align-items:flex-end!important;gap:10px 12px!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-control{display:flex!important;order:2!important;width:170px!important;flex:0 0 170px!important;align-self:flex-end!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar .ds-filter-field{margin:0!important;gap:5px!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar .ds-filter-label{display:block!important;min-height:16px!important;line-height:16px!important;margin:0!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-lead.ds-search-field{width:240px!important;flex:0 1 240px!important;max-width:320px!important;order:0!important;align-self:flex-start!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-search-field>.ds-filter-label{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;clip-path:inset(50%);overflow:hidden!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-period{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:302px!important;flex:0 0 302px!important;gap:8px!important;order:2!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar .ds-date-field{width:auto!important;flex:none!important;min-width:0!important;max-width:none!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar input[type=date]{width:100%!important;min-width:140px!important;padding:8px!important;font-size:12px!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-divider{order:1!important;display:block!important;flex:0 0 100%!important;width:100%!important;margin:0!important;border-color:var(--ws-line)!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar:not(.ds-has-search)>.ds-filter-divider{display:none!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-view{order:0!important;margin:0 0 0 auto!important;align-self:flex-start!important;flex:0 0 auto!important;width:auto!important;border:0!important;padding:0!important;min-height:38px!important;display:flex!important;gap:4px!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-view .btn{height:38px!important;min-height:38px!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-toggle{display:none!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-control:is(button,label,.filter-preset-tools,.dashboard-filter-actions){width:auto!important;flex:0 0 auto!important;min-height:38px!important;height:auto!important;align-items:center!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.filter-preset-tools{padding:0!important;margin:0!important;gap:8px!important;border:0!important;max-width:100%!important;flex-wrap:wrap!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar .filter-preset-tools select{width:180px!important;flex:0 1 180px!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar :is(.filter-preset-tools,.dashboard-filter-actions) .btn{height:38px!important;min-height:38px!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar .search{height:38px!important;min-height:38px!important;min-width:0!important;box-sizing:border-box!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar .search>input:not([type=checkbox]){border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;height:34px!important;min-height:0!important;padding:0!important;outline:none!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar .search:focus-within{border-color:var(--primary)!important;outline:2px solid var(--primary)!important;outline-offset:-2px!important}
body.werger-ui:not([class*="printing-"]) .ds-active-filters{display:none!important}
/* Organization and branch identities retain their meaning across all lists. */
body.werger-ui:not([class*="printing-"]) :is(.project-identity-badges>.project-identity-badge.organization,.organization-badge.organization){display:inline-flex!important;align-items:center!important;gap:5px!important;max-width:100%!important;width:fit-content!important;padding:4px 7px!important;border:1px solid var(--org-border)!important;border-radius:6px!important;background:var(--org-bg)!important;color:var(--org-fg)!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;line-height:1.4!important;font-size:11px!important;font-weight:600!important}
body.werger-ui:not([class*="printing-"]) :is(.project-identity-badges>.project-identity-badge.organization,.organization-badge.organization) .material-icons-round{display:inline-block!important;font-size:14px!important;flex:0 0 14px!important}
body.werger-ui:not([class*="printing-"]) :is(.project-identity-badges>.project-identity-badge.branch,.branch-list-badge,.branch-cell){display:inline-flex!important;align-items:center!important;gap:5px!important;width:fit-content!important;max-width:100%!important;padding:4px 7px!important;border:1px solid var(--ws-line)!important;border-radius:6px!important;background:var(--ws-soft)!important;color:var(--ws-muted)!important;font-size:11px!important;line-height:1.4!important;white-space:normal!important}
body.werger-ui:not([class*="printing-"]) .project-identity-badges>.project-identity-badge.branch .material-icons-round{display:inline-block!important;font-size:14px!important}
body.werger-ui:not([class*="printing-"])[data-theme=dark] :is(.project-identity-badges>.project-identity-badge.organization,.organization-badge.organization){background:var(--org-dark-bg)!important;color:var(--org-dark-fg)!important;border-color:var(--org-dark-border)!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register :is(th,td):nth-child(1){width:12%!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register :is(th,td):nth-child(2){width:25%!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register :is(th,td):nth-child(5){width:17%!important}
body.werger-ui:not([class*="printing-"]) .project-number-cell .project-identity-badges{margin-top:10px!important;gap:6px!important}
body.werger-ui:not([class*="printing-"]) .ds-project-register .project-main-cell .project-file-count-chip{margin:10px 0 0!important;min-height:28px!important;border:1px solid var(--ws-line)!important;color:var(--ws-ink)!important}
body.werger-ui:not([class*="printing-"]) .dashboard-project-mobile-list{display:none!important}
/* Clearly delimited, equal-width project sections. */
body.werger-ui:not([class*="printing-"]) .project-workspace .project-tabs.project-tabs{position:static!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:6px!important;padding:6px!important;overflow:visible!important}
body.werger-ui:not([class*="printing-"]) .project-workspace .project-tab-btn{display:flex!important;width:100%!important;min-width:0!important;min-height:48px!important;height:100%!important;padding:8px!important;justify-content:flex-start!important;gap:7px!important;background:var(--ws-paper)!important;border:1px solid var(--ws-line)!important;box-shadow:none!important;border-radius:7px!important;line-height:1.45!important;white-space:normal!important}
body.werger-ui:not([class*="printing-"]) .project-workspace .project-tab-btn.active{border-color:color-mix(in srgb,var(--primary) 45%,var(--ws-line))!important;background:color-mix(in srgb,var(--primary) 6%,var(--ws-paper))!important;color:var(--primary)!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .project-workspace .project-tab-btn::after{display:none!important}
body.werger-ui:not([class*="printing-"]) .project-workspace .project-tab-btn .material-icons-round{flex:0 0 16px!important;font-size:16px!important}
body.werger-ui:not([class*="printing-"]) .project-items-panel{min-width:0!important;padding:16px!important;box-sizing:border-box!important}
body.werger-ui:not([class*="printing-"]) .project-items-head{display:flex!important;align-items:flex-start!important;flex-wrap:wrap!important;gap:12px!important;padding:0 0 16px!important}
body.werger-ui:not([class*="printing-"]) .project-items-head>div{flex:1 1 350px!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .project-items-head>.btn{flex:0 0 auto!important;max-width:100%!important;white-space:normal!important;height:auto!important;min-height:36px!important;padding:8px 12px!important}
body.werger-ui:not([class*="printing-"]) .project-file-modal-card{display:grid!important;grid-template-columns:36px minmax(0,1fr) auto!important;align-items:start!important;gap:12px!important;padding:12px!important}
body.werger-ui:not([class*="printing-"]) .project-file-modal-card-main{min-width:0!important;width:100%!important;text-align:left!important;justify-self:stretch!important;align-items:flex-start!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) :is(.project-file-modal-card-title,.project-file-modal-card-meta){text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.werger-ui:not([class*="printing-"]) .project-file-modal-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:6px!important;max-width:100%!important}
/* Avoid inline captions running into secondary text. */
body.werger-ui:not([class*="printing-"]) :is(.dz-text,.dropzone-text,.upload-dropzone-text,.project-technical-notify-row>div){display:flex!important;flex-direction:column!important;align-items:inherit!important;gap:4px!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .upload-dropzone{padding:16px!important;gap:10px!important}
body.werger-ui:not([class*="printing-"]) .project-technical-notify-row{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:12px!important}
body.werger-ui:not([class*="printing-"]) .project-technical-notify-row>div{flex:1 1 240px!important}
body.werger-ui:not([class*="printing-"]) :is(.settings-preference>div,.warehouse-item-main>div){min-width:0!important}
body.werger-ui:not([class*="printing-"]) .settings-preference>div>small{display:block!important;margin-top:4px!important}
/* Calculator fields, captions and row actions share a stable grid. */
body.werger-ui:not([class*="printing-"]) .request-calculator{display:grid!important;gap:16px!important;container-type:inline-size;min-width:0!important}
body.werger-ui:not([class*="printing-"]) :is(.request-calculator-docbar,.request-calculator-controls,.request-calc-position){padding:16px!important;margin:0!important;min-width:0!important;border:1px solid var(--ws-line)!important;border-radius:10px!important;background:var(--ws-paper)!important}
body.werger-ui:not([class*="printing-"]) .request-calculator-docbar{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto!important;align-items:start!important;gap:14px!important}
body.werger-ui:not([class*="printing-"]) .request-calculator-docbar .field{margin:0!important}
body.werger-ui:not([class*="printing-"]) .request-calculator-docbar-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;padding-top:calc(var(--ds-label-height,18px) + 7px)!important;align-items:center!important}
body.werger-ui:not([class*="printing-"]) .request-calculator-docbar-actions .btn{height:38px!important;min-height:38px!important}
body.werger-ui:not([class*="printing-"]) .request-calculator-controls{display:grid!important;grid-template-columns:190px 160px minmax(0,1fr)!important;align-items:start!important;gap:14px!important}
body.werger-ui:not([class*="printing-"]) .request-calculator-controls>.field{margin:0!important}
body.werger-ui:not([class*="printing-"]) .request-calculator-formula{align-self:stretch!important;display:flex!important;align-items:center!important;min-width:0!important;padding:10px 12px!important;gap:10px!important;background:var(--ws-soft)!important;border:0!important}
body.werger-ui:not([class*="printing-"]) .request-calculator-formula small{display:block!important;margin-top:4px!important;line-height:1.5!important}
body.werger-ui:not([class*="printing-"]) .request-calc-position-head{display:grid!important;grid-template-columns:minmax(0,1fr) 160px 140px 32px!important;gap:12px!important;align-items:start!important;margin-bottom:16px!important}
body.werger-ui:not([class*="printing-"]) .request-calc-position-head>.field{margin:0!important}
body.werger-ui:not([class*="printing-"]) :is(.request-calc-position-total,.request-calc-position-delete){margin-top:calc(var(--ds-label-height,18px) + 7px)!important}
body.werger-ui:not([class*="printing-"]) .request-calc-position-total{display:grid!important;gap:3px!important;text-align:right!important}
body.werger-ui:not([class*="printing-"]) .request-calc-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}
body.werger-ui:not([class*="printing-"]) .request-calc-block{min-width:0!important;padding-top:12px!important;border-top:1px solid var(--ws-line)!important}
body.werger-ui:not([class*="printing-"]) .request-calc-block-head{display:flex!important;align-items:flex-start!important;gap:12px!important;justify-content:space-between!important;min-height:52px!important;margin-bottom:12px!important}
body.werger-ui:not([class*="printing-"]) .request-calc-block-head>div{min-width:0!important}
body.werger-ui:not([class*="printing-"]) .request-calc-block-head small{display:block!important;margin-top:4px!important;line-height:1.5!important}
body.werger-ui:not([class*="printing-"]) .request-calc-block-head>.btn{flex-shrink:0!important}
body.werger-ui:not([class*="printing-"]) .request-calc-row{display:grid!important;grid-template-columns:minmax(64px,.7fr) minmax(90px,1fr) minmax(90px,1fr) 32px!important;gap:8px!important;align-items:end!important;margin:0 0 14px!important;padding:12px!important;background:var(--ws-soft)!important;border:1px solid var(--ws-line)!important;border-radius:8px!important}
body.werger-ui:not([class*="printing-"]) .request-calc-row>.request-calc-name-wrap{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 8px!important;grid-column:1/-1!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .request-calc-name-wrap>.request-calc-name{grid-column:1!important;min-width:0!important;width:100%!important}
body.werger-ui:not([class*="printing-"]) .request-calc-name-wrap>.btn-act{grid-column:2!important;grid-row:1!important;align-self:center!important}
body.werger-ui:not([class*="printing-"]) .request-calc-name-wrap>small{grid-column:1/-1!important;line-height:1.5!important;margin:0!important;min-height:16px!important}
body.werger-ui:not([class*="printing-"]) .request-calc-value-field{display:grid!important;gap:5px!important;min-width:0!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .request-calc-value-field>span{font-size:11px!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) .request-calc-value-field>input{width:100%!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .request-calc-row .request-calc-row-total{grid-column:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;min-height:38px!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:12px!important}
body.werger-ui:not([class*="printing-"]) .request-calc-row>.btn-act{grid-column:auto!important;grid-row:auto!important;align-self:end!important;margin-bottom:3px!important}
body.werger-ui:not([class*="printing-"]) .request-calc-add-position{justify-self:start!important;position:static!important;margin:0!important;max-width:100%!important}
body.werger-ui:not([class*="printing-"]) .request-calculator-totals{position:static!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;padding:12px!important;margin:0!important;background:var(--ws-soft)!important;border:1px solid var(--ws-line)!important;border-radius:10px!important}
body.werger-ui:not([class*="printing-"]) .request-calculator-totals>div{min-width:0!important;padding:10px!important;display:grid!important;gap:6px!important}
body.werger-ui:not([class*="printing-"]) .request-calculator-totals b{font-size:16px!important;overflow-wrap:anywhere!important;white-space:normal!important}
/* Production: fit each card to its track, uniform anatomy, bounded long titles. */
body.werger-ui:not([class*="printing-"]) .production-work-board{display:grid!important;grid-template-columns:repeat(5,minmax(248px,1fr))!important;align-items:stretch!important;gap:12px!important;overflow-x:auto!important;padding:0 0 12px!important;max-width:100%!important;min-width:0!important;scroll-snap-type:x proximity}
body.werger-ui:not([class*="printing-"]) .production-board-column{display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;box-sizing:border-box!important;padding:10px!important;background:var(--ws-soft)!important;border:1px solid var(--ws-line)!important;border-radius:10px!important;scroll-snap-align:start}
body.werger-ui:not([class*="printing-"]) .production-board-column-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:32px!important;padding:0 0 10px!important}
body.werger-ui:not([class*="printing-"]) .production-board-column-body{display:grid!important;grid-auto-rows:max-content!important;align-content:start!important;gap:10px!important;min-width:0!important;min-height:340px!important}
body.werger-ui:not([class*="printing-"]) .production-board-card{display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important;padding:12px!important;min-height:400px!important;height:400px!important;margin:0!important;border:1px solid var(--ws-line)!important;border-radius:8px!important;background:var(--ws-paper)!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .production-board-card.overdue{border-top:2px solid var(--danger)!important}
body.werger-ui:not([class*="printing-"]) .production-board-card>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.werger-ui:not([class*="printing-"]) .production-board-drag-handle{height:20px!important;min-height:20px!important;margin:0!important;padding:0!important;border:0!important;font-size:9px!important}
body.werger-ui:not([class*="printing-"]) .production-board-card:not(:has(.production-board-drag-handle))::before{content:'';display:block;height:20px;flex:0 0 20px}
body.werger-ui:not([class*="printing-"]) .production-board-card-project{display:grid!important;gap:4px!important;min-height:48px!important}
body.werger-ui:not([class*="printing-"]) .production-board-card :is(.production-work-project-pill,.production-work-position){display:block!important;min-width:0!important;width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;border:0!important;padding:0!important;background:transparent!important;font-size:11px!important}
body.werger-ui:not([class*="printing-"]) .production-work-project-pill>.material-icons-round{margin-right:5px!important;font-size:14px!important;vertical-align:middle}
body.werger-ui:not([class*="printing-"]) .production-board-card-title{font-size:12px!important;line-height:1.5!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;min-height:36px!important}
body.werger-ui:not([class*="printing-"]) .production-board-priority-row{display:block!important}
body.werger-ui:not([class*="printing-"]) .production-board-card .production-deadline-chip{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;padding:7px 8px!important;min-height:0!important;width:100%!important;min-width:0!important;border:0!important;border-radius:6px!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .production-board-card .production-deadline-chip>div{display:flex!important;align-items:center!important;gap:5px!important}
body.werger-ui:not([class*="printing-"]) .production-board-card .production-deadline-chip>div>span{display:none!important}
body.werger-ui:not([class*="printing-"]) .production-board-card .production-deadline-chip small{font-size:10px!important;flex:1 1 100%!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .production-board-card-meta{display:grid!important;gap:3px!important;line-height:1.5!important;font-size:10px!important;min-height:34px!important}
body.werger-ui:not([class*="printing-"]) .production-board-card-meta>span{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.werger-ui:not([class*="printing-"]) .production-board-card-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;padding:10px 0 0!important;margin-top:auto!important;align-content:flex-end!important;border-top:1px solid var(--ws-line)!important;min-height:70px!important}
body.werger-ui:not([class*="printing-"]) .production-board-card-actions>.btn{flex:1 1 auto!important;min-width:0!important;height:30px!important;min-height:30px!important;padding:0 7px!important;font-size:10px!important;gap:5px!important}
body.werger-ui:not([class*="printing-"]) .production-board-card-actions>.btn>.material-icons-round{font-size:15px!important}
body.werger-ui:not([class*="printing-"]) .production-board-card .production-work-card-comment{display:block!important;height:18px!important;min-height:18px!important;font-size:10px!important;line-height:18px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .production-board-empty{min-height:140px!important;width:100%!important;box-sizing:border-box!important;display:grid!important;place-items:center!important}
body.werger-ui:not([class*="printing-"]) :is(.production-work-card,.production-work-row){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.werger-ui:not([class*="printing-"]) :is(.production-work-card-actions,.production-work-row-actions){display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .production-mode-bar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px!important;padding:12px!important;margin-bottom:12px!important}
body.werger-ui:not([class*="printing-"]) .production-display-controls{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;margin-left:auto!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .production-sort-select{width:200px!important;max-width:100%!important}
body.werger-ui:not([class*="printing-"]) .production-layout-switch{margin:0!important}
/* Compact summary strips; preserve values and explanatory captions. */
body.werger-ui:not([class*="printing-"]) :is(.dds-summary-cards,.debt-summary,.warehouse-kpis,.grid-stats){gap:10px!important;margin-bottom:14px!important}
body.werger-ui:not([class*="printing-"]) .dds-summary-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:0!important}
body.werger-ui:not([class*="printing-"]) .dds-summary-cards>.dds-card{padding:12px 16px!important;gap:6px!important;min-height:0!important}
body.werger-ui:not([class*="printing-"]) .dds-summary-cards>.dds-card>div:first-child{min-height:0!important}
body.werger-ui:not([class*="printing-"]) .dds-summary-cards>.dds-card :is(b,.dds-card-value){font-size:20px!important;line-height:1.4!important}
body.werger-ui:not([class*="printing-"]) .warehouse-kpis>div{padding:12px 16px!important;gap:6px!important}
body.werger-ui:not([class*="printing-"]) .warehouse-kpis b{font-size:21px!important}
body.werger-ui:not([class*="printing-"]) .debt-summary>.debt-card{padding:12px 16px!important;min-height:0!important;display:grid!important;gap:5px!important}
body.werger-ui:not([class*="printing-"]) .debt-card-value{font-size:21px!important;line-height:1.4!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .debt-card-label{font-size:11px!important}
body.werger-ui:not([class*="printing-"]) .debt-card-sub{font-size:10px!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .grid-stats{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))!important}
body.werger-ui:not([class*="printing-"]) .grid-stats>.stat-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 12px!important;align-items:center!important;padding:12px 16px!important;min-height:0!important}
body.werger-ui:not([class*="printing-"]) .grid-stats>.stat-card>.stat-top{font-size:11px!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .grid-stats>.stat-card>.stat-value{grid-column:2!important;grid-row:1/3!important;font-size:21px!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .grid-stats>.stat-card>.muted{grid-column:1!important;font-size:11px!important}
body.werger-ui:not([class*="printing-"]) .operations-register{min-width:960px!important;width:100%!important;table-layout:auto!important}
body.werger-ui:not([class*="printing-"]) .operations-register :is(th,td){vertical-align:top!important}
body.werger-ui:not([class*="printing-"]) .operations-register td{min-width:0!important;max-width:240px!important;overflow-wrap:break-word!important}
body.werger-ui:not([class*="printing-"]) .operations-register td:nth-child(1){width:110px!important}
body.werger-ui:not([class*="printing-"]) .operations-register td:nth-child(2){min-width:170px!important}
body.werger-ui:not([class*="printing-"]) .operations-register td:nth-child(3){white-space:nowrap!important;text-align:right!important}
body.werger-ui:not([class*="printing-"]) .operations-register td:nth-child(4){min-width:165px!important}
body.werger-ui:not([class*="printing-"]) .operations-register td:nth-child(5){min-width:145px!important}
body.werger-ui:not([class*="printing-"]) :is(.operation-register-kind,.operation-register-comment,.operation-register-account,.operation-register-counterparty){display:block!important;margin-top:6px!important;font-size:11px!important;line-height:1.5!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) .operation-register-type{margin-top:6px!important}
body.werger-ui:not([class*="printing-"]) .debt-register{overflow:visible!important;max-height:none!important}
body.werger-ui:not([class*="printing-"]) .debt-register .table-wrap{max-height:none!important;overflow-x:auto!important}
/* Headers inside edge-to-edge table cards retain their own padding. */
body.werger-ui:not([class*="printing-"]) :is(.timesheet-print-heading,.card>.card-head,.warehouse-movements-card>.card-head){padding:16px 20px!important;gap:12px!important;margin:0!important;box-sizing:border-box!important}
body.werger-ui:not([class*="printing-"]) .timesheet-print-heading{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;min-height:0!important}
body.werger-ui:not([class*="printing-"]) .timesheet-print-heading h3{margin:0 0 6px!important}
body.werger-ui:not([class*="printing-"]) .timesheet-print-heading small{display:block!important;font-size:11px!important;line-height:1.6!important}
/* Every subsection selector reads as navigation rather than loose text. */
body.werger-ui:not([class*="printing-"]) :is(.parameters-tabs,.settings-tabs,.directory-tabs){display:flex!important;flex-wrap:wrap!important;padding:6px!important;gap:6px!important;margin-bottom:18px!important;border:1px solid var(--ws-line)!important;border-radius:10px!important;background:var(--ws-soft)!important}
body.werger-ui:not([class*="printing-"]) :is(.parameters-tabs,.settings-tabs,.directory-tabs)>:is(button,.btn){display:flex!important;align-items:center!important;gap:9px!important;min-height:44px!important;height:auto!important;padding:10px 12px!important;border:1px solid var(--ws-line)!important;border-radius:7px!important;background:var(--ws-paper)!important;white-space:normal!important;text-align:left!important;line-height:1.5!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .directory-tabs>.directory-tab{flex:1 1 190px!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) :is(.parameters-tabs,.settings-tabs,.directory-tabs)>:is(button,.btn).active{border-color:color-mix(in srgb,var(--primary) 45%,var(--ws-line))!important;color:var(--primary)!important;background:color-mix(in srgb,var(--primary) 6%,var(--ws-paper))!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .directory-tab>span:not(.material-icons-round){display:grid!important;gap:3px!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .directory-tab small{display:block!important;font-size:10px!important;line-height:1.5!important}
@container (max-width:780px){
 body.werger-ui:not([class*="printing-"]) .request-calculator-docbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.werger-ui:not([class*="printing-"]) .request-calculator-docbar-actions{grid-column:1/-1!important;padding-top:0!important}
 body.werger-ui:not([class*="printing-"]) .request-calculator-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.werger-ui:not([class*="printing-"]) .request-calculator-formula{grid-column:1/-1!important}
 body.werger-ui:not([class*="printing-"]) .request-calc-columns{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:1200px){
 body.werger-ui:not([class*="printing-"]) .dashboard-project-desktop{display:none!important}
 body.werger-ui:not([class*="printing-"]) .dashboard-project-mobile-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;padding:16px!important}
 body.werger-ui:not([class*="printing-"]) .project-file-modal-actions{grid-column:2/-1!important;justify-content:flex-start!important}
 body.werger-ui:not([class*="printing-"]) .project-file-modal-card{grid-template-columns:32px minmax(0,1fr)!important}
 body.werger-ui:not([class*="printing-"]) .production-work-board{grid-template-columns:repeat(5,minmax(260px,1fr))!important}
}
@media(max-width:900px){
 body.werger-ui:not([class*="printing-"]) .project-workspace .project-tabs.project-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.werger-ui:not([class*="printing-"]) .request-calculator-docbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.werger-ui:not([class*="printing-"]) .request-calculator-docbar-actions{grid-column:1/-1!important;padding-top:0!important}
 body.werger-ui:not([class*="printing-"]) .request-calculator-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.werger-ui:not([class*="printing-"]) .request-calculator-formula{grid-column:1/-1!important}
 body.werger-ui:not([class*="printing-"]) .request-calc-columns{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:680px){
 body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-toggle{display:inline-flex!important;order:0!important;margin:0 0 0 auto!important;min-height:44px!important;align-self:flex-start!important}
 body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-view{order:0!important;margin-left:0!important}
 body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-lead.ds-search-field{flex:1 1 130px!important;min-width:0!important;max-width:none!important;width:auto!important}
 body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar:not(.ds-filters-open)>:is(.ds-filter-control,.ds-filter-divider){display:none!important}
 body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-control{width:100%!important;flex:1 1 100%!important;max-width:none!important}
 body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-period{width:100%!important;flex:1 1 100%!important;min-width:0!important}
 body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar input[type=date]{min-width:0!important;font-size:12px!important;letter-spacing:-.2px!important}
 body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.filter-preset-tools{flex:1 1 100%!important}
 body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar .filter-preset-tools select{flex:1 1 160px!important}
 body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar .search{height:44px!important;min-height:44px!important}
 body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar .search>input:not([type=checkbox]){height:40px!important;font-size:16px!important}
 body.werger-ui:not([class*="printing-"]) .ds-active-filters{display:flex!important}
 body.werger-ui:not([class*="printing-"]) .dashboard-project-mobile-list{grid-template-columns:minmax(0,1fr)!important;padding:12px!important}
 body.werger-ui:not([class*="printing-"]) .project-workspace .project-tabs.project-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 body.werger-ui:not([class*="printing-"]) .project-workspace .project-tab-btn{min-height:48px!important;font-size:11px!important}
 body.werger-ui:not([class*="printing-"]) .project-items-panel{padding:12px!important}
 body.werger-ui:not([class*="printing-"]) .project-file-modal-card{padding:12px!important;gap:10px!important}
 body.werger-ui:not([class*="printing-"]) .project-file-modal-actions{grid-column:1/-1!important}
 body.werger-ui:not([class*="printing-"]) .project-file-modal-actions>.btn{flex:1 1 auto!important}
 body.werger-ui:not([class*="printing-"]) .request-calculator-docbar{grid-template-columns:minmax(0,1fr)!important}
 body.werger-ui:not([class*="printing-"]) .request-calculator-docbar-actions{flex-wrap:wrap!important}
 body.werger-ui:not([class*="printing-"]) :is(.request-calculator-docbar,.request-calculator-controls,.request-calc-position){padding:12px!important}
 body.werger-ui:not([class*="printing-"]) .request-calc-position-head{grid-template-columns:minmax(0,1fr) 32px!important;gap:10px!important}
 body.werger-ui:not([class*="printing-"]) .request-calc-position-name-field{grid-column:1!important}
 body.werger-ui:not([class*="printing-"]) .request-calc-position-delete{grid-column:2!important;grid-row:1!important}
 body.werger-ui:not([class*="printing-"]) .request-calc-position-coeff-field{grid-column:1/-1!important}
 body.werger-ui:not([class*="printing-"]) .request-calc-position-total{grid-column:1/-1!important;margin:0!important;text-align:left!important}
 body.werger-ui:not([class*="printing-"]) .request-calculator-totals{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:8px!important}
 body.werger-ui:not([class*="printing-"]) .request-calc-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px!important;padding:10px!important}
 body.werger-ui:not([class*="printing-"]) .request-calc-row>.request-calc-value-field:nth-of-type(1){grid-column:1!important}
 body.werger-ui:not([class*="printing-"]) .request-calc-row>.request-calc-value-field:nth-of-type(2){grid-column:2!important}
 body.werger-ui:not([class*="printing-"]) .request-calc-row>.btn-act{grid-column:3!important;grid-row:2!important}
 body.werger-ui:not([class*="printing-"]) .request-calc-row .request-calc-row-total{grid-column:1/-1!important;justify-content:flex-start!important;min-height:24px!important}
 body.werger-ui:not([class*="printing-"]) .warehouse-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.werger-ui:not([class*="printing-"]) .warehouse-kpis>div{padding:12px!important}
 body.werger-ui:not([class*="printing-"]) .warehouse-kpis b{font-size:18px!important}
 body.werger-ui:not([class*="printing-"]) .dds-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.werger-ui:not([class*="printing-"]) .dds-summary-cards>.dds-card{padding:10px 12px!important}
 body.werger-ui:not([class*="printing-"]) .dds-summary-cards>.dds-card :is(b,.dds-card-value){font-size:17px!important}
 body.werger-ui:not([class*="printing-"]) .grid-stats>.stat-card>.stat-value{font-size:18px!important}
 body.werger-ui:not([class*="printing-"]) .operations-register{min-width:0!important;table-layout:auto!important}
 body.werger-ui:not([class*="printing-"]) .operations-register td{width:auto!important;min-width:0!important;max-width:none!important}
 body.werger-ui:not([class*="printing-"]) :is(.timesheet-print-heading,.card>.card-head){padding:14px 16px!important}
 body.werger-ui:not([class*="printing-"]) :is(.parameters-tabs,.settings-tabs)>:is(button,.btn){flex:1 1 125px!important}
 body.werger-ui:not([class*="printing-"]) .directory-tabs>.directory-tab{flex:1 1 100%!important}
 body.werger-ui:not([class*="printing-"]) .production-mode-bar{gap:10px!important}
 body.werger-ui:not([class*="printing-"]) .production-display-controls{width:100%!important;margin-left:0!important}
 body.werger-ui:not([class*="printing-"]) .production-sort-select{width:100%!important}
 body.werger-ui:not([class*="printing-"]) .production-work-board{grid-template-columns:repeat(5,minmax(260px,86vw))!important}
}
}
}

@layer werger-workspace{@media screen{
body.werger-ui:not([class*="printing-"]) .project-files-modal-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:12px!important}
body.werger-ui:not([class*="printing-"]) .operation-register-id{display:block!important;max-width:120px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.werger-ui:not([class*="printing-"]) #view-container .operations-register{table-layout:fixed!important;min-width:940px!important}
body.werger-ui:not([class*="printing-"]) #view-container .operations-register :is(th,td){padding:12px 10px!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important}
body.werger-ui:not([class*="printing-"]) .operations-register :is(th,td):nth-child(1){width:12%!important}
body.werger-ui:not([class*="printing-"]) .operations-register :is(th,td):nth-child(2){width:19%!important}
body.werger-ui:not([class*="printing-"]) .operations-register :is(th,td):nth-child(3){width:11%!important}
body.werger-ui:not([class*="printing-"]) .operations-register :is(th,td):nth-child(4){width:18%!important}
body.werger-ui:not([class*="printing-"]) .operations-register :is(th,td):nth-child(5){width:16%!important}
body.werger-ui:not([class*="printing-"]) .operations-register :is(th,td):nth-child(6){width:16%!important}
body.werger-ui:not([class*="printing-"]) .operations-register :is(th,td):nth-child(7){width:8%!important}
@media(max-width:680px){
body.werger-ui:not([class*="printing-"]) #view-container .operations-register{min-width:0!important;table-layout:auto!important}
body.werger-ui:not([class*="printing-"]) #view-container .operations-register :is(th,td){width:auto!important;min-width:0!important;max-width:100%!important}
}
}}
@keyframes werger-autofill-detected{from{opacity:.999}to{opacity:1}}
input[data-werger-autofill-guard]:-webkit-autofill{animation:werger-autofill-detected .01s!important}

@layer werger-workspace{@media screen{
body.werger-ui:not([class*="printing-"]) .request-calc-value-field{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:16px 38px!important;align-items:start!important}
body.werger-ui:not([class*="printing-"]) .request-calc-value-field>span{grid-column:1!important;grid-row:1!important;line-height:16px!important}
body.werger-ui:not([class*="printing-"]) .request-calc-value-field>input{grid-column:1!important;grid-row:2!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .request-calc-position-total{justify-items:end!important;align-content:start!important}
body.werger-ui:not([class*="printing-"]) .filter-preset-tools .btn>span:not(.material-icons-round){display:inline!important}
body.werger-ui:not([class*="printing-"]) .production-board-navigation{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0 0 12px!important}
body.werger-ui:not([class*="printing-"]) .production-board-navigation .btn{gap:8px!important;min-width:0!important;max-width:100%!important}
body.werger-ui:not([class*="printing-"]) .production-board-navigation b{color:var(--ws-muted)!important;font-size:10px!important}
@media(max-width:680px){
body.werger-ui:not([class*="printing-"]) .request-calc-value-field{grid-template-rows:16px 44px!important}
body.werger-ui:not([class*="printing-"]) .request-calc-position-total{justify-items:start!important}
body.werger-ui:not([class*="printing-"]) .production-board-navigation .btn{flex:1 1 auto!important;min-height:40px!important}
}
}}

@layer werger-workspace{@media screen{
body.werger-ui:not([class*="printing-"]) .production-board-drag-handle{position:static!important;inset:auto!important;flex:0 0 20px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;line-height:20px!important;width:100%!important}
body.werger-ui:not([class*="printing-"]) .production-board-card-project{padding:0!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .production-board-card .production-work-card-comment{padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;height:18px!important;line-height:18px!important}
body.werger-ui:not([class*="printing-"]) .project-workspace .project-tab-btn::before{display:none!important}
body.werger-ui:not([class*="printing-"]) .operation-payment-switch{box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-control:not(.ds-filter-field):not(.ds-filter-period){width:auto!important;flex:0 0 auto!important;max-width:100%!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.timesheet-mode{display:flex!important;gap:4px!important;flex-wrap:wrap!important}
body.werger-ui:not([class*="printing-"]) .request-calc-position-total{padding:0!important;width:auto!important;min-width:0!important}
@media(max-width:680px){
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-control:not(.ds-filter-field):not(.ds-filter-period){flex:1 1 100%!important;width:100%!important}
body.werger-ui:not([class*="printing-"]) .ds-filter-bar.ds-filter-bar>.ds-filter-control.reset-filter-btn{flex:0 0 auto!important;width:auto!important}
}
}}

/* The same section-button treatment in production, planning, personnel and stock. */
@layer werger-workspace{@media screen{
body.werger-ui:not([class*="printing-"]) :is(.production-view-switch,.production-layout-switch,.attendance-view-tabs,.planning-tabs,.timesheet-mode,.bom-tabs,.unified-user-tabs,.catalog-admin-tabs){display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:4px!important;min-width:0!important;max-width:100%!important;height:auto!important;padding:4px!important;border:1px solid var(--ws-line)!important;border-radius:8px!important;background:var(--ws-soft)!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) :is(.production-view-switch,.production-layout-switch,.attendance-view-tabs,.planning-tabs,.timesheet-mode,.bom-tabs,.unified-user-tabs,.catalog-admin-tabs)>button{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:0!important;max-width:100%!important;min-height:36px!important;height:auto!important;padding:8px 10px!important;border:1px solid var(--ws-line)!important;border-radius:6px!important;background:var(--ws-paper)!important;color:var(--ws-muted)!important;font:inherit!important;font-size:11px!important;font-weight:500!important;line-height:1.45!important;white-space:normal!important;box-shadow:none!important}
body.werger-ui:not([class*="printing-"]) :is(.production-view-switch,.production-layout-switch,.attendance-view-tabs,.planning-tabs,.timesheet-mode,.bom-tabs,.unified-user-tabs,.catalog-admin-tabs)>button.active{background:color-mix(in srgb,var(--primary) 6%,var(--ws-paper))!important;border-color:color-mix(in srgb,var(--primary) 45%,var(--ws-line))!important;color:var(--primary)!important;font-weight:600!important}
@media(max-width:680px){body.werger-ui:not([class*="printing-"]) :is(.production-view-switch,.production-layout-switch,.attendance-view-tabs,.planning-tabs,.timesheet-mode,.bom-tabs,.unified-user-tabs,.catalog-admin-tabs)>button{flex:1 1 auto!important;min-height:44px!important}}
}}

@layer werger-workspace{@media screen{
body.werger-ui:not([class*="printing-"]) .production-board-card{gap:6px!important;min-height:424px!important;height:424px!important}
body.werger-ui:not([class*="printing-"]) .production-board-card>*{flex-shrink:0!important}
body.werger-ui:not([class*="printing-"]) .production-board-card-project{min-height:42px!important}
body.werger-ui:not([class*="printing-"]) :is(.production-board-card-title,.production-board-priority-row){margin:0!important}
body.werger-ui:not([class*="printing-"]) .production-board-card-actions{flex:0 0 114px!important;min-height:114px!important;position:static!important}
@media(max-width:680px){
body.werger-ui:not([class*="printing-"]) .project-workspace .project-tabs.project-tabs{display:none!important}
body.werger-ui:not([class*="printing-"]) .project-workspace .project-tab-mobile{display:grid!important;gap:6px!important;margin:0 0 20px!important;padding:0!important}
body.werger-ui:not([class*="printing-"]) .project-tab-mobile>label{font-size:11px!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) .project-tab-mobile>select{width:100%!important;min-width:0!important;height:44px!important}
}
}}

/* 0.4.26.99 — stable editor motion, branch context and user access. */
@layer werger-workspace{
@media screen{
/* Visibility changes only after the whole opaque panel has moved away. */
body.werger-ui:not([class*="printing-"]) .drawer{
 opacity:1!important;filter:none!important;visibility:hidden!important;
 transition:transform .18s cubic-bezier(.2,.7,.2,1),visibility 0s linear .18s!important;
 background:var(--ws-paper)!important;box-shadow:-16px 0 64px #00000020!important;
}
body.werger-ui:not([class*="printing-"]) .drawer.open{visibility:visible!important;transition-delay:0s,0s!important}
body.werger-ui:not([class*="printing-"]) .drawer :is(.drawer-header,.drawer-body,.drawer-footer){background:var(--ws-paper)!important;backdrop-filter:none!important;opacity:1!important}
body.werger-ui:not([class*="printing-"]) .drawer .project-tab-panel{animation:none!important}
body.werger-ui:not([class*="printing-"]) .drawer-overlay{background:rgb(12 20 32 / 38%)!important;backdrop-filter:none!important;transition:opacity .18s ease!important}
body.werger-ui:not([class*="printing-"]) input[data-werger-autofill-guard]:-webkit-autofill{animation:werger-autofill-detected .01s!important}
body.werger-ui:not([class*="printing-"]) [data-werger-input-locked]{cursor:text!important}
body.werger-ui:not([class*="printing-"]) .branch-context{margin-right:6px!important}
body.werger-ui:not([class*="printing-"]) .branch-context-control{position:relative;display:flex!important;align-items:center!important;width:154px!important;max-width:100%!important;margin:0!important;font-size:12px!important;letter-spacing:0!important;font-weight:500!important}
body.werger-ui:not([class*="printing-"]) .branch-context-control>.material-icons-round{position:absolute;left:10px;z-index:1;color:var(--ws-muted);font-size:17px!important;pointer-events:none}
body.werger-ui:not([class*="printing-"]) .branch-context-control>.branch-context-chevron{left:auto;right:8px;font-size:17px!important}
body.werger-ui:not([class*="printing-"]) .branch-context-control>select{appearance:none!important;width:100%!important;min-width:0!important;max-width:100%!important;height:34px!important;min-height:34px!important;padding:0 28px 0 34px!important;font-size:12px!important;line-height:1.4!important;font-weight:500!important;background:var(--ws-soft)!important;cursor:pointer!important;border-radius:8px!important;text-overflow:ellipsis!important}
body.werger-ui:not([class*="printing-"]) .branch-badge{min-height:34px!important;border-radius:8px!important;font-weight:500!important;background:var(--ws-soft)!important}
/* Three meaningful columns instead of six cramped cells. */
body.werger-ui:not([class*="printing-"]) .security-users-box{width:min(1060px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important}
body.werger-ui:not([class*="printing-"]) .security-users-note{margin:0 0 18px!important;color:var(--ws-muted)!important;font-size:12px!important;line-height:1.65!important}
body.werger-ui:not([class*="printing-"]) .security-users-tools{display:grid!important;grid-template-columns:minmax(180px,1fr) 180px auto!important;gap:10px!important;align-items:center!important;margin-bottom:18px!important}
body.werger-ui:not([class*="printing-"]) .security-search{position:relative;display:block!important;margin:0!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .security-search>.material-icons-round{position:absolute;left:11px;top:10px;font-size:18px!important;color:var(--ws-muted);pointer-events:none}
body.werger-ui:not([class*="printing-"]) .security-search>input{padding-left:36px!important;width:100%!important}
body.werger-ui:not([class*="printing-"]) .security-users-list-caption{display:flex;justify-content:space-between;gap:12px;padding:0 0 10px;border-bottom:1px solid var(--ws-line);font-size:11px;font-weight:600;color:var(--ws-muted)}
body.werger-ui:not([class*="printing-"]) .security-user-row{display:grid!important;grid-template-columns:minmax(0,1fr) 206px 150px!important;gap:24px!important;align-items:center!important;padding:20px 0!important;margin:0!important;border-bottom:1px solid var(--ws-line)!important;background:transparent!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .security-user-row:last-child{border-bottom:0!important;padding-bottom:4px!important}
body.werger-ui:not([class*="printing-"]) .security-user-row>*{min-width:0!important}
body.werger-ui:not([class*="printing-"]) .security-user-heading{display:flex;align-items:flex-start;gap:12px;min-width:0}
body.werger-ui:not([class*="printing-"]) .security-user-avatar{display:grid;place-items:center;flex:0 0 36px;height:36px;border:1px solid var(--ws-line);border-radius:10px;background:var(--ws-soft);color:var(--ws-muted);font-size:14px;font-weight:700}
body.werger-ui:not([class*="printing-"]) .security-user-copy{min-width:0}
body.werger-ui:not([class*="printing-"]) .security-user-name{display:block!important;font-size:13px!important;font-weight:650!important;color:var(--ws-ink)!important;line-height:1.5!important;overflow-wrap:anywhere!important}
body.werger-ui:not([class*="printing-"]) .security-user-meta{display:flex!important;flex-wrap:wrap!important;gap:2px 12px!important;margin-top:4px!important;color:var(--ws-muted)!important;font-size:11px!important;line-height:1.55!important;overflow-wrap:anywhere!important}
body.werger-ui:not([class*="printing-"]) .security-user-phone{margin-top:4px;color:var(--ws-muted);font-size:11px;line-height:1.55}
body.werger-ui:not([class*="printing-"]) .security-user-statuses{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:10px 0 0 48px;font-size:10px;line-height:1.5}
body.werger-ui:not([class*="printing-"]) .security-status{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:5px;color:var(--ws-muted);background:var(--ws-soft);font-weight:600}
body.werger-ui:not([class*="printing-"]) .security-status.active{color:var(--success);background:color-mix(in srgb,var(--success) 9%,var(--ws-paper))}
body.werger-ui:not([class*="printing-"]) .security-status.active::before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%}
body.werger-ui:not([class*="printing-"]) .security-password-state{display:inline-flex;align-items:center;gap:4px;color:var(--ws-muted)}
body.werger-ui:not([class*="printing-"]) .security-password-state>.material-icons-round{font-size:14px!important}
body.werger-ui:not([class*="printing-"]) .security-branch-config{display:grid!important;gap:10px!important;min-width:0!important}
body.werger-ui:not([class*="printing-"]) .security-field-label{display:grid!important;gap:6px!important;font-size:11px!important;line-height:1.45!important;letter-spacing:0!important;font-weight:500!important;margin:0!important;color:var(--ws-muted)!important}
body.werger-ui:not([class*="printing-"]) .security-branch-select{min-width:0!important;width:100%!important}
body.werger-ui:not([class*="printing-"]) .security-all-branches{display:flex!important;align-items:center!important;gap:8px!important;font-size:11px!important;font-weight:500!important;letter-spacing:0!important;margin:0!important;line-height:1.5!important}
body.werger-ui:not([class*="printing-"]) .security-all-branches input{flex:0 0 16px!important;width:16px!important;height:16px!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .security-user-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important}
body.werger-ui:not([class*="printing-"]) .security-user-actions .btn{width:100%!important;grid-column:auto!important}
body.werger-ui:not([class*="printing-"]) .security-temp-password{padding:16px!important;border-radius:10px!important;line-height:1.8!important;margin:0 0 18px!important;font-size:12px!important}
body.werger-ui:not([class*="printing-"]) #permission-editor-modal .modal-box{width:min(960px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important}
body.werger-ui:not([class*="printing-"]) .permission-user-summary{display:flex;gap:12px;align-items:center;padding:16px;border:1px solid var(--ws-line);border-radius:10px;background:var(--ws-soft);margin-bottom:20px;min-width:0}
body.werger-ui:not([class*="printing-"]) .permission-user-summary>.material-icons-round{color:var(--primary);font-size:24px!important}
body.werger-ui:not([class*="printing-"]) .permission-user-summary>div{min-width:0}
body.werger-ui:not([class*="printing-"]) .permission-user-summary b{display:block;font-size:14px;overflow-wrap:anywhere}
body.werger-ui:not([class*="printing-"]) .permission-user-summary span:not(.material-icons-round){display:block;font-size:11px;color:var(--ws-muted);margin-top:5px;overflow-wrap:anywhere}
body.werger-ui:not([class*="printing-"]) .permission-template-bar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding:0!important;background:transparent!important;border:0!important;margin:0 0 6px!important}
body.werger-ui:not([class*="printing-"]) .permission-template-bar select{min-width:0!important;width:100%!important}
body.werger-ui:not([class*="printing-"]) .permission-template-bar .btn{height:38px!important;min-height:38px!important}
body.werger-ui:not([class*="printing-"]) .permission-editor{gap:18px!important}
body.werger-ui:not([class*="printing-"]) .permission-group{padding:16px!important;border-radius:10px!important;background:var(--ws-paper)!important}
body.werger-ui:not([class*="printing-"]) .permission-group h4{font-size:13px!important;margin:0 0 12px!important}
body.werger-ui:not([class*="printing-"]) .permission-grid{gap:8px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.werger-ui:not([class*="printing-"]) .permission-check{padding:10px 12px!important;gap:10px!important;min-width:0!important;min-height:42px!important;font-weight:500!important;letter-spacing:0!important;line-height:1.5!important;margin:0!important;background:var(--ws-soft)!important;border:1px solid transparent!important;border-radius:7px!important}
body.werger-ui:not([class*="printing-"]) .permission-check input{flex:0 0 17px!important;margin:0!important}
body.werger-ui:not([class*="printing-"]) .permission-check span{min-width:0!important;overflow-wrap:anywhere!important}
@media(max-width:800px){
 body.werger-ui:not([class*="printing-"]) .security-user-row{grid-template-columns:minmax(0,1fr) 190px!important;gap:16px!important}
 body.werger-ui:not([class*="printing-"]) .security-user-actions{grid-column:1/-1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.werger-ui:not([class*="printing-"]) .security-users-tools{grid-template-columns:minmax(0,1fr) 170px!important}
 body.werger-ui:not([class*="printing-"]) .security-users-tools>.btn{grid-column:1/-1;justify-self:end}
}
@media(max-width:550px){
 body.werger-ui:not([class*="printing-"]) .security-users-box,body.werger-ui:not([class*="printing-"]) #permission-editor-modal .modal-box{width:calc(100vw - 8px)!important;max-width:calc(100vw - 8px)!important}
 body.werger-ui:not([class*="printing-"]) .security-user-row{grid-template-columns:minmax(0,1fr)!important;gap:16px!important;padding:20px 0!important}
 body.werger-ui:not([class*="printing-"]) .security-user-statuses{margin-left:0!important}
 body.werger-ui:not([class*="printing-"]) .security-users-tools{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 body.werger-ui:not([class*="printing-"]) .security-users-tools>.btn{width:100%;justify-self:stretch}
 body.werger-ui:not([class*="printing-"]) .security-user-actions .btn{min-height:42px!important;height:42px!important;font-size:11px!important;padding:0 8px!important}
 body.werger-ui:not([class*="printing-"]) .permission-grid,.permission-template-bar{grid-template-columns:minmax(0,1fr)!important}
 body.werger-ui:not([class*="printing-"]) .permission-group{padding:12px!important}
}
@media(prefers-reduced-motion:reduce){
 body.werger-ui:not([class*="printing-"]) .drawer,body.werger-ui:not([class*="printing-"]) .drawer-overlay{transition:none!important}
}
}
}
@layer werger-workspace{@media screen{
body.werger-ui .catalog-availability{display:flex;align-items:center;gap:12px;padding:12px 16px;margin:0 0 16px;border:1px solid var(--ws-line);border-radius:10px;background:var(--ws-paper);color:var(--ws-ink)}
body.werger-ui .catalog-availability>div{display:grid;gap:3px;flex:1;min-width:0}
body.werger-ui .catalog-availability b{font-size:12px}
body.werger-ui .catalog-availability>div>span{font-size:12px;color:var(--ws-muted);line-height:1.5}
body.werger-ui .catalog-availability>.material-icons-round{font-size:20px;color:var(--ws-muted)}
body.werger-ui .catalog-availability.available>.material-icons-round{color:var(--success)}
body.werger-ui .catalog-visibility-note{font-size:12px;color:var(--ws-muted);padding:8px 10px;border:1px dashed var(--ws-line);border-radius:7px}
body.werger-ui #catalog-enabled-hint{margin-top:-10px!important;line-height:1.5}
@media(max-width:550px){body.werger-ui .catalog-availability{flex-wrap:wrap;align-items:flex-start}body.werger-ui .catalog-availability>.btn{margin-left:32px}}
}}
@layer werger-workspace{@media screen{
body.werger-ui #catalog-settings-form{gap:0!important;padding:0!important;max-width:920px!important;overflow:visible!important}
body.werger-ui .catalog-settings-section{display:grid;gap:14px;padding:22px!important;border-bottom:1px solid var(--ws-line)}
body.werger-ui .catalog-settings-section>h3{font-size:14px!important;line-height:1.5!important;margin:0!important;color:var(--ws-ink)}
body.werger-ui .catalog-settings-section>label:not(.catalog-check){display:grid;gap:8px}
body.werger-ui .catalog-settings-section .hint{margin:0!important;line-height:1.6!important}
body.werger-ui .catalog-settings-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
body.werger-ui .catalog-settings-actions{display:flex;justify-content:flex-end;padding:16px 22px;gap:8px}
@media(max-width:600px){body.werger-ui .catalog-settings-section{padding:18px!important}body.werger-ui .catalog-settings-checks{grid-template-columns:1fr}body.werger-ui .catalog-settings-actions{padding:14px 18px}body.werger-ui .catalog-settings-actions>.btn{width:100%}}
}}
