.nomenclature-group-auto{background:#e8f3ed;border:0;border-radius:7px;color:#176e50;padding:8px;white-space:nowrap;min-height:38px;font-size:12px;max-width:100%}
#group-auto-dialog,#auto-writeoff-offer-dialog{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}
#group-auto-form,#auto-writeoff-offer-form{padding:20px}
.auto-offer-rows{max-height:40dvh;overflow:auto;border:1px solid #dce6e0;border-radius:10px;margin:16px 0}
.auto-offer-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid #e0e8e3}
.auto-offer-row:last-child{border-bottom:0}.auto-offer-row small{display:block;color:#63766d;margin-top:4px}.auto-offer-row span{white-space:nowrap}.auto-offer-error{color:#bc3434}
.auto-article-label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px}.auto-article-label button{border:0;background:none;color:#176e50;white-space:nowrap;padding:5px 8px;font-size:12px;min-height:32px}.auto-article-label button:disabled{opacity:.45;cursor:default}#writeoff-article-dialog{width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}#writeoff-article-error:empty{display:none}#writeoff-article-dialog .dialog-footer{gap:8px}
@media(max-width:720px){.auto-article-label button{min-height:44px}#writeoff-article-dialog .dialog-footer button{min-width:0;white-space:nowrap;padding:12px 10px;font-size:13px}}
@media(max-width:720px){.nomenclature-group-auto{min-height:44px}#group-auto-form,#auto-writeoff-offer-form{padding:14px}.auto-offer-row{align-items:flex-start}.auto-offer-row b{overflow-wrap:anywhere}#group-auto-form .dialog-footer,#auto-writeoff-offer-form .dialog-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:8px}#group-auto-form .dialog-footer button,#auto-writeoff-offer-form .dialog-footer button{min-width:0;width:auto;white-space:nowrap;font-size:13px;padding:12px 10px}}
