
.status.status-pending{
 background:#fff1d6;color:#8a4b00;
}
.status.status-purchase{
 background:#dbeafe;color:#1e40af;
}
html.erp-wide-list main{
 width:100%;max-width:none;
 padding-left:clamp(16px,2vw,40px);
 padding-right:clamp(16px,2vw,40px);
}
html.erp-wide-list main .panel{
 min-width:0;max-width:100%;
}
html.erp-wide-list .erp-list-bottom{
 width:100%;max-width:100%;
 overflow-x:scroll;
}
html.erp-wide-list .erp-list-bottom table{
 width:100%;min-width:1500px;
}
html.erp-wide-list .erp-list-bottom th{
 white-space:nowrap;
}
.erp-list-top{
 width:100%;max-width:100%;height:20px;
 overflow-x:scroll;overflow-y:hidden;
 background:#edf2f8;border:1px solid #d5dfec;
 border-radius:6px;margin:8px 0;
}
.erp-list-top[hidden]{display:none}
.erp-list-top>div{height:1px}
.erp-list-top,.erp-list-bottom{
 scrollbar-width:auto;
 scrollbar-color:#8193ad #edf2f8;
}
.erp-list-top::-webkit-scrollbar,
.erp-list-bottom::-webkit-scrollbar{height:14px}
.erp-list-top::-webkit-scrollbar-track,
.erp-list-bottom::-webkit-scrollbar-track{background:#edf2f8}
.erp-list-top::-webkit-scrollbar-thumb,
.erp-list-bottom::-webkit-scrollbar-thumb{
 background:#8193ad;border:3px solid #edf2f8;border-radius:8px;
}

/* access-admin-ui-recovery-v1 */
main:has(form[action="/admin/access"]) .list-filters{
  display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(150px,1fr)) auto;
  gap:16px;align-items:end;padding:20px;
}
main:has(form[action="/admin/access"]) .filter-actions{
  display:flex;gap:12px;align-items:center;min-height:44px;
}
main:has(form[action="/admin/access"]) .role-inline{margin:0}
main:has(form[action="/admin/access"]) .role-inline button,
main:has(form[action="/admin/access"]) .role-form button{
  border:1px solid #b9c9ed;background:#fff;color:#304e99;
  border-radius:7px;padding:8px 12px;font:inherit;font-weight:700;
  cursor:pointer;white-space:nowrap;
}
main:has(form[action="/admin/access"]) .role-inline button.secondary{background:#eef3ff}
main:has(form[action="/admin/access"]) .role-risk{min-width:160px}
main:has(form[action="/admin/access"]) .role-risk summary{
  cursor:pointer;color:#8a4b00;font-weight:700;white-space:nowrap;
}
main:has(form[action="/admin/access"]) .role-form{
  display:grid;gap:8px;margin-top:8px;padding:12px;
  border:1px solid #f0d29c;border-radius:8px;background:#fffaf1;
}
main:has(form[action="/admin/access"]) .role-form label{display:grid;gap:4px}
main:has(form[action="/admin/access"]) .role-form input{
  min-width:220px;border:1px solid #cbd4e1;border-radius:6px;padding:8px;
}
main:has(form[action="/admin/access"]) .role-form button.danger{border-color:#d99;color:#a82828}
main:has(form[action="/admin/access"]) .risk-stack{display:grid;gap:8px}
@media(max-width:1100px){
  main:has(form[action="/admin/access"]) .list-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  main:has(form[action="/admin/access"]) .list-filters{grid-template-columns:1fr}
}
