.order-editor--compact{--order-label-width:136px;--order-field-gap:12px;--order-calculation-width:350px;padding-bottom:0}.order-editor--compact [hidden]{display:none!important}.order-editor--compact .order-editor__header{padding-inline:14px}.order-editor--compact .order-editor__identity{display:grid;grid-gap:4px;gap:4px}.order-editor--compact .order-editor__number-status,.order-editor--compact .order-editor__owner{display:grid;grid-template-columns:var(--order-label-width) minmax(0,1fr);grid-gap:var(--order-field-gap);gap:var(--order-field-gap);align-items:center}.order-editor--compact .order-editor__number-status h1{font-size:20px;white-space:nowrap}.order-editor--compact .order-editor__owner{margin:0}.order-editor--compact .order-editor__owner label{font-size:13px}.order-editor--compact .order-editor__owner .form-select{margin:0;padding-left:0;font-size:13px;width:180px;max-width:100%}.order-editor--compact .order-view-switch{justify-self:start;font-size:13px}.order-editor--compact .position-tabs{margin-left:0}.order-position-toolbar{display:flex;align-items:flex-start;gap:6px;min-width:0;margin-bottom:12px}.order-position-toolbar>.position-tabs{flex:1 1;min-width:0;margin-bottom:0}.order-position-toolbar>.order-view-switch{flex:0 0 auto;margin-left:auto}.order-view-switch--icons>button{display:grid;place-items:center;padding:0;width:38px;min-height:38px}.order-select-menu{font-size:13px}.order-editor--compact .position-tabs__list{align-items:flex-start;gap:6px;overflow:visible;padding-bottom:0}.position-tabs__scroll{display:flex;flex:1 1;gap:6px;min-width:0;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}.order-editor--compact .position-tabs__add{position:static;margin-left:0;z-index:auto;min-height:38px}.position-tab-wrap{flex:0 0 auto;min-width:0;position:relative}.order-editor--compact .position-tab{font-size:13px}.position-tab__name{min-width:0;overflow:hidden;text-overflow:ellipsis}.position-tab--active .position-tab__name{cursor:text}.position-tab__name-input{flex:1 1;width:0;min-width:0;padding:0;border:0;border-bottom:1px solid var(--accent-strong);background:transparent;color:var(--ink);outline-offset:3px;font-size:12px;font-weight:620}.order-editor--compact .position-tab>span{flex:0 0 22px}.position-tab__error{color:var(--danger);font-size:12px;max-width:100%;padding:4px 0;white-space:normal}.order-editor--compact .calculator-layout{grid-template-columns:minmax(0,1fr) var(--order-calculation-width);gap:14px;align-items:start}.order-editor--compact .calculator-layout.calculator-layout--table{grid-template-columns:minmax(0,1fr)}.order-detail-view,.order-detail-view>.calculator-form{min-width:0}.order-editor--compact .form-section{padding:14px}.order-editor--compact .form-section>header{margin-bottom:10px}.order-editor--compact .calculation-panel>h2,.order-editor--compact .form-section>header h2{font-size:14px;font-weight:650;margin:0}.order-fields{display:grid;grid-gap:8px;gap:8px}.order-field{display:grid;grid-template-columns:var(--order-label-width) minmax(0,1fr);align-items:start;grid-column-gap:var(--order-field-gap);column-gap:var(--order-field-gap);min-width:0}.order-field+.order-field{margin-top:8px}.order-fields>.order-field+.order-field{margin-top:0}.order-field>.form-label{margin:0;padding-top:9px;font-size:13px;line-height:18px;font-weight:400}.order-field>.form-control,.order-field>.search-select,.order-field__control{min-width:0}.order-editor--compact .form-control,.order-editor--compact .form-select,.order-editor--compact .search-select__control>.form-control{font-size:13px;line-height:18px;min-height:36px}.order-editor--compact .form-label.required:after{content:none}.order-field__control--medium{max-width:300px;width:100%}.order-field__control--mode{max-width:420px;width:100%}.order-product{position:relative}.order-product__value{width:100%;max-width:300px;margin-right:76px}.order-product__actions{position:absolute;top:14px;right:10px;display:flex;gap:2px}.order-production-section{display:flex;align-items:center;gap:7px;min-height:24px;font-size:12px;color:var(--muted)}.order-production-section>.search-select{flex:1 1;min-width:0}.order-production-section .form-control{min-height:30px}.order-product>.order-files-summary{margin-left:calc(var(--order-label-width) + var(--order-field-gap));margin-top:4px;padding-top:0;border-top:0}.order-editor--compact .order-files-summary__add,.order-editor--compact .order-files-summary__link-heading{font-size:13px}.order-dimensions__body{display:grid;grid-template-columns:minmax(0,1fr) 126px;grid-gap:14px;gap:14px}.order-size-inputs{display:grid;grid-template-columns:minmax(72px,116px) 12px minmax(72px,116px);grid-gap:8px;gap:8px;align-items:start}.order-size-inputs>span{padding-top:9px;text-align:center;color:var(--muted)}.order-size-inputs .form-text{display:block;margin-top:3px;color:var(--muted);font-size:12px;line-height:18px}.order-size-inputs .form-label,.order-unlabelled-control .form-label{position:absolute;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.order-field--short>.order-unlabelled-control,.order-field--short>.search-select{width:100%;max-width:116px}.order-layout-thumbnail{grid-gap:5px;gap:5px;border:0;padding:0;background:transparent;color:var(--accent-strong);font-size:12px}.order-layout-actions,.order-layout-thumbnail{align-self:start;display:grid;justify-items:center}.order-layout-actions{grid-gap:7px;gap:7px;min-width:0}.order-layout-reset{max-width:100%;font-size:11px;line-height:16px}.order-layout-thumbnail:focus-visible{outline:2px solid var(--accent-strong);outline-offset:4px;border-radius:4px}.order-layout-thumbnail:disabled{color:var(--muted);cursor:default}.order-layout-thumbnail__empty{display:grid;place-content:center;justify-items:center;grid-gap:6px;gap:6px;height:96px;width:126px}.order-layout-canvas,.order-layout-thumbnail__empty{border:1px solid var(--border);border-radius:5px;background:var(--surface-soft)}.order-layout-canvas{display:block;width:100%;height:320px;padding:12px}.order-layout-canvas--miniature{width:126px;height:96px;padding:7px}.order-editor--compact .derived-strip{margin-left:calc(var(--order-label-width) + var(--order-field-gap));margin-top:9px;padding:0;background:transparent;gap:4px 12px;font-size:12px}.order-editor--compact .calculation-panel{padding:14px;gap:14px;font-size:13px}.order-metadata{--order-label-width:76px;--order-field-gap:10px;padding-bottom:14px;border-bottom:1px solid var(--border)}.order-metadata .form-control{padding-inline:9px}.order-editor--compact .calculation-line{gap:10px;font-size:13px}.order-editor--compact .calculation-line>div{min-width:0}.order-editor--compact .calculation-line>div>span{overflow-wrap:anywhere}.order-editor--compact .calculation-line>div>span,.order-editor--compact .calculation-totals>span{font-size:13px}.order-editor--compact .calculation-line>strong{white-space:nowrap;font-size:13px}.order-editor--compact .calculation-line small{font-size:12px;line-height:1.5}.order-editor--compact .calculation-totals{padding:10px;gap:8px;font-size:13px}.order-editor--compact .calculation-totals>span{gap:10px}.calculation-order-total{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--border);padding-top:14px}.calculation-order-total__amount{display:grid;grid-gap:3px;gap:3px;min-width:0;margin-left:auto;text-align:right}.calculation-order-total__amount>span{font-size:12px;color:var(--muted)}.calculation-order-total__amount>strong{font-size:23px;color:var(--ink);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:1.3}.order-editor--compact .calculation-panel__calculate{position:static;width:100%;font-size:13px;min-height:40px}.order-table-calculation{padding:14px}.order-table-calculation>h2{margin:0 0 14px;font-size:14px;font-weight:650}.order-table-calculation__columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:28px;gap:28px}.order-table-calculation__result,.order-table-calculation__settings{display:grid;align-content:start;grid-gap:14px;gap:14px;min-width:0}.order-table-calculation__settings .order-metadata{--order-label-width:76px;border:0;padding:0}.order-table-calculation__settings .order-table-adjustment{grid-template-columns:repeat(2,minmax(0,1fr));border:0;padding:0}.order-table-calculation__settings>button{justify-self:start}.order-table-calculation__calculate{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;width:100%;font-size:13px}.order-adjustments{grid-template-columns:minmax(0,1.2fr) minmax(0,.65fr) minmax(0,.7fr) minmax(0,1.5fr);gap:10px}.order-adjustments>.span-2{grid-column:1/-1}@media (max-width:1240px){.order-editor--compact{--order-label-width:120px;--order-calculation-width:320px}.order-dimensions__body{grid-template-columns:minmax(0,1fr) 96px;gap:10px}.order-layout-canvas--miniature,.order-layout-thumbnail__empty{width:96px;height:88px}.order-product__value{margin-right:60px}.order-product__actions .icon-button{width:28px}.order-adjustments{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:1100px){.order-editor--compact .calculator-layout{grid-template-columns:minmax(0,1fr)}.order-editor--compact .calculation-panel{position:static}.order-metadata{--order-label-width:120px}}@media (max-width:600px){.order-editor--compact{--order-label-width:116px;--order-field-gap:8px}.order-editor--compact .order-editor__header{padding-inline:0;gap:8px;flex-wrap:wrap}.order-editor--compact .order-editor__actions{width:100%;justify-content:flex-end}.order-editor--compact .form-section{padding:12px}.order-field{grid-template-columns:minmax(0,1fr);gap:5px}.order-field>.form-label{padding-top:0}.order-field+.order-field{margin-top:10px}.order-fields{gap:10px}.order-product__value{margin-right:0;max-width:none}.order-product>.order-section-fields>.order-field:first-child>.form-label{padding-right:72px;min-height:28px}.order-product__actions{top:6px;right:8px}.order-editor--compact .derived-strip,.order-product>.order-files-summary{margin-left:0}.order-size-inputs{grid-template-columns:minmax(60px,1fr) 10px minmax(60px,1fr);gap:5px}.order-field__control--medium,.order-field__control--mode{max-width:none}.order-dimensions__body{grid-template-columns:minmax(0,1fr) 84px;gap:10px}.order-layout-canvas--miniature,.order-layout-thumbnail__empty{width:84px;height:90px}.order-layout-thumbnail{margin-top:23px}.order-editor--compact .calculation-panel{padding:12px}.order-editor--compact .position-tabs__list{overflow-x:auto;padding-bottom:6px}.position-tabs__scroll{display:contents}.order-editor--compact .position-tabs__add{flex-shrink:0;min-height:44px}.order-editor--compact .position-tab{height:44px}.order-editor--compact .calculation-line{grid-template-columns:minmax(0,1fr) auto}.order-editor--compact .calculation-order-total .margin-badge{min-width:62px}.order-table-calculation__columns{grid-template-columns:minmax(0,1fr);gap:20px}.order-view-switch--icons>button{width:44px;min-height:44px}}@media (pointer:coarse){.order-editor--compact .form-control,.order-editor--compact .form-select{min-height:44px}.order-editor--compact .search-select__toggle{flex-basis:44px}.order-editor--compact .icon-button{min-width:44px;min-height:44px}}.calculation-panel__body,.calculation-panel__footer{display:contents}.order-editor--compact .calculation-panel__body>h2{font-size:14px;font-weight:650;margin:0}@media (min-width:1101px){.order-editor--compact .order-table-scroll{max-height:none}.order-editor--compact .calculation-panel--docked{align-self:start;display:flex;flex-direction:column;gap:0;padding:0;position:static;min-width:0}.calculation-panel--docked>.calculation-panel__body{display:grid;grid-gap:14px;gap:14px;padding:14px}.calculation-panel--docked>.calculation-panel__footer{position:-webkit-sticky;position:sticky;bottom:16px;display:grid;grid-gap:14px;gap:14px;padding:12px 14px;background:var(--surface);border-top:1px solid var(--border);border-radius:0 0 6px 6px;box-shadow:0 -4px 18px #20333e18;overflow-anchor:none;z-index:5}.calculation-panel--docked .calculation-order-total{border-top:0;padding-top:0}.desktop-calculation-details{min-width:0}.desktop-calculation-details__heading{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--muted)}.desktop-calculation-details__heading h3{margin:0;font-size:12px;font-weight:400;color:var(--muted)}.desktop-calculation-details__toggle-all{display:inline-flex;align-items:center;gap:5px;padding:5px 0;border:0;background:transparent;color:var(--accent-strong);font-size:12px}.desktop-calculation-details__position{border-bottom:1px solid var(--border)}.desktop-calculation-details__position-toggle{display:flex;align-items:flex-start;gap:7px;width:100%;min-width:0;border:0;background:transparent;padding:10px 0;text-align:left;font-size:13px;color:var(--ink)}.desktop-calculation-details__position-toggle>svg{flex:0 0 16px;margin-top:2px}.desktop-calculation-details__position-toggle[aria-expanded=true]>svg{transform:rotate(90deg)}.desktop-calculation-details__position-label{min-width:0;flex:1 1;overflow-wrap:anywhere}.desktop-calculation-details__position-amount{white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.desktop-calculation-details__position-lines[hidden]{display:none}.desktop-calculation-details .calculation-line small{overflow:visible;white-space:normal;overflow-wrap:anywhere}}.diagnostic-repair{color:#237988;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.diagnostic-repair:focus-visible{outline:2px solid var(--accent,#5DBCCE);outline-offset:3px}.directory-modal-footer{flex-wrap:wrap}.directory-save-state{flex:0 0 100%;color:var(--muted,#667085);font-size:.8rem}.directory-modal-footer__error{flex:1 1 100%}.directory-modal-footer__error>div{min-width:0}.directory-modal-footer__actions{justify-content:flex-end;width:100%}.directory-form-fieldset{min-width:0;padding:0;margin:0;border:0}