/* [1.5.1082] As peças das Configurações da Distribuição em todo o painel. Pedido do titular (01/12/2026, com a imagem
   dessa página): “o design que usou aqui deve ser o mesmo em outros lugares, como nas configurações do plugin, e outros
   lados que têm design M3 mas não completo”.
   - Bolachas cheias com a cor do assunto, números grandes com menos e mais, interruptores que enchem de cor, escolhas
     lado a lado, listas em etiquetas e a barra que diz o que falta guardar.
   - Quem as monta é assets/js/admin/settings-kit-m3.js, por cima dos campos verdadeiros (o mesmo nome e o mesmo valor).
     Sem o script, ficam os campos de sempre.
   Tudo começa por “.mx”, menos o que melhora as peças de panel-pages-m3.css. */

/* ============ As bolachas dos cartões e das secções ============ */
body.rmbz-m3 .m3-card-icon{width:50px;height:50px;border-radius:0;background:var(--tone,var(--m3-brand));color:var(--tone-on,var(--m3-onpc));clip-path:var(--m3-cookie);transition:transform .7s var(--m3-spring)}
body.rmbz-m3 .m3-card:hover>.m3-card-head>.m3-card-icon{border-radius:0;transform:rotate(30deg)}
body.rmbz-m3 .m3-card-icon>.ms{transition:transform .7s var(--m3-spring)}
body.rmbz-m3 .m3-card:hover>.m3-card-head>.m3-card-icon>.ms{transform:rotate(-30deg)}
body.rmbz-m3 #wpbody-content .m3-card-text :is(h2,h3){font-size:18px;font-weight:820}
body.rmbz-m3 #wpbody-content .m3-card-text p{font-size:13.5px}
body.rmbz-m3 .m3-tile-icon{width:48px;height:48px;border-radius:0;background:var(--tone,var(--m3-brand));color:var(--tone-on,var(--m3-onpc));clip-path:var(--m3-cookie);transition:transform .7s var(--m3-spring)}
body.rmbz-m3 .m3-tile:hover .m3-tile-icon{border-radius:0;transform:rotate(30deg)}
body.rmbz-m3 .m3-row-icon{border-radius:0;background:var(--tone,var(--m3-t3));color:var(--tone-on,#fff);clip-path:var(--m3-cookie)}
body.rmbz-m3 .m3-section-head :is(h2,h3)>.ms:first-child,
body.rmbz-m3 #wpbody-content :is(h2,h3).mx-head>.ms:first-child{display:inline-grid;place-items:center;flex:none;width:46px;height:46px;background:var(--tone,var(--m3-brand));color:var(--tone-on,var(--m3-onpc));font-size:23px;clip-path:var(--m3-cookie);transition:transform .7s var(--m3-spring)}
body.rmbz-m3 #wpbody-content :is(h2,h3).mx-head{display:flex;align-items:center;gap:12px;color:var(--m3-t1);font-size:18px;font-weight:820;line-height:1.3;font-variation-settings:'wdth' 108}
body.rmbz-m3 #wpbody-content .m3-section-head :is(h2,h3){gap:12px}

/* Um aviso: a bolacha na cor do estado e o texto na mesma cor. */
body.rmbz-m3 .m3-note{align-items:center;gap:16px;padding:16px 18px;border-radius:28px;font-size:14px}
body.rmbz-m3 .m3-note>.ms{display:grid;place-items:center;width:52px;height:52px;background:var(--tone,var(--m3-info));color:var(--tone-on,#fff);font-size:26px;clip-path:var(--m3-cookie)}
body.rmbz-m3 #wpbody-content .m3-note strong{font-size:16px;font-weight:820}

/* ============ Os campos de texto ============ */
body.rmbz-m3 #wpbody-content :is(.mx-form,.m3-field) :is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=url],input[type=password],input[type=tel],textarea):not(.mx-in):not([hidden]){box-sizing:border-box;width:100%;max-width:none;min-height:54px;margin:0;padding:0 18px;border:0;border-radius:18px;background:var(--m3-s2);box-shadow:inset 0 0 0 1.5px var(--m3-olv);color:var(--m3-t1);font:650 15px/1.5 var(--m3-font);transition:box-shadow .2s,border-radius .35s var(--m3-spring-soft),background .2s}
body.rmbz-m3 #wpbody-content :is(.mx-form,.m3-field) textarea:not(.mx-in):not([hidden]){min-height:110px;padding:14px 18px;resize:vertical}
body.rmbz-m3 #wpbody-content :is(.mx-form,.m3-field) :is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=url],input[type=password],input[type=tel],textarea):not(.mx-in):focus{border-radius:12px;background:var(--m3-card);outline:0;box-shadow:inset 0 0 0 2px var(--m3-pri)}
body.rmbz-m3 #wpbody-content :is(.mx-form,.m3-field) :is(input,textarea)::placeholder{color:var(--m3-t3);font-weight:500}
body.rmbz-m3 #wpbody-content .mx-form .m3c{min-height:54px;border-radius:18px}
body.rmbz-m3 #wpbody-content .mx-form :is(.description,.m3-hint,small.mx-say){display:block;margin:8px 0 0;color:var(--m3-t2);font-size:13.5px;font-style:normal;line-height:1.5}
body.rmbz-m3 #wpbody-content .mx-form :is(.mx-count-wrap,.mx-pct)~:is(.description,.m3-hint){text-align:center;text-wrap:balance}

/* ============ Números grandes, com menos e mais ============ */
body.rmbz-m3 .mx-count{box-sizing:border-box;display:grid;grid-template-columns:60px minmax(0,1fr) 60px;align-items:center;gap:8px;width:100%;min-width:0;padding:8px;border-radius:28px;background:var(--tone-soft,var(--m3-brand-soft));transition:box-shadow .2s,border-radius .35s var(--m3-spring-soft)}
body.rmbz-m3 .mx-count:focus-within{border-radius:16px;box-shadow:inset 0 0 0 2px var(--m3-pri)}
body.rmbz-m3 .mx-count:has(input:user-invalid){background:var(--m3-danger-soft);box-shadow:inset 0 0 0 2px var(--m3-danger)}
body.rmbz-m3 .mx-count:has(input:disabled){opacity:.5}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-step{display:grid;place-items:center;width:60px;height:60px;min-height:0;margin:0;padding:0;border:0;border-radius:30px;background:var(--tone,var(--m3-brand));color:var(--tone-on,var(--m3-onpc));cursor:pointer;transition:border-radius .4s var(--m3-spring),background .2s,transform .3s var(--m3-spring)}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-step:hover:not(:disabled){border-radius:18px;background:var(--tone-ink,var(--m3-t1));color:#fff}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-step:active:not(:disabled){transform:scale(.94)}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-step:disabled{opacity:.35;cursor:default}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-step:focus-visible{outline:2px solid var(--m3-pri);outline-offset:2px}
body.rmbz-m3 .mx-step .ms{font-size:28px}
body.rmbz-m3 .mx-big{display:flex;align-items:baseline;justify-content:center;gap:8px;min-width:0;color:var(--m3-t1);cursor:text}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-big input.mx-in{box-sizing:content-box;width:calc(var(--len,2)*.66em + 2px);max-width:calc(100% - var(--unit,0px));min-width:0;min-height:60px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0;color:inherit;font:850 34px/60px var(--m3-font);font-variant-numeric:tabular-nums;font-variation-settings:'wdth' 112;text-align:center;appearance:textfield;-moz-appearance:textfield}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-big input.mx-in::-webkit-inner-spin-button,
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-big input.mx-in::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}
body.rmbz-m3 .mx-big b{flex:none;max-width:55%;font-size:15.5px;font-weight:800;line-height:1.2}
/* Num espaço pequeno (uma grelha de três), o número encolhe antes de se cortar. */
body.rmbz-m3 .mx-count-wrap{display:block;width:100%;min-width:0;container:mxcount/inline-size}
@container mxcount (max-width:270px){
  body.rmbz-m3 .mx-count{grid-template-columns:46px minmax(0,1fr) 46px;gap:4px;padding:6px}
  body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-step{width:46px;height:46px}
  body.rmbz-m3 .mx-step .ms{font-size:24px}
  body.rmbz-m3 .mx-big{flex-direction:column;align-items:center;gap:0;padding:4px 0}
  body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-big input.mx-in{max-width:100%;min-height:40px;font-size:26px;line-height:40px}
  body.rmbz-m3 .mx-big b{max-width:100%;font-size:12.5px;text-align:center}
}

/* Uma percentagem: o número e a barra, com a parte na cor do assunto. */
body.rmbz-m3 .mx-pct{display:flex;gap:3px;width:100%;height:16px;margin:10px 0 0}
body.rmbz-m3 .mx-pct i{flex:var(--w,1) 1 0;min-width:0;border-radius:5px;background:var(--tone,var(--m3-brand));transition:flex-grow .45s var(--m3-spring-soft)}
body.rmbz-m3 .mx-pct i+i{background:var(--m3-s4)}
body.rmbz-m3 .mx-pct i:first-child{border-radius:8px 5px 5px 8px}
body.rmbz-m3 .mx-pct i:last-child{border-radius:5px 8px 8px 5px}
body.rmbz-m3 .mx-pct i[hidden]{display:none}
body.rmbz-m3 .mx-pct i:only-child,body.rmbz-m3 .mx-pct i:has(+[hidden]){border-radius:8px}

/* ============ Interruptores: o cartão inteiro muda de cor ============ */
body.rmbz-m3 .m3-switch{position:relative;gap:16px;min-height:72px;padding:14px 18px;border-radius:26px;background:var(--m3-s2)}
/* No telemóvel, o WordPress muda a forma das etiquetas dos formulários: aqui ficam sempre em linha. */
body.rmbz-m3 #wpbody-content .m3-switch{display:flex}
body.rmbz-m3 #wpbody-content .m3-switch[hidden]{display:none}
body.rmbz-m3 .m3-switch:hover{border-radius:18px}
body.rmbz-m3 .m3-switch:has(input:checked){background:var(--m3-success-soft);color:var(--m3-success-ink)}
body.rmbz-m3 .m3-switch.is-danger{background:var(--m3-s2);color:var(--m3-t1)}
body.rmbz-m3 .m3-switch.is-danger:has(input:checked){background:var(--m3-danger-soft);color:var(--m3-danger-ink)}
body.rmbz-m3 .m3-switch:has(input:checked) .m3-switch-text small,body.rmbz-m3 .m3-switch.is-danger .m3-switch-text small{color:inherit}
body.rmbz-m3 .m3-switch.is-danger:not(:has(input:checked)) .m3-switch-text small{color:var(--m3-t2)}
body.rmbz-m3 .m3-switch-track{width:64px;height:38px;border-radius:19px}
body.rmbz-m3 .m3-switch-track::after{top:10px;left:10px;width:18px;height:18px}
body.rmbz-m3 .m3-switch input:checked+.m3-switch-track{background:var(--m3-success)}
body.rmbz-m3 .m3-switch.is-danger input:checked+.m3-switch-track{background:var(--m3-danger)}
body.rmbz-m3 .m3-switch input:checked+.m3-switch-track::after{top:5px;left:31px;width:28px;height:28px;background:#fff}
body.rmbz-m3 .m3-switch-text{flex:1;color:var(--m3-t1);font-size:15px;font-weight:750}
body.rmbz-m3 .m3-switch:has(input:checked) .m3-switch-text{color:inherit}
body.rmbz-m3 .m3-switch-text small{font-size:13px}
body.rmbz-m3 .mx-state{font-size:13px;font-style:normal;font-weight:750;opacity:.85}

/* ============ Escolhas: a que está escolhida enche com a cor ============ */
body.rmbz-m3 .mx-seg{display:grid;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));gap:4px;width:100%;min-width:0;padding:8px;border-radius:26px;background:var(--m3-s2);box-sizing:border-box}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-seg button{min-width:0;min-height:52px;margin:0;padding:6px 10px;border:0;border-radius:12px;background:var(--m3-s4);color:var(--m3-t1);font:750 14px/1.25 var(--m3-font);overflow-wrap:anywhere;cursor:pointer;transition:border-radius .4s var(--m3-spring),background .2s,color .2s}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-seg button:first-child{border-radius:20px 12px 12px 20px}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-seg button:last-child{border-radius:12px 20px 20px 12px}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-seg button:hover{background:var(--tone-soft,var(--m3-brand-soft));color:var(--tone-ink,var(--m3-brand-ink))}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-seg button[aria-checked=true]{border-radius:20px;background:var(--tone,var(--m3-brand));color:var(--tone-on,var(--m3-onpc))}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-seg button:focus-visible{outline:2px solid var(--m3-pri);outline-offset:2px}
body.rmbz-m3 .mx-seg.is-off{opacity:.5;pointer-events:none}
body.rmbz-m3 .mx-choice-group{display:flex;flex-wrap:wrap;gap:8px;width:100%}
body.rmbz-m3 #wpbody-content .mx-choice-group>.mx-choice{flex:1 1 var(--mx-choice,220px)}
body.rmbz-m3 #wpbody-content .mx-choice{position:relative;display:flex;align-items:flex-start;gap:12px;min-width:0;min-height:56px;margin:0!important;padding:16px 18px;border:0;border-radius:24px;background:var(--m3-s2);color:var(--m3-t1);font-size:14px;line-height:1.5;cursor:pointer;transition:border-radius .4s var(--m3-spring),background .2s,color .2s}
body.rmbz-m3 #wpbody-content .mx-choice:hover{border-radius:16px;background:var(--m3-s3)}
body.rmbz-m3 #wpbody-content .mx-choice>input{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;margin:0;border:0;opacity:0;cursor:pointer}
body.rmbz-m3 .mx-choice>.ms{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:14px;background:var(--m3-card);box-shadow:inset 0 0 0 2px var(--m3-t3);color:transparent;font-size:18px;transition:background .2s,border-radius .35s var(--m3-spring)}
body.rmbz-m3 #wpbody-content .mx-choice:has(>input:checked){border-radius:16px;background:var(--tone,var(--m3-brand));color:var(--tone-on,var(--m3-onpc))}
body.rmbz-m3 #wpbody-content .mx-choice:has(>input:checked) :is(strong,small,span:not(.ms)){color:inherit}
body.rmbz-m3 .mx-choice>input:checked~.ms{border-radius:9px;background:rgba(255,255,255,.92);box-shadow:none;color:var(--m3-t1)}
body.rmbz-m3 .mx-choice:has(>input:focus-visible){outline:2px solid var(--m3-pri);outline-offset:2px}
body.rmbz-m3 .mx-choice:has(>input:disabled){opacity:.5}
body.rmbz-m3 .mx-choice>.mx-choice-text{flex:1;min-width:0;padding-top:3px}

/* ============ Listas em etiquetas (a lista verdadeira fica na caixa escondida) ============ */
body.rmbz-m3 .mx-list{display:flex;flex-direction:column;gap:10px;min-width:0}
body.rmbz-m3 .mx-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-add .m3-btn{min-height:54px;padding:0 22px 0 16px;border-radius:27px;background:var(--m3-t1);color:var(--m3-brand)}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-add .m3-btn:hover{border-radius:16px}
body.rmbz-m3 #wpbody-content .mx-chips{display:flex;flex-wrap:wrap;gap:6px;max-height:264px;margin:0;padding:0;overflow-y:auto;list-style:none;overscroll-behavior:contain}
body.rmbz-m3 #wpbody-content .mx-chips:empty{display:none}
body.rmbz-m3 #wpbody-content .mx-chips li{display:inline-flex;align-items:center;gap:4px;max-width:100%;min-height:40px;margin:0;padding:0 4px 0 14px;border-radius:20px;background:var(--tone-soft,var(--m3-brand-soft));color:var(--tone-ink,var(--m3-brand-ink));font-size:14px;font-weight:750}
body.rmbz-m3 .mx-chips li>span:first-child{min-width:0;overflow-wrap:anywhere}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-chips button{display:grid;place-items:center;flex:none;width:32px;height:32px;min-height:0;margin:0;padding:0;border:0;border-radius:16px;background:transparent;color:inherit;cursor:pointer;transition:border-radius .35s var(--m3-spring),background .2s}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-chips button:hover{border-radius:10px;background:var(--m3-danger);color:#fff}
body.rmbz-m3 .mx-chips .ms{font-size:18px}
body.rmbz-m3 .mx-none{padding:18px 16px;border-radius:20px;background:var(--m3-s2);color:var(--m3-t2);font-size:14px;font-weight:650;text-align:center}
body.rmbz-m3 .mx-total{color:var(--m3-t2);font-size:13px;font-weight:700}

/* ============ As secções de uma página de definições ============ */
body.rmbz-m3 #wpbody-content .mx-nav button{display:inline-flex;align-items:center;gap:7px;min-height:42px;margin:0;padding:0 16px;border:0;border-radius:21px;background:transparent;color:var(--m3-t2);font:650 13.5px/1.2 var(--m3-font);white-space:nowrap;cursor:pointer;transition:border-radius .4s var(--m3-spring),background .2s}
body.rmbz-m3 #wpbody-content .mx-nav button:hover{border-radius:13px;background:rgba(255,255,255,.7);color:var(--m3-t1)}
body.rmbz-m3 #wpbody-content .mx-nav button[aria-selected=true]{border-radius:13px;background:var(--m3-t1);color:var(--m3-brand)}
body.rmbz-m3 .mx-set[hidden]{display:none}
body.rmbz-m3 .mx-set-head{display:flex;align-items:center;gap:16px;margin:0 0 14px;padding:18px 20px;border-radius:32px;background:var(--m3-card);box-shadow:var(--m3-shadow)}
body.rmbz-m3 .mx-set-icon{display:grid;place-items:center;flex:none;width:64px;height:64px;background:var(--tone,var(--m3-brand));color:var(--tone-on,var(--m3-onpc));clip-path:var(--m3-cookie)}
body.rmbz-m3 .mx-set-icon .ms{font-size:31px}
body.rmbz-m3 .mx-set-text{flex:1;min-width:0}
body.rmbz-m3 #wpbody-content .mx-set-text h2{margin:0;padding:0;border:0;color:var(--m3-t1);font:820 24px/1.2 var(--m3-font);font-variation-settings:'wdth' 108}
body.rmbz-m3 #wpbody-content .mx-set-text p{max-width:1100px;margin:4px 0 0;color:var(--m3-t2);font-size:14px;line-height:1.5}
/* Dois cartões por linha; o último, quando fica sozinho, ocupa a linha toda. */
body.rmbz-m3 .mx-grid{display:flex;flex-wrap:wrap;gap:14px;align-items:stretch;margin:0 0 14px}
body.rmbz-m3 .mx-grid>.m3-card{display:flex;flex:1 1 max(min(100%,380px),calc(50% - 7px));flex-direction:column;margin:0}
body.rmbz-m3 .mx-grid>.m3-card.is-wide{flex-basis:100%}
body.rmbz-m3 .mx-body{display:flex;flex:1;flex-direction:column;gap:10px;min-width:0}
body.rmbz-m3 #wpbody-content .mx-body>:is(.description,p){margin:0}
body.rmbz-m3 #wpbody-content .mx-body>br{display:none}
body.rmbz-m3 .mx-bare{flex:1 1 100%;min-width:0}
body.rmbz-m3 .mx-set+.mx-set{margin-top:26px}

/* ============ Quadros de números e de passos: cada um com a sua cor ============ */
body.rmbz-m3 #wpbody-content :is(.omz-kpis,.omz-cards,.omz-dl-grid,.omz-play-stats,.omz-steps,.omz-rules){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px;margin:14px 0}
body.rmbz-m3 #wpbody-content :is(.omz-kpi,.omz-cards>div,.omz-dl-item,.omz-play-stat,.omz-step,.omz-rule){margin:0;padding:20px;border:0;border-radius:26px;background:var(--m3-info-soft);color:var(--m3-info-ink);font-size:13.5px;line-height:1.5;text-align:center;box-shadow:none}
body.rmbz-m3 #wpbody-content :is(.omz-kpi,.omz-cards>div,.omz-dl-item,.omz-play-stat,.omz-step,.omz-rule):nth-child(4n+2){background:var(--m3-success-soft);color:var(--m3-success-ink)}
body.rmbz-m3 #wpbody-content :is(.omz-kpi,.omz-cards>div,.omz-dl-item,.omz-play-stat,.omz-step,.omz-rule):nth-child(4n+3){background:var(--m3-violet-soft);color:var(--m3-violet-ink)}
body.rmbz-m3 #wpbody-content :is(.omz-kpi,.omz-cards>div,.omz-dl-item,.omz-play-stat,.omz-step,.omz-rule):nth-child(4n+4){background:var(--m3-warning-soft);color:var(--m3-warning-ink)}
body.rmbz-m3 #wpbody-content :is(.omz-kpi,.omz-cards>div,.omz-dl-item,.omz-play-stat,.omz-step,.omz-rule) :is(b,strong){display:block;margin:0 0 4px;color:var(--m3-t1);font-size:17px;font-weight:820;line-height:1.3;font-variation-settings:'wdth' 108}
body.rmbz-m3 #wpbody-content :is(.omz-kpi b,.omz-cards strong,.omz-play-stat strong){margin:2px 0;font-size:24px;font-weight:850}
body.rmbz-m3 #wpbody-content :is(.omz-kpi,.omz-cards>div,.omz-dl-item,.omz-play-stat,.omz-step,.omz-rule) :is(p,small,span){margin:0;color:inherit;font-size:13.5px;opacity:1}
body.rmbz-m3 #wpbody-content :is(.omz-kpi,.omz-cards>div,.omz-dl-item,.omz-play-stat,.omz-step,.omz-rule) br{display:none}

/* ============ Formulários do WordPress (form-table): cada linha é um cartão ============ */
body.rmbz-m3 #wpbody-content .mx-form .form-table,
body.rmbz-m3 #wpbody-content .mx-form .form-table>tbody{display:block;width:100%;margin:0}
body.rmbz-m3 #wpbody-content .mx-form .form-table>tbody{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:12px}
body.rmbz-m3 #wpbody-content .mx-form .form-table>tbody>tr{display:flex;flex-direction:column;gap:12px;min-width:0;padding:18px;border:0;border-radius:26px;background:var(--m3-s1,var(--m3-s2));box-shadow:inset 0 0 0 1.5px var(--m3-olv)}
body.rmbz-m3 #wpbody-content .mx-form .form-table>tbody>tr[hidden],body.rmbz-m3 #wpbody-content .mx-form .form-table>tbody>tr[style*="display: none"],body.rmbz-m3 #wpbody-content .mx-form .form-table>tbody>tr[style*="display:none"]{display:none}
body.rmbz-m3 #wpbody-content .mx-form .form-table>tbody>tr>:is(th,td){display:block;width:auto;margin:0;padding:0;border:0}
body.rmbz-m3 #wpbody-content .mx-form .form-table>tbody>tr>th{color:var(--m3-t1);font-size:16px;font-weight:820;line-height:1.3}

/* ============ A barra de guardar ============ */
body.rmbz-m3 #wpbody-content .mx-save{box-sizing:border-box;position:relative;z-index:20;display:flex;align-items:center;gap:10px;width:100%;margin:14px 0;padding:10px 10px 10px 24px;border-radius:36px;background:var(--m3-t1);color:#fff;box-shadow:0 18px 40px -18px rgba(31,27,19,.7);transition:border-radius .4s var(--m3-spring)}
body.rmbz-m3 #wpbody-content .mx-save:is(.is-on,.is-only){position:sticky;bottom:14px}
body.rmbz-m3 .mx-save.is-on{border-radius:24px}
body.rmbz-m3 .mx-save-text{display:grid;flex:1 1 200px;gap:1px;min-width:0;font-size:13px;line-height:1.35}
body.rmbz-m3 .mx-save-text strong{color:#fff;font-size:17px;font-weight:820}
body.rmbz-m3 .mx-save.is-on .mx-save-text strong{color:var(--m3-brand)}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-save :is(.m3-btn,button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:56px;margin:0;padding:0 24px;border:0;border-radius:28px;background:rgba(255,255,255,.16);color:#fff;font:800 15px/1 var(--m3-font);box-shadow:none;cursor:pointer;transition:border-radius .35s var(--m3-spring),background .2s}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-save :is(.m3-btn,button):hover{border-radius:16px;background:rgba(255,255,255,.26);color:#fff}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-save .mx-go{min-width:190px}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-save.is-on .mx-go{background:var(--m3-brand);color:var(--m3-onpc)}
body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-save.is-on .mx-go:hover{background:var(--m3-brand);color:var(--m3-onpc);box-shadow:0 12px 24px -12px rgba(245,185,0,.9)}
body.rmbz-m3 #wpbody-content .mx-save button:focus-visible{outline:2px solid var(--m3-brand);outline-offset:2px}
body.rmbz-m3 #wpbody-content .mx-save [hidden]{display:none}
body.rmbz-m3 .mx-save .is-busy .ms{animation:mxSpin .9s linear infinite}
@keyframes mxSpin{to{transform:rotate(360deg)}}

@media (max-width:600px){
  body.rmbz-m3 #wpbody-content .mx-save{flex-wrap:wrap;padding:14px}
  body.rmbz-m3 .mx-save-text{flex:1 1 100%;text-align:center}
  body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-save :is(.m3-btn,button){flex:1;min-width:0}
  body.rmbz-m3 .mx-seg{grid-template-columns:minmax(0,1fr)}
  body.rmbz-m3 #wpbody-content:not(#m3-nada):not(#m3-nada2) .mx-seg button:is(:first-child,:last-child){border-radius:14px}
  body.rmbz-m3 .m3-note{align-items:flex-start}
  body.rmbz-m3 .mx-set-head{align-items:flex-start}
  body.rmbz-m3 #wpbody-content .mx-set-text h2{font-size:20px}
}
@media (prefers-reduced-motion:reduce){
  body.rmbz-m3 :is(.m3-card-icon,.m3-tile-icon,.mx-step,.mx-save,.mx-seg button,.mx-choice,.mx-pct i){transition:none!important}
  body.rmbz-m3 .mx-save .is-busy .ms{animation:none}
}
