:root{font-family:Arial,Helvetica,sans-serif;color:#202941;background:#f4f7fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{background:white;border-bottom:1px solid #e2e6ee}.shell{max-width:1250px;margin:auto;padding:0 22px}.top{display:flex;justify-content:space-between;align-items:center;min-height:72px}.brand{font-size:22px;font-weight:850;color:#354581}.brand span,h1 span{color:#f58220}.hero{display:flex;justify-content:space-between;align-items:end;gap:20px;flex-wrap:wrap;margin:34px 0 26px}h1{font-size:28px;margin:0 0 8px}h2{font-size:18px;margin:0 0 22px}p{color:#69738a;line-height:1.5}.filters{display:flex;flex-wrap:wrap;gap:10px}.filters select{min-width:145px}button,select,input{font:inherit;border:1px solid #dce2ed;border-radius:9px;padding:11px 13px}button{background:#354581;color:white;cursor:pointer;border-color:#354581;font-weight:700}.secondary{background:white;color:#354581}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.metric,.panel{background:white;border:1px solid #e4eaf3;box-shadow:0 5px 25px #192f4b08;border-radius:15px;padding:22px}.metric small{display:block;color:#66758c;font-size:13px}.metric strong{display:block;font-size:31px;margin-top:12px;color:#354581}.panel{margin-bottom:20px;min-width:0}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.tablewrap{max-height:420px;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}td,th{padding:12px 8px;border-bottom:1px solid #edf0f6;overflow-wrap:anywhere}th{font-size:12px;color:#63718c}td{font-size:14px}td:last-child,th:last-child{text-align:right;white-space:nowrap}.muted{font-size:12px;color:#8390a5}.bars{display:flex;align-items:end;gap:9px;min-height:200px;overflow-x:auto;padding:16px 0}.baritem{flex:1;min-width:28px;max-width:100px;text-align:center;font-size:11px;color:#7987a0}.baritem small{display:block;overflow:hidden;text-overflow:ellipsis}.bar{margin:6px auto;width:65%;max-width:54px;background:linear-gradient(#f58220,#ffb567);border-radius:6px 6px 0 0}.note{font-size:12px;margin:20px 0 35px}.auth{max-width:440px;margin:10vh auto;padding:35px;background:white;border-radius:18px;box-shadow:0 8px 45px #17274916}.auth h1{color:#354581}.auth label{display:block;margin:19px 0 7px;font-size:14px;font-weight:bold}.auth input{width:100%;margin-top:7px}.auth button{width:100%;margin-top:20px}.error{background:#fff0ee;color:#a4352f;padding:12px;border-radius:9px}@media(max-width:820px){.metrics{grid-template-columns:repeat(2,1fr)}.two{grid-template-columns:1fr}}@media(max-width:490px){.shell{padding:0 13px}.metrics{gap:9px}.metric,.panel{padding:15px}.metric strong{font-size:25px}.hero h1{font-size:24px}.filters{width:100%}.filters select{min-width:0;flex:1}.auth{margin:5vh 14px;padding:24px}}

.top-actions{display:flex;align-items:center;gap:16px}.top-actions a{color:#354581;font-weight:700;text-decoration:none}.success{background:#ebf8ef;color:#207744;padding:12px;border-radius:9px}@media(max-width:490px){.top-actions{gap:8px}.top-actions a{font-size:13px}}

/* Painel de estatisticas v2 */
.dashboard{background:#f5f7fb;color:#202e4b;display:flex;font-family:Arial,sans-serif}.sidebar{position:sticky;top:0;height:100vh;width:252px;flex-shrink:0;background:#26386e;color:#fff;display:flex;flex-direction:column;padding:30px 20px}.brandlogo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;margin-bottom:48px}.brandlogo small{display:block;letter-spacing:3px;font-size:9px;color:#aabde8;margin-top:5px}.brandmark{background:#f58220;color:white;border-radius:12px;padding:12px;font-size:17px}.sidebar nav{display:grid;gap:9px}.sidebar nav a{display:block;text-decoration:none;color:#c3d0ef;padding:13px 15px;border-radius:11px;font-weight:600;font-size:13px}.sidebar nav a:hover,.sidebar nav a.selected{background:#ffffff1b;color:white}.sidefoot{margin-top:auto;font-size:12px;line-height:2;color:#bfcae3}.sidefoot a{color:white}.logout{margin-top:12px;background:#ffffff17;border:1px solid #ffffff40;font-size:12px;width:100%;text-align:left}.content{min-width:0;flex:1}.head{height:74px;background:white;border-bottom:1px solid #e6eaf2;display:flex;align-items:center;justify-content:space-between;padding:0 34px}.headlabel{font-size:11px;letter-spacing:1.5px;color:#818da3;font-weight:800}.headuser{font-size:12px;color:#354581;font-weight:800}.live{letter-spacing:0;margin-left:20px;color:#2e8b67;font-size:11px}.live i{display:inline-block;background:#28ae72;width:7px;height:7px;border-radius:50%;margin-right:4px}.mobilebrand{display:none}main{padding:0 34px 35px;max-width:1540px;margin:auto}.dashboard .hero{display:flex;align-items:center;margin:30px 0 26px;justify-content:space-between}.dashboard h1{font-size:32px;letter-spacing:-1px;margin:5px 0}.dashboard h1 span{color:#f58220}.dashboard h2{margin:3px 0 6px;font-size:19px}.eyebrow{font-weight:800;color:#f58220;font-size:10px;letter-spacing:2px;margin:0 0 9px}.dashboard .hero p:not(.eyebrow){margin:6px 0}.filterbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filterbar select{max-width:190px;background:white;font-size:12px}.filterbar button{font-size:12px}.statgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.stat,.dashboard .panel,.smallstats{background:#fff;border:1px solid #e8edf5;border-radius:17px;box-shadow:0 5px 22px #1d315308}.stat{padding:21px 20px;border-top:3px solid #f58220}.stat span{font-size:10px;letter-spacing:1px;font-weight:800;color:#7886a0;display:flex;justify-content:space-between}.stat span b{font-size:18px;color:#f58220}.stat strong{display:block;font-size:34px;color:#354581;margin:13px 0 8px}.stat small{font-size:11px;color:#7886a0}.stat .pulse{color:#20aa72}.smallstats{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0 20px;padding:16px 22px;font-size:12px;color:#71809b}.smallstats strong{color:#354581;margin-left:12px;font-size:17px}.maincharts{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:18px}.dashboard .panel{padding:23px;margin-bottom:18px;min-width:0}.sectionheading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.sectionheading p:not(.eyebrow){font-size:12px;margin:2px 0}.subtag{background:#edf2fb;border-radius:9px;color:#354581;padding:9px 11px;font-size:11px;font-weight:bold;white-space:nowrap}.chart{height:245px;display:flex;align-items:flex-end;gap:7px;overflow-x:auto;padding:20px 3px 2px;border-bottom:1px solid #e6edf6}.chartcol{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;flex:1;min-width:28px;max-width:100px;color:#73829b}.chartbar{background:linear-gradient(180deg,#fa9c42,#f58220);border-radius:7px 7px 0 0;width:70%;min-height:3px}.chartcount,.chartcol small{font-size:10px;white-space:nowrap;margin:6px 0}.chartcol small{font-size:9px}.device{margin:22px 0}.device>div:first-child{display:flex;justify-content:space-between;font-size:13px}.device strong{color:#354581}.progress{background:#edf1f8;border-radius:8px;height:10px;margin:12px 0 5px;overflow:hidden}.progress i{display:block;background:#f58220;height:100%;border-radius:8px}.device small{color:#8a95a7}.dashboard td small{display:block;color:#8290a5;font-size:11px;margin-top:3px}.dashboard .rank{color:#f58220;font-weight:800}.dashboard .tablewrap{overflow:auto;max-height:500px}.dashboard table{min-width:430px}.dashboard th{text-transform:uppercase;letter-spacing:.7px;font-size:10px}.dashboard td{font-size:12px}.dashboard td:last-child,.dashboard th:last-child{text-align:right}.footnote{font-size:11px;line-height:1.7;color:#8894a8;margin:10px 0 30px}.dashboard code{color:#354581;background:#f0f3fa;border-radius:5px;padding:5px}.dashboard .muted{color:#9aa4b5;font-size:13px}
@media(max-width:1100px){.sidebar{width:210px;padding:25px 13px}.statgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.maincharts{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{position:static;display:none}.head{padding:0 17px;height:60px}.headlabel{display:none}.mobilebrand{display:block;color:#354581;font-weight:900}.mobilebrand em{color:#f58220;font-style:normal}.dashboard main{padding:0 14px 28px}.dashboard .hero{display:block}.dashboard h1{font-size:28px}.filterbar{margin-top:17px}.filterbar select{flex:1}.statgrid{gap:9px}.stat{padding:15px}.stat strong{font-size:26px}.stat span{font-size:9px}.smallstats{padding:14px}.smallstats>div{width:100%;display:flex;justify-content:space-between}.dashboard .panel{padding:15px}.sectionheading{align-items:flex-start}.dashboard h2{font-size:17px}}
