/* Recebe Fácil V71 — operações em tempo real. Isolado à tela do Super Admin. */
.rfm-dashboard{--rfm-bg:#071b2b;--rfm-panel:#0c2639;--rfm-border:#24465a;--rfm-text:#f0f8fc;--rfm-muted:#a3bccc;--rfm-green:#0ed7a0;--rfm-cyan:#36a8fc;--rfm-amber:#f0b64e;--rfm-red:#ff606b;box-sizing:border-box;display:grid;gap:8px;min-width:0;width:100%;max-width:1580px;margin:0 auto;padding:12px;background:linear-gradient(145deg,#071725,#0c2638);border:1px solid #24506a;border-radius:14px;color:var(--rfm-text);font-family:inherit;box-shadow:0 10px 38px #0004}
.rfm-dashboard *{box-sizing:border-box}
.rfm-dashboard button,.rfm-dashboard select{font:inherit;-webkit-tap-highlight-color:transparent}
.rfm-dashboard .rf48-button{min-height:0;color:inherit;cursor:pointer}
.rfm-dashboard button:focus-visible,.rfm-dashboard select:focus-visible{outline:2px solid #4ceacc;outline-offset:2px}
.rfm-dashboard button:hover{border-color:#51b7b5!important}
.rfm-dashboard button:active{transform:translateY(1px)}
.rfm-dashboard .rf48-icon{width:17px;height:17px;flex:none}
.rfm-panel{min-width:0;min-height:0;border:1px solid var(--rfm-border);border-radius:12px;background:linear-gradient(180deg,#102c40,#0b2235);box-shadow:inset 0 1px #ffffff08;overflow:hidden}
.rfm-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:0}
.rfm-brand{display:flex;align-items:center;gap:10px;white-space:nowrap;min-width:0}
.rfm-brand>.rf48-icon{width:25px;height:25px;color:var(--rfm-green)}
.rfm-brand>strong{font-size:20px;letter-spacing:-.7px;color:white}
.rfm-brand>i{width:1px;height:23px;background:#527189;margin:0 8px}
.rfm-brand>b{font-size:17px;letter-spacing:.1px;overflow:hidden;text-overflow:ellipsis}
.rfm-live{display:inline-flex;align-items:center;gap:7px;padding:5px 14px;border-radius:999px;background:#1a4050;color:#cbd7db;font-size:11px;font-weight:900;letter-spacing:.5px}
.rfm-live>span{width:7px;height:7px;border-radius:50%;background:#f0b64e;box-shadow:0 0 6px #f0b64e66}
.rfm-live.is-online{background:#04885b;color:white}
.rfm-live.is-online>span{background:#f5ffff;box-shadow:0 0 6px #fff9}
.rfm-top-actions{display:flex;align-items:center;gap:10px}
.rfm-super-admin{font-size:12px;color:#dce6ef}
.rfm-refresh{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:700;padding:6px 10px;border:1px solid var(--rfm-border);border-radius:8px;background:#143248}
.rfm-refresh .rf48-icon{width:14px;height:14px}
.rfm-ticker{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:2px 12px;background:#061522;border:1px solid #1c3748;border-radius:7px;color:#b6ccd8;overflow:hidden;white-space:nowrap;font-size:11px}
.rfm-ticker>b{font-size:10px;color:#e8f1f6;letter-spacing:.65px}
.rfm-ticker>span{display:flex;align-items:center;gap:7px;overflow:hidden;text-overflow:ellipsis}
.rfm-ticker strong{color:var(--rfm-green);font-weight:800}
.rfm-ticker strong.is-amber{color:var(--rfm-amber)}
.rfm-ticker>time{font-size:10px;color:#b4c4cc}
.rfm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:7px;min-width:0;min-height:0}
.rfm-tile{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;min-height:0;padding:9px 12px;border:1px solid #294c62;border-radius:10px;background:#0e293e;text-align:left;overflow:hidden}
.rfm-tile:hover{background:#163b50!important}
.rfm-tile-name{width:100%;display:flex;align-items:center;gap:7px;color:#d0e3ec;font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rfm-tile-name>.rf48-icon:first-child{width:18px;height:18px;color:var(--rfm-green)}
.rfm-tone-cyan .rfm-tile-name>.rf48-icon:first-child{color:var(--rfm-cyan)}
.rfm-tone-gold .rfm-tile-name>.rf48-icon:first-child{color:var(--rfm-amber)}
.rfm-tone-amber .rfm-tile-name>.rf48-icon:first-child{color:var(--rfm-amber)}
.rfm-tone-red .rfm-tile-name>.rf48-icon:first-child{color:var(--rfm-red)}
.rfm-tile-arrow{width:13px!important;height:13px!important;margin-left:auto;color:#789caf}
.rfm-tile-value{font-size:clamp(19px,2.05vw,28px);letter-spacing:-.6px;line-height:1.1;font-weight:850;color:#fff;margin:5px 0 1px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.rfm-tone-gold .rfm-tile-value{color:#ffd07a}
.rfm-tone-amber .rfm-tile-value{color:#ffd07a}
.rfm-tone-red .rfm-tile-value{color:var(--rfm-red)}
.rfm-tile-sub{font-size:10px;color:#8eacbe;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.rfm-middle{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(0,1fr);gap:8px;min-height:0;min-width:0}
.rfm-chart{display:flex;flex-direction:column;padding:10px 12px;gap:5px}
.rfm-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;color:#eff9fc;font-size:13px;font-weight:750;line-height:1.2}
.rfm-section-title .rf48-icon{width:15px;height:15px;color:var(--rfm-green)}
.rfm-section-title small,.rfm-section-title>span{font-size:10px;color:#98b6c6;font-weight:500}
.rfm-section-link{display:flex;align-items:center;gap:7px;border-radius:7px;font-size:13px;font-weight:800;white-space:nowrap}
.rfm-section-link>.rf48-icon:last-child{width:12px;height:12px;color:#7fa8b9}
.rfm-chart-heading{flex-wrap:wrap;gap:6px}
.rfm-filters{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-left:auto;min-width:0}
.rfm-filters>select{background:#12344b;border:1px solid #375b6e;border-radius:7px;color:#c9e3eb;font-size:10px;padding:5px;max-width:150px;min-width:0}
.rfm-dashboard .rf48-period{gap:1px;padding:2px;border-radius:7px;background:#102c41}
.rfm-dashboard .rf48-period button{min-height:23px;padding:4px 8px;font-size:10px;border-radius:5px}
.rfm-dashboard .rf48-period button.is-active{background:#009a6c;color:white}
.rfm-trade-bars{flex:1;min-height:0;display:flex;flex-direction:column;gap:4px}
.rfm-graph-summary{display:flex;align-items:center;gap:14px;min-height:15px;color:#c3dce5;font-size:10px}
.rfm-graph-summary>span{display:flex;align-items:center;gap:5px;min-width:0}
.rfm-dot{display:inline-block;width:9px;height:9px;border-radius:2px;flex:none}
.rfm-blue{background:#3498ff}
.rfm-emerald{background:#13cf96}
.rfm-scope-label{margin-left:auto;color:#9fbbcd;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rfm-graph-body{flex:1;min-height:0;display:flex;gap:6px;padding-top:3px}
.rfm-axis{width:23px;display:flex;flex-direction:column;justify-content:space-between;padding:0 0 16px;text-align:right;color:#94b3c6;font-size:9px}
.rfm-plot{display:grid;grid-template-columns:repeat(var(--rfm-count),minmax(0,1fr));flex:1;min-width:0;min-height:0;gap:1px;align-items:stretch;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#43647a45 25%);border-bottom:1px solid #637f91}
.rfm-bar-group{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;padding:1px;border-radius:4px}
.rfm-bar-group:hover{background:#6dacb920!important}
.rfm-bar-pair{flex:1;min-height:0;display:flex;align-items:flex-end;justify-content:center;gap:2px}
.rfm-bar{display:block;flex:1;min-width:2px;max-width:26px;border-radius:3px 3px 0 0;transition:height .23s}
.rfm-in{background:linear-gradient(#3cadff,#227ce0)}
.rfm-out{background:linear-gradient(#1addaa,#04a876)}
.rfm-bar-label{display:block;height:15px;line-height:15px;text-align:center;font-size:9px;color:#a9cad7;white-space:nowrap;overflow:hidden}
.rfm-graph-empty{flex:1;display:grid;place-items:center;color:#a2bdc9;font-size:12px}
.rfm-right{display:grid;grid-template-rows:1fr 1fr;gap:8px;min-height:0;min-width:0}
.rfm-finance,.rfm-alerts{padding:8px 11px;display:flex;flex-direction:column;gap:6px}
.rfm-finance-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;flex:1;min-height:0}
.rfm-finance-stats>button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-width:0;padding:3px 7px;border-radius:6px;border:1px solid #214158;background:#102a3d}
.rfm-finance-stats span{font-size:10px;color:#b5cedc}
.rfm-finance-stats strong{font-size:clamp(12px,1.32vw,18px);line-height:1.1;font-weight:850;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.rfm-finance-stats .rfm-gold{color:#ffd177}
.rfm-finance-stats .rfm-amber{color:#f5ba59}
.rfm-alerts .rfm-section-title>strong{font-size:10px}
.rfm-alert{display:grid;grid-template-columns:7px minmax(0,1fr) auto auto;align-items:center;gap:6px;flex:1;min-height:0;padding:0 6px;border-radius:5px;font-size:10px}
.rfm-alert:hover{background:#17394a!important}
.rfm-alert>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rfm-alert>b{font-size:12px}
.rfm-alert-action{font-size:9px;color:#7edfc5;padding:3px 5px;border:1px solid #287e70;border-radius:4px}
.rfm-alert-pip{display:block;width:7px;height:7px;border-radius:50%}
.rfm-alert-pip.is-red{background:var(--rfm-red)}
.rfm-alert-pip.is-amber{background:var(--rfm-amber)}
.rfm-alert-pip.is-green{background:var(--rfm-green)}
.rfm-red{color:var(--rfm-red)!important}
.rfm-bottom{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(0,1fr);gap:8px;min-height:0;min-width:0}
.rfm-events,.rfm-shortcuts{display:flex;flex-direction:column;gap:5px;padding:8px 10px;min-height:0}
.rfm-events-list{display:flex;flex-direction:column;gap:2px;min-height:0;overflow:hidden}
.rfm-event{display:grid;grid-template-columns:46px minmax(0,1fr) 80px 70px 12px;align-items:center;gap:6px;padding:3px 5px;min-height:0;border-radius:4px;border-bottom:1px solid #234254;font-size:10px}
.rfm-event:hover{background:#14394e!important}
.rfm-event>time,.rfm-event-code{color:#9ebdce;white-space:nowrap}
.rfm-event-condo{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rfm-event-status{display:block;text-align:center;padding:2px 5px;border-radius:4px;font-weight:800;white-space:nowrap}
.rfm-event-status.is-delivered{background:#0b654f;color:#b1ffdf}
.rfm-event-status.is-received{background:#184c82;color:#c0e8ff}
.rfm-event>.rf48-icon{width:11px;height:11px;color:#92afbe}
.rfm-shortcut-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;flex:1;min-height:0}
.rfm-shortcut-list button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;border:1px solid #2c4a5e;border-radius:7px;background:#102a3c;font-size:9px;text-align:center;padding:3px 2px;overflow:hidden}
.rfm-shortcut-list button>.rf48-icon:first-child{width:16px;height:16px;color:#34d8aa}
.rfm-shortcut-list button>.rf48-icon:last-child{display:none}
.rfm-shortcut-list button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.rfm-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#91aec0;font-size:10px;min-width:0}
.rfm-footer>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rfm-message{font-size:11px;color:#9fb9c8}
@media(min-width:1024px){
 body.rfm-screen-active{overflow:hidden}
 .rfm-dashboard{grid-template-rows:38px 27px minmax(156px,2.2fr) minmax(175px,2.5fr) minmax(90px,1.4fr) 18px;overflow:hidden}
 .rfm-event:nth-child(n+5){display:none}
}
@media(min-width:1024px) and (max-height:720px){
 .rfm-dashboard{gap:5px;padding:8px;grid-template-rows:33px 22px minmax(138px,2.1fr) minmax(158px,2.4fr) minmax(80px,1.4fr) 15px}
 .rfm-brand>b{font-size:14px}
 .rfm-tile{padding:4px 9px}
 .rfm-tile-name{font-size:10px}
 .rfm-tile-value{font-size:19px}
 .rfm-tile-sub{font-size:9px}
 .rfm-event:nth-child(n+4){display:none}
}
@media(max-width:1023px){
 .rfm-dashboard{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:0;border-left:0;border-right:0;box-shadow:none}
 .rfm-header{flex-wrap:wrap;gap:7px}
 .rfm-brand>b{font-size:16px}
 .rfm-kpis{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none}
 .rfm-tile{height:93px;padding:11px 13px}
 .rfm-tile-value{font-size:25px}
 .rfm-middle,.rfm-bottom{display:flex;flex-direction:column;gap:10px}
 .rfm-chart{height:290px}
 .rfm-right{display:flex;flex-direction:column}
 .rfm-finance{min-height:140px}
 .rfm-alerts{min-height:150px}
 .rfm-alert{min-height:32px}
 .rfm-events{min-height:170px}
 .rfm-events-list{overflow:visible}
 .rfm-shortcuts{min-height:138px}
 .rfm-shortcut-list button{min-height:45px}
 .rfm-footer{flex-wrap:wrap}
}
@media(max-width:600px){
 .rfm-dashboard{padding:11px 8px 75px}
 .rfm-brand{gap:6px}
 .rfm-brand>.rf48-icon{width:20px}
 .rfm-brand>strong{font-size:16px}
 .rfm-brand>i{display:none}
 .rfm-brand>b{font-size:11px;max-width:125px}
 .rfm-live{font-size:9px;padding:4px 8px}
 .rfm-super-admin{display:none}
 .rfm-refresh{font-size:0;padding:8px}
 .rfm-ticker{overflow-x:auto;justify-content:flex-start;scrollbar-width:none;font-size:10px}
 .rfm-ticker>b{display:none}
 .rfm-ticker>span{flex:none}
 .rfm-ticker>time{display:none}
 .rfm-tile{height:89px}
 .rfm-tile-name{font-size:10px}
 .rfm-tile-value{font-size:24px}
 .rfm-tile-sub{font-size:9px}
 .rfm-chart{height:310px}
 .rfm-chart-heading{display:flex;align-items:flex-start;flex-direction:column}
 .rfm-filters{width:100%;justify-content:space-between;margin:0}
 .rfm-filters>select{max-width:138px}
 .rfm-dashboard .rf48-period button{padding:4px 6px;font-size:9px}
 .rfm-bar-label{font-size:8px}
 .rfm-finance-stats strong{font-size:17px}
 .rfm-event{grid-template-columns:38px minmax(0,1fr) 65px;gap:4px;font-size:9px}
 .rfm-event-code,.rfm-event>.rf48-icon{display:none}
 .rfm-shortcut-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rfm-shortcut-list button{min-height:52px}
}
