.admin-reseller-page .reseller-toolbar{display:flex;justify-content:flex-end;gap:12px;margin-bottom:18px}
.admin-reseller-page [data-rs-content]>.reseller-form{padding:24px;border:1px solid #e3e9f0;background:#fff;border-radius:12px}
.reseller-base-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:center;margin-bottom:8px}
.reseller-level-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:16px;align-items:end;padding:16px;margin-bottom:12px;background:#f8fafd;border:1px solid #e4eaf3;border-radius:9px}
.reseller-price-policy{padding:16px 18px;margin-bottom:18px;background:#f1f6ff;color:#243e68;border:1px solid #dce7f9;border-radius:9px;font-size:14px;line-height:1.65}
.reseller-price-policy strong{font-weight:600}.reseller-price-policy p{margin:5px 0 0}
.reseller-price-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start;padding:20px;margin-bottom:16px;border:1px solid #dce4ef;background:#fff;border-radius:10px;min-width:0}
.reseller-price-heading{grid-column:1/-1;display:flex;align-items:center;gap:16px;padding-bottom:14px;border-bottom:1px solid #e9edf3;min-width:0}
.reseller-price-heading h3{margin:0 auto 0 0;font-size:15px;line-height:1.5;font-weight:600;color:#26334b}
.reseller-price-heading>.reseller-check{margin:0;font-size:14px;min-height:44px}
.reseller-price-heading>.btn,.reseller-level-row>.btn{min-height:44px}
.reseller-price-target,.reseller-price-value{grid-column:span 2;min-width:0}
.reseller-price-row .field{min-width:0;margin:0}.reseller-price-row .field>input,.reseller-price-row .field>select{width:100%;min-height:44px;box-sizing:border-box}
.reseller-price-row .field>small{font-size:12px;line-height:1.6;color:#58657a}
.reseller-price-row [hidden]{display:none!important}
.reseller-price-row .admin-entity-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:0}
.reseller-price-row .admin-entity-controls .btn{min-height:44px}
.reseller-price-row .admin-entity-controls small{flex-basis:100%;overflow-wrap:anywhere;line-height:1.5}
.reseller-price-example{margin:10px 0 0;font-size:13px;line-height:1.6;color:#2e527c;background:#f6f9fd;border-radius:6px;padding:9px 12px;overflow-wrap:anywhere}
.reseller-form fieldset>h2{margin-top:10px;margin-bottom:0}
.reseller-form fieldset>.reseller-help{margin-top:-10px;margin-bottom:0}
.reseller-form fieldset>[data-rs-add-level],.reseller-form fieldset>[data-rs-add-price]{justify-self:start}
.reseller-dialog{max-width:min(680px,calc(100vw - 32px))}
.admin-reseller-page .reseller-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.admin-reseller-page [data-rs-content]>.table-scroll,.admin-reseller-page [data-rs-content]>div>[data-rs-list]{background:#fff}
@media(max-width:1150px){.reseller-price-row{grid-template-columns:repeat(2,minmax(0,1fr))}.reseller-base-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-reseller-page .reseller-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.admin-reseller-page [data-rs-content]>.reseller-form{padding:16px}.reseller-base-fields,.reseller-level-row,.reseller-price-row{grid-template-columns:1fr}.reseller-level-row,.reseller-price-row{padding:14px}.reseller-price-target,.reseller-price-value{grid-column:1}.reseller-price-heading{flex-wrap:wrap;gap:8px 12px}.reseller-price-heading h3{width:100%}.reseller-price-heading>.reseller-check{margin-right:auto}.reseller-price-policy{padding:14px}.reseller-dialog .dialog-body{padding:16px}.admin-reseller-page .reseller-toolbar{justify-content:stretch}.admin-reseller-page .reseller-toolbar>.btn{width:100%}}
