.product-notes-dialog{box-sizing:border-box;width:min(1050px,94vw);max-height:92vh;border:1px solid #b7c6d2;border-radius:12px;padding:22px;background:var(--um-surface,#fff);color:var(--um-text,#203449);font:15px system-ui;overflow:auto}
.product-notes-dialog::backdrop{background:#10273899}
.product-notes-dialog [hidden]{display:none!important}
.product-notes-heading,.product-notes-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.product-notes-actions{justify-content:flex-start;margin:12px 0}
.product-notes-dialog button,.product-notes-dialog input,.product-notes-dialog select,.product-notes-dialog textarea{font:inherit;border:1px solid #b7c6d2;border-radius:6px;min-height:42px;padding:8px;background:var(--um-surface,#fff);color:inherit;box-sizing:border-box}
.product-notes-dialog label{display:flex;flex-direction:column;gap:6px}
.product-notes-dialog textarea{width:100%;min-height:85px}
.product-notes-dialog form{display:grid;gap:12px;margin:16px 0}
.product-notes-dialog form button{justify-self:start}
.product-notes-filters{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end}
.product-note{padding:14px;border:1px solid #c4d1dd;border-radius:8px;background:var(--um-surface,#fff);color:var(--um-text,#203449);margin:10px 0}
.product-note.is-historical{background:#f6eafa;border-left:5px solid #9554a8;color:#3d2451}
.product-note p,.product-note-event{white-space:pre-wrap;overflow-wrap:anywhere}
.product-note small{display:block;color:#4b5c6b}
.product-notes-alert,.has-product-note-history{padding:10px;border-left:4px solid #a35b21;background:#fff2d8!important;color:#713b12!important;white-space:pre-wrap;overflow-wrap:anywhere}
.product-notes-list{max-height:480px;overflow:auto}
.product-notes-archive-item{border-bottom:1px solid #c4d1dd;margin:16px 0;padding-bottom:16px}
.product-note-event{padding:8px;border-left:3px solid #8299ac;background:#eef2f6;color:#263e50}
.product-notes-check,.product-notes-dialog .product-notes-check,#cutter-view .product-notes-check{display:flex;flex-direction:row;align-items:center;gap:10px}
.product-notes-check input{width:20px;flex:0 0 20px}
.product-notes-dialog [role=alert],.product-notes-dialog [data-notes-message]{color:#a13325;white-space:pre-wrap}
.product-notes-dialog [data-notes-message][data-kind=success]{color:#146b3c}
.product-notes-dialog button:disabled{opacity:.55}
.product-notes-dialog button{max-width:100%;white-space:normal}
@media(max-width:600px){.product-notes-dialog{padding:14px;width:96vw}.product-notes-filters{grid-template-columns:1fr}.product-notes-dialog h2{font-size:19px}}
