.auth-login{background:var(--bg-surface);grid-template-columns:minmax(280px,2fr) minmax(0,3fr);min-height:100dvh;display:grid}.auth-login__brand{background:var(--bg-base);border-right:1px solid var(--border);flex-direction:column;gap:32px;padding:clamp(24px,4vw,64px);display:flex}.auth-login__brand-header{align-items:center;gap:12px;display:flex}.auth-login__brand-header .brand-name{font-size:28px}.auth-login__brand-copy{max-width:13ch;color:var(--text-primary);margin-block:auto;padding-block:48px;font-size:clamp(28px,3.2vw,48px);font-weight:600;line-height:1.2}.auth-login__main{min-width:0;padding:var(--page-gutter-y) var(--page-gutter-x);grid-template-rows:auto 1fr;display:grid}.auth-login__toolbar{justify-content:flex-end;display:flex}.auth-login__content{place-self:center;width:100%;max-width:380px;padding-block:48px}.auth-login__content h1{color:var(--text-primary);margin-bottom:32px;font-size:28px;line-height:1.25}.auth-login__form{gap:16px;display:grid}.auth-login__field{gap:6px;display:grid}.auth-login__field label{color:var(--text-body);font-size:13px;font-weight:500}.auth-login__field>.input{width:100%}.auth-login__error{overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.5}.auth-login__submit{justify-content:center;width:100%}@media (width<=768px){.auth-login{grid-template-rows:auto 1fr;grid-template-columns:minmax(0,1fr)}.auth-login__brand{padding:var(--page-gutter-y) var(--page-gutter-x);border-right:0;border-bottom:1px solid var(--border);gap:8px}.auth-login__brand-header .brand-name{font-size:24px}.auth-login__brand-copy{max-width:none;color:var(--text-muted);margin:0;padding:0;font-size:13px;font-weight:400}.auth-login__content{padding-block:32px}.auth-login__content h1{margin-bottom:24px;font-size:24px}}.home-page-body{flex-direction:column;gap:16px;display:flex}.home-page-body>*{flex-shrink:0}.home-welcome{background:var(--bg-surface);border:1px solid var(--border);border-left:3px solid var(--brand);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;min-height:126px;padding:20px 24px;display:grid}.home-welcome-brand{background:var(--bg-elevated);border:1px solid var(--border-light);border-radius:8px;justify-content:center;align-items:center;width:68px;height:68px;display:flex}.home-welcome-brand img{object-fit:contain;width:44px;height:44px;display:block}.home-welcome-copy{min-width:0}.home-welcome-copy>span{color:var(--brand);text-transform:uppercase;font-size:11px;font-weight:700}.home-welcome-copy h2{color:var(--text-primary);letter-spacing:0;overflow-wrap:anywhere;margin:4px 0 5px;font-size:26px;font-weight:700}.home-welcome-copy p{color:var(--text-muted);margin:0;font-size:13px}.home-overview{grid-template-columns:repeat(2,minmax(116px,1fr));margin:0;display:grid}.home-overview>div{border-left:1px solid var(--border);padding:6px 20px}.home-overview dt,.home-account-details dt{color:var(--text-dim);text-transform:uppercase;margin-bottom:5px;font-size:10px}.home-overview dd{color:var(--text-primary);margin:0;font-size:20px;font-weight:700}.home-content-grid{grid-template-columns:minmax(0,1fr) minmax(260px,320px);align-items:start;gap:16px;display:grid}.home-section,.home-account{min-width:0}.home-section-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:48px;margin-bottom:12px;padding-bottom:10px;display:flex}.home-section-heading h2,.home-account-heading h2{color:var(--text-primary);margin:0;font-size:15px}.home-section-heading p,.home-account-heading p{color:var(--text-dim);margin:3px 0 0;font-size:11px}.home-section-heading>span{background:var(--bg-elevated);color:var(--text-muted);border-radius:6px;justify-content:center;align-items:center;min-width:28px;height:24px;font-size:11px;font-weight:700;display:inline-flex}.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.home-shortcut{background:var(--bg-surface);border:1px solid var(--border);color:var(--text-body);min-height:68px;transition:background var(--transition), border-color var(--transition);border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;display:grid}.home-shortcut:hover{background:var(--bg-elevated);border-color:var(--brand-border)}.home-shortcut>svg{color:var(--text-dim)}.home-shortcut-icon{background:var(--brand-light);border:1px solid var(--brand-border);color:var(--brand);border-radius:7px;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.home-shortcut-copy{flex-direction:column;min-width:0;display:flex}.home-shortcut-copy strong{color:var(--text-primary);overflow-wrap:anywhere;font-size:13px}.home-shortcut-copy small{color:var(--text-dim);margin-top:3px;font-size:10px}.home-account{background:var(--bg-surface);border:1px solid var(--border);border-radius:7px;padding:16px}.home-account-heading{align-items:center;gap:11px;min-width:0;display:flex}.home-account-heading>div{min-width:0}.home-account-heading h2,.home-account-heading p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.home-account-avatar{background:var(--brand-light);border:1px solid var(--brand-border);color:var(--brand);border-radius:50%;flex:0 0 42px;justify-content:center;align-items:center;height:42px;font-size:12px;font-weight:700;display:inline-flex}.home-account-details{border-bottom:1px solid var(--border);border-top:1px solid var(--border);gap:12px;margin:16px 0;padding:12px 0;display:grid}.home-account-details dd{color:var(--text-body);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.45}.home-account-action{justify-content:center;width:100%}@media (width>=901px){.home-content-grid{align-items:stretch}.home-account{flex-direction:column;display:flex}.home-account-action{margin-top:auto}}.home-areas{border-top:1px solid var(--border);padding-top:4px}.home-area-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.home-area-item{border-bottom:1px solid var(--border-light);color:var(--text-muted);align-items:center;gap:8px;min-width:0;padding:8px 4px;font-size:12px;display:flex}.home-area-item svg{color:var(--text-dim);flex-shrink:0}.home-area-item span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=1180px){.home-area-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){.home-welcome{grid-template-columns:auto minmax(0,1fr)}.home-overview{grid-column:1/-1}.home-overview>div:first-child{border-left:0;padding-left:0}.home-content-grid{grid-template-columns:1fr}.home-account{order:-1}}@media (width<=640px){.home-welcome{gap:12px;padding:16px}.home-welcome-brand{width:52px;height:52px}.home-welcome-brand img{width:34px;height:34px}.home-welcome-copy h2{font-size:20px}.home-overview{grid-template-columns:1fr 1fr}.home-overview>div{padding:4px 12px}.home-overview dd{font-size:16px}.home-shortcuts{grid-template-columns:1fr}.home-area-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=420px){.home-welcome{grid-template-columns:1fr}.home-welcome-brand{display:none}.home-overview{grid-column:1}.home-area-list{grid-template-columns:1fr}}.abc-page-header .page-header-right{gap:8px}.abc-page{gap:10px;overflow:hidden}.abc-filters{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);gap:9px;padding:12px;display:grid}.abc-filter-row{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.abc-filter-row>.period-dropdown{min-width:190px}.abc-filter-row--secondary :is(label,.abc-filter-label){color:var(--text-muted);text-transform:uppercase;gap:4px;font-size:9px;display:grid}.abc-filter-label .period-dropdown{min-width:180px}.abc-limit input{width:92px}.abc-reset{height:var(--control-h);margin-left:auto}.abc-archive-toggle{min-height:var(--control-h);color:var(--text-secondary);align-self:end;gap:8px;font-size:10px}.abc-archive-badge,.abc-manual-category{background:var(--bg-elevated);color:var(--text-dim);text-transform:uppercase;border-radius:4px;margin-left:7px;padding:2px 5px;font-size:8px;font-weight:700;display:inline-block}.abc-manual-category{background:var(--brand-light);width:fit-content;color:var(--brand);margin:3px auto 0;display:block}.abc-filter-error{color:var(--danger);font-size:10px}.abc-summary{grid-template-columns:1.3fr repeat(3,1fr);gap:9px;display:grid}.abc-summary>div{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);min-height:78px;padding:11px 13px}.abc-summary__total,.abc-summary__class{align-content:center;gap:4px;display:grid}.abc-summary span,.abc-summary small{color:var(--text-muted);font-size:9px}.abc-summary strong{color:var(--text-primary);font-size:19px}.abc-summary__class>div{align-items:center;gap:7px;display:flex}.abc-summary__class--a{border-top-color:var(--green)!important}.abc-summary__class--b{border-top-color:var(--amber)!important}.abc-summary__class--c{border-top-color:var(--red)!important}.abc-class{border-radius:6px;place-items:center;min-width:26px;height:22px;padding:0 5px;font-size:11px;font-weight:800;display:inline-grid}.abc-class--a{color:var(--green);background:color-mix(in srgb, var(--green) 15%, transparent)}.abc-class--b{color:var(--amber);background:color-mix(in srgb, var(--amber) 15%, transparent)}.abc-class--c{color:var(--red);background:color-mix(in srgb, var(--red) 15%, transparent)}.abc-class--empty{color:var(--text-dim);background:var(--bg-elevated)}.abc-distribution{background:var(--bg-elevated);border-radius:4px;min-height:5px;display:flex;overflow:hidden}.abc-distribution span{min-width:0;transition:width .2s}.abc-distribution__a{background:var(--green)}.abc-distribution__b{background:var(--amber)}.abc-distribution__c{background:var(--red)}.abc-table-tools{align-items:center;gap:8px;display:flex}.abc-table-tools .staff-search-wrap{flex:390px;min-width:0;max-width:390px}.abc-table-tools .period-dropdown{min-width:120px}.abc-table-tools>span{color:var(--text-muted);margin-left:auto;font-size:10px}.abc-table-wrap{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);flex:1;min-height:220px;position:relative;overflow:auto}.abc-table{width:100%;min-width:max-content}.abc-table th,.abc-table td{text-align:center;white-space:nowrap;min-width:90px}.abc-table thead tr:first-child th{top:0}.abc-table thead tr:nth-child(2) th{top:34px}.abc-table thead th{z-index:5;background:var(--table-head-bg);position:sticky}.abc-table .abc-sticky{z-index:4;background:var(--bg-surface);position:sticky}.abc-table thead .abc-sticky{z-index:7;background:var(--table-head-bg)}.abc-sticky--code{left:0;min-width:72px!important}.abc-sticky--name{max-width:260px;left:72px;min-width:260px!important}.abc-table tbody .abc-sticky--name{text-overflow:ellipsis;overflow:hidden}.abc-group-row td{border-left:3px solid var(--brand);text-align:left;padding:8px 12px;background:var(--bg-elevated)!important;position:static!important}.abc-group-row td strong{color:var(--text-primary);margin-right:12px}.abc-group-row td span{color:var(--text-muted);font-size:10px}.abc-empty,.abc-loading{color:var(--text-muted);text-align:center!important;padding:50px!important}.abc-updating{background:color-mix(in srgb, var(--bg-elevated) 92%, transparent);width:100%;color:var(--text-muted);justify-content:center;align-items:center;gap:7px;padding:8px;font-size:10px;display:flex;position:sticky;bottom:0;left:0}@media (width<=900px){.abc-summary{grid-template-columns:repeat(2,1fr)}.abc-filter-row>.period-dropdown{flex:210px}}@media (width<=600px){.abc-page{overflow-y:auto}.abc-table-wrap{flex:none;height:min(55dvh,460px)}.abc-summary{grid-template-columns:1fr}.abc-table-tools{flex-wrap:wrap}.abc-table-tools .staff-search-wrap{flex-basis:100%;width:100%;max-width:none}.abc-table-tools>span{margin-left:0}}.production-sales-page{flex-direction:column;gap:12px;display:flex}.production-sales-page>*{flex-shrink:0}.production-sales-filters{border:0;flex-wrap:wrap;align-items:end;gap:8px;min-width:0;margin:0;padding:0;display:flex}.production-sales-filters>.production-sales-view{flex:none}.production-sales-filters>.production-sales-period{flex:0 auto;min-width:0;max-width:100%}.production-sales-filters>.production-sales-weekly-year{flex:0 0 88px;min-width:0;max-width:100%}.production-sales-filters>.production-sales-weekly-metric{flex:200px;min-width:0;max-width:240px}.production-sales-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.production-sales-weekly-table .sort-th-content{white-space:pre-line}.production-sales-weekly-table :is(th,td).production-sales-weekly-unit{text-align:center;z-index:2;background:var(--bg-surface);width:60px;min-width:60px;max-width:60px;position:sticky;left:300px}.main .production-sales-weekly-table thead :is(.production-sales-weekly-name,.production-sales-weekly-unit){z-index:5;background:var(--table-head-bg)}.production-sales-weekly-table .table-group-row .production-sales-weekly-unit{background:var(--bg-base)}.production-sales-weekly-code{color:var(--text-muted);font-size:11px;display:block}.production-sales-chart-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.production-sales-chart-metrics{width:210px;max-width:100%}.production-sales-chart-unit{width:88px}.production-sales-chart-controls .period-dropdown__trigger{min-width:0}.main .production-sales-weekly-table>:is(thead,tbody)>tr>.production-sales-chart-week-selected{background:color-mix(in srgb, var(--brand) 12%, var(--bg-surface));box-shadow:inset 1px 0 var(--brand-border), inset -1px 0 var(--brand-border)}.main .production-sales-weekly-table>thead>tr>.production-sales-chart-week-selected{background:color-mix(in srgb, var(--brand) 16%, var(--table-head-bg))}.main .production-sales-weekly-table tbody .production-sales-chart-category-selected{background:color-mix(in srgb, var(--brand) 12%, var(--bg-surface))}.main .production-sales-weekly-table tbody .production-sales-weekly-name.production-sales-chart-category-selected{box-shadow:inset 3px 0 var(--brand)}.main .production-sales-weekly-table tbody .production-sales-chart-category-selected.production-sales-chart-week-selected{background:color-mix(in srgb, var(--brand) 24%, var(--bg-surface))}.production-sales-category-filter{flex:0 240px;min-width:0;max-width:100%}.production-sales-progress{flex-direction:column;gap:8px;display:flex}.production-sales-table-filters{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.production-sales-table-filters .staff-search-wrap{flex:180px;width:auto;min-width:0;max-width:100%}.production-sales-percent-toggle{flex-shrink:0;align-self:center}.production-sales-page>.production-sales-results{flex:1 0 300px;min-height:300px}.production-sales-results>.production-sales-table-scroll{max-height:none}.production-sales-table{--production-sales-code-width:100px;--production-sales-name-width:260px;table-layout:fixed;width:100%;min-width:2240px}.production-sales-table--categories{min-width:2140px}.production-sales-table--quantities{min-width:1580px}.production-sales-table--categories.production-sales-table--quantities{min-width:1480px}.production-sales-table .sort-th-content{white-space:normal}.production-sales-table .production-sales-unit{width:60px}.production-sales-table .production-sales-code{width:var(--production-sales-code-width);min-width:var(--production-sales-code-width);max-width:var(--production-sales-code-width);overflow-wrap:anywhere;left:0}.production-sales-table .production-sales-name{width:var(--production-sales-name-width);min-width:var(--production-sales-name-width);max-width:var(--production-sales-name-width);left:var(--production-sales-code-width);white-space:normal;overflow-wrap:anywhere}.production-sales-table--categories .production-sales-name,.production-sales-table .production-sales-group-label{left:0}.production-sales-table thead .production-sales-group-label{width:var(--production-sales-name-width)}.production-sales-table tbody .production-sales-group-label{text-align:left;width:auto;min-width:0;max-width:none}.production-sales-table :is(.production-sales-code,.production-sales-name,.production-sales-group-label){position:sticky}.production-sales-table thead :is(.production-sales-code,.production-sales-name,.production-sales-group-label){z-index:5;background:var(--table-head-bg)}.production-sales-table tbody :is(.production-sales-code,.production-sales-name,.production-sales-group-label){z-index:2;background:var(--bg-surface)}.production-sales-table tbody tr:not(.table-group-row):hover>:is(.production-sales-code,.production-sales-name){background:var(--table-row-hover)}.production-sales-table tbody .table-group-row>.production-sales-group-label{background:var(--bg-base)}.production-sales-table .production-sales-group-label .table-group-row__content{flex-wrap:wrap}.production-sales-table .num{font-variant-numeric:tabular-nums}.production-sales-writeoff-value{align-items:center;gap:4px;display:inline-flex}.main .production-sales-table>:is(thead,tbody)>tr>.num{text-align:right!important}.production-sales-category-settings{width:min(900px,100vw - 32px)}.production-sales-category-settings-body,.production-sales-settings-panel:not([hidden]){flex-direction:column;gap:12px;display:flex}.production-sales-category-settings-body>.modal-hint,.production-sales-settings-panel>.modal-hint{margin:0}.production-sales-category-settings .production-sales-category-settings-search{flex:none;width:100%;min-width:0}.production-sales-category-settings-table-scroll{max-height:42vh}.production-sales-category-settings-table{table-layout:fixed;min-width:560px}.production-sales-category-settings-table :is(th,td),.production-sales-category-settings-table.app-table thead th{white-space:normal}.production-sales-category-settings-table :is(th,td):first-child{width:34%}.production-sales-category-settings-table .input{width:100%;min-width:0}.production-sales-category-settings-preview{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0;display:grid}.production-sales-category-settings-preview dt{color:var(--text-muted);font-size:12px}.production-sales-category-settings-preview dd{font-variant-numeric:tabular-nums;margin:4px 0 0}.production-sales-exclusions-table-scroll{max-height:28vh}.production-sales-exclusions-table{table-layout:fixed;min-width:600px}.production-sales-exclusions-table :is(th,td){white-space:normal;overflow-wrap:anywhere}.production-sales-exclusions-table :is(th,td):first-child{width:80px}.production-sales-exclusions-table :is(th,td):nth-child(3){width:24%}.production-sales-exclusions-table :is(th,td):last-child{width:140px}.production-sales-exclusions-table .btn{white-space:nowrap}@media (width<=600px){.production-sales-table{--production-sales-code-width:56px;--production-sales-name-width:140px;min-width:2080px}.production-sales-table--categories{min-width:2024px}.production-sales-table--quantities{min-width:1340px}.production-sales-table--categories.production-sales-table--quantities{min-width:1284px}.production-sales-table thead .production-sales-group-label{width:var(--production-sales-name-width)}.production-sales-filters>.production-sales-view{flex-basis:100%}.production-sales-filters>.production-sales-view>.control-label{display:none}.production-sales-filters>:is(.production-sales-period,.production-sales-weekly-metric){max-width:none}.production-sales-filters>.production-sales-period,.production-sales-category-filter,.production-sales-table-filters .staff-search-wrap{flex-basis:100%}.production-sales-filters>.production-sales-weekly-metric{flex-basis:160px}.production-sales-actions{flex-wrap:wrap;width:100%;margin-left:0}.production-sales-actions>[type=submit]{flex:1}.production-sales-category-settings-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=768px){.production-sales-weekly-table :is(th,td).production-sales-weekly-unit{left:210px}}.tc-history{gap:12px;min-height:0;display:grid}.tc-history__toolbar,.tc-history__panel{background:var(--bg-card);border:1px solid var(--border);border-radius:10px;padding:14px}.tc-history__toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.tc-history__section-title{color:var(--text-primary);align-items:center;gap:7px;font-size:14px;font-weight:700;display:flex}.tc-history__hint{color:var(--text-dim);margin-top:4px;font-size:12px}.tc-history__date-action,.tc-history__compare-controls,.tc-history__recalc-controls{align-items:center;gap:8px;display:flex}.tc-history__date-action .btn{min-height:36px}.tc-history__columns{grid-template-columns:minmax(280px,.72fr) minmax(420px,1.28fr);gap:12px;display:grid}.tc-history__timeline{gap:4px;max-height:330px;margin-top:10px;display:grid;overflow:auto}.tc-history__event{width:100%;color:var(--text-secondary);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;grid-template-columns:10px 1fr;gap:8px;padding:8px;display:grid}.tc-history__event:hover{background:var(--bg-elevated)}.tc-history__event>span:last-child{gap:2px;display:grid}.tc-history__event strong{color:var(--text-primary);font-size:12px}.tc-history__event span span{font-size:12px}.tc-history__event small{color:var(--text-dim);font-size:11px}.tc-history__event small.is-warning{color:var(--amber)}.tc-history__event-dot{background:var(--accent);border-radius:50%;width:8px;height:8px;margin-top:4px}.tc-history__event-dot.is-cost{background:var(--amber)}.tc-history__compare-controls{flex-wrap:wrap;margin-top:12px}.tc-history__comparison{margin-top:12px}.tc-history__reason-cards{flex-wrap:wrap;gap:6px;display:flex}.tc-history__reason-cards span{color:var(--text-secondary);background:var(--bg-elevated);border:1px solid var(--border);border-radius:7px;padding:6px 9px;font-size:12px}.tc-history__reason-cards span.is-changed{color:var(--amber);border-color:color-mix(in srgb, var(--amber) 45%, var(--border))}.tc-history__comparison h4{color:var(--text-muted);text-transform:uppercase;margin:12px 0 6px;font-size:12px}.tc-history__change-list{gap:4px;max-height:180px;display:grid;overflow:auto}.tc-history__change-list>div{background:var(--bg-base);border-radius:6px;grid-template-columns:minmax(110px,.8fr) minmax(180px,1.6fr) auto;align-items:center;gap:8px;padding:6px 8px;font-size:12px;display:grid}.tc-history__change-list small{color:var(--text-dim)}.tc-history__warning{color:var(--amber);background:color-mix(in srgb, var(--amber) 8%, transparent);border-radius:7px;align-items:center;gap:7px;margin-top:10px;padding:8px;font-size:12px;display:flex}.tc-history__recalc{grid-template-columns:minmax(220px,.8fr) minmax(500px,1.2fr);align-items:center;gap:14px;display:grid}.tc-history__recalc-controls{flex-wrap:wrap;justify-content:flex-end}.tc-history__recalc select{height:36px;color:var(--text-secondary);background:var(--bg-base);border:1px solid var(--border-light);border-radius:7px;padding:0 10px}.tc-history__task{grid-column:1/-1}.tc-history__task>div{background:var(--bg-base);border-radius:999px;height:5px;overflow:hidden}.tc-history__task>div span{background:var(--accent);height:100%;transition:width .2s;display:block}.tc-history__task small{color:var(--text-dim);margin-top:5px;display:block}.tc-history__task.is-error small{color:var(--red)}.tc-history__empty{color:var(--text-dim);text-align:center;padding:24px;font-size:12px}@media (width<=980px){.tc-history__columns,.tc-history__recalc{grid-template-columns:1fr}.tc-history__toolbar{flex-direction:column;align-items:flex-start}.tc-history__recalc-controls{justify-content:flex-start}}.product-catalog-tabs{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-base);align-items:center;gap:2px;padding:3px;display:inline-flex}.product-catalog-tabs button{height:28px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:6px;padding:0 10px;font-size:11px;display:inline-flex}.product-catalog-tabs button.is-active{background:var(--bg-elevated);color:var(--text-primary)}.archived-techcards{overflow:hidden}.archived-techcards__controls{align-items:center}.archived-techcards__search{border:1px solid var(--border-light);border-radius:var(--radius-sm);background:var(--bg-surface);min-width:260px;height:36px;color:var(--text-dim);flex:1;align-items:center;gap:7px;padding:0 10px;display:flex}.archived-techcards__search input{min-width:0;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:0;flex:1}.archived-techcards__summary{color:var(--text-muted);margin-left:auto;font-size:11px}.archived-techcards__summary strong{color:var(--text-primary)}.archived-techcards__summary .is-warning{color:var(--amber)}.archived-techcards__table-wrap{overflow:auto}.archived-techcards__table{width:100%}.archived-techcards__table th:first-child,.archived-techcards__table td:first-child{width:90px}.archived-techcards__table th:last-child,.archived-techcards__table td:last-child{text-align:center;width:48px}.archived-techcards__table tbody tr{cursor:pointer}.archived-techcards__table tbody tr.is-selected{background:color-mix(in srgb, var(--brand) 9%, transparent)}.archived-techcards__table td>small{color:var(--text-dim);margin-top:3px;font-size:9px;display:block}.archived-techcards__table th.archive-select-cell,.archived-techcards__table td.archive-select-cell{text-align:center;width:38px;min-width:38px;padding-left:10px;padding-right:4px}.archive-select-cell input{width:15px;height:15px;accent-color:var(--brand);cursor:pointer;margin:0}.archive-bulk-bar{border:1px solid var(--border);border-radius:var(--radius-sm) var(--radius-sm) 0 0;background:var(--bg-surface);min-height:42px;color:var(--text-muted);border-bottom:0;justify-content:flex-end;align-items:center;gap:8px;padding:6px 10px;font-size:11px;display:flex}.archive-bulk-bar strong{color:var(--text-primary)}.archive-category{color:var(--text-primary);align-items:center;gap:7px;display:inline-flex}.archive-category small{background:var(--bg-elevated);color:var(--text-dim);text-transform:uppercase;border-radius:4px;padding:2px 5px;font-size:8px}.archive-category--manual small{background:var(--brand-light);color:var(--brand)}.archive-category--missing{color:var(--amber)}.archived-techcards__empty{height:140px;color:var(--text-muted);text-align:center!important}.archive-category-modal{width:min(500px,100vw - 24px)}.archive-category-modal .modal-header{align-items:flex-start;min-height:60px;padding:12px 14px}.archive-category-modal .modal-header>.icon-btn{width:30px;height:30px}.archive-category-modal__heading{gap:3px;min-width:0;display:grid}.archive-category-modal__heading small{color:var(--text-dim);text-transform:uppercase;font-size:9px}.archive-category-modal__heading h2{overflow-wrap:anywhere;color:var(--text-primary);margin:0;font-size:15px}.archive-category-modal__heading span{color:var(--text-muted);font-size:10px}.archive-category-modal__body{gap:14px;padding:14px;display:grid}.archive-category-modal__source{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;font-size:11px;display:flex}.archive-category-modal__source span{color:var(--text-muted)}.archive-category-modal__source strong{overflow-wrap:anywhere;min-width:0;color:var(--text-primary);text-align:right}.archive-category-modal__field{min-width:0;color:var(--text-muted);gap:5px;font-size:10px;display:grid}.archive-category-modal__field-row{align-items:center;gap:7px;min-width:0;display:flex}.archive-category-modal__field-row select,.archive-category-modal__field-row input{min-width:0;height:var(--control-h);box-sizing:border-box;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-base);color:var(--text-body);font:inherit;outline:0;flex:1;padding:0 10px}.archive-category-modal__field-row select:focus,.archive-category-modal__field-row input:focus{border-color:var(--brand)}.archive-category-modal__field-row>.icon-btn{width:var(--control-h);height:var(--control-h)}.archive-category-modal__field-row>.btn-danger:disabled{cursor:not-allowed;opacity:.45}.archive-category-modal__footer{min-height:54px;padding:9px 14px}.archive-category-modal__reset{margin-right:auto}.archive-category-edit{color:var(--text-muted)}.archive-category-edit:hover{color:var(--brand)}@media (width<=700px){.archived-techcards__summary{width:100%;margin-left:0}.product-catalog-tabs button span{display:none}}.trade-points-page{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex}.trade-points-toolbar{justify-content:space-between;align-items:center;min-height:38px;padding:0 4px;display:flex}.trade-points-toolbar>div{color:var(--text-muted);align-items:baseline;gap:7px;font-size:12px;display:flex}.trade-points-toolbar strong{color:var(--text-primary);font-size:18px}.trade-points-table-wrap{flex:1;min-height:0;max-height:none}.trade-points-table{min-width:980px}.trade-points-table th:first-child,.trade-points-table td:first-child{text-align:left;width:22%}.trade-points-table th:nth-child(2),.trade-points-table td:nth-child(2){width:12%}.trade-points-table th:nth-child(3),.trade-points-table td:nth-child(3){width:28%}.trade-points-table th:nth-child(4),.trade-points-table td:nth-child(4){width:20%}.trade-points-table th:last-child,.trade-points-table td:last-child{text-align:right;width:18%}.trade-points-table td:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.trade-points-group-row td{z-index:1;border-left:3px solid var(--brand);color:var(--text-primary);padding:9px 14px;position:sticky;top:35px;background:var(--bg-elevated)!important;text-align:left!important}.trade-points-group-row td,.trade-points-row td:first-child{align-items:center;gap:7px}.trade-points-group-row td{display:table-cell}.trade-points-group-row svg{color:var(--brand);vertical-align:-2px;margin-right:7px}.trade-points-group-row span{background:var(--bg-surface);color:var(--text-muted);border-radius:10px;margin-left:8px;padding:1px 7px;font-size:10px}.trade-points-row{cursor:pointer;transition:background-color var(--transition)}.trade-points-row:hover td,.trade-points-row:focus-visible td{background:color-mix(in srgb, var(--brand) 8%, var(--bg-surface))}.trade-points-row:focus-visible{outline:none}.trade-points-row td:first-child svg{color:var(--text-dim);vertical-align:-2px;margin-right:7px}.trade-points-row td:first-child small{color:var(--text-dim);margin-left:7px;font-weight:400}.trade-points-row.is-hidden{opacity:.55}.trade-points-empty{height:160px;color:var(--text-dim);text-align:center!important}.trade-points-page--card,.trade-point-card-workspace{flex:1;min-height:0}.trade-point-card-workspace{gap:var(--history-sidebar-gap);width:100%;display:flex;position:relative}.trade-point-card{flex-direction:column;flex:1;width:100%;display:flex;container-type:inline-size}.trade-point-card__header{border-bottom:1px solid var(--border);background:var(--bg-surface);flex:none;justify-content:space-between;align-items:center;gap:16px;min-height:50px;padding:8px 12px 8px 16px;display:flex}.trade-point-card__context,.trade-point-card__actions{align-items:center;display:flex}.trade-point-card__context{min-width:0;color:var(--text-muted);gap:5px;font-size:12px}.trade-point-card__actions{flex:none;gap:8px}.trade-point-card__body{flex:1;min-height:0;padding:14px;overflow:auto}.trade-point-card__loading{min-height:320px;color:var(--text-muted);justify-content:center;align-items:center;gap:10px;font-size:13px;display:flex}.trade-point-card__top-grid{grid-template-columns:minmax(360px,1.25fr) minmax(360px,1fr);gap:12px;display:grid}.trade-point-panel{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);overflow:hidden}.trade-point-panel h3{color:var(--text-primary);margin:0;font-size:13px}.trade-point-map{background:var(--bg-elevated);min-height:270px}.trade-point-map iframe{border:0;width:100%;height:100%;min-height:270px;display:block}.trade-point-map__empty{min-height:270px;color:var(--text-dim);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.trade-point-main-info{padding:16px}.trade-point-main-info h3{margin-bottom:12px}.trade-point-info-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(130px,.8fr) minmax(180px,1.2fr);align-items:center;gap:12px;min-height:42px;font-size:12px;display:grid}.trade-point-info-row>span,.trade-point-address-field>span{color:var(--text-muted);align-items:center;gap:5px;display:flex}.trade-point-info-row strong{color:var(--text-primary);text-align:right}.trade-point-address-field>div{align-items:center;gap:7px;display:flex}.trade-point-address-field input{box-sizing:border-box;border:1px solid var(--border-light);border-radius:var(--radius-sm);background:var(--bg-base);min-width:0;height:34px;color:var(--text-primary);font:inherit;outline:none}.trade-point-address-field{gap:8px;padding-top:12px;font-size:12px;display:grid}.trade-point-address-field input{flex:1;width:100%;padding:0 10px}.trade-point-address-field .btn{justify-content:center;width:34px;height:34px;padding:0}.trade-point-address-field input:focus{border-color:var(--brand)}.trade-point-address-field input:disabled{opacity:1;background:0 0;border-color:#0000}.trade-point-schedule-summary{border-top:1px solid var(--border);gap:8px;margin-top:12px;padding-top:12px;display:grid}.trade-point-schedule-summary__heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.trade-point-schedule-summary__heading>span{color:var(--text-muted);align-items:center;gap:5px;font-size:12px;display:flex}.trade-point-schedule-summary__groups{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.trade-point-schedule-summary__group{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-base);align-items:center;gap:7px;min-height:30px;padding:0 9px;font-size:11px;display:inline-flex}.trade-point-schedule-summary__group strong{color:var(--text-primary)}.trade-point-schedule-summary__group span{color:var(--text-muted)}.trade-point-schedule-summary__group span.is-closed{color:var(--text-dim)}.trade-point-weekly-schedule{gap:12px;display:grid}.trade-point-weekly-schedule__heading,.trade-point-weekly-schedule__heading>div{align-items:center;display:flex}.trade-point-weekly-schedule__heading{justify-content:flex-end}.trade-point-weekly-schedule__grid{grid-template-columns:1fr;gap:7px;display:grid}.trade-point-schedule-day{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-base);min-height:42px;color:var(--text-muted);grid-template-columns:minmax(105px,1fr) 36px minmax(80px,auto);align-items:center;gap:9px;padding:4px 10px;font-size:12px;display:grid}.trade-point-schedule-day.is-open>strong{color:var(--text-primary)}.trade-point-schedule-day__toggle{cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.trade-point-schedule-day__toggle:disabled{cursor:default}.trade-point-schedule-day__times{justify-content:flex-end;align-items:center;gap:7px;display:flex}.trade-point-schedule-day__times>.time-picker{flex:0 104px}.trade-point-schedule-day__closed{text-align:right;color:var(--text-dim)}.trade-point-revenue-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.trade-point-revenue-stats,.trade-point-chart-panel,.trade-point-history-grid{transition:opacity var(--transition)}.trade-point-revenue-stats.is-updating,.trade-point-chart-panel.is-updating,.trade-point-history-grid.is-updating{opacity:.55;pointer-events:none}.trade-point-period-controls{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);margin-top:12px;padding:10px 12px}.trade-point-period-presets{flex-wrap:wrap;align-items:center;gap:7px;margin-top:0;display:flex}.trade-point-page-header-controls{gap:8px;padding-right:16px}.trade-point-header-period{align-items:center;gap:8px;min-width:0;display:flex}.trade-point-header-period .icon-btn{flex:none}.trade-point-revenue-stats>div{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);flex-direction:column;gap:5px;padding:12px 14px;display:flex}.trade-point-revenue-stats span{color:var(--text-muted);text-transform:uppercase;font-size:10px}.trade-point-revenue-stats strong{color:var(--text-primary);font-size:19px}.trade-point-panel__heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;display:flex}.trade-point-panel__heading span{color:var(--text-dim);font-size:10px}.trade-point-panel__heading>div:first-child{flex-direction:column;gap:3px;display:flex}.trade-point-revenue-live{color:var(--text-muted);white-space:nowrap;align-items:center;gap:6px;display:flex}.trade-point-revenue-live__dot{background:var(--text-dim);border-radius:50%;width:7px;height:7px}.trade-point-revenue-live__dot.is-live{background:var(--green);box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent)}.trade-point-revenue-live__refresh{justify-content:center;width:28px;height:28px;padding:0}.trade-point-revenue-live__refresh .is-spinning{animation:.8s linear infinite trade-point-refresh-spin}@keyframes trade-point-refresh-spin{to{transform:rotate(360deg)}}.trade-point-chart-panel{min-width:0;margin-top:12px}.trade-point-chart-panel .recharts-responsive-container{padding:12px 8px 6px 0}.trade-point-history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.trade-point-history__row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:38px;margin:0 14px;font-size:11px;display:flex}.trade-point-history__row strong{color:var(--text-primary)}.trade-point-history__row span,.trade-point-history p,.trade-point-motivation p{color:var(--text-muted)}.trade-point-history p,.trade-point-motivation p{text-align:center;margin:18px;font-size:11px}.trade-point-period-modal .modal-panel{width:min(520px,100vw - 32px)}.trade-point-schedule-modal .modal-panel{width:min(460px,100vw - 32px)}.trade-point-schedule-modal .modal-header p{color:var(--text-muted);margin:4px 0 0;font-size:11px}.trade-point-schedule-modal__error{color:var(--danger);margin:10px 0 0;font-size:11px}.trade-point-period-modal .modal-header p{color:var(--text-muted);margin:4px 0 0;font-size:11px}.trade-point-period-modal__fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.trade-point-period-modal__fields label{color:var(--text-muted);flex-direction:column;gap:6px;font-size:11px;display:flex}.trade-point-period-modal__fields>small{color:var(--text-dim);grid-column:1/-1}.trade-point-features{margin-top:12px}.trade-point-features__grid{grid-template-columns:repeat(4,minmax(140px,1fr));gap:8px;padding:12px;display:grid}.trade-point-feature{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-base);min-width:0;color:var(--text-primary);font:inherit;text-align:left;cursor:pointer;align-items:center;gap:10px;padding:10px 12px;display:flex}.trade-point-feature:hover:not(:disabled){border-color:var(--brand)}.trade-point-feature:disabled{cursor:default}.trade-point-feature__text{flex-direction:column;gap:2px;min-width:0;display:flex}.trade-point-feature__text strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.trade-point-feature__label{align-items:center;gap:5px;min-width:0;display:flex}.trade-point-feature__help{color:var(--text-dim);cursor:help;flex:none;align-items:center;display:inline-flex}.trade-point-feature__help:hover{color:var(--brand)}.trade-point-feature__text small{color:var(--text-dim);font-size:9px}.trade-point-detail-history{gap:12px;margin:0;padding:0;list-style:none;display:grid}.trade-point-detail-history__entry{border-bottom:1px solid var(--border);padding-bottom:12px}.trade-point-detail-history__heading{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.trade-point-detail-history__entry p{margin:4px 0}.trade-point-detail-history__changes{gap:6px;margin:8px 0 0;font-size:12px;display:grid}.trade-point-detail-history__changes dt{color:var(--text-muted)}.trade-point-detail-history__changes dd{overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:4px;margin:2px 0 0;display:flex}.trade-point-detail-history__changes del{color:var(--text-muted)}.trade-point-detail-history__changes svg{flex:none;align-self:center}@container (width<=760px){.trade-point-card__top-grid{grid-template-columns:1fr}}@container (width<=620px){.trade-point-features__grid{grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr))}}@media (width<=980px){.trade-point-card__top-grid,.trade-point-history-grid{grid-template-columns:1fr}.trade-point-features__grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.trade-point-weekly-schedule__grid{grid-template-columns:1fr}}@media (width<=640px){.trade-point-card__header{gap:8px}.trade-point-revenue-stats,.trade-point-period-modal__fields{grid-template-columns:1fr}.trade-point-panel__heading{align-items:flex-start}.trade-point-features__grid{grid-template-columns:1fr}.trade-point-weekly-schedule__heading{flex-direction:column;align-items:flex-start}.trade-point-schedule-day{grid-template-columns:minmax(90px,1fr) 36px}.trade-point-schedule-day__times,.trade-point-schedule-day__closed{grid-column:1/-1}}.api-settings-page{overflow-y:auto}.api-settings-security-note{border:1px solid color-mix(in srgb, var(--green) 45%, var(--border));border-radius:var(--radius-md);background:color-mix(in srgb, var(--green) 7%, var(--bg-surface));color:var(--text-secondary);align-items:center;gap:12px;margin-bottom:16px;padding:12px 16px;display:flex}.api-settings-security-note>div{flex:1;gap:3px;display:grid}.api-settings-security-note strong{color:var(--text-primary)}.api-settings-security-note span{color:var(--text-dim);font-size:12px}.api-settings-provider{margin-bottom:12px;padding:20px 24px}.api-settings-provider__header{margin-bottom:14px;padding-bottom:14px}.api-settings-provider__header>svg{color:var(--brand);flex:none}.api-settings-provider__header>div:nth-child(2){min-width:0}.api-settings-provider__header p{color:var(--text-dim);margin:4px 0 0;font-size:12px}.api-settings-provider__status{flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-left:auto;display:flex}.api-settings-provider__toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;display:flex}.api-settings-provider__toolbar>.badge{align-items:center;gap:4px}.api-settings-test-date{color:var(--text-dim);font-size:12px}.api-settings-test-message{color:var(--text-secondary);font-size:12px}.api-settings-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;display:grid}.api-settings-field{align-content:start;gap:6px;min-width:0;display:grid}.api-settings-field__label{color:var(--text-muted);font-size:12px;font-weight:600}.api-settings-field__label sup{color:var(--brand);margin-left:2px}.api-settings-field small{color:var(--text-dim);font-size:11px;line-height:1.4}.api-settings-field-state{color:var(--green);align-items:center;gap:5px;font-size:11px;line-height:1.4;display:flex}.api-settings-field-state--warning{color:var(--amber)}.api-settings-secret{gap:6px;min-width:0;display:flex}.api-settings-secret .input{flex:1;min-width:0}.api-settings-provider__actions{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;margin-top:18px;padding-top:14px;display:flex}.api-settings-provider__actions .spinner{width:14px;height:14px;margin:0}@media (width<=768px){.api-settings-provider{padding:16px}.api-settings-provider__header{flex-wrap:wrap;align-items:flex-start}.api-settings-provider__status{justify-content:flex-start;width:100%;margin-left:30px}.api-settings-fields{grid-template-columns:1fr}.api-settings-provider__actions{flex-wrap:wrap}}.functional-structure-header{justify-content:space-between}.functional-structure-toolbar{z-index:4;padding:8px var(--page-gutter-x);background:var(--bg-surface);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;display:flex;position:relative}.functional-structure-picker{flex:0 340px;min-width:min(200px,100%)}.functional-toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-inline-start:auto;display:flex}.functional-structure-notice{padding:6px var(--page-gutter-x);color:var(--text-muted);font-size:12px}.functional-tree-area{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.company-structure-canvas.functional-structure-canvas{padding:var(--page-gutter-y) var(--page-gutter-x);cursor:default}.functional-column-node{background:var(--bg-card)}.functional-node>.company-structure-card__column{padding-inline-start:12px}.functional-structure-page .functional-node--filled{background:color-mix(in srgb, var(--functional-node-color) 16%, var(--bg-card))}.functional-node-marker{background:var(--functional-node-color)}.functional-structure-page .functional-node--drop-target{border-color:var(--brand);box-shadow:inset 0 0 0 2px var(--brand)}.functional-node-header,.functional-position__head{justify-content:space-between;align-items:flex-start;display:flex}.functional-node-header>.company-structure-card__head{min-width:0;min-height:42px;font:inherit;text-align:start;background:0 0;border:0;flex:1}.functional-node-actions{opacity:0;pointer-events:none;transition:opacity var(--transition);flex:none;align-items:center;gap:2px;margin:6px 6px 0 0;display:flex}.functional-position__head:hover .functional-node-actions,.functional-node-actions:focus-within{opacity:1;pointer-events:auto}.functional-node:hover:not(:has(.functional-node:hover))>.functional-node-header .functional-node-actions{opacity:1;pointer-events:auto}.functional-node-actions:has([aria-expanded=true]){opacity:1;pointer-events:auto}.functional-node-actions [draggable=true]{cursor:grab}.functional-node-actions [draggable=true]:active{cursor:grabbing}@media (hover:none){.functional-node-actions{opacity:1;pointer-events:auto}}.functional-node-ckp{-webkit-line-clamp:3;overflow-wrap:anywhere;color:var(--text-body);-webkit-box-orient:vertical;margin:0 12px 10px;font-size:12px;display:-webkit-box;overflow:hidden}.functional-position__title{gap:3px;min-width:0;padding:8px 12px;display:grid}.functional-position__title .badge{white-space:normal;justify-self:start}.functional-position__employee{overflow-wrap:anywhere;align-items:flex-start;gap:8px;padding:5px 12px 5px 24px;font-size:12px;display:flex}.functional-position__employee>svg{color:var(--text-muted);flex-shrink:0}.functional-position__employee small,.functional-structure-note,.functional-position__vacant{color:var(--text-muted);font-size:11px}.functional-position__employee small{display:block}.functional-position__vacant{margin:0;padding:4px 12px 8px 24px}.functional-form-fields{border:0;gap:12px;min-width:0;margin:0;padding:0;display:grid}.functional-form-fields .input,.functional-form-fields .textarea{width:100%}.functional-function-form{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start;gap:16px;display:grid}.functional-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}@media (width<=768px){.functional-structure-header .page-header-left{flex-wrap:wrap;flex:auto;row-gap:8px}.functional-toolbar-actions{margin-inline-start:0}.functional-function-form{grid-template-columns:minmax(0,1fr)}}.employee-surveys{gap:16px;display:grid}.employee-surveys__form{justify-items:start;gap:12px;display:grid}.employee-surveys__form[hidden]{display:none}.employee-surveys__form>:is(h2,h3,p){margin:0}.employee-surveys__palette,.employee-surveys__palette>.color-palette{justify-items:center}.employee-surveys__palette .choice-buttons{justify-content:center}.employee-surveys__palette :is(.control-label,.modal-hint){text-align:center}.employee-surveys__form>.control-group,.employee-surveys__question{width:100%}.employee-surveys__question{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.employee-surveys__question .employee-surveys__rating{min-inline-size:84px}.employee-surveys__score{border-inline-start:4px solid var(--survey-color,currentColor);padding-inline-start:6px}.employee-surveys__result{margin:0}.employee-surveys__result summary{cursor:pointer}.employee-surveys__result summary>*+*{margin-inline-start:12px}.employee-surveys__result dd{margin-inline-start:0}.employee-polls__template-filter{flex:160px;min-inline-size:0;max-inline-size:480px}.employee-polls__period-filter{flex-wrap:wrap;justify-content:flex-end;gap:8px;max-inline-size:100%;margin-inline-start:auto;display:flex}.quality-page{flex-direction:column;gap:16px;display:flex}.quality-toolbar,.quality-question-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.quality-toolbar>.input{flex:1;min-width:180px}.quality-template-fields,.quality-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));align-items:end;gap:12px;display:grid}.quality-template-fields .input,.quality-fields .input,.quality-options .input{width:100%;min-width:0}.quality-list{flex-direction:column;gap:12px;display:flex}.quality-list-item{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.quality-list-item>div:first-child{flex:1;min-width:0}.quality-list-item h2,.quality-preview-section h2,.quality-settings h2{overflow-wrap:anywhere;margin:0 0 8px;font-size:16px}.quality-list-item p{color:var(--text-dim);margin:0 0 8px;font-size:13px}.quality-list-item .btn-group{flex-shrink:0}.quality-builder{grid-template-columns:minmax(220px,280px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.quality-sections{flex-direction:column;gap:6px;display:flex;position:sticky;top:0}.quality-section-row{align-items:center;gap:4px;min-width:0;display:flex}.quality-section-row>.btn{text-align:left;white-space:normal;overflow-wrap:anywhere;flex:1;justify-content:flex-start}.quality-section-editor{flex-direction:column;gap:12px;min-width:0;display:flex}.quality-question-editor{border-bottom:1px solid var(--border);flex-direction:column;gap:12px;min-width:0;padding:12px 0;display:flex}.quality-question-title>.btn-group{margin-left:auto}.quality-question-editor .textarea{resize:vertical;width:100%}.quality-question-settings{grid-template-columns:minmax(120px,1fr) 100px minmax(140px,1.4fr) auto;align-items:end;gap:12px;display:grid}.quality-question-settings .input{width:100%}.quality-question-editor summary{cursor:pointer;color:var(--text-dim);padding:4px 0;font-size:13px}.quality-question-editor details[open]>.quality-fields{margin-top:12px}.quality-options{flex-direction:column;gap:6px;margin-top:8px;display:flex}.quality-option-row{grid-template-columns:minmax(0,1fr) minmax(70px,120px) 32px;align-items:center;gap:8px;margin-bottom:8px;display:grid}.quality-options>.btn{align-self:start}.quality-settings{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:16px;display:grid}.quality-settings section{flex-direction:column;gap:12px;min-width:0;display:flex}.quality-header-field{border-bottom:1px solid var(--border);padding-bottom:12px}.quality-preview{flex-direction:column;gap:16px;display:flex}.quality-features{flex-wrap:wrap;gap:6px;display:flex}.quality-preview-summary{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.quality-preview-section{flex-direction:column;gap:12px;display:flex}.quality-preview-question{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) minmax(190px,auto);gap:8px 16px;padding-bottom:12px;display:grid}.quality-preview-question strong{overflow-wrap:anywhere;font-size:14px;font-weight:500;display:block}.quality-preview-question>.input{grid-column:1/-1}.quality-preview-question .choice-buttons{align-self:center}.quality-section-row.is-dragging,.quality-question-editor.is-dragging{opacity:.45}.quality-section-row.is-drop-before,.quality-question-editor.is-drop-before{box-shadow:inset 0 2px 0 var(--brand)}.quality-section-row.is-drop-after,.quality-question-editor.is-drop-after{box-shadow:inset 0 -2px 0 var(--brand)}@media (width<=1100px){.quality-question-settings{grid-template-columns:minmax(0,1fr) 90px}.quality-list-item{flex-direction:column;align-items:flex-start}}@media (width<=768px){.quality-builder{grid-template-columns:minmax(0,1fr)}.quality-sections{position:static}.quality-toolbar>.btn{min-height:36px}.quality-preview-question{grid-template-columns:minmax(0,1fr)}.quality-preview-question .choice-buttons .btn{min-height:40px}.quality-list-item{padding:12px 0}.quality-settings{gap:16px}}.quality-export-preview{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.quality-export-preview .btn{white-space:normal;overflow-wrap:anywhere;max-width:100%}.quality-section-title{overflow-wrap:anywhere;min-width:0}.quality-section-count{white-space:nowrap;flex-shrink:0;margin-left:auto}.quality-category-settings{border-bottom:1px solid var(--border);flex-direction:column;gap:12px;padding-bottom:12px;display:flex}.quality-responsible-picker{flex-direction:column;gap:6px;min-width:0;display:flex}.quality-responsible-picker .control-label{overflow-wrap:anywhere}.quality-responsible-picker .trade-catalog-select{width:100%;min-width:0}.quality-section-row>.btn--wrap{align-items:center}.quality-template-fields{grid-template-columns:minmax(0,1fr);align-items:stretch}.quality-template-fields .textarea{width:100%;min-width:0}.quality-template-summary{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;display:grid}.quality-template-summary .stat-label,.quality-template-summary .stat-value{display:block}.quality-section-count{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.quality-section-count>span{align-items:center;gap:4px;display:flex}.quality-filename-settings{grid-column:1/-1}.quality-filename-part{grid-template-columns:160px minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.quality-filename-part .btn-group{flex-wrap:nowrap}.quality-filename-example{overflow-wrap:anywhere}@media (width<=768px){.quality-filename-part{grid-template-columns:minmax(0,1fr) auto}.quality-filename-part>.period-dropdown:first-child{grid-column:1/-1}}.quality-preview .quality-fields{align-items:start}.quality-preview-value{min-height:var(--control-h);overflow-wrap:anywhere;align-items:center;display:flex}.quality-subject-settings{grid-column:1/-1}.quality-subject-option{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.quality-settings section>.control-group{flex:none}@media (width<=768px){.quality-template-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}.trip-norms-modal{width:min(900px,100vw - 32px)}.trip-norms-modal__icon{color:var(--brand);flex-shrink:0}.trip-norms-modal__period{color:var(--text-muted);margin-top:2px;font-size:12px}.trip-norms-modal__body{flex-direction:column;gap:12px;display:flex}.trip-norms-modal__summary{color:var(--text-body);align-items:center;gap:10px;font-size:13px;display:flex}.trip-norms-modal__error{border-radius:var(--radius-sm);color:var(--red);background:#f871711a;padding:8px 12px;font-size:13px}.trip-norms-modal__table-wrap{max-height:min(58vh,520px)}.trip-norms-modal__table th.is-right,.trip-norms-modal__table td.is-right{text-align:right}.trip-norms-modal__input-wrap{justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.trip-norms-modal__input{text-align:right;width:112px}@media (width<=768px){.trip-norms-modal{width:calc(100vw - 24px)}.trip-norms-modal__summary{flex-direction:column;align-items:flex-start}}.timesheet-position-pay-popover{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:16px;display:grid}.timesheet-position-pay-popover__header{grid-column:1/-1}.timesheet-position-pay-popover__left,.timesheet-position-pay-popover__right{min-width:0}@media (width<=580px){.timesheet-position-pay-popover{grid-template-columns:minmax(0,1fr)}}.modal-panel.production-print-modal{width:min(1600px,100vw - 40px);max-width:100%;height:90dvh}.production-print-modal>.modal-header,.production-print-modal>.modal-footer{flex-shrink:0}.modal-body.production-print-workspace{grid-template-columns:300px minmax(0,1fr);min-height:0;padding:0;display:grid;overflow:hidden}.production-print-settings{border-right:1px solid var(--border);min-width:0;min-height:0;padding:16px;overflow-y:auto}.production-print-controls{gap:16px;margin:16px 0;display:grid}.production-print-section-controls{gap:16px;display:grid}.production-print-controls .checkbox-multiselect{width:100%}.production-print-controls .checkbox-multiselect__menu{width:100%;min-width:0;margin-top:0}.production-print-controls .checkbox-multiselect__options{grid-template-columns:minmax(0,1fr);max-height:none}.production-print-options{flex-wrap:wrap;gap:12px;margin:16px 0;display:flex}.production-print-viewer{flex-direction:column;gap:12px;min-width:0;min-height:0;padding:16px;display:flex}.production-print-preview-summary{margin:0}.production-print-preview{border:1px solid var(--border);background:#fff;flex:1 1 0;width:100%;min-height:0;display:block}.production-print-preview-empty{color:var(--text-muted);text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:16px;display:flex}.production-print-preview-empty .modal-hint{max-width:360px;margin:0}@media (width<=900px){.modal-body.production-print-workspace{display:block;overflow-y:auto}.production-print-settings{border-right:0;border-bottom:1px solid var(--border);overflow:visible}.production-print-viewer{height:65dvh;min-height:360px}}@media (width<=768px){.modal-panel.production-print-modal{width:calc(100vw - 24px)}.production-print-settings,.production-print-viewer{padding:12px}.production-print-modal .modal-footer{flex-wrap:wrap}}.iiko-payout-page,.iiko-payout-tab-panel:not([hidden]){flex-direction:column;gap:16px;display:flex}.iiko-payout-page>.modal-tabs,.iiko-payout-tab-panel>.modal-tabs{padding:0}.iiko-statement-filters,.iiko-statement-table-filters{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.iiko-statement-employee{flex:320px;min-width:0}.iiko-employee-field .trade-catalog-select,.iiko-employee-field .staff-search{width:100%}.iiko-employee-field>.staff-search-wrap{flex:none;min-width:0}.iiko-statement-heading{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.iiko-statement-heading>div{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.iiko-statement-heading>div>span{color:var(--text-muted);font-size:12px}.stats-grid.iiko-statement-stats{margin-bottom:0}.iiko-statement-stats .stat-value{overflow-wrap:anywhere;font-size:clamp(15px,1.4vw,22px)}.table-card.iiko-statement-accounts,.table-card.iiko-statement-operations{flex:none}.iiko-statement-accounts>.table-scroll{flex:none;min-height:0}.iiko-payout-tab-panel>.modal-hint{margin:0}.iiko-statement-table-filters{align-items:center}.iiko-statement-table-filters .staff-search-wrap{flex:260px}.iiko-statement-table-filters .staff-search{width:100%}.iiko-statement-table{table-layout:fixed;min-width:0}.iiko-statement-table col:first-child,.iiko-statement-table col:nth-child(2){width:11%}.iiko-statement-table col:nth-child(3){width:7%}.iiko-statement-table col:nth-child(4){width:9%}.iiko-statement-table col:nth-child(5){width:13%}.iiko-statement-table col:nth-child(6){width:11%}.iiko-statement-table col:nth-child(7){width:10%}.iiko-statement-table col:nth-child(8){width:11%}.iiko-statement-table col:nth-child(9){width:17%}.app-table.iiko-statement-table th,.app-table.iiko-statement-table td{overflow-wrap:anywhere;white-space:normal}.iiko-statement-table .iiko-statement-comment{white-space:pre-wrap}.iiko-operation-panel,.iiko-excel-import{flex-direction:column;gap:16px;min-width:0;display:flex}.iiko-excel-card.table-card{flex:none}.iiko-excel-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.iiko-excel-hint{overflow-wrap:anywhere;flex-basis:100%;margin:0}.iiko-excel-card>.table-scroll{max-height:420px}.iiko-excel-table{min-width:0}.iiko-excel-table th,.iiko-excel-table td{white-space:pre-wrap;overflow-wrap:anywhere}.iiko-accrual-layout{grid-template-columns:minmax(0,3fr) minmax(320px,2fr);align-items:stretch;gap:16px;display:grid}.iiko-accrual-layout>.settings-section{margin:0}.iiko-accrual-form{flex-direction:column;gap:16px;min-width:0;display:flex}.iiko-accrual-layout .settings-section-header,.iiko-accrual-layout .modal-hint{margin:0}.iiko-accrual-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.iiko-accrual-fields>.control-group{min-width:0}.iiko-accrual-fields .checkbox-multiselect{width:100%;min-width:0}.iiko-accrual-field--wide{grid-column:1/-1}.iiko-accrual-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.iiko-accrual-sidebar{flex-direction:column;gap:16px;min-width:0;display:flex}.iiko-accrual-sidebar>.iiko-accrual-actions{margin-top:auto}.iiko-accrual-summary{flex-direction:column;gap:12px;display:flex}.iiko-accrual-summary>div{grid-template-columns:minmax(112px,2fr) minmax(0,3fr);gap:12px;display:grid}.iiko-accrual-summary dt{color:var(--text-muted)}.iiko-accrual-summary dd{overflow-wrap:anywhere;white-space:pre-wrap;margin:0}@media (width<=1100px){.iiko-accrual-layout{grid-template-columns:minmax(0,1fr)}}@media (width<=768px){.iiko-statement-employee{flex-basis:100%}.iiko-statement-filters>.control-group{max-width:100%}.iiko-statement-table-filters>.table-card__title{flex-basis:100%}.iiko-accrual-fields{grid-template-columns:minmax(0,1fr)}}.trade-plan-page{height:calc(100vh - var(--header-h));flex-direction:column;gap:12px;display:flex;overflow:hidden}.trade-plan-toolbar{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);flex-wrap:wrap;align-items:flex-end;gap:12px;padding:12px;display:flex}.trade-plan-toolbar>label{color:var(--text-muted);gap:5px;font-size:11px;display:grid}.trade-plan-category-filter{width:260px;min-width:0;max-width:100%}.trade-plan-toolbar .month-picker{min-width:170px}.trade-plan-import{align-items:center;gap:8px;margin-left:auto;display:flex}.trade-plan-file{border:1px dashed var(--brand-border);border-radius:var(--radius-sm);cursor:pointer;grid-auto-flow:column;justify-content:center;align-items:center;min-width:210px;height:36px;padding:0 12px;color:var(--text-secondary)!important;gap:7px!important;display:inline-flex!important}.trade-plan-file:hover{background:var(--brand-light)}.trade-plan-file input{display:none}.trade-plan-alert,.trade-plan-report{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);padding:10px 12px}.trade-plan-alert--error{border-color:color-mix(in srgb, var(--red) 45%, var(--border));color:var(--red)}.trade-plan-add-panel{border:1px solid var(--brand-border);border-radius:var(--radius-md);background:var(--bg-surface);grid-template-columns:minmax(260px,360px) minmax(320px,1fr);gap:12px;min-height:0;max-height:260px;padding:12px;display:grid;overflow:hidden}.trade-plan-catalog-search{border:1px solid var(--border-light);border-radius:var(--radius-sm);background:var(--bg-elevated);height:36px;color:var(--text-muted);align-items:center;gap:7px;padding:0 10px;display:flex}.trade-plan-catalog-search input{min-width:0;color:var(--text-body);background:0 0;border:0;outline:0;flex:1}.trade-plan-catalog-list{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:90px;overflow:auto}.trade-plan-catalog-list>p{color:var(--text-muted);text-align:center;margin:0;padding:14px;font-size:12px}.trade-plan-catalog-list>button{border:0;border-bottom:1px solid var(--border);width:100%;min-height:48px;color:var(--text-body);text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;display:flex}.trade-plan-catalog-list>button:last-child{border-bottom:0}.trade-plan-catalog-list>button:hover:not(:disabled){background:var(--bg-hover)}.trade-plan-catalog-list>button:disabled{cursor:wait;opacity:.55}.trade-plan-catalog-list>button span{gap:3px;min-width:0;display:grid}.trade-plan-catalog-list>button b{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.trade-plan-catalog-list>button small{color:var(--text-muted);font-size:10px}.trade-plan-summary{color:var(--text-muted);flex-wrap:wrap;gap:7px 18px;font-size:12px;display:flex}.trade-plan-summary b{color:var(--text-primary)}.trade-plan-results{margin-top:8px}.trade-plan-results details{border-top:1px solid var(--border);padding:6px 0}.trade-plan-results summary{cursor:pointer;gap:8px;font-size:12px;display:flex}.trade-plan-results .is-success summary span{color:var(--green)}.trade-plan-results .is-error summary span{color:var(--red)}.trade-plan-results p{color:var(--text-muted);margin:6px 0 0 22px;font-size:11px}.trade-plan-table-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);flex:auto;min-height:0;position:relative;overflow:hidden}.trade-plan-table-scroll{width:100%;height:100%;overflow:auto}.trade-plan-table .trade-plan-shift-headings th{min-width:64px;color:var(--text-muted);font-size:10px;top:31px}.trade-plan-shift-cell{color:var(--text-secondary)}.trade-plan-total-cell{color:var(--text-primary);background:color-mix(in srgb, var(--brand) 5%, var(--bg-surface));font-weight:700}.trade-plan-comparison-modal{width:min(1400px,96vw);height:min(820px,92vh)}.trade-plan-comparison-modal>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px;display:flex}.trade-plan-comparison-modal>header h2{color:var(--text-primary);margin:0;font-size:18px}.trade-plan-comparison-modal>header p{color:var(--text-muted);margin:5px 0 0;font-size:11px}.trade-plan-comparison-modal>header button{border:1px solid var(--border);border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-muted);cursor:pointer;background:0 0;flex-shrink:0;place-items:center;display:grid}.trade-plan-comparison-modal>header button:hover{background:var(--bg-elevated);color:var(--text-primary)}.trade-plan-comparison-content{flex:auto;min-height:0;padding:14px 18px;overflow:auto}.trade-plan-comparison-group+.trade-plan-comparison-group{margin-top:18px}.trade-plan-comparison-group h3{color:var(--text-primary);margin:0 0 8px;font-size:13px}.trade-plan-comparison-scroll{border:1px solid var(--border);border-radius:var(--radius-sm);overflow:auto}.trade-plan-comparison-scroll table{border-collapse:separate;border-spacing:0;width:100%;min-width:max-content;font-size:11px}.trade-plan-comparison-scroll th,.trade-plan-comparison-scroll td{border-right:1px solid var(--table-row-border);border-bottom:1px solid var(--table-row-border);text-align:center;min-width:150px;padding:8px}.trade-plan-comparison-scroll thead th{z-index:2;background:var(--table-head-bg);color:var(--text-secondary);position:sticky;top:0}.trade-plan-comparison-scroll thead th:first-child{z-index:3;text-align:left;min-width:260px;left:0}.trade-plan-comparison-scroll tbody th{z-index:1;background:var(--bg-surface);text-align:left;min-width:260px;position:sticky;left:0}.trade-plan-comparison-scroll tbody th span{color:var(--text-primary);display:block}.trade-plan-comparison-scroll tbody th small{color:var(--text-muted);margin-top:3px;font-weight:400;display:block}.trade-plan-change-values{white-space:nowrap;grid-template-columns:minmax(34px,auto) 1fr auto 1fr;align-items:center;gap:5px;display:grid}.trade-plan-change-values+.trade-plan-change-values{border-top:1px dashed var(--border);margin-top:5px;padding-top:5px}.trade-plan-change-values>b{color:var(--text-muted);text-align:left;font-size:9px}.trade-plan-change-values:not(:has(>b)){grid-template-columns:1fr auto 1fr}.trade-plan-change-before{color:var(--red);font-weight:700}.trade-plan-change-after{color:var(--green);font-weight:700}.trade-plan-change-arrow{color:var(--text-dim)}.trade-plan-comparison-modal>footer{border-top:1px solid var(--border);justify-content:flex-end;padding:12px 18px;display:flex}@media (width<=900px){.trade-plan-toolbar{flex-wrap:wrap;align-items:stretch}.trade-plan-import{width:100%;margin-left:0}.trade-plan-file{flex:1}.trade-plan-add-panel{grid-template-columns:1fr;max-height:360px}.trade-plan-comparison-modal{width:calc(100vw - 20px);height:calc(100vh - 20px)}}.production-plan-page{min-height:0}.app-page-frame>.page-body.production-plan-page{overflow:hidden}.production-plan-toolbar{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);flex-shrink:0;align-items:end;gap:12px;padding:12px;display:flex}.production-plan-toolbar .control-group{width:180px;min-width:0}.production-plan-toolbar .month-picker{width:100%;min-width:0}.production-plan-toolbar>.btn:first-of-type{margin-left:auto}.production-plan-alert{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);padding:10px 12px}.production-plan-alert--error{color:var(--red);border-color:color-mix(in srgb, var(--red) 45%, var(--border))}.production-plan-summary{flex-shrink:0;width:180px}.production-plan-summary .stat-card{min-width:0;padding:10px 14px}.production-plan-summary .stat-label{margin-bottom:2px}.production-plan-warnings{border:1px solid color-mix(in srgb, var(--yellow) 55%, var(--border));border-radius:var(--radius-md);background:var(--bg-surface)}.production-plan-warnings summary{color:var(--yellow);cursor:pointer;align-items:center;gap:7px;padding:10px 12px;display:flex}.production-plan-warnings>div{max-height:150px;padding:0 12px 10px;overflow:auto}.production-plan-warnings p{gap:8px;margin:5px 0;font-size:10px;display:flex}.production-plan-warnings p span{color:var(--text-muted)}.production-plan-table-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);flex:auto;min-height:0;position:relative;overflow:hidden}.production-plan-table-scroll{width:100%;height:100%;overflow:auto}.production-plan-table{border-collapse:separate;border-spacing:0;width:100%;min-width:max-content;font-size:11px}.production-plan-table th,.production-plan-table td{box-sizing:border-box;border-right:1px solid var(--table-row-border);border-bottom:1px solid var(--table-row-border);text-align:center;min-width:76px;height:38px;padding:5px 7px}.production-plan-table th{z-index:2;background:var(--table-head-bg);height:42px;color:var(--text-secondary);white-space:nowrap;font-weight:600;position:sticky;top:0}.production-plan-table th span,.production-plan-table th small{display:block}.production-plan-table th small{color:var(--text-muted);text-transform:capitalize;margin-top:2px;font-size:9px;font-weight:500}.production-plan-table th:first-child,.production-plan-table td:not(.table-loading-cell):first-child{z-index:1;background:var(--bg-surface);width:310px;min-width:310px;max-width:310px;position:sticky;left:0}.production-plan-table th:nth-child(2),.production-plan-table td:not(.table-loading-cell):nth-child(2){z-index:1;background:var(--bg-surface);width:48px;min-width:48px;position:sticky;left:310px}.production-plan-table thead th:first-child,.production-plan-table thead th:nth-child(2){z-index:3;background:var(--table-head-bg)}.production-plan-table tr:hover td{background:var(--table-row-hover)}.production-plan-table .is-left{text-align:left}.production-plan-table .is-weekend{background:color-mix(in srgb, var(--brand) 5%, var(--bg-surface))}.production-plan-table th.is-weekend{background:color-mix(in srgb, var(--brand) 9%, var(--table-head-bg))}.production-plan-table td.has-value{background:color-mix(in srgb, var(--brand) 8%, var(--bg-surface));color:var(--brand)}.production-plan-table td.has-value strong{font-variant-numeric:tabular-nums;font-size:12px}.production-plan-table td.calculation-value{padding-right:21px}.production-calculation-details{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;line-height:1.6}.production-calculation-details p{margin:0 0 12px}.production-calculation-details h3,.production-calculation-details h4{margin:16px 0 8px}.production-calculation-details ol{margin:8px 0 16px;padding-left:22px}.production-calculation-details li{margin-bottom:8px}.production-calculation-source+.production-calculation-source{border-top:1px solid var(--border)}.production-plan-position{line-height:1.2}.production-plan-position-content{align-items:center;gap:4px;display:flex}.production-plan-position-text{flex:auto;min-width:0;display:block}.production-plan-position b{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.production-plan-position small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:8px;display:block;overflow:hidden}.production-plan-step{border-left:2px solid var(--brand);color:var(--text-secondary);margin-top:3px;padding-left:7px;font-size:10px;display:inline-block}.production-plan-step--wait{border-left-color:var(--blue)}.production-plan-step--control{border-left-color:var(--green)}.production-plan-unit{color:var(--text-secondary);font-weight:600}.production-plan-empty{color:var(--text-muted);text-align:center!important;height:150px!important}.production-plan-empty>svg,.production-plan-empty>b,.production-plan-empty>span{margin:5px auto;display:block}.is-spinning{animation:.8s linear infinite production-plan-spin}@keyframes production-plan-spin{to{transform:rotate(360deg)}}@media (width<=800px){.production-plan-page{overflow:visible}.production-plan-toolbar{flex-wrap:wrap}.production-plan-toolbar .control-group{flex:180px;width:calc(50% - 6px)}.production-plan-toolbar .btn{margin-left:0}.production-plan-summary{width:100%}.production-plan-table-card{min-height:500px}}.freezer-issue-card{position:relative}.freezer-issue-controls{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.freezer-issue-search{width:min(320px,100%)}.freezer-issue-error{flex-basis:100%;margin:0}.freezer-issue-calendar .plan-calendar-name{max-width:var(--plan-calendar-name-width);overflow-wrap:anywhere}@media (width<=768px){.freezer-issue-calendar{--plan-calendar-code-width:64px;--plan-calendar-name-width:140px}.freezer-issue-controls form{width:100%}.freezer-issue-search{min-width:0}}.app-page-frame>.page-body.production-distribution-page{overflow:hidden}.production-distribution-filters{flex-wrap:wrap;flex-shrink:0;align-items:end;gap:12px;display:flex}.production-distribution-filters>.control-group{flex:210px;min-width:0;max-width:300px}.production-distribution-filters>.production-distribution-period{flex-basis:260px}.production-distribution-output-actions{gap:8px;margin-left:auto;display:flex}.production-distribution-view-controls{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:12px;display:flex}.production-distribution-view-controls>.staff-search-wrap{flex:250px;min-width:180px;max-width:360px}.production-distribution-issues{flex-shrink:0;max-height:140px;overflow:auto}.production-distribution-issues summary{cursor:pointer;align-items:center;gap:8px;display:flex}.production-distribution-issues>p{margin-block:8px}.production-distribution-table-panel{flex:auto;min-height:0;display:flex;position:relative;overflow:hidden}.table-scroll.production-distribution-scroll{flex:auto;width:100%;min-height:0;overflow:auto}.production-distribution-table{min-width:max-content}.production-distribution-table .production-distribution-product{white-space:normal;width:340px;min-width:340px;max-width:340px;position:sticky;left:0}.production-distribution-table tbody .production-distribution-product{z-index:1;background:var(--bg-surface)}.production-distribution-table thead th{z-index:2}.production-distribution-table thead .production-distribution-product{z-index:3}.production-distribution-table .production-distribution-code{white-space:nowrap;width:90px;min-width:90px;max-width:90px}.production-distribution-product>strong,.production-distribution-product>small{overflow-wrap:anywhere;display:block}.production-distribution-product>small{color:var(--text-muted);margin-top:3px;font-size:11px}.production-distribution-group-label .table-group-row__content{flex-wrap:wrap}.production-distribution-table .production-distribution-day{font-variant-numeric:tabular-nums;min-width:105px}.production-distribution-table .production-distribution-order{width:80px;min-width:80px}.production-distribution-row-actions{align-items:center;gap:2px;display:flex}.production-distribution-group-actions{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.production-distribution-excluded-body{flex-direction:column;gap:12px;min-height:0;display:flex;overflow:hidden}.production-distribution-excluded-body>.staff-search-wrap{flex:none}.production-distribution-excluded-scroll{flex:auto;min-height:0;overflow:auto}.production-distribution-excluded-table .production-distribution-code{white-space:nowrap;width:90px}.production-distribution-excluded-table .production-distribution-product{white-space:normal;min-width:220px}.modal-panel.production-distribution-print-modal{width:min(1100px,96vw);max-width:min(1100px,96vw);height:min(900px,100vh - 32px)}.production-distribution-print-body{flex-direction:column;min-height:0;display:flex}.production-distribution-print-controls{flex-wrap:wrap;flex:none;align-items:center;gap:12px;margin-bottom:12px;display:flex}.production-distribution-print-preview{border:0;flex:auto;width:100%;min-height:0}@media (width<=768px){.production-distribution-table .production-distribution-product{width:220px;min-width:220px;max-width:220px}.production-distribution-filters>.control-group{max-width:none}.production-distribution-output-actions{margin-left:0}.production-distribution-view-controls>.staff-search-wrap{max-width:none}}.production-fact-page{flex-direction:column;gap:16px;display:flex}.production-fact-page>*{flex-shrink:0}.production-fact-filters{border:0;grid-template-columns:max-content repeat(2,minmax(190px,1fr)) auto;align-items:end;gap:12px;min-width:0;margin:0;padding:0;display:grid}.production-fact-filters .control-group{min-width:0}.production-fact-explanation{margin:0}.production-fact-result-heading{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.production-fact-result-heading h2{margin:0;font-size:16px}.production-fact-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.production-fact-progress{flex-direction:column;gap:8px;display:flex}.production-fact-table-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.production-fact-table-heading .staff-search-wrap{width:290px;max-width:100%}.production-fact-table-scroll{max-height:65vh}.production-fact-table{width:100%;min-width:980px}.production-fact-table .production-fact-product{white-space:normal;min-width:210px;max-width:330px}.production-fact-table .production-fact-location{white-space:normal;min-width:170px;max-width:240px}.production-fact-product strong,.production-fact-product small,.production-fact-location strong,.production-fact-location small{display:block}.production-fact-product small,.production-fact-location small{color:var(--text-muted)}.production-fact-table .num{font-variant-numeric:tabular-nums}.main .production-fact-table>:is(thead,tbody)>tr>.num{text-align:right!important}.production-fact-table .production-fact-shortfall{color:var(--red)}@media (width<=1100px){.production-fact-filters,.production-fact-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.production-fact-filters{grid-template-columns:minmax(0,1fr)}.production-fact-table-heading .staff-search-wrap{width:100%}}.staffing-plan-page{flex-direction:column;gap:16px;display:flex}.staffing-plan-filters{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.staffing-plan-filters .control-group{flex:180px;min-width:0}.staffing-plan-filters .input{width:100%}.staffing-plan-filters .staffing-plan-period{flex:0 auto}.staffing-plan-filters .staffing-plan-sections{flex-basis:240px}.staffing-plan-result-heading{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.staffing-plan-result-heading h2{margin:0;font-size:16px}.staffing-plan-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.staffing-plan-warning{color:var(--amber);align-items:flex-start;gap:8px;display:flex}.staffing-plan-warning>svg{flex-shrink:0}.staffing-plan-results{flex-direction:column;gap:12px;min-height:0;display:flex}.staffing-plan-table-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.staffing-plan-table-toolbar>div{align-items:center;gap:12px;display:flex}.staffing-plan-date-navigation{font-size:12px}.staffing-plan-table-scroll{max-height:65vh}.staffing-plan-matrix{table-layout:fixed;width:100%;min-width:calc(370px + var(--staffing-day-count) * 100px)}.staffing-plan-matrix .staffing-plan-section-column{z-index:2;width:210px;position:sticky;left:0}.staffing-plan-matrix thead .staffing-plan-section-column{z-index:4}.staffing-plan-matrix tbody .staffing-plan-section-column{background:var(--bg-surface)}.staffing-plan-matrix .staffing-plan-total-column{width:80px}.staffing-plan-matrix tfoot td{background:var(--bg-elevated);z-index:2;font-weight:700;position:sticky;bottom:0}.staffing-plan-matrix tfoot .staffing-plan-section-column{z-index:3}.staffing-plan-matrix .calculation-value{display:inline-block}.staffing-plan-matrix .staffing-plan-incomplete{color:var(--amber)}.staffing-plan-matrix .staffing-plan-section-column strong,.staffing-plan-matrix small,.staffing-plan-detail-table td strong,.staffing-plan-detail-table td small{display:block}.staffing-plan-matrix small,.staffing-plan-detail-table td small{color:var(--text-muted)}.staffing-plan-matrix td,.staffing-plan-detail-table td{overflow-wrap:anywhere;white-space:normal}.staffing-plan-detail-table{table-layout:fixed;width:100%}.staffing-plan-detail-table th:first-child{width:40%}.staffing-plan-details{flex-direction:column;gap:12px;display:flex}.staffing-plan-details p,.staffing-plan-page>.modal-hint{margin:0}@media (width<=600px){.staffing-plan-filters .control-group{flex-basis:100%}.staffing-plan-metrics{grid-template-columns:minmax(0,1fr)}.staffing-plan-matrix{min-width:calc(320px + var(--staffing-day-count) * 100px)}.staffing-plan-matrix .staffing-plan-section-column{width:160px}}.modal-panel.ingredient-order-print-modal{width:min(1500px,100vw - 40px);max-width:100%;height:90dvh}.ingredient-order-print-modal>:is(.modal-header,.modal-footer){flex-shrink:0}.modal-body.ingredient-order-print-workspace{grid-template-columns:280px minmax(0,1fr);min-height:0;padding:0;display:grid;overflow:hidden}.ingredient-order-print-settings{border-right:1px solid var(--border);flex-direction:column;gap:16px;min-width:0;min-height:0;padding:16px;display:flex;overflow-y:auto}.ingredient-order-print-settings>*{flex-shrink:0}.ingredient-order-print-settings>.modal-hint{margin:0}.ingredient-order-print-controls .control-group{min-width:0}.ingredient-order-print-selection .checkbox-multiselect{width:100%}.ingredient-order-print-selection .checkbox-multiselect__menu{width:100%;min-width:0}.ingredient-order-print-selection .checkbox-multiselect__options{grid-template-columns:minmax(0,1fr);max-height:none;display:grid}.ingredient-order-print-viewer{flex-direction:column;gap:12px;min-width:0;min-height:0;padding:16px;display:flex}.ingredient-order-print-summary{margin:0}.ingredient-order-print-preview{border:1px solid var(--border);background:#fff;flex:1 1 0;width:100%;min-height:0;display:block}.ingredient-order-print-empty{flex:1}.modal-panel.ingredient-order-history{width:min(1100px,100vw - 24px);max-width:100%;height:min(760px,90dvh)}.ingredient-order-history>:is(.modal-header,.modal-footer){flex-shrink:0}.ingredient-order-history td{vertical-align:top}.ingredient-order-history td small{display:block}.modal-body.ingredient-order-history-body{flex-direction:column;min-height:0;padding:0;display:flex;overflow:hidden}.ingredient-order-history-body>.table-scroll{scrollbar-gutter:stable;flex:auto;min-height:0;overflow:auto}.ingredient-order-history .ingredient-order-history-header{flex-direction:column;align-items:stretch}.ingredient-order-history .ingredient-order-history-header>p{margin:0}.ingredient-order-history-header>.staff-search-wrap{flex:none;min-width:0}.ingredient-order-history-filters{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.ingredient-order-history-recipient{flex:220px;min-width:0;max-width:320px}.ingredient-order-history-empty{margin:0;padding:16px}.ingredient-request-actions{flex-wrap:wrap;gap:8px;display:flex}.ingredient-request-editor td:first-child{min-width:180px}.ingredient-request-editor td .textarea{width:100%;min-width:180px}.ingredient-request-quantity{width:120px}.ingredient-request-group{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.ingredient-request-add{flex-direction:column;gap:12px;display:flex}.ingredient-request-add-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ingredient-request-add-controls>.staff-search-wrap{flex:250px}.ingredient-request-add-controls>.input{width:120px}.ingredient-request-changes{margin:0;padding-left:16px}.ingredient-order-print-choice .modal-footer{flex-wrap:wrap}@media (width<=900px){.modal-body.ingredient-order-print-workspace{display:block;overflow-y:auto}.ingredient-order-print-settings{border-right:0;border-bottom:1px solid var(--border);overflow:visible}.ingredient-order-print-selection .checkbox-multiselect__options{grid-template-columns:repeat(2,minmax(0,1fr))}.ingredient-order-print-viewer{height:65dvh;min-height:360px}}@media (width<=768px){.ingredient-order-history-recipient{max-width:none}.ingredient-order-history-empty{padding:12px}.modal-panel.ingredient-order-print-modal{width:calc(100vw - 24px)}.ingredient-order-print-settings,.ingredient-order-print-viewer{padding:12px}.ingredient-order-print-modal .modal-footer{flex-wrap:wrap}}@media (width<=540px){.ingredient-order-print-selection .checkbox-multiselect__options{grid-template-columns:minmax(0,1fr)}}.modal-panel.ingredient-reconciliation{width:min(1180px,100vw - 24px);max-width:100%}.ingredient-reconciliation-body{flex-direction:column;gap:12px;display:flex}.ingredient-reconciliation-summary,.ingredient-reconciliation-toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.ingredient-reconciliation-toolbar .staff-search-wrap{flex:240px;max-width:360px}.ingredient-reconciliation .table-scroll{flex-shrink:0}.ingredient-reconciliation td{vertical-align:top}.ingredient-reconciliation td small{white-space:normal;display:block}.ingredient-reconciliation-documents{max-width:600px;padding:8px 0}.ingredient-orders-page{flex-direction:column;gap:16px;display:flex}.ingredient-orders-page>*{flex-shrink:0}.ingredient-orders-header-actions{flex-wrap:wrap;gap:8px}.ingredient-orders-header-actions .ingredient-orders-rules{white-space:nowrap;align-items:center;gap:4px;margin:0;padding-right:0;display:inline-flex}.ingredient-orders-rules .calculation-help{flex-shrink:0;position:static}.ingredient-orders-filters{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.ingredient-orders-filters .control-group{min-width:0}.ingredient-orders-period{flex:0 auto;max-width:100%}.ingredient-orders-recipient{flex:160px;max-width:220px}.ingredient-orders-sections{flex:220px;max-width:300px}.ingredient-orders-export{margin-left:auto}.ingredient-orders-result-heading{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.ingredient-orders-result-heading h2{margin:0;font-size:16px}.ingredient-orders-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.ingredient-orders-toolbar .staff-search-wrap{flex:290px;min-width:0}.ingredient-orders-toolbar>.staff-toggle{flex:none}.ingredient-orders-selection-toolbar{flex-direction:column;gap:8px;display:flex}.ingredient-orders-selection-toolbar>p{margin:0}.ingredient-orders-selection-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ingredient-orders-draft-status{margin-left:auto}.ingredient-orders-stock-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;display:flex}.ingredient-orders-stock-status{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.ingredient-orders-stock-status .modal-hint{margin:0}.ingredient-orders-warnings{flex-wrap:wrap}.ingredient-orders-warnings>.calculation-value{align-items:center;gap:6px;display:inline-flex}.ingredient-orders-warnings .calculation-help{position:static}.ingredient-orders-warnings>.btn{margin-left:auto}.ingredient-orders-stock-value{justify-content:flex-end;align-items:center;gap:6px;display:inline-flex}.ingredient-orders-table-scroll{max-height:65vh}.ingredient-orders-table{table-layout:fixed;width:100%;min-width:1040px}.ingredient-orders-table--base-units{min-width:840px}.ingredient-orders-table .ingredient-orders-select-column{width:48px}.ingredient-orders-source-tabs{z-index:4;background:var(--bg-base);padding:0;position:sticky;top:0}.ingredient-orders-source-panel:not([hidden]){flex-direction:column;gap:16px;display:flex}.ingredient-orders-supplier-group{flex-direction:column;gap:12px;display:flex}.ingredient-orders-group-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.ingredient-orders-group-heading h3{margin:0;font-size:15px}.ingredient-orders-table .ingredient-orders-quantity-column{width:145px}.ingredient-orders-table .ingredient-orders-stock-column{white-space:normal;width:150px}.ingredient-orders-table .ingredient-orders-packaging-column{width:200px}.ingredient-orders-table .ingredient-orders-manual-column{width:150px}.ingredient-orders-table .ingredient-orders-total-column{width:170px}.ingredient-orders-table .ingredient-orders-row-selected{background:var(--table-selected-bg)}.ingredient-orders-table .ingredient-orders-total>strong{color:var(--text-primary);font-variant-numeric:tabular-nums;font-size:16px}.ingredient-orders-stock-amount{color:var(--text-secondary)}.ingredient-orders-stock-amount--negative,.ingredient-orders-table small.ingredient-orders-stock-deficit{color:var(--red)}.ingredient-orders-manual-control{align-items:center;gap:6px;display:flex}.ingredient-orders-manual-control .input{min-width:0}.ingredient-orders-manual-control .icon-btn,.ingredient-orders-manual-unit{flex-shrink:0}.ingredient-orders-item-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ingredient-orders-item-meta .icon-btn{flex-shrink:0}.ingredient-orders-table .ingredient-orders-comment{white-space:pre-wrap}.ingredient-orders-comment-body{flex-direction:column;gap:12px;display:flex}.ingredient-orders-comment-body .modal-hint{margin:0}.ingredient-orders-manual-meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;margin-top:4px;display:flex}.ingredient-orders-table .input{text-align:right;width:100%}.ingredient-orders-table .period-dropdown__trigger{min-width:0}.ingredient-orders-table td small,.ingredient-orders-table td,.ingredient-orders-settings-table td,.ingredient-orders-source-table td{white-space:normal;overflow-wrap:anywhere}.ingredient-orders-table strong,.ingredient-orders-table small,.ingredient-orders-source-table strong,.ingredient-orders-source-table small{display:block}.ingredient-orders-table small,.ingredient-orders-source-table small{color:var(--text-muted)}.ingredient-orders-source-table{table-layout:fixed;width:100%}.ingredient-orders-source-table th:last-child{width:24%}.ingredient-orders-details,.ingredient-orders-settings-body{flex-direction:column;gap:12px;display:flex}.ingredient-orders-page>.modal-hint,.ingredient-orders-details p,.ingredient-orders-settings-body>.modal-hint{margin:0}.ingredient-orders-settings-filters{grid-template-columns:1fr 1fr;align-items:center;gap:12px;display:grid}.ingredient-orders-settings-filters .staff-search-wrap{width:100%;min-width:0}.ingredient-orders-settings-scroll{max-height:50vh}.ingredient-orders-settings-table{table-layout:fixed;width:100%}.ingredient-orders-settings-table th:last-child{white-space:normal;width:30%}.modal-panel.ingredient-source-settings{width:min(1100px,100vw - 32px)}.ingredient-source-settings>:is(.modal-header,.modal-footer){flex:none}.ingredient-source-settings-header-actions .calculation-help{position:static}.ingredient-source-settings>.ingredient-source-settings-body{flex:0 auto;min-height:0;overflow:hidden}.ingredient-source-settings-body>:not(.ingredient-source-settings-scroll){flex:none}.ingredient-source-settings .ingredient-source-settings-body>.staff-search-wrap{width:100%;min-width:0}.ingredient-source-settings .ingredient-source-settings-scroll{flex:auto;min-height:0;overflow:auto}.ingredient-source-settings-bulk{grid-template-columns:auto minmax(170px,1fr) auto auto;align-items:center;gap:12px;display:grid}.ingredient-source-settings-table{table-layout:fixed;width:100%;min-width:680px}.ingredient-source-settings-table--packaging{min-width:900px}.ingredient-source-settings-table :is(th,td){white-space:normal;overflow-wrap:anywhere}.ingredient-source-settings-table .ingredient-source-settings-select-column{width:44px}.ingredient-source-settings-table .ingredient-source-settings-place-column,.ingredient-source-settings-table .ingredient-source-settings-package-column{width:240px}.ingredient-source-settings-table .ingredient-source-settings-delivery-column{width:200px}.ingredient-source-settings-table .period-dropdown__trigger{min-width:0}.ingredient-source-settings-product{flex-direction:column;align-items:start;gap:4px;display:flex}.ingredient-source-settings-product .modal-hint{margin:0}.ingredient-source-settings-delivery-action{justify-content:space-between;width:100%}.ingredient-source-settings-delivery-action svg{flex-shrink:0}.ingredient-source-settings-delivery{flex-direction:column;gap:12px;display:flex}.ingredient-source-settings-delivery>.modal-hint{margin:0}.ingredient-source-settings-delivery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;display:grid}.ingredient-source-settings-delivery-grid .control-group{min-width:0}.ingredient-source-settings-section-rules{gap:8px;display:grid}.ingredient-source-settings-section-rule{grid-template-columns:minmax(0,1fr) minmax(240px,1fr) auto;align-items:center;gap:8px;display:grid}.ingredient-source-settings-section-rule>*{min-width:0}.ingredient-source-settings>.ingredient-source-settings-footer{flex-direction:column;align-items:stretch}.ingredient-source-settings-pagination,.ingredient-source-settings-footer-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.ingredient-source-settings-pagination .modal-hint{margin:0}.ingredient-source-settings-footer-actions>.btn-group{margin-left:auto}@media (width<=768px){.ingredient-source-settings-delivery-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=600px){.ingredient-orders-period,.ingredient-orders-recipient{flex-basis:100%;max-width:none}.ingredient-orders-filters>.btn{flex:auto}.ingredient-orders-stock-toolbar,.ingredient-orders-draft-status{margin-left:0}.ingredient-orders-settings-filters{grid-template-columns:minmax(0,1fr)}.ingredient-orders-toolbar .staff-search-wrap{width:100%}.ingredient-source-settings-bulk{grid-template-columns:minmax(0,1fr)}.ingredient-source-settings-table .ingredient-source-settings-select-column{width:40px}.ingredient-source-settings-table :is(th,td){padding-inline:6px}}.procurement-page{flex-direction:column;gap:16px;display:flex}.procurement-page>*{flex-shrink:0}.procurement-filters{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.procurement-filters .control-group{min-width:0}.procurement-workshop{flex:0 280px}.procurement-result-heading,.procurement-toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.procurement-result-heading>h2{margin:0;font-size:16px}.procurement-toolbar{justify-content:space-between}.procurement-toolbar .staff-search-wrap{flex:260px;min-width:0;max-width:440px}.procurement-summary{flex-wrap:wrap;gap:8px 16px;display:flex}.procurement-page>.modal-hint,.procurement-details p{margin:0}.procurement-warning{flex-wrap:wrap}.procurement-warning .calculation-value{align-items:center;gap:8px;display:inline-flex}.procurement-warning .calculation-help{position:static}.procurement-table-scroll{max-height:65vh}.procurement-table{table-layout:fixed;width:100%;min-width:520px}.procurement-table .procurement-code-column{width:90px}.procurement-table .procurement-unit-column{width:65px}.procurement-table .procurement-number-column{width:145px}.procurement-table td,.procurement-details-table td{white-space:normal;overflow-wrap:anywhere}.procurement-table small,.procurement-details-table small{color:var(--text-muted);margin-top:4px;display:block}.procurement-name{white-space:normal;overflow-wrap:anywhere;max-width:100%}.procurement-name .calculation-help{flex-shrink:0}.procurement-details{flex-direction:column;gap:16px;display:flex}.procurement-details-table{table-layout:fixed;width:100%}.procurement-details-table--sources{min-width:590px}.procurement-details-table th:last-child{width:24%}.procurement-details-section{flex-direction:column;gap:12px;display:flex}.procurement-details-section>h3{margin:0;font-size:15px}.modal-panel.procurement-print-modal{width:min(900px,96vw);max-width:min(900px,96vw);height:min(950px,100dvh - 32px)}.procurement-print-body{flex-direction:column;min-height:0;display:flex}.procurement-print-preview{border:0;flex:auto;width:100%;min-height:0}.recipe-calculator-page{flex-direction:column;align-items:stretch;gap:12px;display:flex}.recipe-calculator-intro{align-items:flex-start;gap:12px;display:flex}.recipe-calculator-intro>svg{color:var(--brand);flex:none;margin-top:2px}.recipe-calculator-intro h2,.recipe-calculator-result h2{color:var(--text-primary);margin:0;font-size:16px}.recipe-calculator-result p{color:var(--text-muted);margin:4px 0 0;font-size:12px}.recipe-calculator-form{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);grid-template-columns:minmax(210px,1fr) minmax(280px,1.6fr) minmax(140px,.6fr) max-content;align-items:end;gap:12px;padding:12px;display:grid}.recipe-calculator-form .control-group{min-width:0}.recipe-calculator-form .trade-catalog-select,.recipe-calculator-form .trade-catalog-select__input,.recipe-calculator-form .input{width:100%}.recipe-calculator-alert{border:1px solid color-mix(in srgb, var(--red) 45%, var(--border));border-radius:var(--radius-md);color:var(--red);background:var(--bg-surface);padding:10px 12px}.recipe-calculator-result{flex-direction:column;flex:auto;gap:12px;min-height:0;display:flex}.recipe-calculator-result-header{justify-content:space-between;align-items:end;gap:16px;display:flex}.recipe-calculator-result-header .stat-card{min-width:180px}.recipe-calculator-table-scroll{border:1px solid var(--border);border-radius:var(--radius-md);flex:auto;min-height:0}.recipe-calculator-table{table-layout:fixed;min-width:0}.recipe-calculator-table th:last-child,.recipe-calculator-table td:last-child{width:clamp(96px,18vw,180px)}.recipe-calculator-table td:first-child{overflow-wrap:anywhere;min-width:0}.recipe-calculator-table td.num strong{color:var(--text-primary);margin-right:5px;font-size:14px}.recipe-calculator-table td.num span{color:var(--text-muted)}.recipe-calculator-ingredient-button{width:100%;max-width:100%;height:auto;min-height:var(--control-h-sm);color:var(--text-primary);text-align:left;white-space:normal;justify-content:flex-start;padding-block:5px;padding-inline:6px;font-weight:600;line-height:1.3}.recipe-calculator-ingredient-button svg{color:var(--brand);flex:none}.recipe-calculator-empty{border:1px dashed var(--border);border-radius:var(--radius-md);min-height:220px;color:var(--text-muted);text-align:center;flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:7px;display:flex}.recipe-calculator-empty svg{color:var(--brand)}.recipe-calculator-empty b{color:var(--text-secondary)}.recipe-calculator-empty span{font-size:12px}@media (width<=1050px){.recipe-calculator-form{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-calculator-form>.btn{width:100%}}@media (width<=768px){.recipe-calculator-page{gap:10px}.recipe-calculator-intro{align-items:center}.recipe-calculator-intro>svg{margin-top:0}.recipe-calculator-form{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:10px}.recipe-calculator-section-field,.recipe-calculator-product-field{grid-column:1/-1}.recipe-calculator-form>.btn{min-width:124px}.recipe-calculator-result-header{align-items:end}.recipe-calculator-result-header .stat-card{min-width:96px}.recipe-calculator-table-scroll{overflow-x:hidden}.recipe-calculator-table th,.recipe-calculator-table td{padding-inline:8px}.recipe-calculator-table td.num strong{font-size:15px}.recipe-calculator-empty{min-height:180px;padding:16px}}@media (width<=420px){.recipe-calculator-result-header{flex-direction:column;align-items:stretch;gap:8px}.recipe-calculator-result-header .stat-card{min-width:0}.recipe-calculator-table th:last-child,.recipe-calculator-table td:last-child{width:92px}}.prk-orders-header .page-header-left,.prk-orders-heading{min-width:0}.prk-orders-heading .page-title{margin:0;line-height:1.2}.prk-orders-heading p{color:var(--text-dim);margin:3px 0 0;font-size:11px}.prk-orders-header-actions{gap:8px}.prk-orders-page{gap:12px}.prk-orders-settings-toolbar{flex-wrap:wrap;gap:8px;display:flex}.prk-orders-message{border:1px solid var(--border);border-radius:var(--radius-md);padding:10px 12px}.prk-orders-message--error{color:var(--red);border-color:#ef444459}.prk-orders-message--success{color:var(--green);border-color:#22c55e59}.prk-orders-message--warning{color:var(--amber);border-color:#f59e0b59}.prk-orders-readiness{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-md);grid-template:"toggle status action""details details details"/auto minmax(0,1fr) auto;align-items:center;column-gap:12px;padding:8px 12px;display:grid}.prk-orders-readiness-details{display:contents}.prk-orders-readiness-details>.disclosure-section__trigger{grid-area:toggle}.prk-orders-readiness-details>.disclosure-section__content{grid-area:details;padding-top:8px}.prk-orders-readiness-status{flex-wrap:wrap;grid-area:status;align-items:center;gap:6px 10px;display:flex}.prk-orders-readiness-status small{color:var(--text-dim);font-size:11px}.prk-orders-readiness-action{grid-area:action}.prk-orders-store-list{flex-wrap:wrap;gap:6px;display:flex}.prk-orders-muted{color:var(--text-dim);font-size:12px}.prk-orders-report{min-height:280px}.prk-orders-report>.modal-tabs{background:var(--bg-surface);padding:0 12px}.prk-orders-panel{flex:1;min-height:0;display:flex;overflow:hidden}.prk-orders-panel>.table-loading-state{flex:1}.prk-orders-picking-view{flex-direction:column;flex:1;min-height:0;display:flex}.prk-orders-mode-tabs{background:var(--bg-surface);padding:0 12px}.prk-orders-picking-mode-panel{flex:1;min-height:0;display:flex;overflow:hidden}.prk-orders-panel,.prk-orders-picking-view,.prk-orders-picking-mode-panel{min-width:0}.prk-orders-picking-mode-panel>.table-scroll{min-width:0;max-width:100%}.prk-orders-table{min-width:760px}.main .prk-orders-table>:is(thead,tbody)>tr>.num:not([colspan]){text-align:right!important}.prk-orders-table td:first-child strong,.prk-orders-table td:first-child small{display:block}.prk-orders-table td:first-child small{color:var(--text-dim);margin-top:2px;font-size:11px}.prk-orders-picking-table{min-width:max-content}.prk-orders-picking-table th:first-child,.prk-orders-picking-table td:first-child{z-index:2;min-width:220px;position:sticky;left:0}.prk-orders-picking-table td:first-child{background:var(--bg-surface)}.prk-orders-picking-table .plan-calendar-edit-cell{padding-block:3px}.prk-orders-picking-table .plan-calendar-edit-cell input{text-align:right}.prk-picking-both{white-space:nowrap;flex-direction:column;align-items:flex-end;line-height:1.25;display:inline-flex}.prk-picking-both small{color:var(--text-dim);font-size:10px}.prk-orders-workshops{flex-direction:column;flex:1;gap:16px;padding:12px;display:flex;overflow:auto}.prk-orders-workshops h2{color:var(--text-primary);margin:0 0 8px;font-size:14px}.prk-orders-spin{animation:.8s linear infinite spin}.prk-picking-editor{gap:12px;display:grid}.prk-picking-editor .staff-search-wrap,.prk-picking-editor .trade-catalog-select,.prk-picking-editor .staff-search{width:100%}.prk-picking-editor h3{margin:0 0 8px;font-size:14px}.prk-picking-quantity{gap:6px;display:grid}.prk-settings-modal-body{flex-direction:column;gap:12px;min-height:0;display:flex}.prk-settings-modal-body .modal-hint{color:var(--text-secondary);margin:0;line-height:1.5}.prk-settings-options{gap:8px;display:grid}.prk-settings-option{border:1px solid var(--border);border-radius:var(--radius-sm);width:100%;padding:10px 12px}.prk-settings-option:hover{background:var(--bg-hover)}.prk-settings-option-text{text-align:left;flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.prk-settings-option-text strong{color:var(--text-primary);font-size:13px}.prk-settings-option-text small{color:var(--text-dim);font-size:11px}.modal-panel.prk-settings-order-modal{width:min(860px,96vw);height:min(720px,90vh)}.prk-settings-order-area{flex:1;min-height:200px;position:relative}.prk-settings-order-scroll{height:100%}.prk-settings-order-scroll .app-table{table-layout:fixed;min-width:620px}.prk-settings-order-scroll th:first-child,.prk-settings-drag-cell{width:44px}.prk-settings-order-scroll th:nth-child(3){width:108px}.prk-settings-order-scroll th:nth-child(4){width:180px}.prk-settings-order-scroll td:nth-child(3){color:var(--text-muted);font-variant-numeric:tabular-nums}.prk-settings-order-scroll .staff-toggle{width:max-content}.modal-panel.prk-invoice-modal{width:min(1120px,100vw - 40px);height:min(780px,90vh)}.prk-invoice-modal>.modal-tabs{flex:none}.prk-invoice-modal-body{flex:1;overflow:hidden}.prk-invoice-config{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.prk-invoice-config>span{border:1px solid var(--border);border-radius:var(--radius-sm);flex-direction:column;gap:2px;min-width:0;padding:8px 10px;display:flex}.prk-invoice-config small{color:var(--text-dim);font-size:10px}.prk-invoice-config strong{overflow-wrap:anywhere}.prk-invoice-panel{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}.prk-invoice-summary{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.prk-invoice-summary>span:not(.badge){color:var(--text-dim);font-size:11px}.prk-invoice-progress{flex:none}.prk-invoice-progress .app-progress{width:100%}.prk-invoice-table-scroll{flex:1;min-height:180px}.prk-invoice-table{table-layout:fixed}.prk-invoice-table th:first-child{width:18%}.prk-invoice-table th:nth-child(2){width:30%}.prk-invoice-table th:nth-child(3),.prk-invoice-table th:nth-child(4){width:9%}.prk-invoice-table th:nth-child(5){width:12%}.prk-invoice-table th:last-child{width:22%}.prk-invoice-table th,.prk-invoice-table td{overflow-wrap:anywhere;white-space:normal}.main .prk-invoice-table>:is(thead,tbody)>tr>.num{text-align:right!important}.prk-invoice-table td:first-child strong,.prk-invoice-table td:first-child small{display:block}.prk-invoice-table td:first-child small{color:var(--text-dim);margin-top:2px;font-size:10px}.prk-invoice-errors{flex-direction:column;align-items:flex-start;gap:4px;max-width:360px;display:flex}.prk-invoice-errors small{color:var(--text-dim);line-height:1.3}.prk-invoice-status{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.prk-invoice-status .badge{align-items:center;gap:4px}.prk-invoice-status small{color:var(--text-dim);line-height:1.3}.prk-invoice-issues-summary{flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.prk-invoice-issues-table{table-layout:fixed;width:100%}.prk-invoice-issues-table th:first-child{width:30%}.prk-invoice-issues-table th,.prk-invoice-issues-table td{overflow-wrap:anywhere;white-space:normal;vertical-align:top}.prk-invoice-mapping-table{table-layout:fixed}.prk-invoice-mapping-table th:first-child{width:24%}.prk-invoice-mapping-table th:nth-child(2){width:52%}.prk-invoice-mapping-table th:last-child{width:24%}.prk-invoice-mapping-table td{overflow-wrap:anywhere}.prk-invoice-mapping-table .trade-catalog-select{width:100%;min-width:0}.prk-invoice-mapping-table .trade-catalog-select__input{width:100%}.prk-print-root{display:none}@page prk-portrait{size:A4 portrait;margin:10mm}@page prk-landscape{size:A4 landscape;margin:8mm}@media print{body *{visibility:hidden!important}.prk-print-root,.prk-print-root *{visibility:visible!important}.prk-print-root{width:100%;display:block;position:absolute;top:0;left:0}.prk-print-page{break-after:page;color:#111827;min-height:1px;font-family:Arial,sans-serif;position:relative}.prk-print-page:last-child{break-after:auto}.prk-print-page--portrait{page:prk-portrait}.prk-print-page--landscape{page:prk-landscape}.prk-print-page>header{border-bottom:.7mm solid #172033;justify-content:space-between;align-items:flex-end;margin-bottom:1.2mm;padding-bottom:1.2mm;display:flex}.prk-print-heading{flex-direction:column;align-items:flex-start;gap:.5mm;display:flex}.prk-print-heading>span{color:#526078;letter-spacing:.04em;text-transform:uppercase;font-size:7.5pt;font-weight:800}.prk-print-heading>strong{color:#172033;font-size:18pt;line-height:1}.prk-print-meta{flex-direction:column;align-items:flex-end;gap:2mm;display:flex}.prk-print-meta>span,.prk-print-meta>time{color:#172033;font-size:8pt;font-weight:800}.prk-print-page table{border-collapse:collapse;color:#172033;width:100%;font-size:8pt}.prk-print-page th{text-align:center;text-transform:uppercase;font-weight:800;background:#fff!important}.prk-print-page th,.prk-print-page td{vertical-align:middle;border:.3mm solid #687b9b;padding:1.1mm}.prk-print-page td:not(:first-child){text-align:right}.prk-print-page td small{font-size:7pt;display:block}.prk-print-picking-table{table-layout:fixed}.prk-print-picking-table th:first-child,.prk-print-picking-table td:first-child{text-align:left;width:64mm;font-weight:700}.prk-print-picking-table th:nth-child(2),.prk-print-picking-table td:nth-child(2){text-align:left;width:26mm}.prk-print-picking-table th:last-child,.prk-print-picking-table td:last-child{text-align:center;width:20mm;font-weight:800}.prk-print-picking-table thead th{height:32mm;padding:.6mm}.prk-print-picking-table thead th:first-child,.prk-print-picking-table thead th:nth-child(2){text-align:left;vertical-align:middle;height:auto}.prk-print-picking-table tbody td{padding:.7mm;line-height:1.1}.prk-print-picking-table tbody td:not(:first-child):not(:nth-child(2)){text-align:center;font-weight:800}.prk-print-store-heading{width:10mm;overflow:hidden}.prk-print-store-heading>span{writing-mode:vertical-rl;justify-content:center;align-items:center;height:30mm;line-height:1;display:flex;transform:rotate(180deg)}.prk-print-workshop-table{table-layout:fixed}.prk-print-workshop-table th,.prk-print-workshop-table td{padding:1.35mm 1.8mm;font-size:10pt;line-height:1.12}.prk-print-workshop-table th{padding:1.5mm 1.8mm;font-size:9.5pt}.prk-print-workshop-table th:first-child,.prk-print-workshop-table td:first-child{text-align:left;width:50%;font-weight:800}.prk-print-workshop-table th:nth-child(2),.prk-print-workshop-table td:nth-child(2){text-align:left;width:18%}.prk-print-workshop-table th:nth-child(3),.prk-print-workshop-table td:nth-child(3){text-align:right;width:17%;font-weight:800}.prk-print-workshop-table th:last-child,.prk-print-workshop-table td:last-child{text-align:right;width:15%;font-weight:800}.prk-print-workshop-table tr{break-inside:avoid}.prk-print-responsible{border-top:.3mm solid #687b9b;justify-content:flex-start;gap:6mm;margin-top:1.2mm;padding-top:1.2mm;font-size:8pt;font-weight:700;display:flex}.prk-print-page--portrait>header{margin-bottom:.8mm;padding-bottom:.8mm}.prk-print-page--portrait .prk-print-heading>strong{font-size:16pt}.prk-picking-both small{color:#475569}}@media (width<=900px){.prk-invoice-config{grid-template-columns:repeat(2,minmax(0,1fr))}.prk-invoice-modal .modal-footer{flex-wrap:wrap}.prk-invoice-table,.prk-invoice-mapping-table,.prk-invoice-table tbody,.prk-invoice-mapping-table tbody{width:100%;display:block}.prk-invoice-table thead,.prk-invoice-mapping-table thead{display:none}.prk-invoice-table tbody tr,.prk-invoice-mapping-table tbody tr{border:1px solid var(--border);border-radius:var(--radius-sm);margin-bottom:8px;display:block;overflow:hidden}.prk-invoice-table tbody td,.prk-invoice-mapping-table tbody td{padding:7px 10px;display:block;text-align:left!important}.prk-invoice-table tbody td:last-child,.prk-invoice-mapping-table tbody td:last-child{border-bottom:0}.prk-invoice-table tbody td:before,.prk-invoice-mapping-table tbody td:before{color:var(--text-muted);content:attr(data-label);text-transform:uppercase;margin-bottom:3px;font-size:10px;font-weight:700;display:block}.main .prk-invoice-table>tbody>tr>.num{text-align:left!important}.prk-invoice-mapping-table .trade-catalog-select{max-width:100%}}@media (width<=768px){.prk-orders-header{flex-wrap:wrap;align-items:flex-start;height:auto;padding:10px 12px}.prk-orders-header-actions{margin-left:36px}.prk-orders-readiness{grid-template:"toggle action""status status""details details"/minmax(0,1fr) auto}.prk-orders-readiness-status{margin-top:6px}}.tp-page{box-sizing:border-box;flex-direction:column;gap:12px;min-height:0;display:flex;overflow:hidden}.app-page-frame>.page-body.tp-page{overflow:hidden}.tp-settings-card p{color:var(--text-muted);margin:4px 0 0;font-size:12px}.tp-alert{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);padding:10px 12px}.tp-alert--error{color:var(--red);border-color:color-mix(in srgb, var(--red) 45%, var(--border))}.tp-alert--success{color:var(--green);border-color:color-mix(in srgb, var(--green) 45%, var(--border))}.tp-workspace{flex:1;grid-template-columns:310px minmax(0,1fr);gap:12px;min-height:0;transition:grid-template-columns .18s;display:grid}.tp-workspace.tp-catalog-collapsed{grid-template-columns:minmax(0,1fr)}.tp-catalog,.tp-editor{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);min-height:0}.tp-catalog{flex-direction:column;gap:10px;padding:10px;display:flex}.tp-catalog>.staff-search-wrap{flex:none;width:100%;min-width:0}.tp-catalog-list{align-content:start;gap:5px;min-height:0;display:grid;overflow:auto}.tp-catalog-list>button{border-radius:var(--radius-sm);width:100%;color:var(--text-body);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;justify-content:space-between;align-items:center;gap:8px;padding:10px;display:flex}.tp-catalog-list>button:hover,.tp-catalog-list>button.is-active{border-color:var(--brand-border);background:var(--brand-light)}.tp-catalog-list>button>span:first-child{gap:3px;min-width:0;display:grid}.tp-catalog-list b{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.tp-catalog-list small{color:var(--text-muted)}.tp-catalog-list .badge{flex:none}.tp-editor{flex-direction:column;display:flex;overflow:hidden}.tp-editor-toolbar{border-bottom:1px solid var(--border);min-height:42px;color:var(--text-primary);flex-wrap:wrap;flex:none;align-items:center;gap:8px;padding:6px 12px 6px 6px;font-size:12px;font-weight:700;display:flex}.tp-editor-scroll{flex:auto;min-height:0;padding:16px;overflow:auto}.tp-editor-tabs{padding-inline:4px}.tp-tab-panel{min-width:0}.tp-tab-panel[hidden]{display:none}.tp-empty{color:var(--text-muted);place-content:center;justify-items:center;gap:8px;display:grid}.tp-product-head,.tp-section-title{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.tp-product-head{flex:none;padding:12px 16px}.tp-product-head h2{overflow-wrap:anywhere;margin:3px 0;font-size:19px}.tp-product-head span,.tp-product-head small{color:var(--text-muted);font-size:11px}.tp-product-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.tp-settings-card{min-width:0}.tp-settings-card+.tp-settings-card{border-top:1px solid var(--border);margin-top:16px;padding-top:16px}.tp-settings-card h3{margin:0;font-size:14px}.tp-unit-settings{flex-wrap:wrap;align-items:end;gap:12px;margin-top:10px;display:flex}.tp-unit-settings>label{flex:180px}.tp-plan-display-setting{flex-basis:100%}.tp-unit-settings label,.tp-step-fields>label,.tp-batch-fields>label,.tp-preview-controls label{min-width:0;color:var(--text-muted);gap:5px;font-size:11px;display:grid}.tp-unit-settings .period-dropdown{min-width:0}.tp-rule-note{align-items:flex-start;gap:8px;display:flex}.tp-rule-note svg{flex:none}.tp-package-weight{align-content:center;gap:2px;min-height:36px;display:grid}.tp-package-weight span{color:var(--text-muted);font-size:11px}.tp-package-weight b{color:var(--text-body);font-size:12px}.tp-package-warning{border-radius:var(--radius-sm);background:color-mix(in srgb, var(--danger) 12%, transparent);max-width:310px;color:var(--danger);padding:8px 10px;font-size:10px}.tp-section-title{align-items:center}.tp-section-title h3{align-items:center;gap:8px;display:flex}.tp-step-list{gap:16px;margin-top:12px;display:grid}.tp-step-row{border-bottom:1px solid var(--border);gap:10px;min-width:0;padding-bottom:12px;display:grid}.tp-step-row:last-child{border-bottom:0;padding-bottom:0}.tp-step-head{align-items:center;gap:8px;min-width:0;display:flex}.tp-step-head>strong{overflow-wrap:anywhere;font-size:13px}.tp-step-fields{grid-template-columns:minmax(120px,1fr) 110px minmax(170px,1.5fr) 44px 64px;align-items:end;gap:10px;min-width:0;display:grid}.tp-step-row .period-dropdown{width:100%;min-width:0}.tp-step-row .period-dropdown__trigger{width:100%;min-width:0;max-width:100%}.tp-step-row .input{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.tp-step-duration{min-height:36px;color:var(--text-body);justify-content:center;align-items:center;font-size:13px;display:flex}.tp-step-visibility{min-width:0;color:var(--text-muted);gap:5px;font-size:11px;display:grid}.tp-step-visibility .staff-toggle{justify-content:flex-start;min-height:36px}.tp-step-visibility .staff-toggle-label{font-size:11px}.tp-section-select{min-width:0}.tp-step-number{background:var(--brand-light);width:25px;height:25px;color:var(--brand);border-radius:50%;align-self:center;place-items:center;font-size:11px;font-weight:700;display:grid}.tp-step-actions{gap:4px;margin-left:auto;display:flex}.tp-step-print-options{min-width:0}.tp-step-print-options>.disclosure-section__content:not([hidden]){gap:12px;display:grid}.tp-step-print-setting{grid-column:1/-1;gap:8px;min-width:0;padding-top:8px;display:grid}.tp-step-print-setting>.staff-toggle{justify-self:start}.tp-step-print-setting>p{margin:0}.tp-print-split-selection{gap:8px;min-width:0;display:grid}.tp-print-split-selection>.btn{justify-self:start}.tp-print-split-group{gap:8px;min-width:0;padding-block:8px;display:grid}.tp-print-split-group+.tp-print-split-group{border-top:1px solid var(--border)}.tp-print-split-group>p{overflow-wrap:anywhere;margin:0}.tp-print-split-group-head{grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:12px;display:grid}.tp-print-split-group-head>label{min-width:0;color:var(--text-muted);gap:5px;font-size:11px;display:grid}.tp-print-split-group-head>.staff-toggle{min-height:36px}.tp-print-split-products{grid-template-columns:minmax(180px,.8fr) minmax(0,1fr);align-items:center;gap:12px;min-width:0;display:grid}.tp-print-split-products>p{overflow-wrap:anywhere;margin:0}.tp-setting-help{margin-top:8px}.tp-batch-settings{border-top:1px solid var(--border);grid-column:1/-1;gap:12px;min-width:0;padding-top:12px;display:grid}.tp-batch-settings>.staff-toggle{justify-self:start}.tp-batch-settings>p{margin:0}.tp-batch-fields{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;min-width:0;display:grid}.tp-batch-fields>label{min-width:0}.tp-formula-mode{gap:5px;display:grid}.tp-formula-hint{color:var(--text-muted);margin:0;font-size:12px}.tp-formula-term{min-width:0}@media (width<=760px){.tp-batch-fields{grid-template-columns:minmax(0,1fr)}}.tp-recipe-tree{margin-top:12px;overflow:auto}.tp-recipe-node{position:relative}.tp-recipe-card{border-left:3px solid var(--red);background:var(--bg-surface);grid-template-columns:minmax(130px,1fr) auto auto auto;align-items:center;gap:10px;min-width:210px;padding:8px 10px;font-size:10px;display:grid}.tp-recipe-card.is-ready{border-left-color:var(--green)}.tp-recipe-name{font-size:11px;font-weight:600}.tp-recipe-card b{color:var(--red);font-size:9px}.tp-recipe-card.is-ready b{color:var(--green)}.tp-recipe-children{border-left:1px solid var(--border);margin-left:26px;padding-left:12px}.tp-preview-controls{flex-wrap:wrap;align-items:end;gap:12px;margin-top:12px;display:flex}.tp-preview-controls label{flex:0 200px}.tp-preview-controls .input{box-sizing:border-box;width:100%}.tp-empty-map{border:1px dashed var(--border-light);border-radius:var(--radius-sm);color:var(--text-muted);text-align:center;margin-top:12px;padding:22px}.tp-warning-list{gap:5px;margin-top:12px;display:grid}.tp-warning-list span{border-radius:var(--radius-sm);background:color-mix(in srgb, var(--red) 9%, transparent);color:var(--red);padding:7px 9px;font-size:10px}.tp-map-tree{gap:12px;margin-top:12px;display:grid}.tp-map-card{border:1px solid var(--brand-border);border-radius:var(--radius-sm);background:var(--bg-surface);padding:10px}.tp-map-card.is-missing{border-color:color-mix(in srgb, var(--red) 45%, var(--border))}.tp-map-card header{justify-content:space-between;gap:10px;display:flex}.tp-map-card header>div{gap:2px;display:grid}.tp-map-card header span,.tp-map-card p{color:var(--text-muted);font-size:10px}.tp-map-card header strong{color:var(--brand)}.tp-map-dates{color:var(--text-secondary);gap:14px;margin-top:8px;font-size:10px;display:flex}.tp-map-steps{gap:6px;margin-top:9px;display:flex;overflow-x:auto}.tp-map-step{border-radius:var(--radius-sm);background:var(--brand-light);gap:3px;min-width:150px;padding:7px 8px;font-size:10px;display:grid}.tp-map-step--wait{background:color-mix(in srgb, var(--blue) 10%, var(--bg-surface))}.tp-map-step--control{background:color-mix(in srgb, var(--green) 10%, var(--bg-surface))}.tp-map-step small{color:var(--text-muted)}.tp-map-children{border-left:2px solid var(--brand-border);gap:8px;margin:8px 0 0 28px;padding-left:12px;display:grid}.tp-stage-settings-modal{max-height:min(760px,100vh - 32px)}.tp-stage-settings-filter{align-items:end;gap:12px;margin-bottom:16px;display:flex}.tp-stage-settings-filter label{width:220px;min-width:0;color:var(--text-muted);gap:5px;font-size:10px;display:grid}.tp-stage-settings-filter .period-dropdown,.tp-stage-settings-filter .period-dropdown__trigger{width:100%;min-width:0}.tp-stage-settings-filter p{color:var(--text-muted);margin:0 0 8px;font-size:11px}.tp-stage-settings-list{gap:6px;display:grid}.tp-stage-setting-head,.tp-stage-setting-row{grid-template-columns:minmax(0,1fr) 110px 150px 32px;gap:8px;min-width:0;display:grid}.tp-stage-setting-head{color:var(--text-muted);padding:0 1px;font-size:10px}.tp-stage-setting-item{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-surface);min-width:0;padding:7px}.tp-stage-setting-row{align-items:center}.tp-stage-setting-row label{min-width:0;color:var(--text-muted);gap:5px;font-size:10px;display:grid}.tp-stage-setting-row .input{width:100%;min-width:0;max-width:100%}.tp-stage-setting-usage-cell{min-width:0}.tp-stage-usage-toggle{justify-content:space-between;width:100%}.tp-stage-setting-positions{border-top:1px solid var(--border);gap:4px;max-height:210px;margin-top:7px;padding-top:7px;display:grid;overflow:auto}.tp-stage-setting-position{border-radius:var(--radius-sm);background:var(--bg-elevated);justify-content:space-between;align-items:baseline;gap:12px;min-width:0;padding:7px 9px;display:flex}.tp-stage-setting-position b{overflow-wrap:anywhere;min-width:0;color:var(--text-body);font-size:11px}.tp-stage-setting-position span{color:var(--text-muted);flex:none;font-size:10px}.tp-stage-setting-mobile-label{display:none}.tp-stage-settings-empty{border:1px dashed var(--border-light);border-radius:var(--radius-sm);color:var(--text-muted);text-align:center;padding:20px}.tp-add-stage-setting{margin-top:12px}@media (width<=1150px){.tp-workspace{grid-template-columns:250px minmax(0,1fr)}.tp-step-fields{grid-template-columns:minmax(0,1fr) 110px 44px 64px}.tp-step-fields>label:nth-child(3){grid-area:2/1/auto/-1}.tp-print-split-group-head{grid-template-columns:minmax(0,1fr) auto}.tp-print-split-group-head>.staff-toggle{grid-area:2/1}.tp-print-split-group-head>.btn-danger{grid-area:1/2}.tp-print-split-products{grid-template-columns:minmax(0,1fr);gap:6px}}@media (width<=760px){.tp-workspace{display:block;overflow:auto}.tp-catalog{max-height:220px;margin-bottom:12px}.tp-editor{min-height:420px}.tp-editor-scroll{padding:12px;overflow:visible}.tp-product-head{padding:12px}.tp-product-head h2{font-size:17px}.tp-editor-toolbar>span{display:none}.tp-product-actions{flex-wrap:wrap;flex:1;margin-left:0}.tp-product-actions>.btn-primary{margin-left:auto}.tp-step-fields{grid-template-columns:minmax(0,1fr) minmax(90px,.8fr) 40px 60px;gap:8px}.tp-section-title{align-items:flex-start}.tp-recipe-card{grid-template-columns:minmax(0,1fr) auto}.tp-recipe-children{margin-left:8px;padding-left:8px}.tp-stage-setting-head{display:none}.tp-stage-setting-row{grid-template-columns:minmax(0,1fr) 90px 32px;grid-template-areas:"name days delete""usage usage usage";align-items:end}.tp-stage-setting-name{grid-area:name}.tp-stage-setting-days{grid-area:days}.tp-stage-setting-usage-cell{grid-area:usage}.tp-stage-setting-delete{grid-area:delete}.tp-stage-setting-mobile-label{display:block}.tp-stage-settings-filter{flex-direction:column;align-items:stretch}.tp-stage-settings-filter label{width:100%}.tp-stage-settings-filter p{margin:0}}@media (width<=460px){.tp-step-fields{grid-template-columns:minmax(0,1fr) 48px 64px}.tp-step-fields>label:first-child{grid-column:1/-1}.tp-step-fields>label:nth-child(2){grid-area:2/1}.tp-step-fields>label:nth-child(3){grid-row:3}.tp-step-fields>label:nth-child(4){grid-area:2/2}.tp-step-visibility{grid-area:2/3}}.revenue-compare-page{flex-direction:column;gap:16px;display:flex}.revenue-compare-controls{flex-direction:column;gap:12px;display:flex}.revenue-compare-controls .chart-card-title{margin:0}.revenue-compare-toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.revenue-compare-toolbar .spinner{width:14px;height:14px}.revenue-compare-page .page-status{flex-wrap:wrap}.revenue-compare-page .stats-grid,.revenue-compare-controls .error-msg{margin-bottom:0}.revenue-compare-page .table-scroll{max-height:520px}.revenue-compare-table th,.revenue-compare-table td{white-space:nowrap}.revenue-compare-point>td:first-child{padding-left:48px}.iikoweb-event-page{flex-direction:column;gap:12px;min-height:0;display:flex}.iikoweb-event-toolbar{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);flex-wrap:wrap;align-items:flex-end;gap:12px;padding:12px 16px;display:flex}.iikoweb-event-store-field{width:min(420px,100%)}.iikoweb-event-date-field{width:190px}.iikoweb-event-date-field .sdp-wrap,.iikoweb-event-date-field .sdp-trigger{width:100%}.iikoweb-event-submit{flex-shrink:0}.iikoweb-event-submit .spinner{width:14px;height:14px}.iikoweb-event-count{color:var(--text-dim);margin-left:auto;padding-bottom:9px;font-size:12px}.iikoweb-event-count strong{color:var(--text-secondary)}.iikoweb-event-error{min-height:auto;padding:12px 16px}.iikoweb-event-results,.iikoweb-event-results .table-scroll{flex:1;min-height:0}.iikoweb-event-hint{color:var(--text-dim);margin:3px 0 0;font-size:12px}.iikoweb-event-table{table-layout:fixed;min-width:980px}.iikoweb-event-table th{white-space:normal}.iikoweb-event-table th:first-child{width:11%}.iikoweb-event-table th:nth-child(2){width:14%}.iikoweb-event-table th:nth-child(3){width:10%}.iikoweb-event-table th:nth-child(4){width:12%}.iikoweb-event-table th:nth-child(5){width:9%}.iikoweb-event-table th:nth-child(6){width:23%}.iikoweb-event-table th:nth-child(7){width:8%}.iikoweb-event-table th:nth-child(8){width:13%}.iikoweb-event-date{white-space:nowrap;font-variant-numeric:tabular-nums}.iikoweb-event-items{white-space:normal;flex-direction:column;gap:3px;display:flex}@media (width<=768px){.iikoweb-event-toolbar{padding:12px}.iikoweb-event-store-field,.iikoweb-event-date-field,.iikoweb-event-submit{width:100%}.iikoweb-event-count{width:100%;margin-left:0;padding-bottom:0}}.iiko-production-page{flex-direction:column;gap:12px;min-height:0;display:flex}.iiko-production-toolbar{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);flex-wrap:wrap;align-items:flex-end;gap:12px;padding:12px 16px;display:flex}.iiko-production-submit{flex-shrink:0}.iiko-production-submit .spinner{width:14px;height:14px}.iiko-production-summary{min-height:36px;color:var(--text-dim);align-items:center;gap:16px;margin-left:auto;font-size:12px;display:flex}.iiko-production-summary strong{color:var(--text-secondary)}.iiko-production-error{flex:none;min-height:auto;padding:12px 16px}.iiko-production-results,.iiko-production-results .table-scroll{flex:1;min-height:0}.iiko-production-hint{color:var(--text-dim);margin:3px 0 0;font-size:12px}.iiko-production-table{table-layout:fixed;min-width:1100px}.iiko-production-table th{white-space:normal}.iiko-production-table th:first-child{width:9%}.iiko-production-table th:nth-child(2){width:16%}.iiko-production-table th:nth-child(3){width:10%}.iiko-production-table th:nth-child(4){width:18%}.iiko-production-table th:nth-child(5){width:7%}.iiko-production-table th:nth-child(6){width:9%}.iiko-production-table th:nth-child(7){width:12%}.iiko-production-table th:nth-child(8){width:10%}.iiko-production-table th:nth-child(9){width:19%}.iiko-production-date{white-space:nowrap;font-variant-numeric:tabular-nums}@media (width<=768px){.iiko-production-toolbar{padding:12px}.iiko-production-toolbar .control-group,.iiko-production-submit{width:100%}.iiko-production-summary{width:100%;margin-left:0}}
