.context-open{overflow:hidden}.context-dialog{width:min(1120px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;overscroll-behavior:contain}.context-dialog::backdrop{background:rgba(12,32,41,.48)}.context-dialog>.dialog-head{position:sticky;top:0;background:#fff;z-index:3;padding:20px 24px;border-bottom:1px solid #dce5e8;margin:0}.context-dialog>p,.context-dialog>section,.context-dialog>#productContextBody,.context-dialog>#historyContextSlot,.context-dialog>#articleRowsTable{margin:18px 24px}.context-dialog>.dialog-actions{position:sticky;bottom:0;background:#fff;border-top:1px solid #dce5e8;margin:0;padding:14px 24px;z-index:3}.context-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 24px}.price-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 20px}.price-fact{padding:15px;border:1px solid #dce5e8;border-radius:12px;min-width:0}.price-fact span,.price-fact small{display:block;color:#536b77;line-height:1.5}.price-fact strong{display:block;font-size:24px;margin:7px 0;color:#183944;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.price-fact.planned{background:#eef8f6;border-color:#b8dcd5}.price-fact.planned strong{color:#116b60}.context-state{padding:12px;background:#f3f6f8;border-radius:8px;overflow-wrap:anywhere}.article-link{border:0;background:transparent;padding:0;color:#176c67;font-weight:700;text-decoration:underline;text-underline-offset:3px;white-space:normal;text-align:left;overflow-wrap:anywhere}#historyContext #historyView{padding:0;border:0;box-shadow:none}#historyContext .charts{grid-template-columns:1fr 1fr}#historyContext .section-head{display:none}#editDialog{width:min(980px,calc(100vw - 32px));max-height:calc(100dvh - 32px)}#editDialog>.dialog-head,#editDialog>.dialog-actions{position:sticky;background:#fff;z-index:4}#editDialog>.dialog-head{top:-30px;padding:12px 0}#editDialog>.dialog-actions{bottom:-30px;padding:12px 0}#discardEdits{width:min(560px,calc(100vw - 32px))}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #258cbd;outline-offset:3px}.metrics>div{padding:15px 20px}.metrics strong{font-size:25px}.table-wrap{overscroll-behavior-x:contain}#productRows .article{position:sticky;left:0;background:#fff;z-index:1;min-width:160px;max-width:270px}#productRows .chosen .article{background:#eef8f6}td{font-variant-numeric:tabular-nums}.context-dialog .table-wrap{max-width:calc(100% - 48px)}.context-dialog #historyView .table-wrap,.context-dialog #editPreview .table-wrap{max-width:100%}@media(max-width:760px){.context-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.context-dialog>.dialog-head{padding:14px 16px}.context-dialog>p,.context-dialog>#productContextBody,.context-dialog>#historyContextSlot,.context-dialog>#articleRowsTable{margin:14px 16px}.price-facts{grid-template-columns:1fr}.price-fact strong{font-size:22px}.context-toolbar{margin:14px 16px}.context-dialog>.dialog-actions{padding:12px 16px}#historyContext .charts{grid-template-columns:1fr}.context-dialog .table-wrap{max-width:calc(100% - 32px)}h2{overflow-wrap:anywhere}}

#productContext>.dialog-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between}#productContextActions{margin:0;flex:1}.context-dialog .dialog-actions button{white-space:normal}#articleRowsTable td:nth-child(3){position:sticky;left:0;background:#fff}#articleRowsTable th{position:sticky;top:0;background:#f3f6f8}#articleRowsTable{max-height:55dvh;overflow:auto}
