/* [1.5.1081] Distribuição: só peças com nome próprio, porque este ficheiro carrega em todas as vistas da página.
   rsp- é o painel de splits na ficha do lançamento (includes/distribution/distribution-splits.php). */
body.rmbz-m3--rmbz-admin-distribution .rsp{box-sizing:border-box;margin:12px 0 0;padding:16px;border-radius:24px;background:var(--m3-s2)}
body.rmbz-m3--rmbz-admin-distribution .rsp-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
body.rmbz-m3--rmbz-admin-distribution .rsp-head>.m3-card-text{flex:1 1 220px}
body.rmbz-m3--rmbz-admin-distribution #wpbody-content .rsp-head h4{margin:0;color:var(--m3-t1);font-size:16px;font-weight:750}
body.rmbz-m3--rmbz-admin-distribution .rsp>.m3-rows{margin-top:12px}
body.rmbz-m3--rmbz-admin-distribution .rsp>.m3-rows>.m3-row{background:var(--m3-card)}
body.rmbz-m3--rmbz-admin-distribution .rsp form{margin:0}
body.rmbz-m3--rmbz-admin-distribution .rsp-pct{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}
body.rmbz-m3--rmbz-admin-distribution .rsp-remove{margin-right:auto}
body.rmbz-m3--rmbz-admin-distribution .rsp .m3-form{--min:210px}
@media (max-width:782px){body.rmbz-m3--rmbz-admin-distribution .rsp-do{width:100%}body.rmbz-m3--rmbz-admin-distribution .rsp-do>*,body.rmbz-m3--rmbz-admin-distribution .rsp-do .m3-btn{flex:1 1 auto;width:100%}}

/* Os filtros dos lançamentos (dfl-), o vídeo do Content ID (cid-) e o diagnóstico (imd). */
body.rmbz-m3--rmbz-admin-distribution .dfl-date{display:inline-flex;align-items:center;gap:8px}
body.rmbz-m3--rmbz-admin-distribution .dfl-date label{color:var(--m3-t2);font-size:13px;font-weight:650}
body.rmbz-m3--rmbz-admin-distribution .dfl :is(.m3-btn,.m3c){min-height:48px}
@media (max-width:782px){body.rmbz-m3--rmbz-admin-distribution .dfl-date{flex:1 1 100%}body.rmbz-m3--rmbz-admin-distribution .dfl-date label{width:34px}body.rmbz-m3--rmbz-admin-distribution .dfl-date .m3c{flex:1}}
body.rmbz-m3--rmbz-admin-distribution .cid-video{margin:0 0 12px;border-radius:20px;background:var(--m3-t1);overflow:hidden}
body.rmbz-m3--rmbz-admin-distribution .cid-video iframe{display:block;width:100%;aspect-ratio:16/9;border:0}
body.rmbz-m3--rmbz-admin-distribution .imd-tiles{margin:0 0 18px}
body.rmbz-m3--rmbz-admin-distribution .imd-more{margin:14px 0}
body.rmbz-m3--rmbz-admin-distribution .imd-more summary{display:inline-flex;align-items:center;min-height:44px;color:var(--m3-brand-ink);font-size:14px;font-weight:700;cursor:pointer}
body.rmbz-m3--rmbz-admin-distribution .imd-presets{margin:0 0 14px}
body.rmbz-m3--rmbz-admin-distribution .imd-log{max-height:420px;overflow:auto}
body.rmbz-m3--rmbz-admin-distribution #wpbody-content .m3-card:is([id^="inspect-"]) h3{margin:22px 0 10px;font-size:16px;font-weight:750}
body.rmbz-m3--rmbz-admin-distribution #wpbody-content .m3-card:is([id^="inspect-"]) .num{text-align:right;font-variant-numeric:tabular-nums}

/* Importar royalties: os passos e as distribuidoras (imp-), e a ordem das datas (imv-). */
body.rmbz-m3--rmbz-admin-distribution .imp-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px;padding:0;list-style:none}
body.rmbz-m3--rmbz-admin-distribution .imp-steps li{display:flex;align-items:center;gap:14px;margin:0;padding:14px 18px;border-radius:22px;background:var(--m3-s3)}
body.rmbz-m3--rmbz-admin-distribution .imp-steps li>span{display:grid;flex:none;width:38px;height:38px;place-items:center;border-radius:50%;background:var(--m3-card);color:var(--m3-t1);font-size:15px;font-weight:800}
body.rmbz-m3--rmbz-admin-distribution .imp-steps li.is-current{background:var(--m3-brand-soft)}
body.rmbz-m3--rmbz-admin-distribution .imp-steps li.is-current>span{background:var(--m3-t1);color:#fff}
body.rmbz-m3--rmbz-admin-distribution .imp-steps strong{display:block;color:var(--m3-t1);font-size:14.5px}
body.rmbz-m3--rmbz-admin-distribution .imp-steps small{color:var(--m3-t2);font-size:13px;line-height:1.4}
body.rmbz-m3--rmbz-admin-distribution .imp-profiles{margin:0;padding:0;border:0}
body.rmbz-m3--rmbz-admin-distribution .imp-profiles legend{padding:0;color:var(--m3-t1);font-size:17px;font-weight:750}
body.rmbz-m3--rmbz-admin-distribution .imp-profiles>p{margin:4px 0 14px;color:var(--m3-t2);font-size:13.5px}
body.rmbz-m3--rmbz-admin-distribution .imp-profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:10px}
body.rmbz-m3--rmbz-admin-distribution .imp-profile{position:relative;display:flex;gap:14px;padding:16px 46px 16px 16px;border:2px solid transparent;border-radius:24px;background:var(--m3-s3);cursor:pointer;transition:background .2s,border-color .2s}
body.rmbz-m3--rmbz-admin-distribution .imp-profile:has(input:checked){border-color:var(--m3-brand);background:var(--m3-brand-soft)}
body.rmbz-m3--rmbz-admin-distribution .imp-profile:focus-within{outline:3px solid var(--m3-t1);outline-offset:2px}
body.rmbz-m3--rmbz-admin-distribution .imp-profile input{position:absolute;top:16px;right:14px;margin:0}
body.rmbz-m3--rmbz-admin-distribution .imp-profile-mark{display:grid;flex:none;width:44px;height:44px;place-items:center;border-radius:14px;font-size:15px;font-weight:800}
body.rmbz-m3--rmbz-admin-distribution .imp-profile-text strong{display:block;color:var(--m3-t1);font-size:15px}
body.rmbz-m3--rmbz-admin-distribution .imp-profile-text small{display:block;margin:2px 0 10px;color:var(--m3-t2);font-size:13px;line-height:1.45}
body.rmbz-m3--rmbz-admin-distribution .imv-order{margin:0 0 18px;padding:0;border:0}
body.rmbz-m3--rmbz-admin-distribution .imv-order .m3-row{cursor:pointer}
body.rmbz-m3--rmbz-admin-distribution .imv-order .m3-row:has(input:checked){background:var(--m3-brand-soft)}
@media (max-width:782px){body.rmbz-m3--rmbz-admin-distribution .imp-steps{grid-template-columns:minmax(0,1fr)}}
