*{box-sizing:border-box}
:root{--dsl-blue:#0874c9;--text:#242a31;--muted:#667085;--line:#e1e5ea;--surface:#fff;--bg:#f4f6f8;--soft:#f1f3f5}
html,body{margin:0;min-height:100%;font-family:"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--text)}
body{padding-top:72px}.layout{min-height:calc(100vh - 72px);display:block}.layout main{min-width:0;display:flex;flex-direction:column;min-height:calc(100vh - 72px);width:100%}

/* Barra superior igual ao sistema atual */
.topbar-dsl{position:fixed;z-index:3000;left:0;right:0;top:0;height:72px;background:#fff;border-bottom:1px solid #dfe3e8;display:flex;align-items:center;justify-content:space-between;padding:0 18px 0 22px;box-shadow:0 1px 3px rgba(16,24,40,.03)}
.topbar-left{display:flex;align-items:center;gap:20px}.hamburger-dsl{border:0!important;background:transparent!important;color:#333!important;font-size:30px!important;line-height:1!important;padding:4px!important;min-width:auto!important;border-radius:0!important;cursor:pointer}.brand-dsl{display:flex;align-items:center;gap:8px}.brand-dsl img{width:44px;height:44px;object-fit:contain}.brand-dsl strong{font-size:18px;color:#050505;white-space:nowrap}.topbar-user{display:flex;align-items:center;gap:12px}.topbar-user-text{text-align:right}.topbar-user-text strong,.topbar-user-text span{display:block}.topbar-user-text strong{font-size:14px;color:#111}.topbar-user-text span{font-size:12px;margin-top:2px;color:#111}.topbar-avatar{width:46px;height:46px;border-radius:50%;background:var(--dsl-blue);color:#fff;display:grid;place-items:center;font-weight:800}

/* Menu vira gaveta lateral, como no sistema atual */
.sidebar{position:fixed;z-index:3200;left:0;top:72px;bottom:0;width:320px;height:auto;background:#eef1f4;border-right:1px solid #d9dee4;display:flex;flex-direction:column;transform:translateX(-102%);transition:transform .2s ease;box-shadow:8px 0 20px rgba(16,24,40,.09)}
.menu-open .sidebar{transform:translateX(0)}.sidebar-backdrop{position:fixed;z-index:3100;left:0;right:0;top:72px;bottom:0;background:rgba(15,23,42,.18);display:none}.menu-open .sidebar-backdrop{display:block}.sidebar-logo-legacy{display:none!important}.sidebar nav{padding:8px 10px 14px;overflow:auto}.sidebar .nav{width:100%;border:0!important;background:transparent!important;display:grid;grid-template-columns:35px 1fr 20px;align-items:center;text-align:left;padding:13px 14px!important;border-radius:0!important;font-weight:600!important;font-size:15px!important;color:#2f3439!important;cursor:pointer}.sidebar .nav.selected,.sidebar .nav:hover{color:#111!important;background:#e9ecef!important}.sidebar .sep{border-top:1px solid #d5dbe1;margin:6px 0}.sidebar .sub{padding:3px 0 8px 48px}.sidebar .sub button{display:block;width:100%;text-align:left;border:0!important;background:transparent!important;padding:8px 8px!important;color:#2f3439!important;font-size:15px!important;font-weight:500!important;border-radius:0!important;cursor:pointer}.sidebar .sub button:hover{color:var(--dsl-blue)!important}.sidebar .sub button[style*="color: rgb(8, 116, 201)"],.sidebar .sub button[style*="#0874c9"]{color:var(--dsl-blue)!important;font-weight:700!important}.sidebar .bottom{margin-top:auto;background:#fff;border-top:1px solid #dce2e8;padding:14px 22px}.sidebar .bottom small{display:block;color:#626d78;line-height:1.5;margin-top:7px}#online{font-size:12px;font-weight:700}.on{color:#178449}.off{color:#d64734}

/* Cabeçalho/página */
.breadcrumb-dsl{height:48px;background:#f2f5f7;border-bottom:1px solid #eceff2;display:flex;align-items:center;gap:7px;padding:0 18px;font-size:14px;color:#30343a}.breadcrumb-dsl b{font-size:18px;font-weight:400}.breadcrumb-dsl strong{font-weight:500}.page-header-dsl{height:auto;min-height:80px;background:#fff;border-bottom:1px solid #e3e7eb;padding:18px 28px;display:flex;align-items:center;justify-content:space-between}.page-header-dsl h1{font-size:22px;margin:0 0 5px;color:#242424}.page-header-dsl p{margin:0;color:#68717b;font-size:14px}.page-user-legacy{display:none!important}

.content{padding:18px 18px 28px;max-width:none;width:100%}.content>.panel,.content>article.panel,#placeholder>.panel{background:#fff;border:1px solid #e2e6ea;border-radius:8px;box-shadow:0 2px 10px rgba(16,24,40,.04)}
.dates{display:flex;justify-content:flex-end;gap:8px;align-items:center;margin-bottom:16px}.dates input{width:130px;padding:10px;border:1px solid #dfe5eb;background:#fff;border-radius:6px;text-align:center}
.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:16px}.cards article{background:#fff;border:1px solid #e0e5ea;border-radius:8px;box-shadow:0 2px 8px rgba(16,24,40,.04);padding:18px 14px;display:flex;gap:12px;min-height:125px}.cards article:first-child{border-left:4px solid var(--dsl-blue)}.cards i{font-style:normal;width:44px;height:44px;border-radius:50%;background:#e9f4fc;color:var(--dsl-blue);display:grid;place-items:center;font-size:22px}.cards small{color:var(--dsl-blue);font-weight:800;font-size:10px}.cards strong{display:block;font-size:29px;margin:7px 0}.cards span{font-size:11px;color:#626d78}.orange{color:#ff7a16}.grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.panel{background:#fff;border:1px solid #e0e6ec;border-radius:8px;box-shadow:0 2px 10px rgba(40,61,78,.05);padding:19px;min-height:255px}.panel h2{font-size:16px;margin:0}.head{display:flex;justify-content:space-between}.head a{font-size:11px;color:var(--dsl-blue);font-weight:700}.empty{height:205px;display:flex;align-items:center;justify-content:center;gap:30px;color:#68717b}.empty b{color:#303841}.empty p{font-size:12px}.ring{width:145px;height:145px;border:27px solid #e4edf4;border-top-color:var(--dsl-blue);border-right-color:#18b9cc;border-radius:50%}.emptylist{height:200px;display:grid;place-items:center;color:#8a949d;font-size:13px}.bars{height:170px;border-bottom:1px solid #ccd5dc;display:flex;align-items:flex-end;justify-content:space-around}.bars span{width:44px;background:var(--dsl-blue);border-radius:3px 3px 0 0}.bars span:nth-child(1){height:40%}.bars span:nth-child(2){height:67%}.bars span:nth-child(3){height:50%}.bars span:nth-child(4){height:80%}.bars span:nth-child(5){height:58%}.labels{display:flex;justify-content:space-around;font-size:10px;color:#59636e;padding-top:9px}.hide{display:none}.ph{min-height:500px;display:grid;place-items:center;align-content:center;text-align:center}.ph>div{font-size:50px;color:var(--dsl-blue)}.ph p{color:#68717b}footer{margin-top:auto;text-align:center;padding:14px;color:#71808c;font-size:11px}

/* Componentes criados pelo JS: mesmo padrão visual do sistema atual */
#placeholder>div,#placeholder>article{max-width:none!important}#placeholder table{border-collapse:collapse;width:100%;font-size:14px}#placeholder thead th{background:#f0f2f4!important;color:#20252b!important;font-weight:700!important;padding:12px 10px!important;border-bottom:1px solid #d8dde2!important}#placeholder tbody td{padding:12px 10px!important;border-bottom:1px solid #e3e7eb!important}#placeholder tbody tr:nth-child(even){background:#f2f4f6!important}#placeholder tbody tr:nth-child(odd){background:#fff!important}
#placeholder input,#placeholder select{height:42px!important;border:1px solid #d8dee5!important;border-radius:6px!important;background:#fff!important;color:#344054!important;padding:9px 12px!important;font-size:14px!important;box-shadow:none!important}
#placeholder button{min-height:42px;background:#f1f3f5!important;color:#344054!important;border:0!important;border-radius:7px!important;padding:9px 14px!important;font-weight:600!important;box-shadow:none!important}#placeholder button:hover{background:#e5e9ed!important}#placeholder button[id*="Salvar"],#placeholder button[id*="salvar"]{background:#f1f3f5!important;color:#344054!important}
#placeholder [style*="background:#0874c9"]{box-shadow:none!important}

/* Mantém badges/status com suas cores */
#placeholder span[style*="background:#08783e"],#placeholder span[style*="background:#f4c430"],#placeholder span[style*="background:#eff8ff"],#placeholder span[style*="background:#f2f4f7"]{border-radius:999px!important}

@media(max-width:1000px){.cards{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.topbar-user-text{display:none}}
@media(max-width:640px){.brand-dsl strong{font-size:15px}.brand-dsl img{width:38px;height:38px}.sidebar{width:min(320px,88vw)}.page-header-dsl{padding:14px 16px}.content{padding:14px 10px}.cards{grid-template-columns:1fr}.topbar-dsl{padding:0 12px}.topbar-left{gap:10px}}
