:root{--navy:#031f49;--navy2:#052c63;--blue:#1262ef;--blue2:#0754df;--text:#0b1f4a;--muted:#687a9b;--line:#e0e7f1;--bg:#f7f9fc;--white:#fff;--green:#0eaf68;--red:#ed2549;--orange:#ff8a00;--purple:#7339ef;--teal:#11ad9e;--shadow:0 4px 18px rgba(17,48,91,.07)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg)}a{text-decoration:none;color:var(--blue)}button,input{font:inherit}h1,h2,p{margin-top:0}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:linear-gradient(155deg,#031a3c 0%,#052b60 55%,#03214b 100%);color:#fff;padding:22px 14px 16px;display:flex;flex-direction:column;z-index:20}.side-brand{display:flex;align-items:center;gap:10px;color:#fff;padding:0 8px 26px;font-size:23px;font-weight:800}.side-brand svg{width:43px;height:32px;fill:none;stroke:#2581ff;stroke-width:4;stroke-linecap:round}.side-nav{display:grid;gap:5px}.side-nav a{min-height:47px;display:flex;align-items:center;gap:15px;padding:0 13px;border-radius:9px;color:#fff;font-size:14px;font-weight:550}.side-nav a>span{width:23px;text-align:center;font-size:23px;font-weight:400}.side-nav a:hover{background:rgba(255,255,255,.08)}.side-nav a.active{background:linear-gradient(110deg,#0870ff,#2458e8);box-shadow:0 7px 18px rgba(0,91,255,.3)}.side-nav small{font-size:8px;opacity:.5;margin-left:auto}.side-nav .future{opacity:.92}.side-bottom{margin-top:auto;display:grid;gap:14px}.system-card,.user-card{border:1px solid rgba(113,162,224,.22);background:rgba(6,45,94,.55);border-radius:10px;padding:14px 12px;display:flex;align-items:center;gap:10px}.system-card i{width:11px;height:11px;border-radius:50%;background:#25d586;box-shadow:0 0 0 6px rgba(37,213,134,.11)}.system-card div,.user-card div:nth-child(2){display:grid;gap:3px;min-width:0}.system-card strong,.user-card strong{font-size:11px}.system-card span,.user-card span{font-size:10px;color:#32dc91}.system-card b{margin-left:auto}.avatar,.top-avatar{display:grid!important;place-items:center;border-radius:50%;background:linear-gradient(145deg,#d7e9ff,#6aa5ee);color:#06306b;font-weight:800}.avatar{width:40px;height:40px;flex:0 0 40px}.user-card span{color:#b9d2f1}.user-card form{margin-left:auto}.user-card button{border:0;background:none;color:#fff;cursor:pointer;font-size:19px}.app-shell{margin-left:232px;min-height:100vh;display:flex;flex-direction:column}.app-header{height:94px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:25px}.header-title h1{margin:0 0 7px;font-size:23px}.header-title p{margin:0;color:var(--muted);font-size:12px}.header-tools{display:flex;align-items:center;gap:14px}.filter-box,.search-box{height:48px;border:1px solid #dce5f0;border-radius:9px;background:#fff;display:flex;align-items:center;gap:10px;padding:0 13px;box-shadow:0 2px 7px rgba(24,55,97,.03)}.filter-box>span{font-size:18px;color:#536989}.filter-box>div{display:grid;min-width:145px}.filter-box.compact>div{min-width:95px}.filter-box small{font-size:9px;color:var(--muted)}.filter-box strong{font-size:11px}.filter-box>b{color:#617490;margin-left:auto}.search-box{width:210px}.search-box input{border:0;outline:0;min-width:0;width:100%;color:var(--text)}.search-box kbd{border:0;background:#edf2f8;color:#71819a;border-radius:6px;padding:5px;font-size:10px}.notification{position:relative;border:0;background:none;color:#385075;font-size:24px}.notification i{position:absolute;right:1px;top:-2px;width:9px;height:9px;background:var(--red);border-radius:50%;border:2px solid #fff}.top-avatar{width:42px;height:42px}.content{padding:30px 32px 24px;flex:1}.dashboard-action{display:flex;justify-content:flex-end;margin-top:-43px;margin-bottom:8px}.button{display:inline-flex;align-items:center;gap:10px;border:0;border-radius:8px;background:linear-gradient(115deg,#0870ff,#164de0);color:#fff;padding:12px 19px;font-size:12px;font-weight:750;box-shadow:0 8px 16px rgba(18,92,232,.22);cursor:pointer}.button b{font-size:20px;font-weight:400}.button span{margin-left:10px}.metric-grid{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:14px;margin-bottom:14px}.metric{height:117px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);padding:18px 15px;display:flex;align-items:flex-start;gap:13px;min-width:0}.metric-icon{width:43px;height:43px;flex:0 0 43px;border-radius:50%;display:grid;place-items:center;font-size:23px;font-weight:700}.metric>div:last-child{min-width:0}.metric span{display:block;font-size:10px;color:#526485;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric strong{display:block;font-size:21px;margin:7px 0;color:#1d3e76;white-space:nowrap}.metric small{font-size:9px;color:var(--muted)}.metric.blue .metric-icon{background:#e5efff;color:var(--blue)}.metric.blue small,.metric.green small{color:var(--green)}.metric.green .metric-icon{background:#e4f8ef;color:var(--green)}.metric.red .metric-icon{background:#fde6eb;color:var(--red)}.metric.red strong{color:var(--red)}.metric.purple .metric-icon{background:#eee7ff;color:var(--purple)}.metric.orange .metric-icon{background:#fff2e2;color:var(--orange)}.metric.teal .metric-icon{background:#e3f7f4;color:var(--teal)}.metric.teal strong{font-size:15px}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(360px,1fr);gap:14px}.dash-left,.dash-right{display:grid;align-content:start;gap:14px}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow)}.panel-heading{height:48px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8edf4}.panel-heading h2{font-size:12px;margin:0}.panel-heading>a{font-size:10px;font-weight:700}.live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--blue);margin-right:10px}.running-panel{padding-bottom:14px}.running-card{margin:0 14px;border:1px solid #dfe7f1;border-radius:8px;padding:15px}.running-top{display:flex;align-items:center;gap:10px}.company-symbol,.row-company{color:var(--blue);font-size:25px}.running-top>div:nth-child(2){display:grid;gap:4px}.running-top strong{font-size:12px}.running-top span,.running-top small{font-size:10px;color:var(--muted)}.started{display:grid;margin-left:auto;margin-right:26px}.started b{font-size:10px}.running-top em{font-style:normal;font-size:9px;color:var(--green);background:#e2f7ec;border:1px solid #c3ead6;border-radius:5px;padding:6px 10px}.progress-label{display:flex;justify-content:space-between;font-size:9px;margin:20px 0 8px}.progress{height:9px;border-radius:9px;background:#e3e8f0;overflow:hidden}.progress i{display:block;width:72%;height:100%;background:linear-gradient(90deg,#0e6af7,#174cdb);border-radius:9px;animation:pulsebar 2s infinite alternate}@keyframes pulsebar{to{width:82%}}.run-stats{display:flex;align-items:center;margin-top:18px}.run-stats>div{padding:0 18px 0 0;margin-right:18px;border-right:1px solid var(--line);display:grid;gap:6px}.run-stats small{font-size:9px;color:var(--muted)}.run-stats strong{font-size:12px}.outline-button{margin-left:auto;border:1px solid var(--blue);border-radius:6px;padding:8px 11px;font-size:9px;font-weight:700}.no-running{margin:14px;border:1px dashed #cbd9e8;border-radius:8px;padding:21px;display:flex;align-items:center;gap:13px}.no-running .check-circle{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e2f7ec;color:var(--green);font-weight:800}.no-running div:nth-child(2){display:grid;gap:4px}.no-running strong{font-size:12px}.no-running span{font-size:10px;color:var(--muted)}.no-running a{margin-left:auto;font-size:10px;font-weight:700}.table-wrap{overflow:auto;padding:0 13px}table{width:100%;border-collapse:collapse;font-size:10px}th{text-align:left;color:#667794;padding:11px;border-bottom:1px solid var(--line);font-size:9px}td{padding:10px;border-bottom:1px solid #edf1f6;white-space:nowrap}.row-company{font-size:16px;margin-right:9px}.status{display:inline-block;border-radius:5px;padding:5px 8px;background:#eaf0f8;color:#385176}.status.done{background:#e2f7ec;color:var(--green)}.status.error{background:#fde4e9;color:var(--red)}.status.running,.status.waiting{background:#e4edff;color:var(--blue)}.table-footer,.panel-link{display:block;text-align:center;padding:13px;font-size:10px;font-weight:700}.alert-row{min-height:54px;border-bottom:1px solid #e9eef4;padding:9px 13px;display:flex;align-items:center;gap:11px;color:var(--text)}.alert-icon{width:32px;height:32px;border-radius:7px;display:grid;place-items:center;font-style:normal;font-size:17px}.alert-icon.red{background:#fde5ea;color:var(--red)}.alert-icon.orange{background:#fff0dd;color:var(--orange)}.alert-icon.blue{background:#e4edff;color:var(--blue)}.alert-icon.green{background:#e2f7ec;color:var(--green)}.alert-row>div{display:grid;gap:3px;min-width:0}.alert-row strong{font-size:10px}.alert-row span{font-size:9px;color:var(--muted)}.alert-row>b{margin-left:auto;background:#edf2f8;padding:5px 8px;border-radius:5px;font-size:9px;color:var(--blue)}.activity-panel{padding-bottom:9px}.timeline{padding:9px 14px}.timeline-item{min-height:48px;display:grid;grid-template-columns:38px 15px 1fr auto;align-items:start;gap:5px;position:relative}.timeline-item time{font-size:9px;color:#435a7d}.timeline-item>i{width:8px;height:8px;border-radius:50%;background:var(--blue);margin-top:2px;box-shadow:0 0 0 3px #e3edff}.timeline-item:not(:last-child)>i:after{content:"";position:absolute;left:47px;top:14px;height:35px;width:1px;background:#cbd7e5}.timeline-item>div{display:grid;gap:3px}.timeline-item strong{font-size:9px}.timeline-item span{font-size:9px;color:var(--muted)}.timeline-item em{font-size:8px;font-style:normal;background:#e5edff;color:var(--blue);padding:5px 7px;border-radius:4px}.timeline-item.done>i{background:var(--green);box-shadow:0 0 0 3px #e1f6eb}.timeline-item.error>i{background:var(--red);box-shadow:0 0 0 3px #fde5ea}.empty{text-align:center;color:var(--muted);padding:28px;font-size:11px}footer{height:64px;border-top:1px solid var(--line);background:#fff;padding:0 40px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#7a8ba7}footer div{display:flex;gap:42px}footer a{color:#687a99}footer strong{color:var(--green);font-weight:500}.message{padding:12px 16px;border-radius:8px;background:#e4efff;margin-bottom:16px;font-size:12px}.message.success{background:#e1f6eb}.message.warning{background:#fff0d9}.auth-container{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 25% 20%,#e1edff,transparent 35%),#f7f9fc}.auth-card{width:min(450px,100%);background:#fff;border:1px solid var(--line);border-radius:14px;padding:35px;box-shadow:0 18px 50px rgba(8,38,78,.12)}.auth-card h1{font-size:25px}.eyebrow{display:block;color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.15em;margin-bottom:8px}.muted,.page-heading p{color:var(--muted)}.page-heading{margin-bottom:20px}.page-heading h1{font-size:24px;margin-bottom:6px}.stack{display:grid;gap:14px}.stack p{display:grid;gap:6px;margin:0}.stack label{font-size:11px;font-weight:700}.stack input[type=text],.stack input[type=password],.stack input[type=email],.stack input[type=datetime-local],.stack input[type=number],.stack select{width:100%;padding:11px;border:1px solid #cbd8e6;border-radius:7px;background:#fbfdff}.stack input:focus{outline:3px solid #dce9ff;border-color:var(--blue)}.stack ul{font-size:10px;color:var(--muted);margin:0}.stack .errorlist,.error-text{color:var(--red)}.panel.narrow{max-width:680px;padding:24px}.actions{display:flex;gap:10px}.button.secondary{background:#e6effd;color:var(--blue);box-shadow:none}.notice{margin:18px 0 0;padding:11px;background:#edf5ff;border-radius:7px;font-size:11px}pre{min-height:360px;max-height:560px;overflow:auto;margin:20px;padding:18px;background:#071a2c;color:#cce4ff;border-radius:8px;white-space:pre-wrap;font:12px/1.65 Consolas,monospace}.hidden{display:none!important}
@media(max-width:1350px){.metric-grid{grid-template-columns:repeat(3,1fr)}.header-tools .search-box{display:none}}@media(max-width:1050px){.dashboard-columns{grid-template-columns:1fr}.header-tools .filter-box{display:none}}@media(max-width:760px){.sidebar{width:70px;padding:18px 9px}.side-brand span,.side-nav a:not(.active),.side-nav a.active{font-size:0}.side-brand svg{width:42px}.side-nav a>span{font-size:22px}.side-bottom{display:none}.app-shell{margin-left:70px}.app-header{padding:0 18px;height:80px}.header-title p,.header-tools .notification{display:none}.content{padding:20px 14px}.metric-grid{grid-template-columns:1fr 1fr}.dashboard-action{margin:0 0 12px}.metric{height:105px}.top-avatar{width:36px;height:36px}footer{padding:0 15px}footer div{display:none}}@media(max-width:520px){.metric-grid{grid-template-columns:1fr}.app-header{align-items:center}.header-title h1{font-size:18px}.dashboard-columns{display:block}.dash-right{margin-top:14px}}

/* Navegação da plataforma */
.sidebar{width:252px;padding:20px 14px 16px;background:linear-gradient(165deg,#031a3c 0%,#052b60 58%,#031d43 100%);box-shadow:8px 0 28px rgba(1,23,55,.09)}
.app-shell{margin-left:252px}
.side-brand{gap:11px;padding:2px 10px 22px;font-size:21px;letter-spacing:.02em}
.brand-mark{width:32px;height:30px;display:grid;align-content:center;gap:3px;transform:skewY(-20deg)}
.brand-mark i{display:block;height:6px;border-radius:1px;background:linear-gradient(90deg,#20d39a,#16aee8)}
.brand-mark i:nth-child(2){width:80%}.brand-mark i:nth-child(3){width:58%}
.sidebar-scroll{overflow:visible;padding-right:2px}
.side-nav{gap:4px}
.nav-label{padding:0 13px 8px;color:#7fa3d3;font-size:9px;font-weight:800;letter-spacing:.16em}
.nav-label-spaced{margin-top:14px}
.side-nav a{min-height:42px;gap:13px;color:#dce9fb;font-size:13px}
.side-nav a:hover{color:#fff}.side-nav a.active{color:#fff;box-shadow:0 7px 18px rgba(0,91,255,.26)}
.side-nav .icon{width:19px;height:19px;flex:0 0 19px}
.product-menu{position:relative;margin:4px 0 8px}
.side-nav .product-heading{margin:0;min-height:58px;padding:9px 10px;display:flex;align-items:center;gap:10px;border:1px solid rgba(114,164,229,.2);background:rgba(5,49,104,.7);border-radius:11px}
.side-nav .product-heading>.product-icon{width:35px;height:35px;flex:0 0 35px;border-radius:9px;display:grid;place-items:center;text-align:center;color:#68a7ff;background:rgba(38,121,244,.16)}
.side-nav .product-heading>.product-copy{width:auto;flex:1 1 auto;display:grid;gap:3px;min-width:0;text-align:left}
.product-heading strong{display:block;font-size:12px;line-height:1.2;color:#fff}.product-heading small{display:block;margin:0;font-size:8px;line-height:1.25;color:#91add0;white-space:nowrap}
.product-heading.selected{border-color:rgba(65,140,246,.55);background:rgba(12,73,148,.75)}
.side-nav .product-heading>.product-arrow{width:14px!important;height:14px!important;flex:0 0 14px;margin-left:auto;transform:rotate(-90deg);color:#8eadd3;transition:transform .18s ease}
.live-badge,.new-badge{margin-left:auto;border-radius:5px;padding:4px 6px;background:#daf7ea;color:#0c9b60;font-size:7px;font-weight:850}
.product-flyout{position:fixed;left:260px;top:111px;width:245px;padding:11px 10px 12px;border:1px solid #dce5ef;border-radius:12px;background:#fff;box-shadow:0 18px 45px rgba(7,31,66,.2);display:grid;gap:3px;opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-7px);transition:opacity .16s ease,transform .16s ease,visibility .16s;z-index:100}
.product-flyout:before{content:"";position:absolute;left:-18px;top:0;width:20px;height:100%}
.product-menu:hover .product-flyout,.product-menu:focus-within .product-flyout{opacity:1;visibility:visible;transform:translateX(0)}
.product-menu:hover .product-flyout,.product-menu:focus-within .product-flyout{pointer-events:auto}
.product-menu:hover .product-arrow,.product-menu:focus-within .product-arrow{transform:rotate(-90deg) translateY(2px)}
.product-placeholder{margin-top:7px}.product-placeholder .product-heading{background:rgba(5,49,104,.48)}.product-placeholder .product-heading:hover{border-color:rgba(65,140,246,.48);background:rgba(12,73,148,.64)}.product-placeholder .product-arrow{transform:rotate(-90deg)}
.product-name-row{display:flex;align-items:center;gap:7px;min-width:0}.product-soon{padding:4px 6px;border-radius:4px;background:#20d39a;color:#062f35;font-size:10px;font-weight:800;line-height:1;white-space:nowrap;letter-spacing:.03em}
.flyout-title{padding:8px 11px 10px;color:#087a55;font-size:9px;font-weight:850;letter-spacing:.08em;border-bottom:1px solid #e8edf3}
.side-nav .product-flyout a{min-height:42px;padding:0 11px;justify-content:flex-start;color:#263750;font-size:12px;font-weight:550}
.side-nav .product-flyout a .icon{color:#263750;opacity:1;stroke:currentColor}
.side-nav .product-flyout a:hover .icon,.side-nav .product-flyout a.active .icon{color:#0759d9}
.product-flyout a:hover{color:#0759d9;background:#edf4ff}.product-flyout a.active{color:#0759d9;background:#e7f0ff;box-shadow:none}
.account-nav{border-top:1px solid rgba(133,174,224,.2);margin-top:15px;padding-top:15px;padding-bottom:10px}
.account-nav .new-badge{width:auto;font-size:7px;color:#fff;background:#15b774;padding:4px 6px}
.side-bottom{gap:10px;padding-top:10px}.system-card,.user-card{padding:11px 12px}.system-card strong,.user-card strong{font-size:10px}.system-card span,.user-card span{font-size:9px}.avatar{width:38px;height:38px;flex-basis:38px}
.content{padding-top:30px}
.platform-topbar{height:60px;padding:0 30px;background:#151515;color:#fff;display:flex;align-items:center;justify-content:flex-end;gap:18px;border-bottom:1px solid #282828}.platform-topbar nav{display:flex;align-items:center;gap:4px;padding-right:14px;border-right:1px solid #414141}.platform-topbar nav a{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#e5e7eb}.platform-topbar nav a:hover{background:#2a2a2a;color:#fff}.platform-topbar .icon{width:18px;height:18px}.topbar-user{display:flex;align-items:center;gap:10px}.topbar-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#19a469;color:#fff;font-size:12px;font-weight:800}.topbar-user>div:nth-child(2){display:grid;gap:2px}.topbar-user strong{font-size:11px}.topbar-user span{font-size:8px;color:#aaa}.topbar-user form{margin:0}.topbar-user button{border:0;background:transparent;color:#bfc4cc;font-size:18px;cursor:pointer}.topbar-user button:hover{color:#fff}
@media(max-width:760px){
  .sidebar{width:70px;padding:18px 9px}.app-shell{margin-left:70px}.side-brand{padding-left:9px}
  .side-brand>span:last-child,.nav-label,.product-copy,.product-arrow,.live-badge,.new-badge{display:none}
  .brand-mark{display:grid!important;width:34px}.sidebar-scroll{padding-right:0}.side-nav .product-heading{padding:8px;justify-content:center}
  .side-nav .product-heading>.product-icon{width:38px;height:38px;flex-basis:38px}.product-flyout{left:78px;top:93px}
  .side-nav .product-flyout a,.side-nav .product-flyout a.active,.side-nav .product-flyout a:not(.active){justify-content:flex-start;padding:0 11px;font-size:12px}
  .side-nav a,.side-nav a.active,.side-nav a:not(.active){justify-content:center;padding:0;font-size:0}.side-nav a .icon{width:21px;height:21px}
  .account-nav{margin-top:10px;padding-top:10px}
  .platform-topbar{height:52px;padding:0 14px}.topbar-user>div:nth-child(2){display:none}.platform-topbar nav{padding-right:8px}
}
