.goods-receipt-import-button{position:relative;overflow:hidden;cursor:pointer}
.goods-receipt-create-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.goods-receipt-import-button input{position:absolute;inset:0;opacity:0;cursor:pointer}
.goods-receipt-import-button.is-disabled{opacity:.55;pointer-events:none}
.goods-receipt-empty{min-height:180px;display:grid;place-content:center;justify-items:center;text-align:center;gap:8px;padding:24px;color:#6b7280}
.goods-receipt-empty strong{font-size:20px;color:var(--ink,#171717)}
.goods-receipt-empty span{max-width:560px;line-height:1.55}
.goods-receipt-list{display:grid;gap:10px}
.goods-receipt-list-item{width:100%;min-height:76px;border:1px solid rgba(74,53,37,.12);border-radius:18px;background:rgba(255,255,255,.76);padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;color:inherit;cursor:pointer;transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}
.goods-receipt-list-item:hover{border-color:rgba(224,138,34,.55);transform:translateY(-1px);box-shadow:0 8px 24px rgba(74,53,37,.08)}
.goods-receipt-list-main,.goods-receipt-list-meta{display:grid;gap:5px;min-width:0}
.goods-receipt-list-main strong{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.goods-receipt-list-main small,.goods-receipt-list-meta small{color:#6b7280}
.goods-receipt-list-meta{justify-items:end;flex:0 0 auto}
.goods-receipt-status{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:999px;background:#f3f4f6;color:#4b5563;font-size:12px;font-weight:850;letter-spacing:.03em;text-transform:uppercase}
.goods-receipt-status.is-ready{background:#fff3cd;color:#805b00}.goods-receipt-status.is-applying{background:#dbeafe;color:#1d4ed8}.goods-receipt-status.is-partially_applied{background:#fee2e2;color:#991b1b}.goods-receipt-status.is-applied{background:#dcfce7;color:#166534}
.goods-receipt-overlay{padding:18px}
.goods-receipt-modal{width:min(1460px,calc(100vw - 36px));height:min(920px,calc(100dvh - 36px));max-height:none;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:0;overflow:hidden}
.goods-receipt-modal-header{padding:18px 20px;border-bottom:1px solid rgba(74,53,37,.1)}
.goods-receipt-modal-header h3{margin:.2rem 0 0}
.goods-receipt-header-actions{display:flex;align-items:center;gap:10px}
.goods-receipt-modal .admin-modal-close{min-height:44px}
.goods-receipt-modal-body{min-height:0;display:grid;grid-template-columns:minmax(330px,.8fr) minmax(520px,1.2fr)}
.goods-receipt-modal-body.is-manual{grid-template-columns:1fr}
.goods-receipt-document-panel{min-height:0;background:#2f3033;border-right:1px solid rgba(74,53,37,.14)}
.goods-receipt-document-panel iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.goods-receipt-document-preview{height:100%;overflow:auto;padding:10px;background:#2f3033;display:grid;align-content:start;gap:10px}.goods-receipt-document-preview img{display:block;width:100%;height:auto;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.28)}.goods-receipt-document-toolbar{position:sticky;z-index:2;top:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.96);box-shadow:0 4px 14px rgba(0,0,0,.18);color:#374151;font-size:13px;font-weight:800}.goods-receipt-document-toolbar .btn{min-height:44px}.goods-receipt-document-fallback{height:100%;display:grid;place-content:center;justify-items:center;gap:8px;padding:24px;text-align:center;background:#f7f7f7;color:#374151}.goods-receipt-document-fallback span{color:#6b7280}.goods-receipt-document-fallback .btn{min-height:44px;margin-top:6px}
.goods-receipt-editor{min-width:0;min-height:0;overflow:auto;padding:18px;background:rgba(250,248,244,.75)}
.goods-receipt-invoice-fields,.goods-receipt-line-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.goods-receipt-invoice-fields{padding:14px;border:1px solid rgba(74,53,37,.1);border-radius:18px;background:#fff}
.goods-receipt-profile{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 14px;margin-bottom:12px;padding:12px 14px;border:1px solid rgba(74,53,37,.12);border-radius:14px;background:#fff}.goods-receipt-profile>div{display:grid;gap:3px}.goods-receipt-profile span{font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;color:#66584d}.goods-receipt-profile strong{font-size:15px}.goods-receipt-profile small{max-width:580px;color:#6b7280;line-height:1.4}.goods-receipt-profile.is-detected{border-color:rgba(22,101,52,.25);background:rgba(220,252,231,.55)}.goods-receipt-profile.is-detected strong{color:#166534}.goods-receipt-profile.is-fallback{border-color:rgba(180,83,9,.28);background:rgba(255,247,237,.88)}.goods-receipt-profile.is-fallback strong{color:#9a3412}
.goods-receipt-profile.is-manual{border-color:rgba(29,78,216,.22);background:rgba(219,234,254,.5)}.goods-receipt-profile.is-manual strong{color:#1d4ed8}.goods-receipt-manual-fields{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:4px}.goods-receipt-manual-fields .is-wide{grid-column:1/-1}.goods-receipt-shipping-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(100px,.8fr) minmax(100px,.8fr);gap:12px}.goods-receipt-rate-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.goods-receipt-rate-input>span{font-weight:800;color:#66584d}.goods-receipt-shipping-preview{font-weight:800;color:#4b5563}
.goods-receipt-manual-modal{width:min(560px,calc(100vw - 32px));padding:0;overflow:hidden}.goods-receipt-manual-modal .admin-modal-close{min-height:44px}.goods-receipt-manual-body{display:grid;gap:14px;padding:18px 20px}.goods-receipt-manual-body label{display:grid;gap:6px}.goods-receipt-manual-body label>span{font-size:12px;font-weight:800;color:#66584d}.goods-receipt-manual-body input,.goods-receipt-manual-body select{width:100%;min-height:44px}.goods-receipt-manual-body small{color:#6b7280;line-height:1.45}.goods-receipt-manual-body small.is-error{color:#991b1b}.goods-receipt-manual-modal .admin-modal-footer{justify-content:flex-end}
.goods-receipt-supplier-overlay{z-index:10040}.goods-receipt-supplier-modal{width:min(720px,calc(100vw - 32px));max-height:min(88vh,860px);padding:0;overflow:hidden}.goods-receipt-supplier-modal .admin-modal-close{min-height:44px}.goods-receipt-supplier-body{display:grid;gap:18px;padding:18px 20px;overflow-y:auto}.goods-receipt-supplier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.goods-receipt-supplier-grid.is-accounting{padding-top:16px;border-top:1px solid rgba(120,94,74,.16)}.goods-receipt-supplier-grid label{display:grid;gap:6px;min-width:0}.goods-receipt-supplier-grid label.is-wide{grid-column:1/-1}.goods-receipt-supplier-grid label>span{font-size:12px;font-weight:800;color:#66584d}.goods-receipt-supplier-grid input,.goods-receipt-supplier-grid select{width:100%;min-height:44px}.goods-receipt-supplier-body>small{color:#6b7280;line-height:1.45}.goods-receipt-supplier-modal .admin-modal-footer{justify-content:flex-end}
.goods-receipt-invoice-fields label,.goods-receipt-line-fields label,.goods-receipt-line-routing label{display:grid;gap:6px;min-width:0}
.goods-receipt-invoice-fields label span,.goods-receipt-line-fields label span,.goods-receipt-line-routing label span{font-size:12px;font-weight:800;color:#66584d}
.goods-receipt-invoice-fields input,.goods-receipt-invoice-fields select,.goods-receipt-line-fields input,.goods-receipt-line-routing select{width:100%;min-width:0;min-height:44px}
.goods-receipt-lines-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:22px 2px 12px}
.goods-receipt-lines-heading>div{display:grid;gap:3px}.goods-receipt-lines-heading strong{font-size:18px}.goods-receipt-lines-heading small{color:#6b7280}
.goods-receipt-lines{display:grid;gap:12px}
.goods-receipt-line{border:1px solid rgba(74,53,37,.14);border-radius:18px;background:#fff;padding:14px;display:grid;gap:12px}
.goods-receipt-line.is-ignored{background:rgba(243,244,246,.78)}.goods-receipt-line.is-applied{border-color:rgba(22,101,52,.3)}.goods-receipt-line.has-error{border-color:rgba(153,27,27,.35)}
.goods-receipt-line>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.goods-receipt-line>header>div:first-child{min-width:0;display:grid;gap:4px}.goods-receipt-line>header small{color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:640px}
.goods-receipt-line-header-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.goods-receipt-remove{width:44px;height:44px;border:0;border-radius:999px;background:rgba(127,29,29,.08);color:#991b1b;font-size:24px;line-height:1;cursor:pointer}
.goods-receipt-line fieldset{border:0;margin:0;padding:0;display:grid;gap:12px}.goods-receipt-line fieldset:disabled{opacity:.72}
.goods-receipt-line-routing{display:grid;grid-template-columns:1fr 1fr;gap:12px}.goods-receipt-line-routing .goods-receipt-target{grid-column:1/-1}
.goods-receipt-reference-hint{grid-column:1/-1;display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;padding:10px 12px;border-radius:12px;background:rgba(29,78,216,.06);color:#4b5563}.goods-receipt-reference-hint strong{font-size:12px;color:#1d4ed8}.goods-receipt-reference-hint span{font-size:13px;font-weight:800}.goods-receipt-reference-hint small{font-size:12px;color:#6b7280}
.goods-receipt-line-fields .is-wide{grid-column:span 2}
.goods-receipt-lot-field{grid-column:span 2}.goods-receipt-lot-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.goods-receipt-lot-control .btn{min-height:44px}.goods-receipt-lot-preview{grid-column:1/-1;display:grid;gap:4px;padding:10px 12px;border-radius:12px;background:rgba(224,138,34,.09);min-width:0}.goods-receipt-lot-preview span{font-size:12px;font-weight:800;color:#66584d}.goods-receipt-lot-preview strong{overflow-wrap:anywhere}
.goods-receipt-ingredient-fields{border-top:1px solid rgba(74,53,37,.1);padding-top:10px}.goods-receipt-ingredient-fields summary{cursor:pointer;font-weight:800;color:#7a4b16;margin-bottom:12px}
.goods-receipt-line-result{font-size:11px;font-weight:850;text-transform:uppercase}.goods-receipt-line-result.is-success{color:#166534}.goods-receipt-line-result.is-error{color:#991b1b}.goods-receipt-line-error{padding:10px 12px;border-radius:12px;background:#fee2e2;color:#991b1b;font-size:13px;font-weight:700}
.goods-receipt-modal-footer{display:flex;align-items:center;gap:10px;padding:14px 20px;border-top:1px solid rgba(74,53,37,.1);background:#fff}.goods-receipt-footer-spacer{flex:1}
.goods-receipt-superg-picker{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:12px;padding:12px 14px;border:1px solid rgba(74,53,37,.12);border-radius:12px;background:rgba(247,242,233,.72)}.goods-receipt-superg-picker label{display:grid;gap:5px;min-width:0}.goods-receipt-superg-picker label>span,.goods-receipt-superg-proposal span{font-size:.78rem;font-weight:700}.goods-receipt-superg-picker select{width:100%;min-width:0;min-height:44px}.goods-receipt-superg-picker>small{color:#75685d}.goods-receipt-superg-proposal{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding-top:10px;border-top:1px solid rgba(74,53,37,.1)}.goods-receipt-superg-proposal>div{display:grid;gap:4px;min-width:0}.goods-receipt-superg-proposal strong,.goods-receipt-superg-proposal small{overflow-wrap:anywhere}.goods-receipt-superg-proposal small{color:#75685d}.goods-receipt-superg-proposal .btn{min-height:44px;flex:0 0 auto;white-space:nowrap}
.goods-receipt-superg-order{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding:12px 14px;border:1px solid rgba(22,101,52,.24);border-radius:12px;background:rgba(220,252,231,.55)}.goods-receipt-superg-order>div:first-child{display:grid;gap:4px;min-width:0}.goods-receipt-superg-order small{color:#526057;overflow-wrap:anywhere}.goods-receipt-superg-order small.is-error{color:#991b1b}.goods-receipt-superg-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.goods-receipt-superg-actions .btn{min-height:44px}
.goods-receipt-wizard-progress{display:flex;gap:8px;margin:0 0 18px;padding:2px;overflow-x:auto;scrollbar-width:thin}.goods-receipt-wizard-progress button{min-width:88px;min-height:52px;border:1px solid rgba(74,53,37,.12);border-radius:14px;background:#fff;padding:7px 10px;display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:7px;text-align:left;color:#6b7280;cursor:pointer}.goods-receipt-wizard-progress button:disabled{opacity:.45;cursor:not-allowed}.goods-receipt-wizard-progress button b{width:26px;height:26px;border-radius:999px;display:grid;place-items:center;background:#f3f4f6;font-size:12px}.goods-receipt-wizard-progress button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:800}.goods-receipt-wizard-progress button.is-active{border-color:rgba(224,138,34,.65);color:#7a4b16;background:rgba(255,247,237,.92)}.goods-receipt-wizard-progress button.is-active b,.goods-receipt-wizard-progress button.is-done b{background:#e08a22;color:#fff}
.goods-receipt-wizard-step{display:grid;gap:16px}.goods-receipt-wizard-step>header{display:grid;gap:4px}.goods-receipt-wizard-step>header small{font-size:11px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;color:#a16207}.goods-receipt-wizard-step>header h4{margin:0;font-size:22px}.goods-receipt-wizard-step>header p{margin:0;color:#6b7280;line-height:1.45}.goods-receipt-wizard-step fieldset{border:0;margin:0;padding:0;display:grid;gap:16px}.goods-receipt-wizard-step label{display:grid;gap:6px;min-width:0}.goods-receipt-wizard-step label>span{font-size:12px;font-weight:800;color:#66584d}.goods-receipt-wizard-step input,.goods-receipt-wizard-step select{width:100%;min-width:0;min-height:44px}
.goods-receipt-wizard-add-line{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px dashed rgba(74,53,37,.22);border-radius:14px}.goods-receipt-wizard-add-line>div{display:grid;gap:3px}.goods-receipt-wizard-add-line small{color:#6b7280}.goods-receipt-wizard-add-line .btn{min-height:44px}
.goods-receipt-manual-drafts{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px dashed rgba(74,53,37,.22);border-radius:14px}.goods-receipt-manual-drafts>div:first-child{display:grid;gap:3px;min-width:0}.goods-receipt-manual-drafts small{color:#6b7280}.goods-receipt-manual-counter{display:grid;grid-template-columns:44px 52px 44px;align-items:center;gap:4px;flex:0 0 auto}.goods-receipt-manual-counter button{width:44px;height:44px;border:0;border-radius:11px;background:rgba(74,53,37,.08);color:#66584d;font-size:24px;font-weight:900;cursor:pointer}.goods-receipt-manual-counter button:disabled{opacity:.35;cursor:not-allowed}.goods-receipt-manual-counter output{min-width:52px;text-align:center;color:#4b3627;font-size:20px;font-weight:900}.goods-receipt-manual-drafts>.goods-receipt-step-blocker{flex-basis:100%}
.goods-receipt-wizard-identity,.goods-receipt-wizard-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.goods-receipt-wizard-identity .is-wide{grid-column:span 2}.goods-receipt-wizard-totals{padding:14px;border-radius:14px;background:rgba(247,242,233,.72)}
.goods-receipt-amount-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:12px;border:1px solid rgba(74,53,37,.12);border-radius:14px;background:#fff}.goods-receipt-amount-card.is-wide{grid-column:1/-1}.goods-receipt-amount-card>header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px}.goods-receipt-amount-card>header strong{font-size:14px}.goods-receipt-amount-card>label{align-self:end}.goods-receipt-amount-card>p{grid-column:1/-1;margin:0;color:#4b5563;font-size:13px;font-weight:850}.goods-receipt-amount-card>p span{color:#6b7280;font-weight:700}.goods-receipt-segment{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:3px;padding:3px;border-radius:11px;background:rgba(74,53,37,.08)}.goods-receipt-segment button{min-width:58px;min-height:44px;border:0;border-radius:9px;padding:6px 10px;background:transparent;color:#66584d;font:inherit;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}.goods-receipt-segment button.is-active{background:#fff;color:#7a4b16;box-shadow:0 1px 5px rgba(74,53,37,.16)}.goods-receipt-segment button:disabled{opacity:.58;cursor:not-allowed}.goods-receipt-vat-switch{align-self:end}
.goods-receipt-calculated-total{grid-template-columns:repeat(3,minmax(0,1fr))}.goods-receipt-calculated-total>header small{color:#6b7280}.goods-receipt-calculated-total>div{display:grid;gap:3px;padding:10px;border-radius:11px;background:rgba(247,242,233,.72)}.goods-receipt-calculated-total>div span{font-size:11px;font-weight:850;text-transform:uppercase;color:#6b7280}.goods-receipt-calculated-total>div strong{font-size:17px}
.goods-receipt-wizard-lots{display:grid;gap:10px}.goods-receipt-wizard-lots>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.goods-receipt-wizard-lots>header>div{display:grid;gap:3px}.goods-receipt-wizard-lots>header small{color:#6b7280}.goods-receipt-wizard-lots>header .btn{min-height:44px}.goods-receipt-wizard-lot{display:grid;grid-template-columns:1.25fr .7fr .8fr .9fr .9fr;gap:10px;padding:12px;border:1px solid rgba(74,53,37,.13);border-radius:15px;background:#fff}.goods-receipt-wizard-lot-title{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.goods-receipt-wizard-lot .goods-receipt-lot-preview{grid-column:1/-1}.goods-receipt-yeast-summary{grid-column:1/-1;color:#4b5563;font-weight:800}.goods-receipt-lot-balance{padding:10px 12px;border-radius:12px;background:#fff1f2;color:#9f1239;font-size:13px;font-weight:850}.goods-receipt-lot-balance.is-valid{background:#dcfce7;color:#166534}.goods-receipt-step-blocker{display:block;padding:0 4px;color:#9f1239;font-weight:850}
.goods-receipt-wizard-lot .goods-receipt-no-lot{grid-column:1/-1;display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 12px;border:1px solid rgba(74,53,37,.13);border-radius:12px;background:rgba(247,242,233,.62);cursor:pointer}.goods-receipt-wizard-lot .goods-receipt-no-lot.is-active{border-color:rgba(224,138,34,.55);background:rgba(255,247,237,.95)}.goods-receipt-wizard-lot .goods-receipt-no-lot input{width:20px;min-width:20px;min-height:20px;margin:0;accent-color:#d97706}.goods-receipt-wizard-lot .goods-receipt-no-lot>span{display:grid;gap:2px}.goods-receipt-wizard-lot .goods-receipt-no-lot strong{font-size:13px;color:#4b3627}.goods-receipt-wizard-lot .goods-receipt-no-lot small{color:#6b7280;font-weight:650}.goods-receipt-undefined-lot{display:grid;gap:3px;padding:10px 12px;border-radius:12px;background:rgba(224,138,34,.09)}.goods-receipt-undefined-lot>span{font-size:12px;font-weight:800;color:#66584d}.goods-receipt-undefined-lot>small{color:#6b7280;line-height:1.35}
.goods-receipt-wizard-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.goods-receipt-wizard-summary>div{display:grid;gap:4px;padding:12px;border-radius:13px;background:rgba(247,242,233,.72)}.goods-receipt-wizard-summary span{font-size:11px;font-weight:850;text-transform:uppercase;color:#6b7280}.goods-receipt-wizard-review-line{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid rgba(74,53,37,.12);border-radius:14px}.goods-receipt-wizard-review-line>div{display:grid;gap:3px;min-width:0;flex:1}.goods-receipt-wizard-review-line>div>strong{overflow-wrap:anywhere}.goods-receipt-wizard-review-line small{color:#6b7280}.goods-receipt-wizard-review-line>span{flex:0 0 auto;font-size:12px;font-weight:850;color:#9f1239}.goods-receipt-wizard-review-line>span.is-valid{color:#166534}.goods-receipt-wizard-review-lots{display:grid;gap:4px;margin:5px 0 0;padding:8px 0 0;border-top:1px solid rgba(74,53,37,.1);list-style:none}.goods-receipt-wizard-review-lots li{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0;font-size:12px}.goods-receipt-wizard-review-lots li span{min-width:0;overflow-wrap:anywhere;color:#6b7280}.goods-receipt-wizard-review-lots li strong{text-align:right;color:#4b3627}
.goods-receipt-wizard-review-lots li{flex-wrap:wrap}.goods-receipt-wizard-review-lots li strong{margin-left:auto;overflow-wrap:anywhere}
@media(min-width:901px){.goods-receipt-wizard-step>header{grid-template-columns:minmax(0,1fr) auto;column-gap:24px}.goods-receipt-wizard-step>header>small,.goods-receipt-wizard-step>header>h4,.goods-receipt-wizard-step>header>p{grid-column:1}.goods-receipt-wizard-step>header>.goods-receipt-delete-group{grid-column:2;grid-row:1/4;align-self:center;justify-self:end;width:auto;min-height:40px;padding:8px 14px}.goods-receipt-wizard-identity{grid-template-columns:repeat(2,minmax(0,1fr))}.goods-receipt-wizard-identity .is-wide{grid-column:1/-1}.goods-receipt-wizard-totals{grid-template-columns:minmax(190px,.9fr) minmax(130px,.55fr) minmax(390px,1.55fr);align-items:center}.goods-receipt-wizard-totals>.goods-receipt-amount-card{align-self:stretch}}
body[data-member-theme="dark"] .goods-receipt-list-item,body[data-member-theme="dark"] .goods-receipt-invoice-fields,body[data-member-theme="dark"] .goods-receipt-line,body[data-member-theme="dark"] .goods-receipt-modal-footer,body[data-member-theme="dark"] .goods-receipt-superg-picker,body[data-member-theme="dark"] .goods-receipt-superg-order{background:rgba(30,30,32,.96)}body[data-member-theme="dark"] .goods-receipt-profile.is-detected{background:rgba(20,83,45,.3)}body[data-member-theme="dark"] .goods-receipt-profile.is-fallback{background:rgba(124,45,18,.28)}body[data-member-theme="dark"] .goods-receipt-profile.is-manual{background:rgba(30,58,138,.28)}
body[data-member-theme="dark"] .goods-receipt-editor{background:#171719}body[data-member-theme="dark"] .goods-receipt-empty strong{color:#f9fafb}body[data-member-theme="dark"] .goods-receipt-invoice-fields label span,body[data-member-theme="dark"] .goods-receipt-line-fields label span,body[data-member-theme="dark"] .goods-receipt-line-routing label span{color:#d1d5db}body[data-member-theme="dark"] .goods-receipt-line.is-ignored{background:#242426}
body[data-member-theme="dark"] .goods-receipt-wizard-progress button,body[data-member-theme="dark"] .goods-receipt-wizard-totals,body[data-member-theme="dark"] .goods-receipt-wizard-lot,body[data-member-theme="dark"] .goods-receipt-wizard-summary>div,body[data-member-theme="dark"] .goods-receipt-wizard-review-line{background:#242426;border-color:rgba(255,255,255,.11)}body[data-member-theme="dark"] .goods-receipt-wizard-step label>span,body[data-member-theme="dark"] .goods-receipt-wizard-review-line small,body[data-member-theme="dark"] .goods-receipt-wizard-add-line small,body[data-member-theme="dark"] .goods-receipt-wizard-lots>header small{color:#d1d5db}body[data-member-theme="dark"] .goods-receipt-wizard-add-line{border-color:rgba(255,255,255,.16)}
body[data-member-theme="dark"] .goods-receipt-wizard-review-lots{border-color:rgba(255,255,255,.11)}body[data-member-theme="dark"] .goods-receipt-wizard-review-lots li span{color:#d1d5db}body[data-member-theme="dark"] .goods-receipt-wizard-review-lots li strong{color:#f9fafb}
body[data-member-theme="dark"] .goods-receipt-manual-drafts{border-color:rgba(255,255,255,.16)}body[data-member-theme="dark"] .goods-receipt-manual-drafts small{color:#d1d5db}body[data-member-theme="dark"] .goods-receipt-manual-counter button{background:rgba(255,255,255,.1);color:#e5e7eb}body[data-member-theme="dark"] .goods-receipt-manual-counter output{color:#f9fafb}
body[data-member-theme="dark"] .goods-receipt-amount-card{background:#1f1f21;border-color:rgba(255,255,255,.11)}body[data-member-theme="dark"] .goods-receipt-amount-card>p{color:#f3f4f6}body[data-member-theme="dark"] .goods-receipt-amount-card>p span{color:#9ca3af}body[data-member-theme="dark"] .goods-receipt-segment{background:#252a33;border:1px solid rgba(255,255,255,.14)}body[data-member-theme="dark"] .goods-receipt-segment button{color:#b8c0cc}body[data-member-theme="dark"] .goods-receipt-segment button.is-active{background:#c2410c;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,190,150,.34),0 4px 12px rgba(194,65,12,.3)}body[data-member-theme="dark"] .goods-receipt-segment button:focus-visible{outline:3px solid rgba(241,90,41,.3);outline-offset:2px}
body[data-member-theme="dark"] .goods-receipt-calculated-total>div{background:#242426}body[data-member-theme="dark"] .goods-receipt-calculated-total>header small,body[data-member-theme="dark"] .goods-receipt-calculated-total>div span{color:#d1d5db}
body[data-member-theme="dark"] .goods-receipt-wizard-lot .goods-receipt-no-lot{background:#1f1f21;border-color:rgba(255,255,255,.12)}body[data-member-theme="dark"] .goods-receipt-wizard-lot .goods-receipt-no-lot.is-active,body[data-member-theme="dark"] .goods-receipt-undefined-lot{background:#3b3027}body[data-member-theme="dark"] .goods-receipt-wizard-lot .goods-receipt-no-lot strong{color:#f9fafb}body[data-member-theme="dark"] .goods-receipt-wizard-lot .goods-receipt-no-lot small,body[data-member-theme="dark"] .goods-receipt-undefined-lot>small{color:#d1d5db}
/* La coque admin sombre ne couvre pas les surfaces métier de la réception. */
body[data-member-theme="dark"] .goods-receipt-modal-header,
body[data-member-theme="dark"] .goods-receipt-modal-footer,
body[data-member-theme="dark"] .goods-receipt-document-panel{border-color:rgba(255,255,255,.12)}
body[data-member-theme="dark"] .goods-receipt-manual-modal .admin-modal-footer,
body[data-member-theme="dark"] .goods-receipt-supplier-modal .admin-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid rgba(255,255,255,.12);background:#171a20}
body[data-member-theme="dark"] .goods-receipt-modal-body,
body[data-member-theme="dark"] .goods-receipt-editor{color:#f5f7fb}
body[data-member-theme="dark"] .goods-receipt-empty{color:#b0b7c3}
body[data-member-theme="dark"] .goods-receipt-manual-body input,
body[data-member-theme="dark"] .goods-receipt-manual-body select,
body[data-member-theme="dark"] .goods-receipt-supplier-grid input,
body[data-member-theme="dark"] .goods-receipt-supplier-grid select,
body[data-member-theme="dark"] .goods-receipt-invoice-fields input,
body[data-member-theme="dark"] .goods-receipt-invoice-fields select,
body[data-member-theme="dark"] .goods-receipt-line-fields input,
body[data-member-theme="dark"] .goods-receipt-line-routing select,
body[data-member-theme="dark"] .goods-receipt-superg-picker select,
body[data-member-theme="dark"] .goods-receipt-wizard-step input,
body[data-member-theme="dark"] .goods-receipt-wizard-step select{color-scheme:dark;background:#101319;color:#f5f7fb;border-color:rgba(255,255,255,.18)}
body[data-member-theme="dark"] .goods-receipt-manual-body input:focus,
body[data-member-theme="dark"] .goods-receipt-manual-body select:focus,
body[data-member-theme="dark"] .goods-receipt-supplier-grid input:focus,
body[data-member-theme="dark"] .goods-receipt-supplier-grid select:focus,
body[data-member-theme="dark"] .goods-receipt-modal input:focus,
body[data-member-theme="dark"] .goods-receipt-modal select:focus{border-color:#ffad66;box-shadow:0 0 0 3px rgba(255,106,0,.16);outline:0}
body[data-member-theme="dark"] .goods-receipt-manual-body input:disabled,
body[data-member-theme="dark"] .goods-receipt-manual-body select:disabled,
body[data-member-theme="dark"] .goods-receipt-supplier-grid input:disabled,
body[data-member-theme="dark"] .goods-receipt-supplier-grid select:disabled,
body[data-member-theme="dark"] .goods-receipt-modal input:disabled,
body[data-member-theme="dark"] .goods-receipt-modal select:disabled{background:#15181e;color:#8f98a6;border-color:rgba(255,255,255,.1);opacity:1}
body[data-member-theme="dark"] .goods-receipt-manual-body input::placeholder,
body[data-member-theme="dark"] .goods-receipt-supplier-grid input::placeholder,
body[data-member-theme="dark"] .goods-receipt-modal input::placeholder{color:#7f8896}
body[data-member-theme="dark"] .goods-receipt-manual-body label>span,
body[data-member-theme="dark"] .goods-receipt-supplier-grid label>span,
body[data-member-theme="dark"] .goods-receipt-rate-input>span,
body[data-member-theme="dark"] .goods-receipt-lot-preview span,
body[data-member-theme="dark"] .goods-receipt-undefined-lot>span,
body[data-member-theme="dark"] .goods-receipt-wizard-summary span{color:#b0b7c3}
body[data-member-theme="dark"] .goods-receipt-manual-body small,
body[data-member-theme="dark"] .goods-receipt-supplier-body>small,
body[data-member-theme="dark"] .goods-receipt-lines-heading small,
body[data-member-theme="dark"] .goods-receipt-line>header small,
body[data-member-theme="dark"] .goods-receipt-superg-picker>small,
body[data-member-theme="dark"] .goods-receipt-superg-proposal small,
body[data-member-theme="dark"] .goods-receipt-superg-order small,
body[data-member-theme="dark"] .goods-receipt-wizard-step>header p{color:#b0b7c3}
body[data-member-theme="dark"] .goods-receipt-supplier-grid.is-accounting,
body[data-member-theme="dark"] .goods-receipt-ingredient-fields,
body[data-member-theme="dark"] .goods-receipt-superg-proposal{border-color:rgba(255,255,255,.12)}
body[data-member-theme="dark"] .goods-receipt-profile,
body[data-member-theme="dark"] .goods-receipt-invoice-fields,
body[data-member-theme="dark"] .goods-receipt-superg-picker,
body[data-member-theme="dark"] .goods-receipt-superg-order,
body[data-member-theme="dark"] .goods-receipt-line,
body[data-member-theme="dark"] .goods-receipt-wizard-totals,
body[data-member-theme="dark"] .goods-receipt-wizard-lot,
body[data-member-theme="dark"] .goods-receipt-wizard-review-line,
body[data-member-theme="dark"] .goods-receipt-wizard-summary>div,
body[data-member-theme="dark"] .goods-receipt-calculated-total>div{background:#1f232b;color:#f5f7fb;border-color:rgba(255,255,255,.14)}
body[data-member-theme="dark"] .goods-receipt-profile span,
body[data-member-theme="dark"] .goods-receipt-profile small{color:#b0b7c3}
body[data-member-theme="dark"] .goods-receipt-profile.is-detected strong{color:#86efac}
body[data-member-theme="dark"] .goods-receipt-profile.is-fallback strong{color:#fdba74}
body[data-member-theme="dark"] .goods-receipt-profile.is-manual strong{color:#93c5fd}
body[data-member-theme="dark"] .goods-receipt-reference-hint{background:#17233b;color:#cbd5e1}
body[data-member-theme="dark"] .goods-receipt-reference-hint strong{color:#93c5fd}
body[data-member-theme="dark"] .goods-receipt-reference-hint small{color:#b0b7c3}
body[data-member-theme="dark"] .goods-receipt-lot-preview,
body[data-member-theme="dark"] .goods-receipt-undefined-lot{background:#33271d;border-color:rgba(251,146,60,.25)}
body[data-member-theme="dark"] .goods-receipt-lot-preview strong,
body[data-member-theme="dark"] .goods-receipt-undefined-lot strong,
body[data-member-theme="dark"] .goods-receipt-wizard-review-line>div>strong,
body[data-member-theme="dark"] .goods-receipt-wizard-summary strong{color:#f5f7fb}
body[data-member-theme="dark"] .goods-receipt-ingredient-fields summary,
body[data-member-theme="dark"] .goods-receipt-wizard-step>header small{color:#ffad66}
body[data-member-theme="dark"] .goods-receipt-remove{background:rgba(244,63,94,.16);color:#fda4af}
body[data-member-theme="dark"] .goods-receipt-line-error,
body[data-member-theme="dark"] .goods-receipt-lot-balance:not(.is-valid){background:#3a1d23;color:#fda4af}
body[data-member-theme="dark"] .goods-receipt-lot-balance.is-valid{background:#163426;color:#86efac}
body[data-member-theme="dark"] .goods-receipt-step-blocker,
body[data-member-theme="dark"] .goods-receipt-line-result.is-error,
body[data-member-theme="dark"] .goods-receipt-manual-body small.is-error,
body[data-member-theme="dark"] .goods-receipt-superg-order small.is-error{color:#fda4af}
body[data-member-theme="dark"] .goods-receipt-line-result.is-success{color:#86efac}
body[data-member-theme="dark"] .goods-receipt-status{background:#2a3039;color:#d8dde6}
body[data-member-theme="dark"] .goods-receipt-status.is-ready{background:#3a2f16;color:#fde68a}
body[data-member-theme="dark"] .goods-receipt-status.is-applying{background:#172d4d;color:#93c5fd}
body[data-member-theme="dark"] .goods-receipt-status.is-partially_applied,
body[data-member-theme="dark"] .goods-receipt-status.is-error{background:#3a1d23;color:#fda4af}
body[data-member-theme="dark"] .goods-receipt-status.is-applied{background:#163426;color:#86efac}
body[data-member-theme="dark"] .goods-receipt-wizard-review-line>span{color:#fda4af}
body[data-member-theme="dark"] .goods-receipt-wizard-review-line>span.is-valid{color:#86efac}
body[data-member-theme="dark"] .goods-receipt-wizard-progress button{color:#b0b7c3}
body[data-member-theme="dark"] .goods-receipt-wizard-progress button b{background:#343a45;color:#d8dde6}
body[data-member-theme="dark"] .goods-receipt-wizard-progress button.is-active{background:#35241d;color:#fff;border-color:#f15a29;box-shadow:inset 0 0 0 1px rgba(241,90,41,.22)}
body[data-member-theme="dark"] .goods-receipt-wizard-progress button.is-active b{background:#c2410c;color:#fff}
body[data-member-theme="dark"] .goods-receipt-wizard-progress button:disabled{opacity:.58}
body[data-member-theme="dark"] .goods-receipt-segment button:disabled,
body[data-member-theme="dark"] .goods-receipt-manual-counter button:disabled{color:#7f8896;opacity:.68}
body[data-member-theme="dark"] .goods-receipt-yeast-summary,
body[data-member-theme="dark"] .goods-receipt-shipping-preview{color:#d8dde6}
body[data-member-theme="dark"] .goods-receipt-superg-order{background:#163426;border-color:rgba(134,239,172,.24)}
@media(max-width:900px){.goods-receipt-overlay{padding:0}.goods-receipt-modal{width:100vw;height:100dvh;max-width:none;border-radius:0}.goods-receipt-modal-body{grid-template-columns:1fr;overflow:auto}.goods-receipt-document-panel{height:44dvh;min-height:300px;border-right:0;border-bottom:1px solid rgba(74,53,37,.14)}.goods-receipt-editor{overflow:visible}.goods-receipt-invoice-fields,.goods-receipt-line-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.goods-receipt-wizard-lot{grid-template-columns:repeat(2,minmax(0,1fr))}.goods-receipt-wizard-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.goods-receipt-list-item{align-items:flex-start}.goods-receipt-list-meta small{display:none}.goods-receipt-modal-header{padding:12px 14px}.goods-receipt-modal-header .goods-receipt-status{display:none}.goods-receipt-modal-body{display:block;overflow:auto}.goods-receipt-document-panel{height:28dvh;min-height:190px}.goods-receipt-editor{padding:12px}.goods-receipt-profile{grid-template-columns:1fr}.goods-receipt-invoice-fields,.goods-receipt-line-fields,.goods-receipt-line-routing,.goods-receipt-wizard-identity,.goods-receipt-wizard-totals,.goods-receipt-wizard-lot,.goods-receipt-wizard-summary{grid-template-columns:1fr}.goods-receipt-wizard-identity .is-wide{grid-column:auto}.goods-receipt-wizard-progress{margin-right:-12px}.goods-receipt-wizard-progress button{min-width:78px}.goods-receipt-wizard-add-line,.goods-receipt-wizard-lots>header{align-items:stretch;flex-direction:column}.goods-receipt-wizard-add-line .btn,.goods-receipt-wizard-lots>header .btn{width:100%}.goods-receipt-manual-fields .is-wide{grid-column:auto}.goods-receipt-superg-picker{grid-template-columns:1fr}.goods-receipt-superg-proposal{align-items:stretch;flex-direction:column}.goods-receipt-superg-proposal .btn{width:100%}.goods-receipt-superg-order{align-items:stretch;flex-direction:column}.goods-receipt-superg-actions{display:grid;grid-template-columns:1fr}.goods-receipt-superg-actions .btn{width:100%;white-space:normal}.goods-receipt-line-fields .is-wide,.goods-receipt-line-routing .goods-receipt-target,.goods-receipt-lot-field{grid-column:auto}.goods-receipt-lot-control{grid-template-columns:1fr}.goods-receipt-lines-heading{align-items:center}.goods-receipt-lines-heading .btn{min-height:44px}.goods-receipt-amount-card,.goods-receipt-calculated-total{grid-template-columns:1fr}.goods-receipt-amount-card>header{align-items:stretch;flex-direction:column}.goods-receipt-amount-card>header .goods-receipt-segment{width:100%}.goods-receipt-vat-switch{width:100%}.goods-receipt-modal-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 12px;overflow:visible}.goods-receipt-modal-footer .btn{width:100%;min-height:44px;white-space:normal}.goods-receipt-modal-footer .btn-primary{grid-column:1/-1}.goods-receipt-footer-spacer{display:none}.goods-receipt-line>header small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}
@media(max-width:520px){.goods-receipt-create-actions{display:grid;grid-template-columns:1fr;width:100%}.goods-receipt-create-actions .btn{width:100%;min-height:44px}.goods-receipt-manual-modal,.goods-receipt-supplier-modal{width:calc(100vw - 24px)}.goods-receipt-manual-body,.goods-receipt-supplier-body{padding:16px}.goods-receipt-shipping-fields,.goods-receipt-supplier-grid{grid-template-columns:1fr}.goods-receipt-supplier-grid label.is-wide{grid-column:auto}.goods-receipt-manual-modal .admin-modal-footer{grid-template-columns:1fr 1fr}.goods-receipt-supplier-modal .admin-modal-footer{display:grid;grid-template-columns:1fr}.goods-receipt-supplier-modal .admin-modal-footer .btn{width:100%;min-height:44px}.goods-receipt-manual-modal .admin-modal-footer .btn-primary,.goods-receipt-supplier-modal .admin-modal-footer .btn-primary{grid-column:auto}}
