#supplyOrderNoticesDialog{width:min(1320px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90vh;padding:0;overflow:hidden}
#supplyOrderNoticesDialog>.settings-form{display:flex;flex-direction:column;gap:12px;padding:22px;max-height:90vh;box-sizing:border-box;min-width:0}
#supplyOrderNoticesTitle{font-size:22px;line-height:1.3;flex-shrink:0}
#supplyOrderNoticesDescription{font-size:14px;color:#64748b}
.notice-filters{display:flex;gap:12px;align-items:end;flex-shrink:0}.notice-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;color:#53657b}.notice-filters label:first-child{flex:1;min-width:0}.notice-filters label:last-child{flex:0 0 210px}.notice-filters input,.notice-filters select{font-size:14px;padding:10px 12px}
#supplyOrderNoticesSummary{font-size:13px;color:#475569;margin:0;flex-shrink:0}
#supplyOrderNoticesBody{overflow:auto;min-height:0;flex:1 1 auto;overscroll-behavior:contain;padding-right:4px}
.notice-group{margin:0 0 14px;border:1px solid #e1e7ef;border-radius:8px;overflow:hidden;background:#fff}.notice-group summary{display:flex;align-items:center;gap:10px;padding:12px 14px;cursor:pointer;font-size:14px;font-weight:700;color:#334155;background:#f8fafc}.notice-group summary:before{content:'▸';flex-shrink:0}.notice-group[open] summary:before{content:'▾'}.notice-group summary span{flex:1;overflow-wrap:anywhere}.notice-group summary strong{font-size:12px;border-radius:20px;padding:3px 10px;background:#fff;flex-shrink:0}.notice-group-cancelled summary{background:#fff1f2;color:#9f1239}.notice-group-moved summary{background:#fffbeb;color:#854d0e}
.notice-group-instructions{padding:10px 14px;font-size:13px;line-height:1.5}.notice-group-instructions p{margin:0 0 6px}.notice-group-instructions p:last-child{margin-bottom:0}.notice-source{font-size:12px;color:#64748b;overflow-wrap:anywhere}.notice-label-warning{color:#9f1239;font-weight:600}
.notice-table-wrap{overflow:auto}.notice-orders-table{width:100%;min-width:850px;border-collapse:collapse;table-layout:fixed}.notice-orders-table th,.notice-orders-table td{padding:9px 12px;font-size:13px;line-height:1.4;vertical-align:top;border-top:1px solid #e8edf4;overflow-wrap:anywhere;text-transform:none;letter-spacing:normal}.notice-orders-table th{background:#f8fafc;font-size:11px;color:#64748b}.notice-orders-table th:nth-child(1){width:12%}.notice-orders-table th:nth-child(2){width:34%}.notice-orders-table th:nth-child(3){width:13%}.notice-orders-table th:nth-child(4){width:17%}.notice-orders-table th:nth-child(5){width:12%}.notice-orders-table th:nth-child(6){width:12%}.notice-orders-table td strong{font-weight:500;display:block}.notice-orders-table td small{display:block;margin-top:3px;color:#64748b;font-size:12px}.notice-order-id{font-weight:600;font-variant-numeric:tabular-nums}.notice-orders-table tbody tr:hover{background:#f8fafc}.notice-label-printed{display:inline-block;font-size:11px;padding:3px 6px;border-radius:4px;background:#fff1f2;color:#9f1239}.notice-no-results{padding:24px;text-align:center;font-size:14px;color:#64748b}
#supplyOrderNoticesDismissHint{font-size:12px;line-height:1.5;color:#64748b;flex-shrink:0}#supplyOrderNoticesError:empty{display:none}#supplyOrderNoticesDialog .dialog-actions{flex-shrink:0;position:static;padding:0;margin:0;justify-content:flex-end}
@media(max-width:650px){#supplyOrderNoticesDialog>.settings-form{padding:14px;gap:10px}#supplyOrderNoticesTitle{font-size:18px}.notice-filters{flex-wrap:wrap}.notice-filters label:first-child{flex-basis:100%}.notice-filters label:last-child{flex:1}.notice-group summary{font-size:13px}}

/* Keep short notices content-sized; browser heading/paragraph margins otherwise
   add large gaps even though the surrounding form already has a flex gap. */
#supplyOrderNoticesDialog>.settings-form{gap:8px;padding:16px;height:auto;min-height:0}
#supplyOrderNoticesDialog>.settings-form>h2,#supplyOrderNoticesDialog>.settings-form>p{margin:0}
#supplyOrderNoticesTitle{font-size:20px}
#supplyOrderNoticesBody{flex:0 1 auto}
.notice-filters[hidden]{display:none}
.notice-filters label{margin:0}
.notice-group{margin-bottom:10px}
.notice-group:last-child{margin-bottom:0}
.notice-group summary{padding:9px 12px}
.notice-group-instructions{padding:8px 12px}
.notice-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;flex-shrink:0}
.notice-footer #supplyOrderNoticesDismissHint{flex:1 1 350px;margin:0;font-size:11px}
.notice-footer #supplyOrderNoticesError{flex:1 0 100%;margin:0;order:2}
.notice-footer .dialog-actions{margin-left:auto!important}
@media(max-width:650px){#supplyOrderNoticesTitle{font-size:18px}.notice-footer #supplyOrderNoticesDismissHint{flex-basis:100%}}
