.order-week-groups { display: grid; gap: 18px; }
.order-week-group { overflow: hidden; border: 1px solid var(--line); border-left: 5px solid #91a0b5; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.order-week-group.order-week-current { border-left-color: var(--blue); }
.order-week-group.order-week-previous { border-left-color: #d58c00; }
.order-week-group.order-week-history { border-left-color: #7d8ba0; }
.order-week-summary,
.order-store-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; }
.order-week-summary::-webkit-details-marker,
.order-store-summary::-webkit-details-marker { display: none; }
.order-week-summary { min-height: 76px; padding: 16px 20px; background: #f7f9fc; }
.order-week-current > .order-week-summary { background: #edf4ff; }
.order-week-previous > .order-week-summary { background: #fff7df; }
.order-week-heading { display: grid; gap: 3px; }
.order-week-heading strong { font-size: 19px; }
.order-week-heading small { color: var(--muted); font-size: 11px; font-weight: 600; }
.order-group-count { flex: 0 0 auto; padding: 5px 9px; border-radius: 5px; color: var(--blue); background: #fff; font-size: 11px; font-weight: 800; }
.order-week-content { display: grid; gap: 13px; padding: 16px; border-top: 1px solid var(--line); }
.order-group-empty { margin: 0; padding: 18px; color: var(--muted); text-align: center; }
.order-store-group { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.order-store-summary { min-height: 56px; padding: 11px 14px; background: #f8fafc; }
.order-store-summary strong { font-size: 14px; }
.order-store-content { display: grid; gap: 12px; padding: 13px; border-top: 1px solid var(--line); }
.order-week-content > .order-disclosure,
.order-store-content > .order-disclosure { margin-bottom: 0; }
.order-delivery-date-editor { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.order-delivery-date-editor label { min-width: 230px; }
.order-delivery-date-editor input[type="date"] { min-width: 180px; }
.admin-order-edit-action { margin-top: 12px; }
.admin-edit-workflow-notice { margin: 16px 20px; border-color: #efc44f; background: #fff8dc; color: #765300; }
.admin-edit-quick-actions { justify-content: flex-end; margin: 0 0 12px; }
.quick-missing-panel { border-left: 4px solid #f59e0b; }
.quick-missing-table td:last-child,
.quick-missing-table th:last-child { width: 190px; text-align: right; }
.quick-missing-empty { padding: 18px 0; color: #15803d; font-weight: 700; }
.removed-item-evidence { background: #f8fafc; color: #7b8798; }
.removed-item-evidence td:first-child,
.removed-item-evidence .removed-item-name strong,
.removed-item-evidence td:nth-child(3),
.removed-item-evidence td:nth-child(4) { text-decoration: line-through; text-decoration-thickness: 2px; }
.removed-item-evidence .removed-item-name { display: table-cell; }
.removed-item-evidence .removed-item-name strong,
.removed-item-evidence .removed-item-name small { display: block; }
.removed-item-evidence .removed-item-label,
.removed-item-evidence .removed-item-excluded {
    color: #b42318;
    font-weight: 800;
}
.partial-load-hint { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 800; line-height: 1; }
.partial-load-multiplier { letter-spacing: 0; }
.partial-load-icon { display: block; width: 16px; height: 16px; }
.partial-load-editor { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: #765300; font-size: 11px; font-weight: 800; }
.partial-load-quantity { width: 82px; min-width: 82px; padding: 7px 8px; border-color: #d58c00; text-align: center; }
.reception-load-status { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 8px; border-radius: 4px; font-size: 10px; font-weight: 800; }
.reception-load-missing { color: #9f1239; background: #fff1f2; border: 1px solid #fecdd3; }
.reception-resolution-panel { display: grid; gap: 12px; margin: 16px 0; border-color: #f0b429; background: #fffaf0; color: var(--ink); }
.reception-resolution-panel h3,
.reception-resolution-panel p { margin: 0; }
.reception-resolution-item { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(260px, 1.3fr); gap: 12px; margin: 0; padding: 12px; border: 1px solid #ead8a2; border-radius: 6px; background: #fff; }
.reception-resolution-item legend { grid-column: 1 / -1; padding: 0 5px; font-size: 12px; font-weight: 800; }
.reception-resolution-field { display: grid; gap: 6px; font-size: 10px; font-weight: 800; }
.reception-resolution-field select { width: 100%; min-width: 0; }
.billing-submit-pending { cursor: wait; opacity: .72; }

@media (max-width: 720px) {
    .order-week-summary { min-height: 68px; padding: 13px 14px; }
    .order-week-heading strong { font-size: 16px; }
    .order-week-heading small { display: none; }
    .order-week-content { padding: 10px; }
    .order-store-content { padding: 9px; }
    .order-delivery-date-editor { align-items: stretch; }
    .order-delivery-date-editor label,
    .order-delivery-date-editor input[type="date"] { width: 100%; min-width: 0; }
    .quick-missing-table thead { display: none; }
    .quick-missing-table tr,
    .quick-missing-table td { display: block; width: 100%; }
    .quick-missing-table td:last-child { width: 100%; text-align: left; }
    .removed-item-evidence .removed-item-name { display: table-cell; }
    .reception-resolution-item { grid-template-columns: 1fr; }
    .reception-resolution-item legend { grid-column: auto; }
}
