/* Keep the dense price table independent from the admin editor on normal desktops. */
@media (min-width:981px) and (max-width:2200px){
  .is-admin .content{grid-template-columns:minmax(0,1fr)}
  .is-admin .editor{width:100%;max-width:none}
  .is-admin .table-wrap table{width:100%;min-width:0;table-layout:fixed}
  .is-admin .table-wrap th,.is-admin .table-wrap td{padding:12px 11px;white-space:normal;overflow-wrap:anywhere}
}

@media (max-width:760px){
  .shell{padding:18px 12px 24px}
  header{padding-bottom:18px}
  .header-meta{padding:0}
  .toolbar{padding:14px 0}
  .tabs{width:100%;overflow-x:auto;padding-bottom:2px}
  .tabs a{flex:0 0 auto}
  .filter-form{padding:12px;margin-bottom:14px}
  .table-title{padding:16px}
  .table-title .retention{display:none}
  .table-wrap{overflow:visible;border:none;background:transparent;box-shadow:none}
  .table-wrap table,.is-admin .table-wrap table{display:block;width:100%;min-width:0;table-layout:auto}
  .table-wrap thead{display:none}
  .table-wrap tbody{display:grid;gap:10px}
  .table-wrap tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;background:#fff;border:1px solid #dbe2e7;border-radius:7px;overflow:hidden}
  .table-wrap td,.is-admin .table-wrap td{display:block;min-width:0;padding:9px 12px;border:0;border-bottom:1px solid #eef1f3;white-space:normal;overflow-wrap:anywhere}
  .table-wrap td::before{content:attr(data-label);display:block;color:#7b8994;font-size:11px;font-weight:650;margin-bottom:4px}
  .table-wrap td:first-child,.table-wrap .note,.table-wrap .record-action{grid-column:1/-1}
  .table-wrap td:first-child{padding-top:12px;background:#f8fafb}
  .table-wrap td:first-child::before{display:none}
  .table-wrap .record-action,.table-wrap td:last-child{border-bottom:0}
  .table-wrap td.empty{grid-column:1/-1;padding:42px 12px;text-align:center}
  .table-wrap td.empty::before{display:none}
  .table-wrap .note{max-width:none;overflow:visible;text-overflow:clip}
  .table-wrap .quote{font-size:16px}
  .pager{background:#fff;border:1px solid #dbe2e7;border-top:0;border-radius:0 0 7px 7px}
  .is-admin .editor{padding:16px}
  .is-admin .price-grid{grid-template-columns:1fr}
}
