/* [1.5.1070] Os Royalties em Material 3 Expressive (includes/admin/royalties/). Por cima do desenho comum do painel
   (panel-m3.css): as cores são as do painel (--m3-*) e os tons vêm das classes m3-tone-*. Tudo começa por “.roy”.
   A cor diz sempre o mesmo: verde é dinheiro para os artistas, violeta é a comissão, vermelho é dinheiro que sai ou um
   problema e âmbar é o que espera pela equipa. As cores dos gráficos (--roy-c1 a --roy-c5) foram conferidas sobre o
   fundo creme, também para quem não distingue bem as cores; a sexta, cinzenta, é “Outras”.
   “.roy-view” é o espaço das páginas novas. As “Faixas silenciosas” ficam fora dele: têm o estilo delas. */

/* ============ 1. Base e movimento ============ */
body.rmbz-m3 .roy{--roy-c1:#0f8a4f;--roy-c2:#6b4fd0;--roy-c3:#2f6bd0;--roy-c4:#c98a00;--roy-c5:#0b8f9c;--roy-c6:#8b8478;color:var(--m3-t1);font-family:var(--m3-font)}
body.rmbz-m3 .roy *,body.rmbz-m3 .roy *::before,body.rmbz-m3 .roy *::after{box-sizing:border-box}
body.rmbz-m3 .roy-view{container:roy/inline-size}
body.rmbz-m3 :is(.roy-top,.roy-nav,.roy-view) :is(ol,ul,li,dl,dt,dd,fieldset,legend,p,h2,h3,h4){margin:0;padding:0;border:0}
body.rmbz-m3 .roy-view :is(ol,ul){list-style:none}
body.rmbz-m3 .roy-view fieldset{min-width:0}
body.rmbz-m3 .roy a{text-decoration:none}
body.rmbz-m3 .roy-view [hidden]{display:none!important}
body.rmbz-m3 .roy-view :is(button,input,summary):focus{outline:0;box-shadow:none}
body.rmbz-m3 #wpbody-content .roy :is(button,a,summary,.roy-col):focus-visible{outline:2px solid var(--m3-pri);outline-offset:2px}
body.rmbz-m3 #wpbody-content .roy-view input:focus-visible{outline:0}
body.rmbz-m3 .roy-view summary{list-style:none;cursor:pointer}
body.rmbz-m3 .roy-view summary::-webkit-details-marker{display:none}
body.rmbz-m3 .roy-view .roy-chev{transition:transform .4s var(--m3-spring)}
body.rmbz-m3 .roy-view details[open]>summary .roy-chev{transform:rotate(180deg)}
@keyframes royIn{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:none}}
@keyframes royGrowY{from{transform:scaleY(0)}}
@keyframes royGrowX{from{transform:scaleX(0)}}
body.rmbz-m3 .roy-view .roy-tiles{margin:0 0 14px}
body.rmbz-m3 .roy-view .roy-tiles .m3-tile-value{font-size:clamp(19px,2.6cqi,26px)}

/* ============ 2. O topo e o menu ============ */
body.rmbz-m3 .roy .roy-top{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 14px;padding:16px 20px;border-radius:32px;background:var(--m3-card);box-shadow:var(--m3-shadow)}
body.rmbz-m3 .roy .roy-top-icon{display:grid;place-items:center;flex:none;width:64px;height:64px;background:var(--m3-brand);color:var(--m3-onpc);clip-path:var(--m3-cookie)}
body.rmbz-m3 .roy .roy-top-icon .ms{font-size:31px}
body.rmbz-m3 .roy .roy-top-text{display:grid;gap:2px;flex:1 1 260px;min-width:0}
body.rmbz-m3 .roy .roy-top-text h2{color:var(--m3-t1);font:820 24px/1.2 var(--m3-font);font-variation-settings:'wdth' 108}
body.rmbz-m3 .roy .roy-top-text p{color:var(--m3-t2);font-size:14px;line-height:1.45}
body.rmbz-m3 .roy .roy-layout{display:grid;grid-template-columns:228px minmax(0,1fr);align-items:start;gap:16px}
body.rmbz-m3 .roy .roy-nav{position:sticky;top:44px;display:grid;gap:12px;padding:12px;border-radius:30px;background:var(--m3-s3)}
body.rmbz-m3 .roy .roy-nav-group{display:grid;gap:2px}
body.rmbz-m3 .roy .roy-nav-title{padding:2px 12px 4px;color:var(--m3-t3);font-size:12px;font-weight:750}
body.rmbz-m3 #wpbody-content .roy .roy-nav-item{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border-radius:22px;color:var(--m3-t2);font-size:14px;font-weight:680;line-height:1.2;transition:border-radius .4s var(--m3-spring-soft),background .2s,color .2s,transform .2s var(--m3-spring)}
body.rmbz-m3 .roy .roy-nav-item .ms{flex:none;font-size:20px}
body.rmbz-m3 .roy .roy-nav-item>span:not(.ms){flex:1;min-width:0}
body.rmbz-m3 .roy .roy-nav-item b{flex:none;min-width:24px;padding:4px 7px;border-radius:12px;background:var(--m3-danger);color:#fff;font-size:12px;font-weight:800;line-height:1.3;text-align:center;font-variant-numeric:tabular-nums}
body.rmbz-m3 #wpbody-content .roy .roy-nav-item:hover{border-radius:13px;background:var(--m3-card);color:var(--m3-t1)}
body.rmbz-m3 #wpbody-content .roy .roy-nav-item:active{transform:scale(.97)}
body.rmbz-m3 #wpbody-content .roy .roy-nav-item.is-on{border-radius:13px;background:var(--m3-t1);color:var(--m3-brand);font-weight:780}
body.rmbz-m3 .roy .roy-main{min-width:0}

/* ============ 3. Botões ============ */
body.rmbz-m3 #wpbody-content .roy .roy-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;margin:0;padding:0 16px;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,transform .2s var(--m3-spring),box-shadow .25s}
body.rmbz-m3 #wpbody-content .roy .roy-btn:hover{border-radius:12px;background:var(--m3-s4);color:var(--m3-t1)}
body.rmbz-m3 #wpbody-content .roy .roy-btn:active{transform:scale(.96)}
body.rmbz-m3 #wpbody-content .roy .roy-btn:is(.is-off,:disabled){opacity:.45;cursor:default}
body.rmbz-m3 .roy .roy-btn .ms{font-size:19px}
body.rmbz-m3 #wpbody-content .roy .roy-btn--main{min-height:52px;padding:0 24px 0 18px;border-radius:26px;background:var(--m3-brand);color:var(--m3-onpc);font-size:15px;font-weight:800}
body.rmbz-m3 #wpbody-content .roy .roy-btn--main:hover{border-radius:16px;background:var(--m3-brand);color:var(--m3-onpc);box-shadow:0 12px 24px -12px rgba(245,185,0,.9)}
body.rmbz-m3 .roy .roy-btn--main .ms{font-size:23px}
body.rmbz-m3 #wpbody-content .roy .roy-btn--ink{min-height:48px;padding:0 20px 0 16px;border-radius:24px;background:var(--m3-t1);color:var(--m3-brand);font-size:14.5px}
body.rmbz-m3 #wpbody-content .roy .roy-btn--ink:hover,body.rmbz-m3 #wpbody-content .roy .roy-btn--ink[aria-expanded=true]{border-radius:14px;background:#000;color:var(--m3-brand)}
body.rmbz-m3 #wpbody-content .roy .roy-btn--ok{background:var(--m3-success);color:#fff}
body.rmbz-m3 #wpbody-content .roy .roy-btn--ok:hover{background:var(--m3-success-ink);color:#fff}
body.rmbz-m3 #wpbody-content .roy .roy-btn--danger{background:var(--m3-danger-soft);color:var(--m3-danger-ink)}
body.rmbz-m3 #wpbody-content .roy .roy-btn--danger:hover{background:var(--m3-danger);color:#fff}
body.rmbz-m3 #wpbody-content .roy .roy-btn--tone{min-height:46px;border-radius:23px;background:var(--tone);color:var(--tone-on)}
body.rmbz-m3 #wpbody-content .roy .roy-btn--tone:hover{border-radius:14px;background:var(--tone-ink);color:#fff}
body.rmbz-m3 #wpbody-content .roy .roy-icon-btn{display:grid;place-items:center;flex:none;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:18px;background:var(--m3-s3);color:var(--m3-t1);cursor:pointer;transition:border-radius .4s var(--m3-spring),background .2s}
body.rmbz-m3 #wpbody-content .roy .roy-icon-btn:hover{border-radius:11px;background:var(--m3-s4)}
body.rmbz-m3 #wpbody-content .roy .roy-icon-btn:disabled{opacity:.35;cursor:default}
body.rmbz-m3 .roy .roy-icon-btn .ms{font-size:19px}

/* ============ 4. O aviso, os cartões e as dicas ============ */
body.rmbz-m3 #wpbody-content .roy .roy-alert{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 14px;padding:16px 18px;border-radius:30px;background:var(--tone-soft);color:var(--tone-ink);animation:royIn .4s var(--m3-enter) backwards;transition:border-radius .45s var(--m3-spring-soft)}
body.rmbz-m3 #wpbody-content .roy a.roy-alert:hover{border-radius:20px;color:var(--tone-ink)}
body.rmbz-m3 .roy .roy-alert-icon{display:grid;place-items:center;flex:none;width:60px;height:60px;background:var(--tone);color:var(--tone-on);clip-path:var(--m3-cookie)}
body.rmbz-m3 .roy .roy-alert-icon .ms{font-size:29px}
body.rmbz-m3 .roy .roy-alert-text{display:grid;gap:2px;flex:1 1 260px;min-width:0;font-size:13.5px;line-height:1.45}
body.rmbz-m3 .roy .roy-alert-text strong{font-size:18px;font-weight:820;line-height:1.25}
body.rmbz-m3 .roy .roy-alert-go{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 20px;border-radius:25px;background:var(--tone);color:var(--tone-on);font-size:15px;font-weight:800;transition:border-radius .4s var(--m3-spring),background .2s}
body.rmbz-m3 .roy a.roy-alert:hover .roy-alert-go{border-radius:15px;background:var(--tone-ink)}
body.rmbz-m3 .roy .roy-card{min-width:0;margin:0 0 14px;padding:18px;border-radius:30px;background:var(--m3-card);box-shadow:var(--m3-shadow);animation:royIn .45s var(--m3-enter) backwards}
body.rmbz-m3 .roy .roy-card-head{display:flex;align-items:center;gap:12px;margin:0 0 14px}
body.rmbz-m3 .roy .roy-card-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;background:var(--tone);color:var(--tone-on);clip-path:var(--m3-cookie);transition:transform .7s var(--m3-spring)}
body.rmbz-m3 .roy .roy-card:hover .roy-card-icon{transform:rotate(30deg)}
body.rmbz-m3 .roy .roy-card-icon .ms{font-size:24px;transition:transform .7s var(--m3-spring)}
body.rmbz-m3 .roy .roy-card:hover .roy-card-icon .ms{transform:rotate(-30deg)}
body.rmbz-m3 #wpbody-content .roy :is(.roy-card-head,.roy-bar-text) h3{color:var(--m3-t1);font:800 18px/1.25 var(--m3-font);font-variation-settings:'wdth' 108}
body.rmbz-m3 .roy :is(.roy-card-head,.roy-bar-text) p{margin-top:2px;color:var(--m3-t2);font-size:13px;line-height:1.45}
body.rmbz-m3 #wpbody-content .roy .roy-bar-text p a{color:var(--m3-t1);font-weight:750;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
body.rmbz-m3 .roy .roy-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 14px}
body.rmbz-m3 .roy .roy-two.is-chart{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
body.rmbz-m3 .roy .roy-two .roy-card{margin:0}
body.rmbz-m3 .roy .roy-five{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
body.rmbz-m3 .roy .roy-five .roy-card{grid-column:span 2;margin:0}
body.rmbz-m3 .roy .roy-five .roy-card:nth-child(-n+2){grid-column:span 3}
body.rmbz-m3 .roy .roy-none{padding:22px 14px;border-radius:20px;background:var(--m3-s2);color:var(--m3-t2);font-size:13.5px;text-align:center}
body.rmbz-m3 .roy .roy-hint{display:flex;align-items:flex-start;gap:7px;margin-top:12px;color:var(--m3-t2);font-size:12.5px;line-height:1.5}
body.rmbz-m3 .roy .roy-hint.is-out{margin:0 6px 14px}
body.rmbz-m3 .roy :is(.roy-pays,.roy-stores,.roy-pager)+.roy-hint.is-out{margin-top:14px}
body.rmbz-m3 .roy .roy-hint .ms{flex:none;color:var(--m3-t3);font-size:17px}
body.rmbz-m3 .roy .roy-bar{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;flex-wrap:wrap;margin:8px 0 12px;padding:0 6px;scroll-margin-top:52px}
body.rmbz-m3 .roy .roy-bar-text{flex:1 1 300px;min-width:0}

/* ============ 5. As pessoas, a atividade e as listas por ordem ============ */
body.rmbz-m3 .roy .roy-people{display:grid;gap:4px;counter-reset:roy}
body.rmbz-m3 .roy .roy-people li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px 14px;min-height:58px;padding:7px 14px 7px 8px;border-radius:20px;background:var(--m3-s2);transition:border-radius .4s var(--m3-spring-soft),background .2s}
body.rmbz-m3 .roy .roy-people li:hover{border-radius:13px;background:var(--m3-s3)}
body.rmbz-m3 .roy .roy-people.is-ranked li{counter-increment:roy}
body.rmbz-m3 .roy .roy-people.is-ranked li .roy-avatar{font-size:0}
body.rmbz-m3 .roy .roy-people.is-ranked li .roy-avatar::before{content:counter(roy);font-size:15px;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-people-fact{color:var(--m3-t2);font-size:12.5px;line-height:1.4;text-align:right;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-people-fact b{color:var(--m3-t1);font-weight:750}
body.rmbz-m3 #wpbody-content .roy .roy-person{display:flex;align-items:center;gap:10px;min-width:0;border-radius:20px;color:var(--m3-t1)}
body.rmbz-m3 .roy .roy-avatar{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;background:var(--tone,var(--m3-violet));color:var(--tone-on,#fff);font-size:16px;font-weight:800;transition:border-radius .4s var(--m3-spring)}
body.rmbz-m3 .roy .roy-person:hover .roy-avatar{border-radius:14px}
body.rmbz-m3 .roy .roy-avatar.is-big{width:72px;height:72px;font-size:30px}
body.rmbz-m3 .roy .roy-person-text{display:grid;flex:1;min-width:0}
body.rmbz-m3 .roy .roy-person-text strong{overflow:hidden;font-size:14.5px;font-weight:760;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
body.rmbz-m3 .roy .roy-person:hover strong{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
body.rmbz-m3 .roy .roy-person-text span{color:var(--m3-t2);font-size:12.5px;line-height:1.35;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-money{color:var(--m3-success-ink);font-size:16px;font-weight:820;white-space:nowrap;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-delta{min-width:76px;padding:8px 10px;border-radius:14px;background:var(--tone);color:var(--tone-on);font-size:13.5px;font-weight:800;line-height:1;text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-feed{display:grid;gap:4px}
body.rmbz-m3 #wpbody-content .roy .roy-feed-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:4px 12px;min-height:58px;padding:7px 14px 7px 8px;border-radius:20px;background:var(--m3-s2);color:var(--m3-t1);transition:border-radius .4s var(--m3-spring-soft),background .2s}
body.rmbz-m3 #wpbody-content .roy a.roy-feed-row:hover{border-radius:13px;background:var(--m3-s3);color:var(--m3-t1)}
body.rmbz-m3 .roy .roy-feed-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:21px;background:var(--tone);color:var(--tone-on);transition:border-radius .4s var(--m3-spring)}
body.rmbz-m3 .roy .roy-feed-row:hover .roy-feed-icon{border-radius:13px}
body.rmbz-m3 .roy .roy-feed-icon .ms{font-size:21px}
body.rmbz-m3 .roy .roy-feed-text{display:grid;gap:1px;min-width:0;overflow-wrap:anywhere}
body.rmbz-m3 .roy .roy-feed-text strong{font-size:14.5px;font-weight:760;line-height:1.3}
body.rmbz-m3 .roy .roy-feed-text span{color:var(--m3-t2);font-size:12.5px;line-height:1.4}
body.rmbz-m3 .roy .roy-feed-who{max-width:170px;overflow:hidden;padding:6px 12px;border-radius:14px;background:var(--m3-s3);color:var(--m3-t1);font-size:12.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
body.rmbz-m3 .roy .roy-feed-row:hover .roy-feed-who{background:var(--m3-card)}
body.rmbz-m3 .roy .roy-feed-when{grid-column:-2/-1;color:var(--m3-t2);font-size:12.5px;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-feed.is-log li{animation:royIn .4s var(--m3-enter) backwards;animation-delay:calc(var(--i)*25ms)}
body.rmbz-m3 .roy .roy-feed.is-log .roy-feed-row{background:var(--m3-card);box-shadow:var(--m3-shadow)}
body.rmbz-m3 .roy .roy-day{margin:0 0 18px}
body.rmbz-m3 #wpbody-content .roy .roy-day h3{margin:0 8px 8px;color:var(--m3-t2);font:750 13.5px/1.4 var(--m3-font)}
body.rmbz-m3 .roy .roy-rank{display:grid;gap:6px}
body.rmbz-m3 #wpbody-content .roy .roy-rank-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 10px;padding:9px 12px;border-radius:16px;background:var(--m3-s2);color:var(--m3-t1);font-size:13.5px;transition:border-radius .35s var(--m3-spring-soft),background .2s}
body.rmbz-m3 #wpbody-content .roy .roy-rank-row:hover{border-radius:11px;background:var(--m3-s3);color:var(--m3-t1)}
body.rmbz-m3 .roy .roy-rank-name{overflow:hidden;font-weight:680;text-overflow:ellipsis;white-space:nowrap}
body.rmbz-m3 .roy a.roy-rank-row:hover .roy-rank-name{text-decoration:underline;text-underline-offset:3px}
body.rmbz-m3 .roy .roy-rank-row strong{font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-rank-bar{grid-column:1/-1;display:block;height:8px;overflow:hidden;border-radius:4px;background:var(--m3-s4)}
body.rmbz-m3 .roy .roy-rank-bar i{display:block;width:calc(var(--f)*100%);min-width:6px;height:100%;border-radius:4px;background:var(--tone);transform-origin:left;animation:royGrowX .7s var(--m3-enter) backwards;animation-delay:calc(var(--i)*50ms + 120ms)}
body.rmbz-m3 .roy .roy-rank .is-others .roy-rank-bar i{background:var(--roy-c6)}

/* ============ 6. Os filtros ============ */
body.rmbz-m3 .roy .roy-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding:8px;border-radius:30px;background:var(--m3-s3);scroll-margin-top:52px}
body.rmbz-m3 .roy .roy-seg{display:flex;gap:4px;flex-wrap:wrap;padding:4px;border-radius:24px;background:var(--m3-card)}
body.rmbz-m3 #wpbody-content .roy .roy-seg-item{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 14px;border-radius:20px;color:var(--m3-t2);font:700 13px/1 var(--m3-font);white-space:nowrap;transition:border-radius .35s var(--m3-spring-soft),background .2s,color .2s,transform .2s var(--m3-spring)}
body.rmbz-m3 #wpbody-content .roy .roy-seg-item.has-count{padding-right:6px}
body.rmbz-m3 .roy .roy-seg-item b{min-width:28px;padding:6px 8px;border-radius:14px;background:var(--m3-s3);color:var(--m3-t1);font-size:12px;font-weight:800;text-align:center;font-variant-numeric:tabular-nums}
body.rmbz-m3 #wpbody-content .roy .roy-seg-item:hover{border-radius:11px;background:var(--m3-s3);color:var(--m3-t1)}
body.rmbz-m3 #wpbody-content .roy .roy-seg-item:active{transform:scale(.96)}
body.rmbz-m3 #wpbody-content .roy .roy-seg-item.is-on{border-radius:11px;background:var(--m3-t1);color:var(--m3-brand)}
body.rmbz-m3 .roy .roy-seg-item.is-on b{background:var(--m3-brand);color:var(--m3-t1)}
body.rmbz-m3 .roy .roy-menu{position:relative}
body.rmbz-m3 .roy .roy-menu-btn{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 12px 0 14px;border-radius:24px;background:var(--m3-card);color:var(--m3-t1);font-size:13.5px;font-weight:700;transition:border-radius .35s var(--m3-spring-soft),background .2s}
body.rmbz-m3 .roy .roy-menu-btn:hover,body.rmbz-m3 .roy .roy-menu[open] .roy-menu-btn{border-radius:14px}
body.rmbz-m3 .roy .roy-menu-btn .ms{font-size:20px}
body.rmbz-m3 .roy .roy-menu-btn>span:not(.ms){overflow:hidden;max-width:220px;text-overflow:ellipsis;white-space:nowrap}
body.rmbz-m3 .roy .roy-menu-list{position:absolute;z-index:60;top:calc(100% + 6px);left:0;display:grid;gap:2px;width:max-content;min-width:100%;max-width:min(320px,86vw);max-height:340px;overflow:auto;padding:8px;border-radius:24px;background:var(--m3-card);box-shadow:0 18px 44px -14px rgba(31,27,19,.45),0 0 0 1px var(--m3-olv);animation:royIn .25s var(--m3-enter)}
body.rmbz-m3 #wpbody-content .roy .roy-menu-item{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:42px;padding:0 14px;border-radius:16px;color:var(--m3-t1);font-size:14px;font-weight:650;overflow-wrap:anywhere;transition:border-radius .3s var(--m3-spring-soft),background .2s}
body.rmbz-m3 #wpbody-content .roy .roy-menu-item:hover{border-radius:11px;background:var(--m3-s3);color:var(--m3-t1)}
body.rmbz-m3 #wpbody-content .roy .roy-menu-item.is-on{background:var(--m3-t1);color:var(--m3-brand)}
body.rmbz-m3 .roy .roy-menu-item .ms{flex:none;font-size:18px}
body.rmbz-m3 .roy .roy-search{display:flex;align-items:center;gap:6px;flex:1 1 280px;min-width:0;min-height:48px;margin:0;padding:4px 5px 4px 4px;border-radius:24px;background:var(--m3-card);transition:box-shadow .2s}
body.rmbz-m3 .roy .roy-search:focus-within{box-shadow:inset 0 0 0 2px var(--m3-pri)}
body.rmbz-m3 .roy .roy-search.is-bad{box-shadow:inset 0 0 0 2px var(--m3-danger)}
body.rmbz-m3 .roy .roy-search>.ms{flex:none;margin-left:10px;color:var(--m3-t3);font-size:20px}
body.rmbz-m3 #wpbody-content .roy .roy-search input[type=text]{flex:1;min-width:0;width:100%;min-height:38px;margin:0;padding:0 4px;border:0;background:transparent;box-shadow:none!important;color:var(--m3-t1);font:500 14px/1.4 var(--m3-font)}
body.rmbz-m3 .roy input::placeholder{color:var(--m3-t3);opacity:1;font-weight:500}
body.rmbz-m3 .roy .roy-pager{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:16px 0 0}
body.rmbz-m3 .roy .roy-pager-now{color:var(--m3-t2);font-size:13.5px;font-weight:650;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-pager-now strong{color:var(--m3-t1)}

/* ============ 7. Os gráficos e as tabelas ============ */
body.rmbz-m3 .roy .roy-c1{background:var(--roy-c1)}
body.rmbz-m3 .roy .roy-c2{background:var(--roy-c2)}
body.rmbz-m3 .roy .roy-c3{background:var(--roy-c3)}
body.rmbz-m3 .roy .roy-c4{background:var(--roy-c4)}
body.rmbz-m3 .roy .roy-c5{background:var(--roy-c5)}
body.rmbz-m3 .roy .roy-c6{background:var(--roy-c6)}
body.rmbz-m3 .roy .roy-legend{display:flex;gap:6px 18px;flex-wrap:wrap;margin:0 0 12px;color:var(--m3-t2);font-size:13px;font-weight:650}
body.rmbz-m3 .roy .roy-legend li{display:inline-flex;align-items:center;gap:7px}
body.rmbz-m3 .roy .roy-legend>li>i:not(.roy-cell){flex:none;width:14px;height:14px;border-radius:5px}
body.rmbz-m3 .roy .roy-bars{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:6px}
body.rmbz-m3 .roy .roy-col{position:relative;display:grid;justify-items:center;min-width:0;border-radius:14px;cursor:default}
body.rmbz-m3 .roy .roy-plot{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:100%;height:232px}
body.rmbz-m3 .roy .roy-col-v{flex:none;margin-bottom:5px;color:var(--m3-t2);font-size:11.5px;font-weight:750;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-stack{display:flex;flex:none;flex-direction:column;gap:2px;width:min(100%,46px);height:calc(var(--f)*205px);min-height:6px;transform-origin:bottom;animation:royGrowY .7s var(--m3-enter) backwards;animation-delay:calc(var(--i)*35ms + 120ms)}
body.rmbz-m3 .roy .roy-stack i{display:block;flex:1 1 0;min-height:2px}
body.rmbz-m3 .roy .roy-stack i:first-child{border-top-left-radius:8px;border-top-right-radius:8px}
body.rmbz-m3 .roy .roy-stack i:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px}
body.rmbz-m3 .roy .roy-col.is-empty .roy-stack{height:6px;border-radius:3px;background:var(--m3-olv)}
body.rmbz-m3 .roy .roy-col:is(:hover,:focus-visible){background:var(--m3-s2)}
body.rmbz-m3 .roy .roy-col:is(:hover,:focus-visible) .roy-col-v{color:var(--m3-t1)}
body.rmbz-m3 .roy .roy-col-m{margin-top:8px;color:var(--m3-t2);font-size:12.5px;font-weight:700;line-height:1.2}
body.rmbz-m3 .roy .roy-col-y{min-height:15px;color:var(--m3-t3);font-size:11px;font-weight:650;line-height:15px;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-col:is(:hover,:focus-visible)::after{content:attr(data-tip);position:absolute;z-index:20;left:50%;bottom:calc(100% - 20px);width:max-content;max-width:260px;padding:9px 12px;border-radius:14px;background:var(--m3-t1);color:#fff;font:600 12.5px/1.5 var(--m3-font);text-align:left;white-space:pre-line;pointer-events:none;transform:translateX(-50%);font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-col:nth-child(-n+3):is(:hover,:focus-visible)::after{left:0;transform:none}
body.rmbz-m3 .roy .roy-col:nth-last-child(-n+3):is(:hover,:focus-visible)::after{right:0;left:auto;transform:none}
body.rmbz-m3 .roy .roy-more{margin-top:12px}
body.rmbz-m3 .roy .roy-more>summary{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 10px 0 12px;border-radius:19px;background:var(--m3-s3);color:var(--m3-t1);font-size:13px;font-weight:700;transition:border-radius .35s var(--m3-spring-soft),background .2s}
body.rmbz-m3 .roy .roy-more>summary:hover,body.rmbz-m3 .roy .roy-more[open]>summary{border-radius:11px;background:var(--m3-s4)}
body.rmbz-m3 .roy .roy-more>summary .ms{font-size:18px}
body.rmbz-m3 .roy .roy-more[open]>:not(summary){margin-top:10px;animation:royIn .3s var(--m3-enter)}
/* “relative”: sem isto, os textos só para leitores de ecrã saíam da caixa e a página deslizava para o lado. */
body.rmbz-m3 .roy .roy-scroll{position:relative;overflow-x:auto;border-radius:20px}
body.rmbz-m3 #wpbody-content .roy .roy-table{width:100%;border-collapse:separate;border-spacing:0 3px;color:var(--m3-t1);font-size:13.5px}
body.rmbz-m3 #wpbody-content .roy .roy-table :is(th,td){padding:10px 14px;border:0;background:var(--m3-s2);color:var(--m3-t1);font-weight:500;line-height:1.4;text-align:left;vertical-align:middle;white-space:nowrap;font-variant-numeric:tabular-nums}
body.rmbz-m3 #wpbody-content .roy .roy-table thead th{padding:4px 14px;background:transparent;color:var(--m3-t2);font-size:12.5px;font-weight:700}
body.rmbz-m3 #wpbody-content .roy .roy-table tbody th{min-width:118px;font-weight:720;white-space:normal;overflow-wrap:break-word}
body.rmbz-m3 #wpbody-content .roy .roy-table :is(th,td).is-num{text-align:right}
body.rmbz-m3 #wpbody-content .roy .roy-table td.is-text{min-width:220px;color:var(--m3-t2);white-space:normal;overflow-wrap:anywhere}
body.rmbz-m3 #wpbody-content .roy .roy-table tbody :is(th,td):first-child{border-radius:14px 0 0 14px}
body.rmbz-m3 #wpbody-content .roy .roy-table tbody :is(th,td):last-child{border-radius:0 14px 14px 0}

/* ============ 8. As importações ============ */
body.rmbz-m3 .roy .roy-calendar .roy-scroll{border-radius:0}
body.rmbz-m3 .roy .roy-cal-sum{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
body.rmbz-m3 .roy .roy-cal-sum .m3-pill{min-height:34px;padding:0 14px 0 10px;border-radius:17px;font-size:13px;font-weight:750}
body.rmbz-m3 #wpbody-content .roy .roy-cal{width:100%;min-width:820px;border-collapse:separate;border-spacing:4px;table-layout:fixed}
body.rmbz-m3 #wpbody-content .roy .roy-cal :is(th,td){padding:0;border:0;background:transparent;color:var(--m3-t1);font-size:13px;line-height:1.2;text-align:center;vertical-align:middle}
body.rmbz-m3 #wpbody-content .roy .roy-cal thead th{padding:2px 0 4px;color:var(--m3-t2);font-weight:750}
body.rmbz-m3 .roy .roy-cal thead small{display:block;color:var(--m3-t3);font-size:11px;font-weight:650}
body.rmbz-m3 #wpbody-content .roy .roy-cal :is(thead th:first-child,tbody th){position:sticky;z-index:1;left:0;width:148px;padding-right:8px;background:var(--m3-card);font-weight:750;text-align:left;overflow-wrap:anywhere}
body.rmbz-m3 #wpbody-content .roy .roy-cell{display:grid;place-content:center;justify-items:center;gap:2px;min-height:58px;padding:4px 2px;border-radius:18px;transition:border-radius .35s var(--m3-spring),transform .25s var(--m3-spring)}
body.rmbz-m3 #wpbody-content .roy a.roy-cell:hover{border-radius:10px;transform:scale(1.05)}
body.rmbz-m3 .roy .roy-cell .ms{font-size:19px}
body.rmbz-m3 .roy .roy-cell b{font-size:11.5px;font-weight:750;white-space:nowrap;font-variant-numeric:tabular-nums}
body.rmbz-m3 #wpbody-content .roy .roy-cell.is-ok{background:var(--m3-success);color:#fff}
body.rmbz-m3 #wpbody-content .roy .roy-cell.is-pending{background:var(--m3-brand);color:var(--m3-onpc)}
body.rmbz-m3 #wpbody-content .roy .roy-cell.is-gap{background:var(--m3-danger);color:#fff}
body.rmbz-m3 #wpbody-content .roy .roy-cell.is-wait{background:var(--m3-info-soft);color:var(--m3-info-ink)}
body.rmbz-m3 #wpbody-content .roy .roy-cell.is-before{background:var(--m3-s2)}
body.rmbz-m3 .roy .roy-legend.is-cells{margin:12px 0 0}
body.rmbz-m3 #wpbody-content .roy .roy-legend .roy-cell{width:26px;min-height:26px;padding:0;border-radius:9px;font-style:normal}
body.rmbz-m3 .roy .roy-legend .roy-cell .ms{font-size:16px}
body.rmbz-m3 .roy .roy-imports{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,470px),1fr));gap:14px}
body.rmbz-m3 .roy .roy-import{display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:30px;background:var(--m3-card);box-shadow:var(--m3-shadow);animation:royIn .45s var(--m3-enter) backwards;animation-delay:calc(var(--i)*35ms);transition:border-radius .45s var(--m3-spring-soft),box-shadow .25s}
body.rmbz-m3 .roy .roy-import:hover{border-radius:22px;box-shadow:var(--m3-shadow-lift)}
body.rmbz-m3 .roy .roy-import-head{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--tone-soft);color:var(--tone-ink)}
body.rmbz-m3 .roy .roy-import-icon{display:grid;place-items:center;flex:none;width:50px;height:50px;background:var(--tone);color:var(--tone-on);clip-path:var(--m3-cookie)}
body.rmbz-m3 .roy .roy-import-icon .ms{font-size:25px}
body.rmbz-m3 .roy .roy-import-title{display:grid;gap:1px;flex:1;min-width:0}
body.rmbz-m3 .roy .roy-import-title strong{color:var(--m3-t1);font-size:17px;font-weight:820;line-height:1.25;overflow-wrap:anywhere}
body.rmbz-m3 .roy .roy-import-title span{font-size:13px;font-weight:650}
body.rmbz-m3 .roy .roy-import-head .m3-pill{flex:none;min-height:32px;padding:0 13px;border-radius:16px;background:var(--tone);color:var(--tone-on);font-size:12.5px;font-weight:780}
body.rmbz-m3 .roy .roy-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
body.rmbz-m3 .roy .roy-import>.roy-facts{padding:14px 16px 0}
body.rmbz-m3 .roy .roy-facts:has(>:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
body.rmbz-m3 .roy .roy-facts>div{display:grid;align-content:center;gap:2px;min-height:60px;padding:8px 12px;border-radius:18px;background:var(--m3-s2)}
body.rmbz-m3 .roy .roy-facts dt{color:var(--m3-t2);font-size:12px;font-weight:650;line-height:1.3}
body.rmbz-m3 .roy .roy-facts dd{color:var(--m3-t1);font-size:15.5px;font-weight:800;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-import>.roy-more{margin:12px 16px 0}
body.rmbz-m3 .roy .roy-story{display:grid;gap:5px;color:var(--m3-t2);font-size:12.5px;font-weight:600;line-height:1.45}
body.rmbz-m3 .roy .roy-import>.roy-story{padding:14px 16px 0}
body.rmbz-m3 .roy .roy-story li{display:flex;align-items:flex-start;gap:7px;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-story .ms{flex:none;color:var(--m3-t3);font-size:17px}
body.rmbz-m3 .roy .roy-story li>span:last-child{min-width:0}
body.rmbz-m3 .roy .roy-import-foot{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding:14px 16px 16px}
body.rmbz-m3 .roy .roy-import-foot form{display:flex;margin:0}
body.rmbz-m3 .roy .roy-import.is-pending .roy-import-foot form{flex:1 1 140px}
body.rmbz-m3 #wpbody-content .roy .roy-import.is-pending .roy-import-foot .roy-btn{flex:1;min-height:50px;border-radius:25px;font-size:15px}
body.rmbz-m3 #wpbody-content .roy .roy-import.is-pending .roy-import-foot .roy-btn:hover{border-radius:15px}

/* ============ 9. Os formulários do dinheiro ============ */
body.rmbz-m3 .roy .roy-form{display:grid;gap:18px;margin:0 0 14px;padding:20px;border-radius:32px;background:var(--m3-card);box-shadow:var(--m3-shadow);animation:royIn .4s var(--m3-enter) backwards;scroll-margin-top:52px}
body.rmbz-m3 .roy .roy-set>legend{display:block;width:100%;margin:0 0 8px;color:var(--m3-t2);font-size:12.5px;font-weight:750}
body.rmbz-m3 .roy .roy-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.rmbz-m3 .roy .roy-types.is-three{grid-template-columns:repeat(3,minmax(0,1fr))}
body.rmbz-m3 .roy :is(.roy-type,.roy-pill){position:relative;display:block;min-width:0;cursor:pointer}
body.rmbz-m3 #wpbody-content .roy :is(.roy-type,.roy-pill) input{position:absolute;inset:0;width:100%;height:100%;margin:0;border:0;opacity:0;cursor:pointer}
body.rmbz-m3 .roy .roy-type-box{display:flex;align-items:center;gap:12px;height:100%;min-height:84px;padding:14px;border-radius:26px;background:var(--tone-soft);color:var(--tone-ink);transition:border-radius .45s var(--m3-spring-soft),background .25s,color .25s}
body.rmbz-m3 .roy .roy-type:hover .roy-type-box{border-radius:18px}
body.rmbz-m3 .roy .roy-type-icon{display:grid;place-items:center;flex:none;width:50px;height:50px;background:var(--tone);color:var(--tone-on);clip-path:var(--m3-cookie);transition:transform .6s var(--m3-spring),background .25s,color .25s}
body.rmbz-m3 .roy .roy-type-icon .ms{font-size:25px;transition:transform .6s var(--m3-spring)}
body.rmbz-m3 .roy .roy-type-text{display:grid;gap:2px;min-width:0;font-size:12.5px;line-height:1.4}
body.rmbz-m3 .roy .roy-type-text strong{font-size:16px;font-weight:800;line-height:1.2}
body.rmbz-m3 .roy .roy-type input:checked+.roy-type-box{border-radius:16px;background:var(--tone);color:var(--tone-on)}
body.rmbz-m3 .roy .roy-type input:checked+.roy-type-box .roy-type-icon{background:var(--tone-on);color:var(--tone);transform:rotate(30deg)}
body.rmbz-m3 .roy .roy-type input:checked+.roy-type-box .roy-type-icon .ms{transform:rotate(-30deg)}
body.rmbz-m3 .roy :is(.roy-type input:focus-visible+.roy-type-box,.roy-pill input:focus-visible+span){outline:2px solid var(--m3-pri);outline-offset:2px}
body.rmbz-m3 .roy .roy-pills{display:flex;gap:6px;flex-wrap:wrap}
body.rmbz-m3 .roy .roy-pill>span,body.rmbz-m3 #wpbody-content .roy .roy-chip{display:inline-flex;align-items:center;gap:7px;min-height:44px;margin:0;padding:0 18px;border:0;border-radius:22px;background:var(--m3-s3);color:var(--m3-t1);font:700 13.5px/1.2 var(--m3-font);cursor:pointer;transition:border-radius .4s var(--m3-spring-soft),background .2s,color .2s}
body.rmbz-m3 .roy :is(.roy-pill,.roy-chip) .ms{font-size:19px}
body.rmbz-m3 .roy .roy-pill:hover>span,body.rmbz-m3 #wpbody-content .roy .roy-chip:hover{border-radius:13px;background:var(--m3-s4)}
body.rmbz-m3 .roy .roy-pill input:checked+span,body.rmbz-m3 #wpbody-content .roy .roy-chip.is-on{border-radius:13px;background:var(--m3-t1);color:var(--m3-brand)}
body.rmbz-m3 .roy .roy-fields{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:12px}
body.rmbz-m3 .roy .roy-field{display:grid;gap:5px;min-width:0}
body.rmbz-m3 .roy [data-roy-form=payout] .roy-field.is-wide{grid-column:1/-1}
body.rmbz-m3 .roy .roy-field>span{color:var(--m3-t2);font-size:12.5px;font-weight:750}
/* “!important” por causa do estilo comum dos separadores da Distribuição (.rmbz-rd2), que também o usa. */
body.rmbz-m3 #wpbody-content .roy .roy-field input[type=text]{width:100%;min-width:0;min-height:52px;margin:0;padding:0 16px;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 .roy .roy-field.is-money input[type=text]{font-size:20px;font-weight:820;font-variant-numeric:tabular-nums}
body.rmbz-m3 #wpbody-content .roy .roy-field input[type=text]:focus{border-radius:12px!important;background:var(--m3-card);box-shadow:inset 0 0 0 2px var(--m3-pri)!important}
body.rmbz-m3 #wpbody-content .roy .roy-field input[type=text].is-bad{background:var(--m3-danger-soft);box-shadow:inset 0 0 0 2px var(--m3-danger)!important}
body.rmbz-m3 .roy .roy-sum{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px 18px;border-radius:20px;background:var(--tone-soft);color:var(--tone-ink);font-size:15px;font-weight:750;line-height:1.4;transition:background .25s,color .25s}
body.rmbz-m3 .roy .roy-sum .ms{flex:none;font-size:23px}
body.rmbz-m3 .roy .roy-msg{padding:12px 16px;border-radius:18px;background:var(--m3-danger-soft);color:var(--m3-danger-ink);font-size:13.5px;font-weight:700}
body.rmbz-m3 .roy .roy-form-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.rmbz-m3 #wpbody-content .roy .roy-form-foot .roy-btn{min-height:52px;border-radius:26px}
body.rmbz-m3 #wpbody-content .roy .roy-form-foot .roy-btn:hover{border-radius:16px}

/* Escolher o artista */
body.rmbz-m3 .roy .roy-pick{display:grid;gap:8px;min-width:0;padding:10px;border-radius:28px;background:var(--m3-violet-soft)}
body.rmbz-m3 .roy .roy-found{display:grid;gap:4px}
body.rmbz-m3 #wpbody-content .roy .roy-hit{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin:0;padding:6px 14px 6px 8px;border:0;border-radius:18px;background:var(--m3-card);color:var(--m3-t1);font:600 14px/1.3 var(--m3-font);text-align:left;cursor:pointer;transition:border-radius .35s var(--m3-spring),background .2s,color .2s}
body.rmbz-m3 #wpbody-content .roy .roy-hit:hover{border-radius:12px;background:var(--m3-violet);color:#fff}
body.rmbz-m3 .roy .roy-pick .roy-avatar{background:var(--m3-violet);color:#fff}
body.rmbz-m3 #wpbody-content .roy .roy-hit:hover :is(.roy-person-text span){color:inherit}
body.rmbz-m3 #wpbody-content .roy .roy-hit:hover .roy-avatar,body.rmbz-m3 .roy .roy-chosen .roy-avatar{background:#fff;color:var(--m3-violet)}
body.rmbz-m3 .roy .roy-found-note{padding:10px 14px;color:var(--m3-violet-ink);font-size:13.5px;font-weight:650}
body.rmbz-m3 .roy .roy-chosen{display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 8px 8px 10px;border-radius:20px;background:var(--m3-violet);color:#fff}
body.rmbz-m3 .roy .roy-chosen .roy-person-text span{color:inherit}
body.rmbz-m3 #wpbody-content .roy .roy-chosen .roy-btn{background:rgba(255,255,255,.2);color:#fff}
body.rmbz-m3 #wpbody-content .roy .roy-chosen .roy-btn:hover{background:#fff;color:var(--m3-violet)}

/* O calendário do dia do pagamento, com o dia escolhido em grande ao lado */
body.rmbz-m3 .roy .roy-when{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:14px;margin-top:10px;padding:14px;border-radius:28px;background:var(--m3-info-soft);animation:royIn .3s var(--m3-enter) both}
body.rmbz-m3 .roy .roy-month{display:grid;align-content:start;gap:8px;min-width:0}
body.rmbz-m3 .roy .roy-when-side{display:grid;align-content:center;justify-items:center;gap:6px;min-width:0;padding:20px 16px;border-radius:20px;background:var(--m3-info);color:#fff;font-size:13.5px;font-weight:650;text-align:center}
body.rmbz-m3 .roy .roy-when-side strong{font-size:24px;font-weight:820;line-height:1.2;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-when-icon{display:grid;place-items:center;width:68px;height:68px;margin-bottom:4px;background:#fff;color:var(--m3-info);clip-path:var(--m3-cookie)}
body.rmbz-m3 .roy .roy-when-icon .ms{font-size:32px}
body.rmbz-m3 .roy .roy-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
body.rmbz-m3 .roy .roy-month-head strong{color:var(--m3-info-ink);font-size:14.5px;font-weight:800}
body.rmbz-m3 #wpbody-content .roy .roy-month .roy-icon-btn{background:var(--m3-card)}
body.rmbz-m3 .roy :is(.roy-month-week,.roy-month-days){display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
body.rmbz-m3 .roy .roy-month-week span{color:var(--m3-info-ink);font-size:12px;font-weight:700}
body.rmbz-m3 #wpbody-content .roy .roy-month-day{display:grid;place-items:center;aspect-ratio:1;min-width:0;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--m3-t1);font:650 13.5px/1 var(--m3-font);font-variant-numeric:tabular-nums;cursor:pointer;transition:border-radius .35s var(--m3-spring),background .2s,color .2s}
body.rmbz-m3 #wpbody-content .roy .roy-month-day:hover{border-radius:34%;background:var(--m3-card)}
body.rmbz-m3 #wpbody-content .roy .roy-month-day.is-today{box-shadow:inset 0 0 0 1.5px var(--m3-info)}
body.rmbz-m3 #wpbody-content .roy .roy-month-day.is-on{border-radius:34%;background:var(--m3-info);color:#fff}
body.rmbz-m3 #wpbody-content .roy .roy-month-day:disabled{background:transparent;color:var(--m3-ol);cursor:default}

/* ============ 10. O extrato e os pagamentos ============ */
body.rmbz-m3 .roy .roy-lines{display:grid;gap:8px}
body.rmbz-m3 .roy .roy-line{display:grid;grid-template-columns:auto minmax(0,1.1fr) minmax(0,1.2fr) auto;align-items:center;gap:8px 14px;padding:12px 16px 12px 12px;border-radius:24px;background:var(--m3-card);box-shadow:var(--m3-shadow);animation:royIn .4s var(--m3-enter) backwards;animation-delay:calc(var(--i)*22ms);transition:border-radius .4s var(--m3-spring-soft)}
body.rmbz-m3 .roy .roy-line:hover{border-radius:16px}
body.rmbz-m3 .roy .roy-line-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:23px;background:var(--tone);color:var(--tone-on);transition:border-radius .4s var(--m3-spring)}
body.rmbz-m3 .roy .roy-line:hover .roy-line-icon{border-radius:14px}
body.rmbz-m3 .roy .roy-line-icon .ms{font-size:23px}
body.rmbz-m3 .roy .roy-line-what{display:grid;gap:1px;min-width:0}
body.rmbz-m3 .roy .roy-line-what strong{font-size:14.5px;font-weight:780;line-height:1.3}
body.rmbz-m3 .roy .roy-line-what span{color:var(--m3-t2);font-size:12.5px;line-height:1.35;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-line .roy-avatar{width:36px;height:36px;background:var(--m3-s4);color:var(--m3-t1);font-size:14px}
body.rmbz-m3 .roy .roy-line-money{display:grid;justify-items:end;gap:4px}
body.rmbz-m3 .roy .roy-line-money strong{font-size:17px;font-weight:820;white-space:nowrap;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-line-money .is-in{color:var(--m3-success-ink)}
body.rmbz-m3 .roy .roy-line-money .is-out{color:var(--m3-danger-ink)}
body.rmbz-m3 .roy .roy-line-text{grid-column:2/-1;color:var(--m3-t2);font-size:12.5px;line-height:1.5;overflow-wrap:anywhere}
body.rmbz-m3 .roy .roy-line.is-reverted{background:var(--m3-s2);box-shadow:none}
body.rmbz-m3 .roy .roy-line.is-reverted .roy-line-icon{background:var(--m3-t3);color:var(--m3-card)}
body.rmbz-m3 .roy .roy-line.is-reverted .roy-line-money strong{color:var(--m3-t2);text-decoration:line-through}
body.rmbz-m3 .roy .roy-pays{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:12px}
body.rmbz-m3 .roy .roy-pay{display:flex;flex-direction:column;gap:12px;min-width:0;padding:14px 16px;border-radius:28px;background:var(--m3-card);box-shadow:var(--m3-shadow);animation:royIn .4s var(--m3-enter) backwards;animation-delay:calc(var(--i)*30ms);transition:border-radius .45s var(--m3-spring-soft),box-shadow .25s}
body.rmbz-m3 .roy .roy-pay:hover{border-radius:20px;box-shadow:var(--m3-shadow-lift)}
body.rmbz-m3 .roy .roy-pay-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
body.rmbz-m3 .roy .roy-pay .roy-money{color:var(--tone-ink);font-size:20px}
body.rmbz-m3 .roy .roy-pay-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:auto}
body.rmbz-m3 .roy .roy-pay-foot .m3-pill{min-height:34px;padding:0 14px 0 10px;border-radius:17px;background:var(--tone);color:var(--tone-on);font-size:13px;font-weight:780}
body.rmbz-m3 .roy .roy-pay-do{display:flex;gap:6px;flex-wrap:wrap}
body.rmbz-m3 .roy .roy-pay-do form{margin:0}
body.rmbz-m3 .roy .roy-pay.is-gone{background:var(--m3-s2);box-shadow:none}
body.rmbz-m3 .roy .roy-pay.is-gone .roy-money{text-decoration:line-through}

/* ============ 11. Comissões, relatórios e lojas ============ */
body.rmbz-m3 .roy .roy-split{display:grid;gap:6px}
body.rmbz-m3 .roy .roy-split li{display:grid;grid-template-columns:170px minmax(0,1fr) minmax(330px,auto);align-items:center;gap:8px 16px;padding:10px 16px;border-radius:20px;background:var(--m3-s2);animation:royIn .4s var(--m3-enter) backwards;animation-delay:calc(var(--i)*22ms);transition:border-radius .4s var(--m3-spring-soft)}
body.rmbz-m3 .roy .roy-split li:hover{border-radius:13px}
body.rmbz-m3 .roy .roy-split-name{display:grid;gap:1px;min-width:0}
body.rmbz-m3 .roy .roy-split-name strong{font-size:14.5px;font-weight:780;line-height:1.3;overflow-wrap:anywhere}
body.rmbz-m3 .roy .roy-split-name span{color:var(--m3-t2);font-size:12.5px}
body.rmbz-m3 .roy .roy-split-bar{display:block;height:22px}
body.rmbz-m3 .roy .roy-split-bar>span{display:flex;gap:2px;width:calc(var(--f)*100%);min-width:10px;height:100%;transform-origin:left;animation:royGrowX .7s var(--m3-enter) backwards;animation-delay:calc(var(--i)*30ms + 120ms)}
body.rmbz-m3 .roy .roy-split-bar i{display:block;flex:1 1 0;min-width:2px;height:100%}
body.rmbz-m3 .roy .roy-split-bar i:first-child{border-radius:4px 0 0 4px}
body.rmbz-m3 .roy .roy-split-bar i:last-child{border-radius:0 8px 8px 0}
body.rmbz-m3 .roy .roy-split-bar i:only-child{border-radius:4px 8px 8px 4px}
body.rmbz-m3 .roy .roy-split-nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;text-align:right}
body.rmbz-m3 .roy .roy-split-nums dt{color:var(--m3-t2);font-size:12px;font-weight:650}
body.rmbz-m3 .roy .roy-split-nums dd{font-size:14px;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-split-nums dd strong{color:var(--m3-violet-ink);font-weight:820}
body.rmbz-m3 .roy .roy-split-nums small{display:block;color:var(--m3-t2);font-size:12px}
body.rmbz-m3 .roy .roy-reports{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:14px}
body.rmbz-m3 .roy .roy-report{display:flex;flex-direction:column;margin:0}
body.rmbz-m3 .roy .roy-report form{display:flex;flex:1;flex-direction:column;gap:14px;margin:0}
body.rmbz-m3 #wpbody-content .roy .roy-report form>.roy-btn{align-self:flex-start;min-height:50px;margin-top:auto;padding:0 22px 0 18px;border-radius:25px;font-size:15px}
body.rmbz-m3 #wpbody-content .roy .roy-report form>.roy-btn:hover{border-radius:15px}
body.rmbz-m3 .roy .roy-report .roy-pill input:checked+span{background:var(--tone);color:var(--tone-on)}
body.rmbz-m3 .roy .roy-stores{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,400px),1fr));gap:12px}
body.rmbz-m3 .roy .roy-store{display:grid;align-content:start;justify-items:start;gap:10px;min-width:0;padding:16px;border-radius:28px;background:var(--m3-card);box-shadow:var(--m3-shadow);animation:royIn .4s var(--m3-enter) backwards;animation-delay:calc(var(--i)*30ms);transition:border-radius .45s var(--m3-spring-soft),box-shadow .25s}
body.rmbz-m3 .roy .roy-store:hover{border-radius:20px;box-shadow:var(--m3-shadow-lift)}
body.rmbz-m3 .roy .roy-store>:not(.m3-pill){width:100%}
body.rmbz-m3 .roy .roy-store-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.rmbz-m3 .roy .roy-store-head strong{min-width:0;font-size:17px;font-weight:820;line-height:1.25;overflow-wrap:anywhere}
body.rmbz-m3 .roy .roy-store-head .roy-money{font-size:18px}
body.rmbz-m3 .roy .roy-store-share{display:flex;align-items:center;gap:12px;color:var(--m3-t2);font-size:13px;font-weight:750;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-store-bar{flex:1;height:10px;overflow:hidden;border-radius:5px;background:var(--m3-s4)}
body.rmbz-m3 .roy .roy-store-bar i{display:block;width:calc(var(--f)*100%);min-width:6px;height:100%;border-radius:5px;transform-origin:left;animation:royGrowX .7s var(--m3-enter) backwards;animation-delay:calc(var(--i)*40ms + 120ms)}
body.rmbz-m3 .roy .roy-store .roy-facts{grid-template-columns:repeat(6,minmax(0,1fr))}
body.rmbz-m3 .roy .roy-store .roy-facts>div{grid-column:span 2;min-height:56px}
body.rmbz-m3 .roy .roy-store .roy-facts>div:nth-child(-n+2){grid-column:span 3}
body.rmbz-m3 .roy .roy-change{display:inline-block;padding:3px 8px;border-radius:9px;background:var(--tone-soft);color:var(--tone-ink);font-size:12px;font-weight:780;white-space:nowrap}

/* ============ 12. A folha do artista ============ */
body.rmbz-m3 .roy .roy-summary-start{max-width:none}
body.rmbz-m3 .roy .roy-summary-start .roy-msg{margin-top:10px}
body.rmbz-m3 .roy .roy-summary-pick{flex:1 1 360px;min-width:0;margin:0}
body.rmbz-m3 .roy .roy-tools.is-summary .roy-pick{padding:0;background:transparent}
body.rmbz-m3 .roy .roy-tools.is-summary .roy-chosen{min-height:56px;border-radius:24px}
body.rmbz-m3 #wpbody-content .roy .roy-tools.is-summary>.roy-btn{min-height:48px;border-radius:24px}
body.rmbz-m3 #wpbody-content .roy .roy-tools.is-summary>.roy-btn:not(.roy-btn--ink){background:var(--m3-card)}
body.rmbz-m3 .roy .roy-sheet{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;padding:clamp(18px,3cqi,36px);border-radius:34px;background:var(--m3-card);box-shadow:var(--m3-shadow);animation:royIn .45s var(--m3-enter) backwards}
body.rmbz-m3 .roy .roy-sheet-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:16px;border-bottom:3px solid var(--m3-brand);color:var(--m3-t2);font-size:13px}
body.rmbz-m3 .roy .roy-sheet-top div{display:grid}
body.rmbz-m3 .roy .roy-sheet-top strong{color:var(--m3-t1);font-size:20px;font-weight:820;font-variation-settings:'wdth' 110}
body.rmbz-m3 .roy .roy-sheet-who{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
body.rmbz-m3 .roy .roy-sheet-who .roy-avatar{background:var(--m3-brand);color:var(--m3-onpc)}
body.rmbz-m3 .roy .roy-sheet-who>div{flex:1 1 240px;min-width:0}
body.rmbz-m3 #wpbody-content .roy .roy-sheet-who h3{color:var(--m3-t1);font:840 28px/1.15 var(--m3-font);font-variation-settings:'wdth' 110;overflow-wrap:anywhere}
body.rmbz-m3 .roy .roy-sheet-who p{display:flex;gap:4px 16px;flex-wrap:wrap;margin-top:6px;color:var(--m3-t2);font-size:13.5px}
body.rmbz-m3 .roy .roy-sheet-who p span:not(.ms){display:inline-flex;align-items:center;gap:5px;overflow-wrap:anywhere}
body.rmbz-m3 .roy .roy-sheet-who .ms{font-size:18px}
body.rmbz-m3 .roy .roy-sheet-month{padding:12px 20px;border-radius:22px;background:var(--m3-brand-soft);color:var(--m3-brand-ink);font-size:17px;font-weight:820}
body.rmbz-m3 .roy .roy-sheet .roy-tiles{margin:0}
body.rmbz-m3 .roy .roy-sheet .m3-tile{background:var(--m3-s2);box-shadow:none}
body.rmbz-m3 #wpbody-content .roy .roy-sheet-part h4{display:flex;align-items:center;gap:8px;margin:0 0 6px;color:var(--m3-t1);font:780 16px/1.3 var(--m3-font)}
body.rmbz-m3 .roy .roy-sheet-part h4 .ms{color:var(--m3-pri);font-size:21px}
body.rmbz-m3 .roy :is(.roy-sheet-note,.roy-sheet-none){display:flex;align-items:center;gap:10px;padding:14px 18px;border-radius:20px;background:var(--m3-info-soft);color:var(--m3-info-ink);font-size:13.5px;font-weight:600;line-height:1.5}
body.rmbz-m3 .roy :is(.roy-sheet-note,.roy-sheet-none) .ms{flex:none;font-size:22px}
body.rmbz-m3 .roy .roy-sheet-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:14px;border-top:1px solid var(--m3-olv);color:var(--m3-t2);font-size:12.5px}

/* ============ 13. A saúde do sistema ============ */
body.rmbz-m3 .roy .roy-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:14px;margin:0 0 14px}
body.rmbz-m3 .roy .roy-check{display:flex;flex-direction:column;gap:14px;min-width:0;padding:16px;border-radius:30px;background:var(--m3-card);box-shadow:var(--m3-shadow);animation:royIn .45s var(--m3-enter) backwards;animation-delay:calc(var(--i)*45ms)}
body.rmbz-m3 .roy .roy-check header{display:flex;align-items:center;gap:14px;padding:14px;border-radius:22px;background:var(--tone-soft);color:var(--tone-ink)}
body.rmbz-m3 .roy .roy-check-icon{display:grid;place-items:center;flex:none;width:50px;height:50px;background:var(--tone);color:var(--tone-on);clip-path:var(--m3-cookie)}
body.rmbz-m3 .roy .roy-check-icon .ms{font-size:25px}
body.rmbz-m3 #wpbody-content .roy .roy-check h3{color:inherit;font:800 16.5px/1.3 var(--m3-font)}
body.rmbz-m3 .roy .roy-check header p{margin-top:3px;font-size:13px;line-height:1.5}
body.rmbz-m3 .roy .roy-check footer{margin-top:auto}
body.rmbz-m3 .roy .roy-check-items{display:grid;gap:4px}
body.rmbz-m3 #wpbody-content .roy .roy-check-items :is(a,li>span){display:flex;align-items:center;justify-content:space-between;gap:6px 14px;flex-wrap:wrap;min-height:44px;padding:8px 14px;border-radius:16px;background:var(--m3-s2);color:var(--m3-t1);font-size:13.5px;transition:border-radius .35s var(--m3-spring-soft),background .2s}
body.rmbz-m3 #wpbody-content .roy .roy-check-items a:hover{border-radius:11px;background:var(--m3-s3);color:var(--m3-t1)}
body.rmbz-m3 .roy .roy-check-items strong{flex:1 1 180px;min-width:0;font-weight:700;overflow-wrap:anywhere}
body.rmbz-m3 .roy .roy-check-items span span{color:var(--m3-t2)}
body.rmbz-m3 .roy .roy-check-items :is(a,span)>span{color:var(--m3-t2);font-size:12.5px;font-variant-numeric:tabular-nums}
body.rmbz-m3 .roy .roy-check-items .is-more{padding:4px 14px;color:var(--m3-t2);font-size:13px;font-weight:650}
body.rmbz-m3 .roy .roy-fine{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:10px}
body.rmbz-m3 .roy .roy-fine li{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:26px;background:var(--m3-success-soft);color:var(--m3-success-ink);animation:royIn .4s var(--m3-enter) backwards;animation-delay:calc(var(--i)*35ms)}
body.rmbz-m3 .roy .roy-fine li>div{display:grid;gap:1px;min-width:0;font-size:13px;line-height:1.45}
body.rmbz-m3 .roy .roy-fine strong{font-size:15px;font-weight:800}

/* ============ 14. Vazio ============ */
body.rmbz-m3 .roy .roy-empty{display:grid;justify-items:center;gap:6px;padding:44px 20px;border-radius:32px;background:var(--m3-card);box-shadow:var(--m3-shadow);color:var(--m3-t2);font-size:14px;text-align:center;animation:royIn .45s var(--m3-enter) backwards}
body.rmbz-m3 .roy .roy-empty strong{color:var(--m3-t1);font-size:18px;font-weight:800}
body.rmbz-m3 .roy .roy-empty-cookie{display:grid;place-items:center;width:76px;height:76px;margin-bottom:6px;background:var(--tone);color:var(--tone-on);clip-path:var(--m3-cookie)}
body.rmbz-m3 .roy .roy-empty-cookie .ms{font-size:34px}
body.rmbz-m3 #wpbody-content .roy .roy-empty .roy-btn{margin-top:10px}
body.rmbz-m3 .roy .roy-tiles+.roy-empty{margin-bottom:14px}

/* ============ 15. Menos largura e menos movimento ============ */
@media (max-width:1180px){
  body.rmbz-m3 .roy .roy-layout{grid-template-columns:minmax(0,1fr)}
  body.rmbz-m3 .roy .roy-nav{position:static;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
}
@media (max-width:782px){
  body.rmbz-m3 .roy .roy-top{padding:16px}
  body.rmbz-m3 #wpbody-content .roy .roy-top .roy-btn{flex:1 1 100%}
  body.rmbz-m3 .roy .roy-nav{display:flex;gap:6px;overflow-x:auto;padding:8px;border-radius:26px;scrollbar-width:thin}
  body.rmbz-m3 .roy .roy-nav-group{display:flex;flex:none;gap:4px}
  body.rmbz-m3 .roy .roy-nav-title{display:none}
  body.rmbz-m3 #wpbody-content .roy .roy-nav-item{flex:none;padding:0 14px 0 12px;white-space:nowrap}
  body.rmbz-m3 #wpbody-content .roy :is(.roy-field,.roy-search) input[type=text]{font-size:16px}
}
@container roy (max-width:980px){
  body.rmbz-m3 .roy .roy-two.is-chart{grid-template-columns:minmax(0,1fr)}
  body.rmbz-m3 .roy .roy-split li{grid-template-columns:minmax(0,1fr) minmax(300px,auto)}
  body.rmbz-m3 .roy .roy-split-bar{grid-row:2;grid-column:1/-1}
}
@container roy (max-width:860px){
  body.rmbz-m3 .roy .roy-two{grid-template-columns:minmax(0,1fr)}
  body.rmbz-m3 .roy .roy-five{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.rmbz-m3 .roy .roy-five .roy-card,body.rmbz-m3 .roy .roy-five .roy-card:nth-child(-n+2){grid-column:auto}
  body.rmbz-m3 .roy .roy-five .roy-card:last-child{grid-column:1/-1}
  body.rmbz-m3 .roy .roy-types.is-three{grid-template-columns:minmax(0,1fr)}
  body.rmbz-m3 .roy .roy-line{grid-template-columns:auto minmax(0,1fr) auto}
  body.rmbz-m3 .roy .roy-line .roy-person{grid-column:2/-1;grid-row:2}
}
@container roy (max-width:620px){
  body.rmbz-m3 .roy .roy-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.rmbz-m3 .roy .roy-tiles .m3-tile{padding:14px}
  body.rmbz-m3 .roy .roy-tiles .m3-tile:last-child:nth-child(odd){grid-column:1/-1}
  body.rmbz-m3 .roy :is(.roy-card,.roy-form){padding:14px;border-radius:26px}
  body.rmbz-m3 .roy .roy-alert-go{flex:1 1 100%}
  body.rmbz-m3 .roy .roy-five,body.rmbz-m3 .roy .roy-types{grid-template-columns:minmax(0,1fr)}
  body.rmbz-m3 .roy :is(.roy-fields,.roy-when){grid-template-columns:minmax(0,1fr)}
  body.rmbz-m3 #wpbody-content .roy .roy-cal{min-width:730px}
  body.rmbz-m3 #wpbody-content .roy .roy-cal :is(thead th:first-child,tbody th){width:96px;font-size:12px}
  body.rmbz-m3 .roy .roy-bars{gap:3px}
  body.rmbz-m3 .roy .roy-plot{height:170px}
  body.rmbz-m3 .roy .roy-stack{height:calc(var(--f)*165px)}
  body.rmbz-m3 .roy .roy-col-v{display:none}
  body.rmbz-m3 .roy .roy-col-m{font-size:11px}
  body.rmbz-m3 .roy .roy-people li{grid-template-columns:minmax(0,1fr) auto}
  body.rmbz-m3 .roy .roy-people-fact{grid-column:1/-1;grid-row:2;padding-left:52px;text-align:left}
  body.rmbz-m3 .roy .roy-people-fact br{display:none}
  body.rmbz-m3 .roy :is(.roy-seg,.roy-menu,.roy-search,.roy-summary-pick){flex:1 1 100%}
  body.rmbz-m3 #wpbody-content .roy .roy-seg-item{flex:1 1 auto}
  body.rmbz-m3 .roy .roy-menu-btn>span:not(.ms){flex:1;max-width:none}
  body.rmbz-m3 #wpbody-content .roy :is(.roy-bar,.roy-tools.is-summary)>.roy-btn,body.rmbz-m3 #wpbody-content .roy .roy-form-foot .roy-btn--main{flex:1 1 100%}
  body.rmbz-m3 #wpbody-content .roy .roy-feed-row{grid-template-columns:auto minmax(0,1fr) auto}
  body.rmbz-m3 .roy .roy-feed-who{grid-row:2;grid-column:2}
  body.rmbz-m3 .roy .roy-feed-who{justify-self:start}
  body.rmbz-m3 .roy .roy-feed-when{grid-row:2;grid-column:3}
  body.rmbz-m3 .roy .roy-feed:not(.is-log) .roy-feed-when{grid-column:2/-1}
  body.rmbz-m3 .roy .roy-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.rmbz-m3 .roy .roy-import-head{flex-wrap:wrap}
  body.rmbz-m3 .roy .roy-import-foot :is(form,.roy-btn){flex:1 1 100%}
  body.rmbz-m3 .roy .roy-line{grid-template-columns:auto minmax(0,1fr)}
  body.rmbz-m3 .roy .roy-line-money{grid-column:2;grid-row:3;display:flex;align-items:center;justify-items:start}
  body.rmbz-m3 .roy .roy-line .roy-person{grid-column:2}
  body.rmbz-m3 .roy .roy-split li{grid-template-columns:minmax(0,1fr)}
  body.rmbz-m3 .roy .roy-split-bar{grid-row:auto}
  body.rmbz-m3 .roy .roy-split-nums{text-align:left}
  body.rmbz-m3 #wpbody-content .roy .roy-report form>.roy-btn{align-self:stretch}
}
@media (prefers-reduced-motion:reduce){
  body.rmbz-m3 .roy *,body.rmbz-m3 .roy *::before,body.rmbz-m3 .roy *::after{animation:none!important;transition:none!important}
}

/* ============ 16. Imprimir a folha do artista ============ */
@media print{
  html:has(.roy-sheet),body.rmbz-m3:has(.roy-sheet),body.rmbz-m3:has(.roy-sheet) :is(#wpwrap,#wpcontent,#wpbody,#wpbody-content){margin:0!important;padding:0!important;background:#fff!important}
  body.rmbz-m3:has(.roy-sheet) :is(#wpadminbar,#adminmenumain,#adminmenuback,#adminmenuwrap,#wpfooter,#screen-meta,#screen-meta-links,.m3-hero,.nav-tab-wrapper,.notice,.roy-top,.roy-nav,.roy-tools,dialog){display:none!important}
  body.rmbz-m3:has(.roy-sheet) :is(.wrap,.tab-content){margin:0!important;animation:none!important}
  body.rmbz-m3 .roy:has(.roy-sheet) .roy-layout{display:block}
  body.rmbz-m3 .roy:has(.roy-sheet) .roy-view{container-type:normal}
  body.rmbz-m3 .roy .roy-sheet,body.rmbz-m3 .roy .roy-sheet *{animation:none!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body.rmbz-m3 .roy .roy-sheet{display:block;padding:0;border-radius:0;background:#fff;box-shadow:none}
  body.rmbz-m3 #wpbody-content .roy .roy-sheet>*+*{margin-top:12px}
  body.rmbz-m3 .roy .roy-sheet .roy-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;break-inside:avoid}
  body.rmbz-m3 .roy .roy-sheet .roy-tiles .m3-tile{padding:10px 12px;border-radius:16px}
  body.rmbz-m3 .roy .roy-sheet .m3-tile-icon{width:32px;height:32px;margin-bottom:4px}
  body.rmbz-m3 .roy .roy-sheet .roy-tiles .m3-tile-value{font-size:18px}
  body.rmbz-m3 .roy .roy-sheet-top{padding-bottom:10px}
  body.rmbz-m3 .roy .roy-avatar.is-big{width:56px;height:56px;font-size:24px}
  body.rmbz-m3 #wpbody-content .roy .roy-sheet-who h3{font-size:22px}
  body.rmbz-m3 .roy .roy-sheet-month{padding:9px 16px;font-size:15px}
  body.rmbz-m3 .roy .roy-sheet-note{padding:9px 14px;font-size:11.5px}
  body.rmbz-m3 .roy :is(.roy-sheet-note,.roy-sheet-foot){break-before:avoid;break-inside:avoid}
  body.rmbz-m3 .roy .roy-sheet .m3-tile-value{overflow:visible;white-space:normal}
  body.rmbz-m3 .roy .roy-scroll{overflow:visible}
  body.rmbz-m3 #wpbody-content .roy .roy-table{border-spacing:0 2px;font-size:11.5px}
  body.rmbz-m3 #wpbody-content .roy .roy-table tbody :is(th,td){padding:4px 10px}
  body.rmbz-m3 #wpbody-content .roy .roy-table thead th{padding:2px 10px;font-size:11px}
  body.rmbz-m3 #wpbody-content .roy .roy-sheet-part h4{margin-bottom:2px;font-size:14px}
  body.rmbz-m3 #wpbody-content .roy .roy-table tr{break-inside:avoid}
  body.rmbz-m3 #wpbody-content .roy .roy-sheet-part h4{break-after:avoid}
}
