/* ASN ERP V5.2.7 · Dashboard executivo isolado; resta do sistema mantido. */
.main-content.dashboard-v34-shell{min-width:0}
.asn527{--bg:#0a1220;--surface:#101d30;--surface2:#132239;--border:#283851;--muted:#a9b8cc;--pink:#ef285a;--green:#40c992;color:#eef5ff!important;background:linear-gradient(160deg,#0a1423 0%,#0b1626 100%);border-radius:17px;padding:20px;min-width:0;margin:0 0 14px;box-shadow:0 16px 60px rgba(0,0,0,.16);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:13px;line-height:1.45}
.asn527 *{box-sizing:border-box}.asn527 button,.asn527 select,.asn527 input{font-family:inherit;font-size:13px}.asn527 :is(a,button,input,select):focus-visible{outline:3px solid #f4afc7;outline-offset:3px}
.asn527 h1,.asn527 h2,.asn527 h3,.asn527 p{margin:0;color:inherit}.asn527 a{color:#e5eefc;text-decoration:none}.asn527 button{cursor:pointer}.asn527 button:disabled{opacity:.52;cursor:wait}
.asn527-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:21px}
.asn527-heading h1{font-size:clamp(28px,2.4vw,36px)!important;font-weight:830!important;letter-spacing:-.045em;margin:4px 0 3px!important;line-height:1.15!important}
.asn527-heading p{color:var(--muted);font-size:12px;max-width:640px}.asn527-overline{font-weight:850;letter-spacing:1.15px;color:#ff7194;font-size:10px}
.asn527-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.asn527-head-actions a{border:1px solid #34465e;border-radius:10px;padding:10px 13px;background:#142136;font-weight:760;font-size:11.5px;white-space:nowrap;transition:background .2s}.asn527-head-actions a:hover{background:#243752}
.asn527-filterbar{display:grid;grid-template-columns:minmax(190px,1.35fr) minmax(140px,.9fr) minmax(140px,.9fr) minmax(155px,.92fr) auto;gap:10px;background:#0f1a2c;padding:13px;border:1px solid #253650;border-radius:15px;align-items:end;margin-bottom:11px}
.asn527-filterbar label{display:grid;gap:5px;color:#a7bad3;font-size:10.5px;font-weight:750;min-width:0}.asn527-filterbar label strong{display:flex;align-items:center;min-height:40px;background:#142237;color:#f3f6fa;border:1px solid #354960;border-radius:9px;padding:0 10px;font-size:12px;overflow-wrap:anywhere}.asn527-filterbar label small{font-size:9px;color:#8092ac;font-weight:500}
.asn527-filterbar :is(select,input){border:1px solid #354960;background:#142237;color:#f3f6fa;border-radius:9px;width:100%;min-width:0;height:41px;padding:0 10px;color-scheme:dark}
.asn527-filterbar button{background:linear-gradient(140deg,#fa3262,#bc1242);border:1px solid #ed4470;border-radius:9px;color:#fff;height:41px;padding:0 16px;font-weight:800;white-space:nowrap;box-shadow:0 6px 18px rgba(245,35,90,.16)}
.asn527-notice{min-height:41px;border:1px solid #354963;border-radius:11px;background:#101f32;color:#b9c8df;padding:11px 13px;margin-bottom:16px;font-size:11.5px;line-height:1.5}.asn527-notice[data-tone=error]{border-color:#b73854;background:#311a2b;color:#ffc3ce}.asn527-notice[data-tone=warning]{border-color:#6b5365;background:#281d2d;color:#f1c9d2}
.asn527-kpis{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-bottom:15px}
.asn527-kpis article{background:linear-gradient(146deg,#152338,#0e1a2b);border:1px solid #2d4059;border-radius:14px;padding:14px 12px;min-width:0;min-height:137px;display:flex;flex-direction:column;gap:9px;overflow:hidden}
.asn527-kpis article small{font-size:11.5px;color:#dfebfc;font-weight:780;line-height:1.36}.asn527-kpis article strong{display:block;font-size:clamp(17px,1.47vw,26px);font-weight:850;color:#fff;letter-spacing:-.05em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.2}.asn527-kpis article span{margin-top:auto;font-size:10px;color:#a1b4cd;line-height:1.45}
.asn527-kpis .asn527-net{background:linear-gradient(135deg,#351c30,#1c172b);border:2px solid #e52e61;box-shadow:0 0 20px rgba(239,40,90,.12)}.asn527-kpis .asn527-net strong{color:#ffbed2;font-size:clamp(15px,1.2vw,23px)}
.asn527-panels{display:grid;grid-template-columns:1.05fr 1.25fr .84fr;gap:13px;margin-bottom:14px}.asn527-card{background:linear-gradient(145deg,#132136,#0d1a2b);border:1px solid #2c405a;border-radius:16px;padding:17px 16px;min-width:0;min-height:270px;overflow:hidden}.asn527-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.asn527-card-head h2{font-weight:800!important;font-size:16px!important;letter-spacing:-.025em!important}.asn527-card-head :is(span,a){font-size:10px;color:#a5b8d0}.asn527-card-head a{color:#ff94af;font-weight:700}
.asn527-lines{display:grid;gap:0}.asn527-lines>div{display:flex;justify-content:space-between;gap:14px;align-items:baseline;padding:10px 0;border-bottom:1px solid #2b3e56;font-size:11.5px}.asn527-lines span{color:#abb9cc}.asn527-lines b{font-size:13px;color:#f3f6fa;white-space:nowrap;font-variant-numeric:tabular-nums}.asn527-lines .asn527-total{background:linear-gradient(90deg,#522337,#3a1e34);border:1px solid #b23863;border-radius:9px;padding:12px;margin-top:10px}.asn527-lines .asn527-total span,.asn527-lines .asn527-total b{color:#ffcbda;font-weight:850}.asn527-close>p,.asn527-chart>p{font-size:10px;line-height:1.5;color:#a2b4c9;margin-top:11px}
.asn527-svg-host{height:226px;min-height:226px;display:grid;place-items:center}.asn527-svg-host svg{width:100%;height:100%;max-height:226px;overflow:visible}.asn527-svg-host>span{color:var(--muted)}
#asn527-breakdown{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:center}.asn527-ring{width:155px;height:155px;flex:0 0 155px;border-radius:50%;padding:24px;display:grid;place-items:center;box-shadow:0 0 25px rgba(253,50,100,.08)}.asn527-ring-center{width:100%;height:100%;border-radius:50%;background:#102035;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px;text-align:center;gap:4px}.asn527-ring-center b{font-size:17px;letter-spacing:-.045em}.asn527-ring-center small{font-size:9.5px;color:#a6b9cd}.asn527-break-list{flex:1 1 150px;display:grid;gap:10px}.asn527-break-item{display:flex;justify-content:space-between;gap:8px;align-items:center;padding-bottom:8px;border-bottom:1px solid #25384e}.asn527-break-item span{display:flex;align-items:center;gap:6px;font-size:10.5px;color:#b3c2d5}.asn527-break-item i{display:inline-block;width:9px;height:9px;flex:0 0 9px;border-radius:50%}.asn527-break-item strong{font-size:10.5px;white-space:nowrap;color:#ebf4ff}.asn527-break-foot{font-size:10px;color:#a2b4cb;line-height:1.55;width:100%;text-align:left}
.asn527-lower{display:grid;grid-template-columns:1.2fr 1fr;gap:13px;margin-bottom:12px}.asn527-lower .asn527-card{min-height:192px}.asn527-channels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.asn527-channel{background:#16253a;border:1px solid #30455f;border-radius:11px;padding:13px;display:flex;flex-direction:column;gap:8px;min-width:0}.asn527-channel-icon{width:35px;height:35px;border-radius:10px;background:#e95168;color:#fff;display:grid;place-items:center;font-weight:850}.asn527-channel-detail strong{display:block;font-size:12px}.asn527-channel-detail small{font-size:10px;color:#a2b9d3;display:block;margin-top:3px;line-height:1.45}.asn527-status{display:inline-block;align-self:flex-start;padding:4px 8px;border-radius:25px;font-weight:760;font-size:10px}.asn527-status.good{background:#123a36;color:#65e3aa}.asn527-status.pending{background:#3f2830;color:#f9b9c9}
.asn527-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.asn527-action{border:1px solid #354861;background:#17263c;padding:11px;border-radius:11px;display:flex;flex-direction:column;gap:4px;min-width:0}.asn527-action strong{font-size:11.5px;color:#fff}.asn527-action small{font-size:10px;color:#aabbd1;line-height:1.45}.asn527-action b{color:#ff85a5;font-size:10px;margin-top:auto;padding-top:5px}.asn527-action:hover{border-color:#e35176;background:#20263d}
.asn527-foot{display:flex;gap:6px;align-items:center;flex-wrap:wrap;border-top:1px solid #273b54;padding:14px 3px 2px;color:#9db0c8;font-size:10.5px}.asn527-foot span{flex:1;min-width:245px}.asn527-foot a{color:#ff92b3;font-weight:700}.asn527-empty{font-size:11px;color:#acbbcf;line-height:1.45}
/* Keep all original modules intact, but collapse the *duplicate legacy dashboard* below the new single overview. */
.asn527-old{border:1px solid #34465e;background:#0d1828;border-radius:12px;margin:10px 0 20px;padding:0;overflow:visible}.asn527-old>summary{cursor:pointer;font-size:12px;color:#bdc9d7;padding:13px 15px;font-weight:750;list-style:disclosure-closed}.asn527-old[open]>summary{list-style:disclosure-open}.asn527-old>.dashboard-v34{margin:0;padding:15px}
@media(max-width:1500px){.asn527-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.asn527-panels{grid-template-columns:1fr 1fr}.asn527-deductions{grid-column:1/-1}.asn527-filterbar{grid-template-columns:repeat(3,minmax(0,1fr))}.asn527-filterbar button{width:100%}}
@media(max-width:980px){.asn527-panels,.asn527-lower{grid-template-columns:1fr}.asn527-deductions{grid-column:auto}.asn527-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.asn527-channels{grid-template-columns:1fr 1fr}.asn527-heading{align-items:start}}
@media(max-width:650px){.asn527{padding:12px;border-radius:9px}.asn527-heading{margin-bottom:15px}.asn527-heading h1{font-size:27px!important}.asn527-heading p{font-size:11px}.asn527-head-actions a{flex:1;text-align:center}.asn527-filterbar{grid-template-columns:1fr 1fr;gap:9px}.asn527-filterbar label:first-child{grid-column:1/-1}.asn527-filterbar button{grid-column:1/-1}.asn527-kpis{gap:8px}.asn527-kpis article{padding:13px;min-height:128px}.asn527-kpis article strong{font-size:20px}.asn527-kpis .asn527-net strong{font-size:19px}.asn527-card{padding:14px}.asn527-card-head h2{font-size:14px!important}.asn527-channels,.asn527-actions{grid-template-columns:1fr}.asn527-break-list{width:100%}.asn527-ring{margin:0 auto}}
