/* [1.5.1031] Serviços exclusivos na administração da distribuição, em Material 3 Expressive
   (includes/admin/admin-exclusive-services.php). Por cima do desenho comum do painel (panel-m3.css): as cores são as
   do painel (--m3-*) e os tons (--tone, --tone-soft, --tone-ink) vêm das classes m3-tone-*. Tudo começa por “.exs”;
   o aviso de rodapé (“.exs-snack”) fica na raiz da página. O leitor é o do Track ID (track-id-admin.css). */

/* ============ 1. Base e movimento ============ */
body.rmbz-m3 .exs{color:var(--m3-t1);font-family:var(--m3-font)}
body.rmbz-m3 .exs *,body.rmbz-m3 .exs *::before,body.rmbz-m3 .exs *::after{box-sizing:border-box}
body.rmbz-m3 .exs :is(p,h2,h3,ul,ol,li,fieldset,legend){margin:0;padding:0;letter-spacing:0}
body.rmbz-m3 .exs :is(ul,ol){list-style:none}
body.rmbz-m3 .exs fieldset{min-width:0;border:0}
body.rmbz-m3 .exs a{text-decoration:none}
body.rmbz-m3 .exs :is(a,button,summary,.exs-card):focus{outline:0;box-shadow:none}
body.rmbz-m3 #wpbody-content .exs :is(a,button,summary):focus-visible{outline:2px solid var(--m3-pri);outline-offset:2px}
body.rmbz-m3 .exs summary{list-style:none;cursor:pointer}
body.rmbz-m3 .exs summary::-webkit-details-marker{display:none}
@keyframes exsIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
@keyframes exsOut{to{opacity:0;transform:scale(.9)}}
@keyframes exsSpin{to{transform:rotate(360deg)}}
@keyframes exsFlash{0%{box-shadow:0 0 0 0 var(--tone)}100%{box-shadow:0 0 0 12px transparent}}
@keyframes exsTip{from{opacity:0;transform:translate(var(--tx,-50%),4px)}to{opacity:1;transform:translate(var(--tx,-50%),0)}}
@keyframes exsSnack{from{opacity:0;transform:translate(-50%,16px)}to{opacity:1;transform:translate(-50%,0)}}

/* A dica de um botão ou de uma etiqueta: só existe enquanto o rato (ou o foco) lá está, para não alargar a página. */
body.rmbz-m3 .exs [data-tip]{position:relative}
body.rmbz-m3 .exs [data-tip]:is(:hover,:focus-visible)::after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 8px);z-index:40;width:max-content;max-width:240px;padding:6px 10px;border-radius:10px;background:var(--m3-t1);color:#fff;font:600 12px/1.35 var(--m3-font);letter-spacing:0;text-align:center;white-space:normal;pointer-events:none;transform:translate(-50%,0);animation:exsTip .22s var(--m3-enter) both}
body.rmbz-m3 .exs .exs-open[data-tip]:is(:hover,:focus-visible)::after{--tx:0;left:auto;right:0;transform:none}

/* ============ 2. O cabeçalho e os avisos ============ */
body.rmbz-m3 .exs .exs-head{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin:0 0 14px}
body.rmbz-m3 .exs .exs-head .m3-section-head{flex:1;min-width:min(100%,280px);margin:0}
body.rmbz-m3 .exs .exs-alert{display:flex;align-items:center;gap:10px 12px;flex-wrap:wrap;margin:0 0 14px;padding:12px 16px;border-radius:22px;background:var(--tone-soft);color:var(--tone-ink);font-size:13.5px;font-weight:650;animation:exsIn .45s var(--m3-enter) backwards}
body.rmbz-m3 .exs .exs-alert>.ms{font-size:22px}
body.rmbz-m3 .exs .exs-alert>span:not(.ms){flex:1;min-width:min(100%,220px)}

/* ============ 3. Os estados: cartões de cor que são os separadores ============ */
body.rmbz-m3 .exs .exs-states{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}
body.rmbz-m3 .exs .exs-state{display:grid;grid-template-columns:auto auto minmax(0,1fr);grid-template-areas:"icon label label" "icon value sub";align-items:center;column-gap:12px;min-width:0;padding:14px 16px;border-radius:28px;background:var(--m3-card);color:var(--m3-t1);box-shadow:var(--m3-shadow);animation:exsIn .5s var(--m3-enter) backwards;animation-delay:calc(var(--i,0)*45ms);transition:border-radius .45s var(--m3-spring),transform .3s var(--m3-spring),background .25s,box-shadow .25s}
body.rmbz-m3 .exs .exs-state:hover{border-radius:16px;color:var(--m3-t1);transform:translateY(-2px)}
body.rmbz-m3 .exs .exs-state:active{transform:scale(.98)}
body.rmbz-m3 .exs .exs-state-icon{grid-area:icon;display:grid;place-items:center;width:50px;height:50px;border-radius:25px;background:var(--tone-soft);color:var(--tone-ink);transition:border-radius .45s var(--m3-spring),background .25s,color .25s}
body.rmbz-m3 .exs .exs-state-icon .ms{font-size:26px}
body.rmbz-m3 .exs .exs-state:hover .exs-state-icon{border-radius:14px}
body.rmbz-m3 .exs .exs-state-label{grid-area:label;color:var(--m3-t2);font-size:13px;font-weight:700}
body.rmbz-m3 .exs .exs-state-value{grid-area:value;color:var(--m3-t1);font-size:30px;font-weight:800;line-height:1.05;font-variant-numeric:tabular-nums;font-variation-settings:'wdth' 112}
body.rmbz-m3 .exs .exs-state-sub{grid-area:sub;align-self:end;overflow:hidden;padding-bottom:3px;color:var(--m3-t3);font-size:12.5px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
body.rmbz-m3 .exs .exs-state.is-active{border-radius:16px;background:var(--tone-soft);box-shadow:inset 0 0 0 2px var(--tone)}
body.rmbz-m3 .exs .exs-state.is-active .exs-state-icon{border-radius:14px;background:var(--tone);color:var(--tone-on)}
body.rmbz-m3 .exs .exs-state.is-active :is(.exs-state-label,.exs-state-sub){color:var(--tone-ink)}
body.rmbz-m3 .exs .exs-state.is-bump .exs-state-value{animation:m3Pop .45s var(--m3-spring)}

/* ============ 4. A barra: procurar e escolher o serviço ============ */
body.rmbz-m3 .exs .exs-bar{display:flex;align-items:center;gap:8px 10px;flex-wrap:wrap;margin:0 0 8px;padding:8px;border-radius:30px;background:var(--m3-s3)}
body.rmbz-m3 .exs .exs-search{flex:1 1 300px;display:flex;align-items:center;gap:6px;min-height:46px;padding:0 5px 0 16px;border-radius:23px;background:#fff;cursor:text;transition:border-radius .35s var(--m3-spring-soft),box-shadow .2s}
body.rmbz-m3 .exs .exs-search:focus-within{border-radius:14px;box-shadow:0 0 0 3px rgba(245,185,0,.4)}
body.rmbz-m3 .exs .exs-search>.ms{color:var(--m3-t3);font-size:22px}
body.rmbz-m3 #wpbody-content .exs .exs-search input[type=search],body.rmbz-m3 #wpbody-content .exs .exs-search input[type=search]:focus{flex:1;min-width:0;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--m3-t1);font-size:14.5px;outline:0}
body.rmbz-m3 .exs .exs-search input[type=search]::-webkit-search-cancel-button{display:none}
body.rmbz-m3 .exs .exs-search-go{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:0;border-radius:18px;background:var(--m3-t1);color:var(--m3-brand);cursor:pointer;transition:border-radius .35s var(--m3-spring),transform .2s var(--m3-spring)}
body.rmbz-m3 .exs .exs-search-go:hover{border-radius:11px}
body.rmbz-m3 .exs .exs-search-go:active{transform:scale(.93)}
body.rmbz-m3 .exs .exs-search-go .ms{font-size:20px}
body.rmbz-m3 .exs .exs-chips{display:flex;gap:6px;flex-wrap:wrap}
body.rmbz-m3 .exs .exs-chip{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 8px 0 14px;border-radius:20px;background:var(--m3-card);color:var(--m3-t2);font-size:13px;font-weight:700;white-space:nowrap;transition:border-radius .35s var(--m3-spring-soft),background .2s,color .2s,transform .25s var(--m3-spring)}
body.rmbz-m3 .exs .exs-chip:hover{border-radius:11px;background:#fff;color:var(--m3-t1)}
body.rmbz-m3 .exs .exs-chip:active{transform:scale(.96)}
body.rmbz-m3 .exs .exs-chip-logo{display:inline-flex;color:var(--svc)}
body.rmbz-m3 .exs .exs-chip b{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:var(--m3-s3);color:var(--m3-t2);font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
body.rmbz-m3 .exs .exs-chip.is-active{border-radius:11px;background:var(--m3-t1);color:var(--m3-brand)}
body.rmbz-m3 .exs .exs-chip.is-active .exs-chip-logo{color:#fff}
body.rmbz-m3 .exs .exs-chip.is-active b{background:var(--m3-brand);color:var(--m3-onpc)}
body.rmbz-m3 .exs .exs-sub{display:flex;align-items:center;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;min-height:30px;margin:0 6px 10px}
body.rmbz-m3 .exs .exs-total{color:var(--m3-t2);font-size:13px;font-weight:650}
body.rmbz-m3 .exs .exs-total strong{color:var(--m3-t1)}
body.rmbz-m3 .exs .exs-keys{display:flex;align-items:center;gap:5px;color:var(--m3-t3);font-size:12px;font-weight:600}
body.rmbz-m3 .exs .exs-keys kbd{display:inline-grid;place-items:center;min-width:24px;height:24px;margin:0 0 0 8px;padding:0 6px;border:0;border-radius:8px;background:var(--m3-s3);color:var(--m3-t2);font:750 11.5px/1 var(--m3-font);box-shadow:none}
body.rmbz-m3 .exs .exs-keys kbd:first-child,body.rmbz-m3 .exs .exs-keys kbd+kbd{margin-left:0}

/* ============ 5. A fila: um cartão por lançamento ============ */
body.rmbz-m3 .exs .exs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,410px),1fr));gap:14px}
body.rmbz-m3 .exs .exs-card{position:relative;display:flex;flex-direction:column;gap:12px;min-width:0;padding:14px;border-radius:32px;background:var(--m3-card);box-shadow:var(--m3-shadow);animation:exsIn .55s var(--m3-enter) backwards;animation-delay:calc(var(--i,0)*40ms);transition:border-radius .45s var(--m3-spring),box-shadow .25s}
body.rmbz-m3 .exs .exs-card:hover{box-shadow:var(--m3-shadow-lift)}
body.rmbz-m3 .exs .exs-card:focus{box-shadow:0 0 0 2px var(--m3-t1),var(--m3-shadow-lift)}
body.rmbz-m3 .exs .exs-card.is-leaving{animation:exsOut .3s ease forwards;pointer-events:none}

/* O topo do cartão, no tom do estado que mais pede atenção. */
body.rmbz-m3 .exs .exs-card-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;border-radius:22px;background:var(--tone-soft);transition:background .35s}
body.rmbz-m3 .exs .exs-cover{display:grid;place-items:center;flex:none;width:68px;height:68px;overflow:hidden;border-radius:18px;background:var(--m3-s3);color:var(--m3-t3);transition:border-radius .45s var(--m3-spring)}
body.rmbz-m3 .exs .exs-card:hover .exs-cover{border-radius:12px}
body.rmbz-m3 .exs .exs-cover img{display:block;width:100%;height:100%;object-fit:cover}
body.rmbz-m3 .exs .exs-cover.is-empty{background:rgba(255,255,255,.7);color:var(--tone-ink,var(--m3-t3))}
body.rmbz-m3 .exs .exs-cover .ms{font-size:30px}
body.rmbz-m3 .exs .exs-id{min-width:0}
body.rmbz-m3 #wpbody-content .exs .exs-title{display:-webkit-box;overflow:hidden;color:var(--m3-t1);font-size:17px;font-weight:780;line-height:1.25;font-variation-settings:'wdth' 108;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.rmbz-m3 .exs .exs-by{display:flex;align-items:center;gap:5px;min-width:0;margin-top:3px;color:var(--m3-t2);font-size:13px;font-weight:650}
body.rmbz-m3 .exs .exs-by .ms{flex:none;color:var(--tone-ink);font-size:16px}
body.rmbz-m3 .exs .exs-by span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.rmbz-m3 .exs .exs-phone{margin-top:1px;color:var(--m3-t3);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
body.rmbz-m3 .exs .exs-icon-btn{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:0;border-radius:20px;background:rgba(255,255,255,.75);color:var(--m3-t1);cursor:pointer;transition:border-radius .4s var(--m3-spring),background .2s,transform .2s var(--m3-spring)}
body.rmbz-m3 .exs .exs-icon-btn:hover{border-radius:12px;background:#fff;color:var(--m3-t1)}
body.rmbz-m3 .exs .exs-icon-btn:active{transform:scale(.93)}
body.rmbz-m3 .exs .exs-icon-btn .ms{font-size:20px}
body.rmbz-m3 .exs .exs-icon-btn.is-small{width:34px;height:34px;border-radius:17px;background:var(--m3-s3)}
body.rmbz-m3 .exs .exs-icon-btn.is-small .ms{font-size:18px}

/* As etiquetas: a espera, o estado do lançamento, o ISRC e os reparos. */
body.rmbz-m3 .exs .exs-flags{display:flex;flex-wrap:wrap;gap:6px}
body.rmbz-m3 .exs .exs-flag{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 11px 0 8px;border-radius:14px;background:var(--tone-soft);color:var(--tone-ink);font-size:12px;font-weight:700;white-space:nowrap}
body.rmbz-m3 .exs .exs-flag .ms{font-size:16px}
body.rmbz-m3 .exs .exs-code{font-variant-numeric:tabular-nums;letter-spacing:.03em}

/* O leitor (o do Track ID) e as outras faixas. */
body.rmbz-m3 .exs .rmbz-tid-admin .tia-player{margin:0;background:var(--m3-s2)}
body.rmbz-m3 .exs .rmbz-tid-admin .tia-player.is-playing{background:#fff}
body.rmbz-m3 .exs .exs-noaudio{display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:20px;background:var(--m3-s2);color:var(--m3-t3);font-size:13px;font-weight:650}
body.rmbz-m3 .exs .exs-noaudio .ms{font-size:20px}
body.rmbz-m3 .exs .exs-tracks{border-radius:20px;background:var(--m3-s2)}
body.rmbz-m3 .exs .exs-tracks>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border-radius:20px;color:var(--m3-t2);font-size:13px;font-weight:700}
body.rmbz-m3 .exs .exs-tracks>summary>span:not(.ms){flex:1}
body.rmbz-m3 .exs .exs-tracks>summary>.ms{font-size:20px}
body.rmbz-m3 .exs .exs-chev{transition:transform .4s var(--m3-spring)}
body.rmbz-m3 .exs details[open]>summary .exs-chev{transform:rotate(180deg)}
body.rmbz-m3 .exs .exs-tracks ol{display:grid;gap:12px;padding:2px 10px 10px}
body.rmbz-m3 .exs .exs-tracks li{display:grid;gap:6px;min-width:0}
body.rmbz-m3 .exs .exs-tracks .rmbz-tid-admin .tia-player{background:var(--m3-card)}
body.rmbz-m3 .exs .exs-track-head{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px}
body.rmbz-m3 .exs .exs-track-n{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:11px;background:var(--m3-s4);color:var(--m3-t2);font-size:11px;font-weight:800}
body.rmbz-m3 .exs .exs-track-head strong{flex:1;min-width:0;overflow:hidden;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
body.rmbz-m3 .exs .exs-isrc{flex:none;padding:2px 9px;border-radius:9px;background:var(--m3-s4);color:var(--m3-t1);font-size:11.5px;font-weight:700;letter-spacing:.03em;font-variant-numeric:tabular-nums}
body.rmbz-m3 .exs .exs-isrc.is-missing{background:var(--m3-danger-soft);color:var(--m3-danger-ink);letter-spacing:0}

/* Os serviços pedidos, cada um com o seu estado. */
body.rmbz-m3 .exs .exs-services{display:grid;gap:6px}
body.rmbz-m3 .exs .exs-svc{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:7px 9px 7px 7px;border-radius:19px;background:var(--m3-s2);transition:border-radius .45s var(--m3-spring)}
body.rmbz-m3 .exs .exs-svc-logo{display:grid;place-items:center;width:34px;height:34px;border-radius:17px;background:#fff;color:var(--svc);box-shadow:inset 0 0 0 1px rgba(31,27,19,.06)}
body.rmbz-m3 .exs .exs-svc-logo svg{display:block}
body.rmbz-m3 .exs .exs-svc-name{overflow:hidden;color:var(--m3-t1);font-size:13.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
body.rmbz-m3 .exs .exs-svc-state{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 11px 0 7px;border-radius:14px;background:var(--tone-soft);color:var(--tone-ink);font-size:12px;font-weight:750;white-space:nowrap}
body.rmbz-m3 .exs .exs-svc-state .ms{font-size:16px}
body.rmbz-m3 .exs .exs-svc.is-changed .exs-svc-state{animation:exsFlash .8s ease}
body.rmbz-m3 .exs .exs-svc-more{grid-column:1/-1;display:grid;gap:4px;padding:2px 4px 3px 44px;color:var(--m3-t2);font-size:12.5px;line-height:1.45}
body.rmbz-m3 .exs .exs-svc-more p{display:flex;align-items:flex-start;gap:6px;min-width:0}
body.rmbz-m3 .exs .exs-svc-more .ms{flex:none;margin-top:1px;color:var(--m3-t3);font-size:15px}
body.rmbz-m3 .exs .exs-svc-more a{color:var(--m3-pri);font-weight:700;overflow-wrap:anywhere}
body.rmbz-m3 .exs .exs-svc-more a:hover{text-decoration:underline}
body.rmbz-m3 .exs .exs-svc-more :is(span,a){min-width:0;overflow-wrap:anywhere}

/* Procurar a música fora do site. */
body.rmbz-m3 .exs .exs-find{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap}
body.rmbz-m3 .exs .exs-find-label{display:inline-flex;align-items:center;gap:5px;color:var(--m3-t3);font-size:12px;font-weight:700}
body.rmbz-m3 .exs .exs-find-label .ms{font-size:17px}
body.rmbz-m3 .exs .exs-find-links{display:flex;flex-wrap:wrap;gap:5px}
body.rmbz-m3 .exs .exs-find-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:34px;height:34px;padding:0 8px;border-radius:17px;background:var(--m3-s2);color:var(--m3-t2);font-size:11.5px;font-weight:750;transition:border-radius .4s var(--m3-spring),background .2s,box-shadow .2s,transform .25s var(--m3-spring)}
body.rmbz-m3 .exs .exs-find-btn:hover{border-radius:10px;background:#fff;color:var(--m3-t1);box-shadow:var(--m3-shadow);transform:translateY(-2px)}
body.rmbz-m3 .exs .exs-find-btn svg{display:block}

/* As ações do cartão. */
body.rmbz-m3 .exs .exs-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:2px}
body.rmbz-m3 .exs .exs-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;margin:0;padding:0 16px 0 12px;border:0;border-radius:20px;background:var(--m3-s3);color:var(--m3-t1);font:700 13.5px/1 var(--m3-font);white-space:nowrap;cursor:pointer;transition:border-radius .4s var(--m3-spring),background .2s,color .2s,box-shadow .2s,transform .2s var(--m3-spring)}
body.rmbz-m3 .exs .exs-btn:hover{border-radius:12px;background:var(--m3-s4);color:var(--m3-t1)}
body.rmbz-m3 .exs .exs-btn:active{transform:scale(.96)}
body.rmbz-m3 .exs .exs-btn .ms{font-size:19px}
body.rmbz-m3 .exs .exs-btn--approve{flex:1 1 auto;background:var(--m3-t1);color:var(--m3-brand)}
body.rmbz-m3 .exs .exs-btn--approve:hover{background:#000;color:var(--m3-brand);box-shadow:0 8px 20px -8px rgba(31,27,19,.55)}
body.rmbz-m3 .exs .exs-btn--conflict{background:var(--m3-warning-soft);color:var(--m3-warning-ink)}
body.rmbz-m3 .exs .exs-btn--conflict:hover{background:var(--m3-warning);color:#fff}
body.rmbz-m3 .exs .exs-btn--reject{background:var(--m3-danger-soft);color:var(--m3-danger-ink)}
body.rmbz-m3 .exs .exs-btn--reject:hover{background:var(--m3-danger);color:#fff}
body.rmbz-m3 .exs .exs-decided{display:inline-flex;align-items:center;gap:5px;min-height:28px;color:var(--m3-t3);font-size:12px;font-weight:600}
body.rmbz-m3 .exs .exs-decided .ms{font-size:16px}

/* ============ 6. Sem nada para mostrar ============ */
body.rmbz-m3 .exs .exs-empty{display:grid;justify-items:center;gap:6px;padding:46px 20px;border-radius:32px;background:var(--m3-card);box-shadow:var(--m3-shadow);text-align:center;animation:exsIn .5s var(--m3-enter) backwards}
body.rmbz-m3 .exs .exs-empty-cookie{display:grid;place-items:center;width:84px;height:84px;margin-bottom:8px;background:var(--tone-soft);color:var(--tone-ink);clip-path:var(--m3-cookie);animation:exsSpin 30s linear infinite}
body.rmbz-m3 .exs .exs-empty-cookie .ms{font-size:36px;animation:exsSpin 30s linear infinite reverse}
body.rmbz-m3 .exs .exs-empty strong{color:var(--m3-t1);font-size:18px;font-weight:780;font-variation-settings:'wdth' 110}
body.rmbz-m3 .exs .exs-empty>span:not(.exs-empty-cookie){max-width:460px;color:var(--m3-t2);font-size:13.5px}
body.rmbz-m3 .exs .exs-empty .exs-btn{margin-top:10px}

/* ============ 7. As páginas ============ */
body.rmbz-m3 .exs .exs-pages{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;margin:20px 0 0}
body.rmbz-m3 .exs .exs-pages :is(a,span){display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:40px;min-height:40px;padding:0 14px;border-radius:20px;background:var(--m3-card);color:var(--m3-t1);font-size:13.5px;font-weight:700;box-shadow:var(--m3-shadow);transition:border-radius .4s var(--m3-spring),background .2s}
body.rmbz-m3 .exs .exs-pages a:hover{border-radius:12px;background:#fff}
body.rmbz-m3 .exs .exs-pages .ms{min-width:0;min-height:0;padding:0;background:transparent;box-shadow:none;font-size:19px}
body.rmbz-m3 .exs .exs-pages .is-current{border-radius:12px;background:var(--m3-t1);color:var(--m3-brand)}
body.rmbz-m3 .exs .exs-pages .exs-pages-gap{min-width:0;padding:0 2px;background:transparent;color:var(--m3-t3);box-shadow:none}

/* ============ 8. Como decidir ============ */
body.rmbz-m3 .exs .exs-help{margin:22px 0 0;border-radius:28px;background:var(--m3-card);box-shadow:var(--m3-shadow)}
body.rmbz-m3 .exs .exs-help>summary{display:flex;align-items:center;gap:10px;min-height:56px;padding:0 20px;border-radius:28px;color:var(--m3-t1);font-size:15px;font-weight:750}
body.rmbz-m3 .exs .exs-help>summary>.ms:first-child{color:var(--m3-pri)}
body.rmbz-m3 .exs .exs-help>summary>span:not(.ms){flex:1}
body.rmbz-m3 .exs .exs-help-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px;padding:2px 14px 12px}
body.rmbz-m3 .exs .exs-help-card{display:grid;align-content:start;gap:4px;padding:16px;border-radius:22px;background:var(--tone-soft);transition:border-radius .45s var(--m3-spring)}
body.rmbz-m3 .exs .exs-help-card:hover{border-radius:14px}
body.rmbz-m3 .exs .exs-help-icon{display:grid;place-items:center;width:40px;height:40px;margin-bottom:6px;border-radius:20px;background:rgba(255,255,255,.75);color:var(--tone-ink)}
body.rmbz-m3 .exs .exs-help-card strong{color:var(--tone-ink);font-size:14.5px;font-weight:780}
body.rmbz-m3 .exs .exs-help-card p{color:var(--m3-t2);font-size:13px;line-height:1.5}
body.rmbz-m3 .exs .exs-help-foot{display:flex;align-items:flex-start;gap:8px;padding:0 20px 18px;color:var(--m3-t2);font-size:13px;line-height:1.5}
body.rmbz-m3 .exs .exs-help-foot .ms{flex:none;color:var(--m3-pri);font-size:19px}

/* ============ 9. O modal da decisão ============ */
body.rmbz-m3 .exs .exs-dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100vh - 48px);margin:auto;padding:0;overflow:auto;border:0;border-radius:32px;background:var(--m3-card);color:var(--m3-t1);box-shadow:0 28px 70px -20px rgba(40,28,4,.5);font-family:var(--m3-font)}
body.rmbz-m3 .exs .exs-dialog[open]{animation:exsIn .32s var(--m3-enter) both}
body.rmbz-m3 .exs .exs-dialog::backdrop{background:rgba(31,27,19,.45);backdrop-filter:blur(3px)}
body.rmbz-m3 .exs .exs-dialog-body{display:grid;gap:16px;margin:0;padding:22px}
body.rmbz-m3 .exs .exs-dialog-body>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px}
body.rmbz-m3 .exs .exs-dialog-body>header .exs-cover{width:60px;height:60px;background:var(--m3-s3);color:var(--m3-t3)}
body.rmbz-m3 .exs .exs-dialog-body>header .exs-icon-btn{align-self:start;background:var(--m3-s3)}
body.rmbz-m3 .exs .exs-dialog-kicker{display:block;color:var(--m3-pri);font-size:12.5px;font-weight:750}
body.rmbz-m3 #wpbody-content .exs .exs-dialog h2{color:var(--m3-t1);font-size:21px;font-weight:800;line-height:1.2;font-variation-settings:'wdth' 110;overflow-wrap:anywhere}
body.rmbz-m3 .exs .exs-dialog-body>header p{margin-top:2px;color:var(--m3-t2);font-size:13.5px;font-weight:600}
body.rmbz-m3 .exs .exs-dialog legend,body.rmbz-m3 .exs .exs-field>span{display:block;margin-bottom:8px;color:var(--m3-t2);font-size:12.5px;font-weight:750}
body.rmbz-m3 .exs .exs-choice-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body.rmbz-m3 .exs .exs-choice{position:relative;display:grid;justify-items:start;align-content:start;gap:2px;padding:14px;border-radius:24px;background:var(--m3-s2);cursor:pointer;transition:border-radius .45s var(--m3-spring),background .25s,box-shadow .25s,transform .25s var(--m3-spring)}
body.rmbz-m3 #wpbody-content .exs :is(.exs-choice,.exs-pick-item) input{position:absolute;width:1px;height:1px;min-height:0;margin:0;opacity:0;pointer-events:none}
body.rmbz-m3 .exs .exs-choice-icon{display:grid;place-items:center;width:40px;height:40px;margin-bottom:6px;border-radius:20px;background:var(--tone-soft);color:var(--tone-ink);transition:border-radius .45s var(--m3-spring),background .25s,color .25s}
body.rmbz-m3 .exs .exs-choice strong{color:var(--m3-t1);font-size:14px;font-weight:780}
body.rmbz-m3 .exs .exs-choice small{color:var(--m3-t2);font-size:12px;line-height:1.35}
body.rmbz-m3 .exs .exs-choice-check{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:24px;height:24px;border-radius:12px;background:var(--tone);color:var(--tone-on);transform:scale(0);transition:transform .4s var(--m3-spring)}
body.rmbz-m3 .exs .exs-choice-check .ms{font-size:16px}
body.rmbz-m3 .exs .exs-choice:hover{border-radius:15px;transform:translateY(-2px)}
body.rmbz-m3 .exs .exs-choice:has(input:checked){border-radius:15px;background:var(--tone-soft);box-shadow:inset 0 0 0 2px var(--tone)}
body.rmbz-m3 .exs .exs-choice:has(input:checked) .exs-choice-icon{border-radius:12px;background:var(--tone);color:var(--tone-on)}
body.rmbz-m3 .exs .exs-choice:has(input:checked) .exs-choice-check{transform:scale(1)}
body.rmbz-m3 .exs :is(.exs-choice,.exs-pick-item):has(input:focus-visible){outline:2px solid var(--m3-pri);outline-offset:2px}
body.rmbz-m3 .exs .exs-pick-list{display:flex;flex-wrap:wrap;gap:8px}
body.rmbz-m3 .exs .exs-pick-item{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px 0 6px;border-radius:22px;background:var(--m3-s2);color:var(--m3-t2);font-size:13px;font-weight:700;cursor:pointer;transition:border-radius .4s var(--m3-spring),background .2s,color .2s,transform .2s var(--m3-spring)}
body.rmbz-m3 .exs .exs-pick-item:active{transform:scale(.97)}
body.rmbz-m3 .exs .exs-pick-logo{display:grid;place-items:center;width:32px;height:32px;border-radius:16px;background:#fff;color:var(--svc)}
body.rmbz-m3 .exs .exs-pick-logo svg{display:block}
body.rmbz-m3 .exs .exs-pick-item small{color:var(--m3-t3);font-size:11.5px;font-weight:650}
body.rmbz-m3 .exs .exs-pick-item:has(input:checked){border-radius:13px;background:var(--m3-t1);color:#fff}
body.rmbz-m3 .exs .exs-pick-item:has(input:checked) small{color:var(--m3-brand)}
body.rmbz-m3 .exs .exs-pick-empty{color:var(--m3-t3);font-size:13px}
body.rmbz-m3 .exs .exs-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.rmbz-m3 .exs .exs-field{display:block;min-width:0}
body.rmbz-m3 #wpbody-content .exs .exs-field :is(input,textarea){display:block;width:100%;max-width:none;margin:0}
body.rmbz-m3 #wpbody-content .exs .exs-field textarea{min-height:84px;resize:vertical}
body.rmbz-m3 .exs .exs-field small{display:block;margin-top:6px;color:var(--m3-t3);font-size:12px}
body.rmbz-m3 #wpbody-content .exs .exs-field.is-wrong :is(input,textarea){border-color:var(--m3-danger);box-shadow:0 0 0 4px rgba(186,26,26,.14)}
body.rmbz-m3 .exs .exs-field.is-wrong small{color:var(--m3-danger-ink);font-weight:650}
body.rmbz-m3 .exs .exs-dialog-error{padding:10px 14px;border-radius:14px;background:var(--m3-danger-soft);color:var(--m3-danger-ink);font-size:13px;font-weight:650}
body.rmbz-m3 .exs .exs-dialog-body>footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
body.rmbz-m3 .exs .exs-dialog-keys{margin-right:auto;color:var(--m3-t3);font-size:12px;font-weight:600}
body.rmbz-m3 #wpbody-content .exs .exs-dialog[data-decision=conflict] [data-exs-d-submit]{background:var(--m3-warning);color:#fff}
body.rmbz-m3 #wpbody-content .exs .exs-dialog[data-decision=rejected] [data-exs-d-submit]{background:var(--m3-danger);color:#fff}
body.rmbz-m3 #wpbody-content .exs .exs-dialog[data-decision=""] [data-exs-d-submit]{background:var(--m3-s3);color:var(--m3-t3);box-shadow:none}
body.rmbz-m3 .exs .exs-dialog.is-busy :is(.exs-choice-list,.exs-pick-list,.exs-field,[data-exs-d-close]){opacity:.55;pointer-events:none}
body.rmbz-m3 .exs .exs-dialog.is-busy [data-exs-d-submit]{cursor:progress}
body.rmbz-m3 .exs .exs-dialog.is-busy [data-exs-d-submit] .ms{animation:exsSpin .9s linear infinite}

/* ============ 10. O aviso de rodapé (fica na raiz da página) ============ */
body.rmbz-m3 .exs-snack{position:fixed;left:50%;bottom:26px;z-index:100070;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 40px);padding:13px 20px 13px 16px;border-radius:18px;background:var(--m3-t1);color:#fff;font:600 14px/1.35 var(--m3-font);box-shadow:0 12px 30px -10px rgba(0,0,0,.45);transform:translateX(-50%);animation:exsSnack .35s var(--m3-enter) both}
body.rmbz-m3 .exs-snack .ms{flex:none;color:var(--m3-brand);font-size:22px}
body.rmbz-m3 .exs-snack.is-error .ms{color:#ffb4ab}

/* ============ 11. Ecrãs estreitos e menos movimento ============ */
@media (max-width:1180px),(hover:none){body.rmbz-m3 .exs .exs-keys{display:none}}
@media (max-width:1100px){
  body.rmbz-m3 .exs .exs-states{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
  body.rmbz-m3 .exs .exs-state{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"icon label" "icon value" "sub sub";padding:12px;border-radius:22px;column-gap:10px}
  body.rmbz-m3 .exs .exs-state-icon{width:40px;height:40px;border-radius:20px}
  body.rmbz-m3 .exs .exs-state-icon .ms{font-size:22px}
  body.rmbz-m3 .exs .exs-state-value{font-size:24px}
  body.rmbz-m3 .exs .exs-state-sub{padding:4px 0 0}
  body.rmbz-m3 .exs .exs-bar{border-radius:26px}
  body.rmbz-m3 .exs .exs-chips{flex-wrap:nowrap;width:100%;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
  body.rmbz-m3 .exs .exs-chips::-webkit-scrollbar{display:none}
  body.rmbz-m3 .exs .exs-card{padding:12px;border-radius:28px}
  body.rmbz-m3 .exs .exs-cover{width:60px;height:60px}
  body.rmbz-m3 .exs .exs-actions .exs-btn{flex:1 1 auto}
  body.rmbz-m3 .exs .exs-choice-list,body.rmbz-m3 .exs .exs-fields{grid-template-columns:minmax(0,1fr)}
  body.rmbz-m3 .exs .exs-choice{grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:center;padding:12px 44px 12px 12px}
  body.rmbz-m3 .exs .exs-choice-icon{grid-row:1/3;margin:0}
  body.rmbz-m3 .exs .exs-dialog-body{padding:18px 16px}
  body.rmbz-m3 .exs .exs-dialog-keys{display:none}
  body.rmbz-m3 .exs .exs-dialog-body>footer .m3-btn{flex:1 1 auto}
}
@media (prefers-reduced-motion:reduce){
  body.rmbz-m3 .exs-snack{animation:none}
  body.rmbz-m3 .exs [data-tip]:is(:hover,:focus-visible)::after{animation:none}
}
