.notification-toolbar{display:flex;gap:.5rem;align-items:end;flex-wrap:wrap;margin:.5rem 0;min-width:0}
.customer-purchase-warning{padding:.75rem 1rem;border-left:4px solid #ad6900;border-radius:6px;background:#fff2d7;color:#663c00;font-weight:600}
.customer-purchase-stale{color:#915500;font-weight:700}
.sales-opportunities-dialog{width:min(760px,96vw);max-height:90dvh}
.opportunity-tabs{display:flex;gap:.4rem;flex-wrap:wrap;margin:.5rem 0}
.opportunity-tabs button{border:1px solid #b9c9c3;background:white;color:#153d34;border-radius:999px;padding:.6rem .85rem;min-height:44px;cursor:pointer}
.opportunity-tabs button[aria-pressed="true"]{background:#155b49;color:white;border-color:#155b49}
.opportunity-list{display:grid;gap:.65rem;max-height:50dvh;overflow:auto;margin:.65rem 0}
.opportunity-card{border:1px solid #d5e1dc;border-radius:10px;padding:.75rem;display:grid;gap:.65rem;background:#fff}
.opportunity-card strong,.opportunity-card small{display:block}.opportunity-card small{color:#526960;margin-top:.25rem}
.opportunity-actions{display:flex;gap:.45rem;flex-wrap:wrap;align-items:center}
.opportunity-actions select{min-height:44px;max-width:100%;flex:1 1 12rem}
.opportunity-policy-dialog{width:min(650px,96vw)}
.notification-toolbar>input{flex:1 1 12rem;min-width:0;max-width:100%}
.notification-toolbar label{min-width:0;flex:0 1 12rem}
.notification-toolbar select{min-width:0;max-width:100%;flex:1 1 10rem}
.notification-choices{max-height:16rem;overflow:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.25rem}
.notification-choices label{display:flex;align-items:center;gap:.5rem;min-height:44px;overflow-wrap:anywhere}
.price-notification-dialog{width:min(1150px,calc(100vw - 1rem));max-width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem);box-sizing:border-box;padding:1rem;overflow:auto}
.price-notification-dialog form,.price-notification-dialog section,.price-notification-dialog details{min-width:0;max-width:100%}
.price-notification-dialog .dialog-heading{flex-wrap:wrap;gap:.5rem}
.price-notification-dialog h2{min-width:0;flex:1;overflow-wrap:anywhere}
.price-notification-dialog .table-scroll{width:100%;max-height:45dvh;overflow:auto;overscroll-behavior:contain}
.price-notification-dialog table input:not([type=checkbox]),.price-notification-dialog table select{min-width:7rem;width:100%;box-sizing:border-box}
.price-notification-dialog table input[data-barcode]{min-width:11rem}
.price-notification-dialog table th,.price-notification-dialog table td{word-break:normal;white-space:normal;min-width:5rem}
.price-notification-dialog table th:first-child,.price-notification-dialog table td:first-child{min-width:2.5rem}
.price-notification-dialog small,.price-notifications-workspace td small{display:block;overflow-wrap:anywhere}
.notification-notes{white-space:pre-wrap;overflow-wrap:anywhere}
.notification-customer-list{display:grid;gap:.5rem;max-height:60dvh;overflow:auto;margin-top:.5rem}
.notification-customer-list button{text-align:left;white-space:normal;overflow-wrap:anywhere}
.price-notification-dialog input[type=checkbox],.notification-choices input[type=checkbox]{width:18px;min-width:18px;height:18px;margin:0}
.price-notification-dialog [data-products-selected]{display:flex;flex-wrap:wrap;gap:.25rem}
@media(max-width:600px){.price-notification-dialog .form-grid{grid-template-columns:minmax(0,1fr)}.price-notification-dialog .form-grid:has([name=notificationDate]){grid-template-columns:repeat(2,minmax(0,1fr))}.price-notification-dialog .form-grid:has([name=notificationDate])>label:has([name=title]),.price-notification-dialog .form-grid:has([name=notificationDate])>label:has([name=kind]){grid-column:1/-1}.notification-toolbar>*{max-width:100%}.page-heading:has(+.workspace-card .notification-toolbar) .dialog-actions{flex-wrap:wrap}}
