/* Compact only the per-shop sales rule editor. Preserve input handlers and values. */
section:has(>div>label>select[aria-label^="达标店铺"]){display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px 16px!important;padding:12px 14px!important;margin-top:10px!important;align-items:end}
section:has(>div>label>select[aria-label^="达标店铺"])>div:first-child{grid-template-columns:minmax(180px,1.2fr) minmax(160px,.8fr)!important;gap:14px!important;max-width:720px}
section:has(>div>label>select[aria-label^="达标店铺"])>div:nth-child(2){gap:16px!important;margin:0!important;min-height:34px}
section:has(>div>label>select[aria-label^="达标店铺"])>div:first-child>label{display:grid;gap:4px;font-size:13px}
section:has(>div>label>select[aria-label^="达标店铺"]) input:not([type=checkbox]),section:has(>div>label>select[aria-label^="达标店铺"]) select{height:34px!important;padding:5px 9px!important;font-size:13px!important}
section:has(>div>label>select[aria-label^="达标店铺"]) button{height:34px!important;padding:5px 10px!important;font-size:13px!important;white-space:nowrap}
section:has(>div>label>select[aria-label^="达标店铺"])>section.bs-section{grid-column:1/-1;display:flex!important;align-items:flex-end!important;flex-wrap:wrap!important;gap:10px 14px!important;padding:10px 0 0!important;margin:0!important;border:0!important;border-top:1px solid #eaded4!important;border-radius:0!important;background:transparent!important}
section:has(>div>label>select[aria-label^="达标店铺"])>section.bs-section>label{width:100px;flex:0 0 100px;gap:4px!important;font-size:13px}
section:has(>div>label>select[aria-label^="达标店铺"])>section.bs-section>strong:first-of-type{font-size:13px;align-self:center}
section:has(>div>label>select[aria-label^="达标店铺"])>section.bs-section>div{grid-template-columns:minmax(130px,1fr) 72px auto!important;gap:8px!important;flex:0 1 320px;min-width:275px}
section:has(>div>label>select[aria-label^="达标店铺"])>section.bs-section>div label{gap:4px!important;font-size:13px}
section:has(>div>label>select[aria-label^="达标店铺"])>section.bs-section>strong:last-child{margin-left:auto;font-size:13px;line-height:34px;white-space:nowrap}
@media(max-width:800px){section:has(>div>label>select[aria-label^="达标店铺"]){grid-template-columns:1fr!important;gap:8px!important}section:has(>div>label>select[aria-label^="达标店铺"])>div:first-child{max-width:none}section:has(>div>label>select[aria-label^="达标店铺"])>div:nth-child(2){justify-content:flex-end!important}section:has(>div>label>select[aria-label^="达标店铺"])>section.bs-section>div{flex-grow:1}}
@media(max-width:480px){section:has(>div>label>select[aria-label^="达标店铺"])>div:first-child{grid-template-columns:1fr 1fr!important;gap:8px!important}section:has(>div>label>select[aria-label^="达标店铺"])>section.bs-section>div{min-width:0;flex-basis:100%}section:has(>div>label>select[aria-label^="达标店铺"])>section.bs-section>strong:last-child{margin-left:0}}
