.mf-page {
  --mf-ink:#101828;
  --mf-muted:#586579;
  --mf-line:#dde6f2;
  --mf-soft:#f1f6fc;
  --mf-selected:#e2edff;
  --mf-blue:#0860ee;
  padding: 28px 32px 34px;
  font-size:16px;
  color:var(--mf-ink);
}
.mf-page[style*="display: none"] { display:none }
.mf-page [hidden] { display:none !important }
.mf-page h2,.mf-page h3,.mf-page p { margin:0 }
.mf-heading,.mf-order-head {display:flex;align-items:center;justify-content:space-between;gap:16px}
.mf-heading h2 { font-size:clamp(23px,2.2vw,30px);font-weight:740;letter-spacing:-.025em }
.mf-link {padding:4px 0;background:none;border:0;color:var(--mf-blue);font:inherit;font-weight:600;cursor:pointer}
.mf-tabs {display:flex;gap:24px;margin-top:20px;border-bottom:1px solid var(--mf-line);overflow-x:auto}
.mf-tabs button {border:0;border-bottom:3px solid transparent;background:none;color:#344256;font:inherit;font-size:15px;padding:13px 18px;white-space:nowrap;cursor:pointer}
.mf-tabs button[aria-current="true"] {border-bottom-color:var(--mf-blue);color:var(--mf-blue);font-weight:700}
.mf-content {padding-top:38px}
.mf-grid {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:21px;align-items:start}
.mf-directory {min-width:0}
#mfFeatureSearch {
  width:min(100%,375px);
  min-height:46px;
  margin-bottom:24px;
  padding-left:44px;
  font-size:17px;
  background:#fff url('/assets/group-live-clean-icons/search.svg') no-repeat 14px center / 20px;
}
.mf-table-wrap {max-height:min(57vh,510px);overflow:auto;border:1px solid var(--mf-line);border-radius:9px}
#view-merchant-feature .mf-table {border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;font-size:17px;margin:0}
#view-merchant-feature .mf-table th,#view-merchant-feature .mf-table td {padding:0 16px;text-align:left;height:54px;border-bottom:1px solid var(--mf-line);background:#fff;color:var(--mf-ink);vertical-align:middle}
#view-merchant-feature .mf-table th {font-weight:700;background:var(--mf-soft);position:sticky;top:0;z-index:1}
.mf-table th:first-child {width:45%}
.mf-table th:nth-child(2) {width:32%}
.mf-table th:last-child {width:23%}
#view-merchant-feature .mf-table tr:last-child td {border-bottom:0}
.mf-table tr[data-mf-product] {cursor:pointer}
#view-merchant-feature .mf-table tr[data-mf-product]:hover td {background:#f4f8fe}
#view-merchant-feature .mf-table tr.is-selected td {background:var(--mf-selected);box-shadow:inset 0 1px #91b9ff,inset 0 -1px #91b9ff}
#view-merchant-feature .mf-table tr.is-selected td:first-child {border-radius:6px 0 0 6px;box-shadow:inset 1px 0 #91b9ff,inset 0 1px #91b9ff,inset 0 -1px #91b9ff}
#view-merchant-feature .mf-table tr.is-selected td:last-child {border-radius:0 6px 6px 0;box-shadow:inset -1px 0 #91b9ff,inset 0 1px #91b9ff,inset 0 -1px #91b9ff}
.mf-table td button {font:inherit;text-align:left;color:inherit;border:0;background:none;padding:12px 0;cursor:pointer;overflow-wrap:anywhere}
.mf-inspector {min-width:0;border:1px solid var(--mf-line);border-radius:10px;background:#fff;padding:22px 24px}
.mf-inspector h3 {font-size:24px;line-height:1.35}
.mf-inspector .mf-price {font-size:30px;font-weight:740;color:var(--mf-blue);margin-top:16px}
.mf-price span {font-size:15px;font-weight:500;color:var(--mf-muted);margin-left:8px}
.mf-includes {padding-top:19px}
.mf-includes p {font-size:16px;color:var(--mf-muted);margin-bottom:7px}
.mf-includes ul,.mf-plans {list-style:none;padding:0;margin:0}
.mf-includes li {display:flex;align-items:center;gap:10px;padding:7px 0;font-size:16px}
.mf-includes img {width:16px;height:16px;object-fit:contain}
.mf-inspector hr {border:0;border-top:1px solid var(--mf-line);margin:20px 0}
.mf-grant-form h4 {font-size:21px;margin:0 0 16px}
.mf-person {display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center}
.mf-person .select {width:100%;max-width:none}
.mf-grant-form fieldset {margin:15px 0 12px;display:flex;flex-wrap:wrap;gap:17px;border:0;padding:0}
.mf-grant-form fieldset label {display:flex;gap:6px;align-items:center;white-space:nowrap}
.mf-grant-form input[type="radio"] {accent-color:var(--mf-blue)}
.mf-days {display:grid;align-items:center;position:relative;width:196px}
.mf-days input {width:100%;min-height:46px;padding-right:42px}
.mf-days span {position:absolute;right:16px;pointer-events:none}
.mf-grant-form button[type="submit"] {margin-top:24px;min-height:50px;width:100%;background:var(--mf-blue);font-size:17px}
.mf-grant-form p[role="status"] {margin-top:10px;color:var(--mf-muted);line-height:1.5}
.mf-merchant-state {margin-top:7px;color:var(--mf-muted);font-size:13px;line-height:1.6}
.mf-plans {margin-top:14px}
.mf-plans li {display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--mf-line)}
.mf-product-actions {margin-top:15px}
.mf-price-config {margin-top:24px;padding:12px 0;border-top:1px solid var(--mf-line)}
.mf-price-config summary {cursor:pointer;color:#354967;font-weight:640}
#adminPayConfig {margin-top:13px}
.mf-authorization {max-width:650px}
.mf-switches {margin-top:28px}
.mf-switches h3,.mf-order-head h3 {font-size:18px}
.mf-switches .toolbar,.mf-order-head p {margin-top:10px}
#adminFeatureSearch {max-width:290px}
#featureSwitches {overflow-x:auto;padding-top:12px}
#mfOrder {max-width:850px}
#mfOrderList {padding:0;list-style:none;margin:20px 0}
#mfOrderList li {border-bottom:1px solid var(--mf-line);padding:8px 0;display:flex;align-items:center;gap:8px}
#mfOrderList li[draggable="true"] {cursor:grab}
#mfOrderList li span {flex:1}
#mfOrderList li.drag-over {background:var(--mf-selected)}
.mf-page button:focus-visible,.mf-page input:focus-visible,.mf-page select:focus-visible {outline:2px solid var(--mf-blue);outline-offset:2px}
.mf-page .mf-muted {color:var(--mf-muted);line-height:1.55}
@media(max-width:1120px) {
  .mf-page {padding:20px 16px 26px}
  .mf-grid {gap:14px}
  #view-merchant-feature .mf-table {font-size:14px}
  #view-merchant-feature .mf-table td,#view-merchant-feature .mf-table th {padding-left:9px;padding-right:9px}
  .mf-inspector {padding:18px}
}
@media(max-width:900px) {
  .mf-content {padding-top:20px}
  .mf-grid {grid-template-columns:1fr}
  .mf-table-wrap {max-height:380px}
}
.mf-includes img {background:#0871ee;border-radius:4px;padding:3px;box-sizing:border-box}
.mf-person .select {min-height:42px}
