/* [1.5.1081] Visão Geral. O registo dos downloads (view=download-logs) tem o estilo dele em admin-download-logs.php. */
body.rmbz-m3--rmbz-dashboard .po-alerts{--min:300px;gap:10px}
body.rmbz-m3--rmbz-dashboard #wpbody-content .po-alert{display:flex;align-items:center;gap:14px;min-width:0;padding:16px 18px;border-radius:24px;background:var(--tone-soft);color:var(--tone-ink);text-decoration:none;transition:border-radius .45s var(--m3-spring),transform .45s var(--m3-spring)}
body.rmbz-m3--rmbz-dashboard #wpbody-content .po-alert:hover{border-radius:14px;transform:translateY(-2px)}
body.rmbz-m3--rmbz-dashboard #wpbody-content .po-alert:focus-visible{outline:2px solid var(--m3-pri);outline-offset:2px}
body.rmbz-m3--rmbz-dashboard .po-alert .m3-card-icon{background:var(--tone);color:var(--tone-on)}
body.rmbz-m3--rmbz-dashboard .po-alert>span:nth-child(2){display:grid;flex:1;gap:2px;min-width:0}
body.rmbz-m3--rmbz-dashboard .po-alert strong{font-size:15px;font-weight:750;line-height:1.3}
body.rmbz-m3--rmbz-dashboard .po-alert small{font-size:13px}
body.rmbz-m3--rmbz-dashboard .m3-section-head{margin-top:22px}
body.rmbz-m3--rmbz-dashboard .po-money .m3-tile-value{font-size:22px}

body.rmbz-m3--rmbz-dashboard .po-period{position:sticky;z-index:30;top:40px;margin-top:22px;border-radius:32px}
body.rmbz-m3--rmbz-dashboard .po-presets{display:flex;flex-wrap:wrap;gap:4px}
body.rmbz-m3--rmbz-dashboard #wpbody-content .po-presets a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:22px;color:var(--m3-t2);font-size:13.5px;font-weight:650;text-decoration:none;transition:border-radius .4s var(--m3-spring),background .2s}
body.rmbz-m3--rmbz-dashboard #wpbody-content .po-presets a:hover{border-radius:13px;background:var(--m3-s3);color:var(--m3-t1)}
body.rmbz-m3--rmbz-dashboard #wpbody-content .po-presets a[aria-current]{border-radius:13px;background:var(--m3-t1);color:var(--m3-brand)}
body.rmbz-m3--rmbz-dashboard .po-label{flex:1 1 150px;color:var(--m3-pri);font-size:14px;text-align:center}
body.rmbz-m3--rmbz-dashboard .po-dates{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
body.rmbz-m3--rmbz-dashboard .po-dates :is(.m3-btn,.m3c){min-height:44px}

body.rmbz-m3--rmbz-dashboard .po-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:8px;margin:0 0 18px}
body.rmbz-m3--rmbz-dashboard .po-facts>div{padding:14px 16px;border-radius:18px;background:var(--m3-s2)}
body.rmbz-m3--rmbz-dashboard .po-facts dt{display:flex;align-items:center;gap:8px;color:var(--m3-t2);font-size:13px;font-weight:600}
body.rmbz-m3--rmbz-dashboard .po-facts dt:is(.is-downloads,.is-plays)::before{content:"";width:12px;height:12px;border-radius:6px;background:var(--m3-success)}
body.rmbz-m3--rmbz-dashboard .po-facts dt.is-plays::before{background:var(--m3-violet)}
body.rmbz-m3--rmbz-dashboard .po-facts dd{margin:2px 0;font-size:24px;font-weight:800;line-height:1.2;font-variant-numeric:tabular-nums;font-variation-settings:'wdth' 112}
body.rmbz-m3--rmbz-dashboard .po-facts small{color:var(--m3-t2);font-size:12.5px}
body.rmbz-m3--rmbz-dashboard .po-chart{position:relative}
body.rmbz-m3--rmbz-dashboard .po-chart svg{display:block;width:100%;height:260px;touch-action:pan-y}
body.rmbz-m3--rmbz-dashboard .po-grid{stroke:var(--m3-olv);stroke-width:1;vector-effect:non-scaling-stroke}
body.rmbz-m3--rmbz-dashboard .po-line{fill:none;stroke:var(--m3-success);stroke-width:2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
body.rmbz-m3--rmbz-dashboard .po-line.is-plays{stroke:var(--m3-violet)}
body.rmbz-m3--rmbz-dashboard .po-area{fill:var(--m3-success);opacity:.1}
body.rmbz-m3--rmbz-dashboard .po-area.is-plays{fill:var(--m3-violet)}
body.rmbz-m3--rmbz-dashboard .po-y{position:absolute;left:0;padding:0 4px;color:var(--m3-t2);font-size:12px;line-height:1;pointer-events:none;background:var(--m3-card);transform:translateY(-50%);font-variant-numeric:tabular-nums}
body.rmbz-m3--rmbz-dashboard .po-chart .po-y{top:0}
body.rmbz-m3--rmbz-dashboard .po-x{display:flex;justify-content:space-between;padding:6px 2.2% 0 2.8%;color:var(--m3-t2);font-size:12.5px}
body.rmbz-m3--rmbz-dashboard .po-cross{position:absolute;top:0;width:1px;height:260px;background:var(--m3-t1);pointer-events:none}
body.rmbz-m3--rmbz-dashboard .po-tip{position:absolute;top:0;padding:8px 14px;border-radius:14px;background:var(--m3-t1);color:#fff;font-size:13px;white-space:nowrap;pointer-events:none}
body.rmbz-m3--rmbz-dashboard :is(.po-cross,.po-tip)[hidden]{display:none}

body.rmbz-m3--rmbz-dashboard .po-ranks{--min:330px}
body.rmbz-m3--rmbz-dashboard .po-rank{display:grid;gap:12px;margin:0;padding:0;list-style:none}
body.rmbz-m3--rmbz-dashboard .po-rank li{display:flex;align-items:center;gap:12px;margin:0}
body.rmbz-m3--rmbz-dashboard .po-place{display:flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:15px;background:var(--tone-soft);color:var(--tone-ink);font-size:13px;font-weight:800}
body.rmbz-m3--rmbz-dashboard .po-name{display:grid;flex:1;gap:5px;min-width:0}
body.rmbz-m3--rmbz-dashboard .po-name b{overflow:hidden;font-size:13.5px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
body.rmbz-m3--rmbz-dashboard .po-name i{display:block;height:6px;border-radius:3px;background:var(--tone)}
body.rmbz-m3--rmbz-dashboard .po-rank strong{flex:none;font-size:14px;font-variant-numeric:tabular-nums}
@media (max-width:782px){
  body.rmbz-m3--rmbz-dashboard .po-period{position:static;border-radius:26px}
  body.rmbz-m3--rmbz-dashboard .po-presets{width:100%;justify-content:center}
  body.rmbz-m3--rmbz-dashboard .po-label{flex-basis:100%}
  body.rmbz-m3--rmbz-dashboard .po-dates,body.rmbz-m3--rmbz-dashboard .po-dates>*{flex:1 1 auto}
  body.rmbz-m3--rmbz-dashboard .po-tip{white-space:normal}
}
