.receiving-form,.receiving-detail{max-width:1080px;margin-inline:auto}.receiving-auto{margin:0;font-size:.875rem}.receiving-issues{border:0;min-width:0;margin:0;padding:0}.receiving-issues legend{margin-bottom:12px}.receiving-issue-choice{gap:24px}.receiving-issue-choice .check{min-height:44px}.receiving-issue-details{margin-top:12px}.receiving-more>summary{cursor:pointer;min-height:44px;font-weight:600}.receiving-more>summary>span{margin:6px 0 0;font-size:.875rem;font-weight:400;display:block}.receiving-more-body{margin-top:20px}.receiving-section-head{justify-content:space-between;gap:var(--space-3);flex-wrap:wrap}.receiving-badges{gap:var(--space-2);flex-wrap:wrap}.receiving-facts{gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.receiving-facts dt{color:var(--text-muted);font-size:.875rem}.receiving-facts dd{overflow-wrap:anywhere;margin:4px 0 0;font-weight:500}.receiving-note{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.receiving-list{gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:0;list-style:none;display:grid}.receiving-list-link{gap:var(--space-2);padding:var(--space-4);color:inherit;flex-direction:column;height:100%;text-decoration:none;display:flex}.receiving-list-link:hover{background:var(--surface-muted)}.receiving-list-link strong{overflow-wrap:anywhere}.receiving-search{align-items:center;gap:var(--space-2);display:flex}.receiving-search .input{min-width:0}.receiving-item-editor{border:1px solid var(--border);padding:var(--space-4);gap:var(--space-3);border-radius:8px;flex-direction:column;display:flex}.receiving-quantity-grid{gap:var(--space-3);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.receiving-gallery{gap:var(--space-4);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.receiving-file{border:1px solid var(--border);border-radius:8px;min-width:0;overflow:hidden}.receiving-file-preview{aspect-ratio:4/3;background:var(--surface-muted);cursor:pointer;width:100%;color:var(--brand);border:0;place-items:center;padding:0;display:grid}.receiving-file-preview img{object-fit:cover;width:100%;height:100%}.receiving-file-preview>span{align-items:center;gap:var(--space-2);flex-direction:column;display:flex}.receiving-file-body{padding:var(--space-3)}.receiving-file-name{overflow-wrap:anywhere;min-width:0;font-size:.875rem}.receiving-upload-actions{gap:var(--space-3);flex-wrap:wrap;align-items:end}.receiving-save-bar{justify-content:flex-end;gap:var(--space-3);padding:var(--space-3);background:var(--surface);border:1px solid var(--border);z-index:2;border-radius:8px;display:flex;position:sticky;bottom:0}@media (width<=720px){.receiving-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.receiving-list{grid-template-columns:minmax(0,1fr)}.receiving-quantity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.receiving-facts{gap:var(--space-3)}.receiving-save-bar{bottom:calc(72px + env(safe-area-inset-bottom))}}@media (width<=420px){.receiving-gallery{grid-template-columns:minmax(0,1fr)}}.receiving-arrived{font-size:var(--text-lg,1.125rem);white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.photo-swiper{color:#fff;background:#000;border:0;width:auto;max-width:none;height:auto;max-height:none;margin:0;padding:0;inset:0;overflow:hidden}.photo-swiper::backdrop{background:#000}.photo-swiper-top{z-index:2;padding:calc(env(safe-area-inset-top,0px) + 10px) 14px 10px;background:linear-gradient(#0000008c,#0000);justify-content:space-between;align-items:center;font-weight:600;display:flex;position:absolute;inset:0 0 auto}.photo-swiper-close{color:#fff;cursor:pointer;background:#ffffff1f;border:0;border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.photo-swiper-track{scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior:contain;width:100%;height:100%;display:flex;overflow:auto hidden}.photo-swiper-track::-webkit-scrollbar{display:none}.photo-swiper-slide{scroll-snap-align:center;scroll-snap-stop:always;flex:0 0 100%;place-items:center;height:100%;display:grid}.photo-swiper-slide img{object-fit:contain;-webkit-user-select:none;user-select:none;max-width:100%;max-height:100%}.photo-swiper-wait{color:#cbd5e1}.photo-swiper-arrow{z-index:2;color:#fff;cursor:pointer;background:#ffffff24;border:0;border-radius:50%;place-items:center;width:52px;height:52px;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.photo-swiper-arrow[data-side=left]{left:12px}.photo-swiper-arrow[data-side=right]{right:12px}@media (pointer:coarse){.photo-swiper-arrow{display:none}}.photo-swiper-caption{z-index:2;padding:18px 16px calc(env(safe-area-inset-bottom,0px) + 16px);background:linear-gradient(#0000,#000000b3);margin:0;font-size:.9375rem;position:absolute;inset:auto 0 0}.photo-swiper-caption span{font-weight:700}html:has(.photo-swiper[open]){overflow:hidden}.receiving-thumbs{gap:var(--space-2);scroll-snap-type:x proximity;scrollbar-width:thin;padding-bottom:4px;display:flex;overflow-x:auto}.receiving-thumb{border:1px solid var(--border);background:var(--surface-muted);width:112px;height:112px;color:var(--brand);cursor:pointer;scroll-snap-align:start;border-radius:10px;flex:none;place-items:center;padding:0;display:grid;position:relative;overflow:hidden}.receiving-thumb img{object-fit:cover;width:100%;height:100%}.receiving-thumb-unsent{background:var(--warning,#d97706);border:2px solid #fff;border-radius:50%;width:12px;height:12px;position:absolute;top:6px;right:6px}.receiving-thumb-error{color:#fff;background:#000000b3;padding:2px 4px;font-size:.6875rem;position:absolute;inset:auto 0 0}@media (width>=1024px){.receiving-thumb{width:140px;height:140px}}
