dialog.opening-workspace{border:1px solid var(--line);flex-direction:column;width:min(1440px,96vw);height:auto;max-height:94dvh;margin:auto;padding:0;display:flex;inset:0}dialog.opening-workspace.is-fullscreen{width:calc(100vw - 16px);max-width:none;height:calc(100dvh - 16px);max-height:none}.opening-workspace::backdrop{background:#172b4859}.opening-workspace .modal-header{gap:16px;padding:12px 18px}.opening-workspace .modal-header h2{margin:3px 0;font-size:25px}.opening-workspace .modal-tabs{flex-shrink:0;margin:0;padding:0 18px}.opening-workspace .modal-body{flex-direction:column;flex:1;min-height:0;padding:12px 18px;display:flex;overflow:auto}.opening-context{border:1px solid var(--line);background:#247d680a;border-radius:8px;grid-template-columns:minmax(240px,1fr) 165px 210px minmax(180px,1fr);align-items:end;gap:6px 10px;margin-bottom:6px;padding:6px 8px;display:grid;position:relative}.opening-context .form-field{gap:2px}.opening-context small{font-size:11px}.opening-context :is(input,select){height:32px;min-height:32px;padding-block:3px}.opening-context>.form-field>small:not([role=alert]),.opening-scope-note{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.opening-scope-note{color:var(--muted);font-size:12px}.opening-lines-area{flex-direction:column;flex:1;min-height:0;display:flex}.opening-lines-area>.smart-grid{flex-direction:column;flex:none;gap:6px;min-height:0;display:flex}.opening-workspace .smart-grid-toolbar{flex:none;align-content:center;min-height:0;padding:8px}.opening-workspace .smart-grid-table-wrap{overscroll-behavior:contain;flex:0 auto;min-height:0;max-height:55dvh;overflow:auto}.opening-workspace .smart-grid-table-wrap:has(.registry-empty)>table{height:auto}.opening-workspace .smart-grid-table-wrap:has(.registry-empty) .smart-grid-empty-cell{height:120px}.opening-workspace .smart-grid-table-wrap:has(.registry-empty) .registry-empty{min-height:0;margin:0}.opening-lines-area>.opening-entry{flex-shrink:0}.opening-workspace .smart-grid td input{border:1px solid var(--line);border-radius:6px;width:100%;min-height:32px;padding:5px 8px}.opening-workspace .smart-grid td small{color:var(--muted);font-size:12px;display:block}.opening-workspace .smart-grid td .product-card-link{flex-direction:column;align-items:flex-start;gap:3px;min-width:0;line-height:1.3;display:flex}.opening-workspace .smart-grid td .product-card-link>:is(strong,small){overflow-wrap:anywhere;max-width:100%}.opening-entry{z-index:3;background:#247d680a;border:1px solid #247d6840;border-left:3px solid #247d68;border-radius:8px;grid-template-columns:minmax(300px,1fr) 140px 170px auto auto;align-items:end;gap:8px;min-height:48px;margin-top:auto;padding:6px 8px;display:grid;position:sticky;bottom:0}.opening-entry>button{height:32px;min-height:32px;margin-top:0;padding-block:3px}.opening-entry .form-field{gap:2px;margin:0}.opening-entry :is(input,select){height:32px;min-height:32px}.opening-entry .assembly-product-picker-compact{align-self:end;min-height:32px}.opening-entry .assembly-product-picker-compact>input,.opening-entry .product-picker-details>summary{min-height:32px;height:32px!important}.write-off-entry{grid-template-columns:minmax(300px,1fr) 150px auto auto}.opening-entry .assembly-product-options{max-height:260px;top:auto;bottom:100%}.opening-requisites{border:0;grid-template-columns:minmax(300px,2fr) minmax(240px,1fr);gap:14px;padding:8px 0;display:grid}.opening-wide{grid-column:1/-1}.opening-checksum{overflow-wrap:anywhere;font-family:monospace}.opening-confirm{background:#277a6810;border:1px solid #277a6840;border-radius:8px;align-items:center;gap:8px;margin:20px 0;padding:12px;display:flex}.opening-state{max-width:1150px}.opening-workspace .modal-footer{flex-shrink:0;padding:10px 18px}.opening-workspace .modal-footer>div{text-align:right;gap:4px;min-width:220px;display:grid}.opening-workspace .modal-footer strong{font-size:21px}.opening-register .page-heading h1{margin:4px 0;font-size:30px}.opening-register .smart-grid td small{color:var(--muted);font-size:12px;display:block}.opening-register-views{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.opening-register-filters{flex-wrap:wrap;gap:12px;display:flex}.opening-register-filters label{gap:4px;min-width:200px;display:grid}.opening-register-filters select,.opening-register-filters input{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:8px}.stock-receipt-tsv{border:1px solid var(--line);background:var(--panel);border-radius:8px;flex:none;margin:10px 0;padding:10px}.stock-receipt-tsv>summary{cursor:pointer;font-weight:600}.stock-receipt-tsv>textarea{box-sizing:border-box;border:1px solid var(--line);white-space:pre;resize:vertical;border-radius:6px;width:100%;min-height:100px;padding:8px;font:13px/1.5 monospace;display:block;overflow:auto}.stock-receipt-tsv .opening-entry{z-index:auto;background:0 0;border:0;flex-wrap:wrap;margin:10px 0;padding:0;display:flex;position:static}.stock-receipt-tsv .opening-entry>button{margin:0}.stock-receipt-tsv [role=table]{border:1px solid var(--line);border-radius:6px;max-height:320px;overflow:auto}.stock-receipt-tsv [role=row]{overflow-wrap:anywhere;border-bottom:1px solid var(--line);padding:8px;line-height:1.5}.stock-receipt-tsv [role=alert]{color:#a32924;display:block}.stock-receipt-workspace .opening-lines-area:has(>.stock-receipt-tsv[open]){flex:none;min-height:auto}.stock-receipt-workspace .opening-lines-area:has(>.stock-receipt-tsv[open])>.smart-grid{flex:none}.stock-receipt-workspace .opening-lines-area:has(>.stock-receipt-tsv[open])>.opening-entry{background:var(--panel);flex-shrink:0;margin-top:10px;position:static}@media (max-width:1100px){.opening-context{grid-template-columns:2fr 1fr 1fr}.opening-scope-note{grid-column:1/-1}.opening-entry{grid-template-columns:minmax(250px,1fr) 120px 140px}.opening-entry>button{margin:0}.opening-requisites{grid-template-columns:1fr}}
