@keyframes screen-enter {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes menu-enter {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modal-enter {
  from { opacity: 0; transform: translateY(-8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.screen.active {
  animation: screen-enter .18s ease-out;
}

.dropdown.open {
  transform-origin: top left;
  animation: menu-enter .14s ease-out;
}

.toolbar button,
.modal-actions button,
.filter-panel button,
.menubar button,
.screen-window-controls button,
.tabs button,
.metric,
.lead-card,
.follow-item,
.tree label,
.users label,
input,
select,
textarea {
  transition: background-color .16s ease, border-color .16s ease, color .16s ease,
              box-shadow .16s ease, transform .12s ease, opacity .16s ease;
}

.toolbar button:hover,
.modal-actions button:hover,
.filter-panel button:hover,
.lead-card:hover {
  transform: translateY(-1px);
}

.toolbar button:active,
.modal-actions button:active,
.filter-panel button:active {
  transform: translateY(1px);
}

.data-table tbody tr,
.panel tbody tr {
  transition: background-color .14s ease, box-shadow .14s ease;
}

.lead-card:hover {
  border-color: #7894a6;
  box-shadow: 0 3px 7px rgba(38, 54, 65, .16);
}

.modal-backdrop.open .modal {
  animation: modal-enter .18s ease-out;
}

.bars i {
  transform-origin: left center;
  background: linear-gradient(90deg, #3f8733 0%, #62ad4f 48%, #91ca7f 100%) !important;
  border-color: #39782f !important;
  animation: bar-grow .42s ease-out;
}

@keyframes bar-grow {
  from { transform: scaleX(0); opacity: .45; }
  to { transform: scaleX(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.print-document-header {
  display: none;
}

.export-menu {
  position: fixed;
  z-index: 80;
  display: none;
  width: 258px;
  padding: 3px;
  border: 1px solid #8f989e;
  background: #f7f8f8;
  box-shadow: 2px 4px 9px rgba(26, 39, 48, .28);
}

.export-menu.open {
  display: block;
  transform-origin: top left;
  animation: menu-enter .14s ease-out;
}

.export-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 45px;
  padding: 5px 8px;
  border: 0;
  border-radius: 2px;
  color: #26343d;
  text-align: left;
  background: transparent;
}

.export-menu button:hover {
  background: linear-gradient(#f1f8ff, #dcecff);
  box-shadow: inset 0 0 0 1px #7da2ce;
}

.export-menu button > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.export-menu b {
  font-size: 11px;
  font-weight: 600;
}

.export-menu small {
  color: #6b757c;
  font-size: 10px;
}

.format-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 30px;
  flex: 0 0 27px;
  margin-right: 9px;
  color: #fff;
  font: 700 11px "Segoe UI", sans-serif;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.16);
}

.format-icon.excel { background: #287a4b; }
.format-icon.word { background: #356da6; }
.format-icon.pdf { background: #b5473e; font-size: 8px; }

@media print {
  @page {
    size: A4 landscape;
    margin: 12mm;
  }

  html, body {
    height: auto !important;
    overflow: visible !important;
    color: #1f2930 !important;
    background: #fff !important;
  }

  .desktop-shell {
    display: block !important;
    min-width: 0 !important;
    height: auto !important;
    overflow: visible !important;
    border: 0 !important;
    background: #fff !important;
  }

  .titlebar,
  .menubar,
  .dropdown,
  .quickbar,
  .statusbar,
  .toast,
  .modal-backdrop,
  .export-menu,
  .toolbar,
  .screen-window-controls {
    display: none !important;
  }

  .workspace {
    display: block !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }

  .print-document-header {
    display: flex !important;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 8mm;
    padding-bottom: 3mm;
    color: #315f7f;
    border-bottom: 2px solid #4f9f3d;
  }

  .print-document-header strong {
    font-size: 15pt;
    letter-spacing: .3px;
  }

  .print-document-header span {
    color: #68757d;
    font-size: 9pt;
  }

  .screen,
  .home-screen {
    display: none !important;
  }

  .screen.active:not(.home-screen) {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    animation: none !important;
  }

  .screen-title {
    display: flex !important;
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 5mm;
    padding: 0 0 2.5mm !important;
    border: 0 !important;
    border-bottom: 1px solid #aeb8be !important;
    background: #fff !important;
  }

  .screen-title b {
    font-size: 13pt !important;
  }

  .dashboard-grid {
    display: grid !important;
    grid-template-columns: 34% 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 4mm !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .panel,
  fieldset,
  .permission-grid > div,
  .kanban-col,
  .lead-card,
  .table-wrap {
    overflow: visible !important;
    break-inside: avoid;
    box-shadow: none !important;
  }

  .metric-grid {
    gap: 2mm !important;
    padding: 2mm !important;
  }

  .metric {
    height: 18mm !important;
  }

  .list-layout {
    display: block !important;
  }

  .filter-panel,
  .grid-footer {
    display: none !important;
  }

  .data-table,
  .panel table {
    font-size: 8pt !important;
  }

  .data-table th,
  .data-table td,
  .panel th,
  .panel td {
    padding: 1.5mm 2mm !important;
  }

  .tabs {
    display: none !important;
  }

  .contract-grid,
  .permission-grid,
  .kanban {
    overflow: visible !important;
  }

  button,
  input,
  select,
  textarea {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
.data-table .select-column{width:34px;min-width:34px;max-width:34px;padding:0;text-align:center}.data-table .select-column input{width:14px;height:14px;margin:0;vertical-align:middle;cursor:pointer}
.modal input.locked-field:disabled{color:#44515c;background:#e3e7ea;border-color:#aeb8c1;opacity:1;cursor:not-allowed;box-shadow:inset 1px 1px 2px rgba(0,0,0,.08)}
.fuel-workflow-note{display:flex;flex-direction:column;gap:3px;padding:9px 11px;margin-bottom:10px;border:1px solid #929da4;background:linear-gradient(#f5f8f9,#e3e9ec);color:#264b63}.fuel-workflow-note span{font-size:12px;color:#5b6871}.fuel-form textarea{width:100%;resize:vertical;border:1px solid #aab5be;background:#fff;font:12px Segoe UI,Arial;padding:6px;box-sizing:border-box}.fuel-flow{display:grid;gap:9px}.fuel-step{padding:10px;border:1px solid #aeb8c1;background:#f3f5f6;display:grid;gap:7px}.fuel-step.complete{border-left:4px solid #43a536;background:#f5faf4}.fuel-step>b{color:#174f72}.fuel-step>span{font-size:12px;color:#65717a}.fuel-step>button{width:max-content}.fuel-invoice-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.print-authorization-button{min-height:27px;padding:4px 12px!important;border:1px solid #8f9ba4!important;border-radius:3px!important;background:linear-gradient(#fff,#e4e9ec)!important;color:#17384f!important;box-shadow:0 1px 2px rgba(0,0,0,.12);transition:.16s ease}.print-authorization-button:hover{background:linear-gradient(#fff,#dce9ef)!important;border-color:#6f899b!important;box-shadow:0 2px 5px rgba(35,68,88,.2)}.coupon-detected-date{display:flex;justify-content:space-between;align-items:center;padding:7px 9px;border:1px solid #9ea7ad;background:#e8edef;color:#59656d}.coupon-detected-date strong{color:#224d68;font-weight:600}.fuel-additional-note{display:grid;gap:4px;color:#314b5d}.fuel-additional-note textarea{width:100%;min-height:52px;padding:7px 8px;resize:vertical;border:1px solid #9eacb6;border-radius:2px;background:#fff;font:12px Segoe UI,Arial;box-shadow:inset 0 1px 2px rgba(0,0,0,.06);transition:.16s ease}.fuel-additional-note textarea:focus{outline:0;border-color:#4f86ad;box-shadow:0 0 0 2px rgba(79,134,173,.13),inset 0 1px 2px rgba(0,0,0,.05)}
.cost-invoice-area{margin-top:18px;border:1px solid #aeb9c1;background:#f5f6f7}.cost-invoice-header{display:flex;align-items:center;justify-content:space-between;padding:7px 9px;background:linear-gradient(#eef2f4,#dce3e7);border-bottom:1px solid #aeb9c1;color:#174b6a}.cost-invoice-list{min-height:42px}.cost-invoice-empty{display:block;padding:12px;color:#6b747a}.cost-invoice-row{display:grid;grid-template-columns:100px 170px 1fr 190px 110px 1fr;gap:8px;padding:7px 9px;border-bottom:1px solid #aab0b4;align-items:center}.cost-invoice-row:last-child{border-bottom:0}
.cost-invoice-list:has(.cost-invoice-row) .cost-invoice-empty{display:none}
.record-details{display:grid;grid-template-columns:1fr 1fr;border:1px solid #aeb9c1;background:#f6f8f9}.record-details>div{display:grid;gap:4px;min-height:48px;padding:8px 10px;border-right:1px solid #a5acb0;border-bottom:1px solid #a5acb0}.record-details>div:nth-child(even){border-right:0}.record-details>div.wide{grid-column:1/-1;border-right:0}.record-details span{font-size:11px;color:#6a7780}.record-details b{color:#29465a;font-weight:600}
.cost-invoice-header button{position:relative;min-height:27px;padding:4px 12px 4px 29px;border:1px solid #7f969f;border-radius:3px;background:linear-gradient(#fff,#dfe7ea);color:#173f56;font:12px Segoe UI,Arial;box-shadow:0 1px 2px rgba(0,0,0,.12);cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .1s ease}.cost-invoice-header button:before{content:'+';position:absolute;left:10px;top:3px;font-size:17px;line-height:18px;color:#3e8f35;font-weight:600}.cost-invoice-header button:hover{background:linear-gradient(#fff,#d7e5eb);border-color:#587d91;box-shadow:0 2px 5px rgba(31,68,89,.2)}.cost-invoice-header button:active{transform:translateY(1px);background:linear-gradient(#d5dee2,#eef2f4);box-shadow:inset 0 1px 3px rgba(0,0,0,.16)}
.modal-title>button{display:flex!important;align-items:center!important;justify-content:center!important;width:31px!important;height:30px!important;margin:0 0 0 auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#1d2d38!important;font:20px/1 "Segoe UI Symbol","Segoe UI",Arial!important;cursor:pointer!important;box-shadow:none!important;transition:background-color .15s ease,color .15s ease!important}.modal-title>button:hover{background:#d85b56!important;color:#fff!important}.modal-title>button:active{background:#bd403b!important;color:#fff!important}.modal-title>button:focus-visible{outline:1px dotted #173f56!important;outline-offset:-3px!important}
.general-report{flex:1;overflow:auto;padding:14px;background:#eef1ef}.general-report>header{display:grid;grid-template-columns:1fr auto;align-items:end;padding:14px 16px;border-bottom:3px solid #45a536;background:#fff}.general-report>header h1{margin:0;color:#43a536;font-size:23px}.general-report>header b{grid-column:1;font-size:15px;color:#174b6a}.general-report>header span{grid-column:2;grid-row:1/3;color:#66727a}.general-report-summary{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:12px 0}.general-report-summary div{padding:10px 12px;border:1px solid #969fa5;background:linear-gradient(#fff,#e5eaed)}.general-report-summary b{display:block;color:#277b29;font-size:20px}.general-report-summary span{color:#53636e}.general-report-section{margin:10px 0;border:1px solid #aeb9c1;background:#fff}.general-report-section h3{display:flex;justify-content:space-between;margin:0;padding:7px 9px;background:linear-gradient(#f4f7f8,#dce3e7);border-bottom:1px solid #aeb9c1;color:#174b6a;font-size:12px}.general-report-section h3 span{font-weight:400;color:#65727a}.general-report-section p{margin:0;padding:12px;color:#6b757c}.general-report-table-wrap{overflow:auto}.general-report .data-table{font-size:11px}@media print{#screen-general-report{border:0!important}.general-report-toolbar,#screen-general-report>.screen-title,.statusbar,.menubar,.titlebar{display:none!important}.general-report{overflow:visible;padding:0;background:#fff}.general-report-section{break-inside:avoid}.general-report-table-wrap{overflow:visible}.general-report-summary{grid-template-columns:repeat(3,1fr)}}
.ap-report{padding:10px 14px 24px;overflow:auto;background:#eef1ef}.ap-filter-card,.ap-section{margin-bottom:10px;border:1px solid #9aa5ab;border-radius:5px;background:#fff;box-shadow:0 2px 7px rgba(31,58,77,.08)}.ap-filter-card{padding:10px}.ap-modes{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;margin-bottom:9px}.ap-modes button{height:29px;border:0;border-radius:5px;background:#edf0f2;color:#566873;font-weight:700}.ap-modes button.active{background:#2f8736;color:#fff}.ap-fields{display:grid;grid-template-columns:180px 180px minmax(220px,1fr) auto;gap:9px;align-items:end}.ap-fields label{display:grid;gap:3px;color:#657782;font-size:9px;font-weight:700;text-transform:uppercase}.ap-fields input,.ap-fields select{height:31px;border:1px solid #9aa5ab;border-radius:4px;background:#fff;padding:4px 8px;color:#294556}.ap-live{display:flex;align-items:center;gap:6px;height:31px;color:#387744;font-size:11px;font-weight:700}.ap-live i{width:8px;height:8px;border-radius:50%;background:#42a84a;box-shadow:0 0 0 3px #dcefdc}.ap-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-top:10px}.ap-kpis div{padding:8px;text-align:center;border-radius:5px;background:#edf8ef}.ap-kpis div:nth-child(2){background:#fff5e8}.ap-kpis div:nth-child(3){background:#fdecec}.ap-kpis div:nth-child(4){background:#eaf2fb}.ap-kpis div:nth-child(5){background:#e9fafa}.ap-kpis div:nth-child(6){background:#f2eaff}.ap-kpis b{display:block;color:#268033;font-size:17px}.ap-kpis small{color:#667782}.ap-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin:0 0 10px}.ap-actions>span{margin-right:auto;color:#70808a;font-size:11px}.ap-actions button{min-height:29px}.ap-section>header{display:flex;justify-content:space-between;align-items:center;padding:8px 11px;border-bottom:1px solid #a5aeb3;background:linear-gradient(#f5f8f9,#e2e9ed);color:#174f70}.ap-section>header span{color:#6c7d87;font-size:10px}.ap-rdo-list{display:grid;gap:6px;padding:8px}.ap-rdo{display:grid;grid-template-columns:28px 1fr;gap:8px;padding:7px;border:1px solid #b2babe;border-radius:4px;background:#fff}.ap-rdo-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e8f0ff;color:#2871d8}.ap-rdo b{color:#4d6b7c;font-size:10px}.ap-rdo small,.ap-rdo em{display:block;color:#84919a;font-size:9px;font-style:normal}.ap-rdo p{margin:3px 0;color:#2f4655;font-size:11px}.ap-chart{display:flex;align-items:flex-end;gap:7px;min-height:180px;padding:14px 18px 8px;overflow-x:auto}.ap-chart-col{display:grid;grid-template-rows:140px 18px;min-width:32px;flex:1;text-align:center}.ap-chart-bars{display:flex;align-items:flex-end;justify-content:center;gap:3px;border-bottom:1px solid #a7afb4}.ap-chart-bars i{width:10px;background:#80b487;border-radius:3px 3px 0 0}.ap-chart-bars i+ i{background:#277d31}.ap-chart-col small{padding-top:3px;color:#71818a}.ap-legend{text-align:center;padding:0 0 10px;color:#71818a;font-size:10px}.ap-legend i{display:inline-block;width:8px;height:8px;margin:0 3px 0 10px;background:#80b487}.ap-legend i+ i{background:#277d31}.ap-empty{margin:auto;padding:24px;color:#7b8991;text-align:center}@media(max-width:900px){.ap-fields{grid-template-columns:1fr 1fr}.ap-kpis{grid-template-columns:repeat(3,1fr)}}
.confirm-dialog{padding:8px 4px}.confirm-dialog-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;background:linear-gradient(#f6f9fa,#e3eaee);border:1px solid #96a1a8;border-radius:3px}.confirm-dialog-icon .win-menu-icon{margin:0;width:17px;height:17px}.confirm-dialog b{display:block;font-size:12px;color:#24333e;margin-bottom:3px}.confirm-dialog span{color:#687078}
#welcome-splash{position:fixed;inset:0;z-index:300;display:none;place-items:center;background:radial-gradient(circle at 50% 42%,#f3f6f1,#dce3dc);opacity:0}#welcome-splash.show{display:grid;opacity:1}#welcome-splash.fade{opacity:0;transition:opacity .4s ease}
.screen.active:not(.home-screen),.screen.active.home-screen{animation:screen-enter-strong .3s cubic-bezier(.2,.75,.25,1)}@keyframes screen-enter-strong{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
#module-table tbody tr{animation:row-enter .3s ease-out backwards}@keyframes row-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.screen.active.screen-leaving,.screen.active.home-screen.screen-leaving{animation:screen-leave .12s ease-in forwards}@keyframes screen-leave{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-6px)}}
.welcome-card{width:360px;padding:30px 34px 26px;text-align:center;background:#edf0f1;border:1px solid #6f7980;box-shadow:7px 10px 24px rgba(26,39,47,.32);animation:modal-enter .25s ease-out}.welcome-brand{display:flex;flex-direction:column;align-items:center;margin-bottom:16px}.welcome-brand b{color:#4f9f3d;font-size:20px;font-weight:700;letter-spacing:.3px}.welcome-brand span{color:#315f7f;font-size:10px;font-weight:700;letter-spacing:.8px}.welcome-user{display:block;color:#26343d;font-size:14px;margin-bottom:4px}.welcome-note{color:#5f6d76;font-size:11px}.welcome-bar{display:block;height:7px;margin-top:18px;overflow:hidden;border:1px solid #8b979f;background:#dde2e4}.welcome-bar em{display:block;height:100%;width:0;background:linear-gradient(90deg,#4f9f3d,#79c46a);animation:welcome-fill 1.25s ease-out forwards}@keyframes welcome-fill{from{width:0}to{width:100%}}
.welcome-brand img{display:block;width:100%;max-width:290px;height:auto;object-fit:contain}

@media (max-width: 1050px) {
  .desktop-shell {
    min-width: 0 !important;
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .workspace {
    min-width: 0 !important;
    width: 100% !important;
  }
  .screen {
    min-width: 0 !important;
    max-width: 100%;
  }
  .permission-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 620px;
  }
  .permission-grid > div {
    min-width: 0;
  }
  .tree label,
  .users label {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .permission-grid h3 {
    z-index: 5 !important;
    position: relative !important;
    top: auto !important;
    background: #e1e6ea !important;
  }
  .permission-grid > div > .tree label,
  .permission-grid > div > .users label {
    z-index: 0;
  }
  .menubar {
    overflow-x: auto;
  }
  .menubar button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .quickbar {
    overflow-x: auto;
  }
  .quickbar button {
    flex: 0 0 auto;
  }
}
@media (max-width: 700px) {
  .permission-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .modal {
    max-width: calc(100vw - 24px);
  }
  .modal-body .form-grid {
    grid-template-columns: 1fr !important;
  }
  .permissions-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .permissions-head label {
    min-width: 0;
    flex: 1 1 100%;
  }
  .permissions-head .win-select {
    width: 100% !important;
    min-width: 0;
  }
  .permissions-head select {
    width: 100% !important;
    min-width: 0;
  }
  .dashboard-grid {
    grid-template-columns: 1fr !important;
  }
  .metrics,
  .funnel {
    grid-column: auto !important;
  }
  .list-layout {
    grid-template-columns: 1fr;
  }
  .filter-panel {
    border-right: 0;
    border-bottom: 1px solid #adb4bb;
    max-height: 40vh;
  }
}

.fleet-category-row {
  pointer-events: none;
}

.fleet-category-cell {
  padding: 6px 10px !important;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #1e3f5a;
  background: linear-gradient(#dce6ef, #c8d6e3) !important;
  border-bottom: 2px solid #8ea8be !important;
  text-transform: uppercase;
  text-align: center !important;
}

#screen-relatorios .ap-report{padding:10px 14px 18px;background:#f1f3f4}
#screen-relatorios .ap-filter-card,#screen-relatorios .ap-section{border:1px solid #aeb9c1;border-radius:0;background:#fff;box-shadow:none}
#screen-relatorios .ap-filter-card{padding:9px}
#screen-relatorios .ap-modes{gap:0;margin-bottom:8px;border:1px solid #9eabb4;background:#e3e8eb}
#screen-relatorios .ap-modes button{height:27px;border:0;border-right:1px solid #aeb9c1;border-radius:0;background:linear-gradient(#f7f9fa,#dce3e7);color:#395467;font:600 11px 'Segoe UI',Arial}
#screen-relatorios .ap-modes button:last-child{border-right:0}
#screen-relatorios .ap-modes button.active{background:linear-gradient(#4ea844,#368b35);color:#fff;box-shadow:inset 0 -2px #287029}
#screen-relatorios .ap-fields{grid-template-columns:180px 180px minmax(220px,1fr) auto;gap:8px}
#screen-relatorios .ap-fields input,#screen-relatorios .ap-fields select{height:29px;border-radius:0;border-color:#9eabb4;font-size:11px}
#screen-relatorios .ap-kpis{gap:0;margin-top:9px;border:1px solid #aeb9c1}
#screen-relatorios .ap-kpis div,#screen-relatorios .ap-kpis div:nth-child(n){padding:7px 8px;border-right:1px solid #a5acb0;border-radius:0;background:linear-gradient(#fff,#e8edef)}
#screen-relatorios .ap-kpis div:last-child{border-right:0}
#screen-relatorios .ap-kpis b{color:#246d2b;font-size:15px}
#screen-relatorios .ap-kpis small{font-size:10px;color:#586b77}
#screen-relatorios .ap-actions{min-height:34px;margin:0 0 8px;padding:4px 7px;border:1px solid #aeb9c1;background:linear-gradient(#f5f7f8,#e1e6e9)}
#screen-relatorios .ap-actions button{display:inline-flex;align-items:center;gap:5px;width:auto;height:27px;min-height:27px;padding:3px 9px;border:1px solid #8999a4;border-radius:2px;background:linear-gradient(#fff,#dfe5e8);color:#294b60;font:11px 'Segoe UI',Arial;box-shadow:0 1px 1px rgba(0,0,0,.08)}
#screen-relatorios .ap-actions button:hover{border-color:#567c92;background:linear-gradient(#fff,#d6e4ea)}
#screen-relatorios .ap-actions button .btn-ico{display:block;width:13px!important;height:13px!important;flex:0 0 13px}
#screen-relatorios .ap-section>header{border-radius:0;background:linear-gradient(#eef2f4,#dce3e7);font-size:11px}
#screen-relatorios .ap-rdo{border-radius:0}
.report-source-bar{display:flex;align-items:stretch;gap:7px;padding:8px 14px;border-bottom:1px solid #aeb9c1;background:#e5eaed}.report-source-bar>span{display:flex;align-items:center;padding-right:8px;color:#5c6d78;font-size:10px;font-weight:700;text-transform:uppercase}.report-source-bar button{display:grid;gap:1px;min-width:210px;padding:5px 10px;text-align:left;border:1px solid #7f919d;border-left:3px solid #3c9b3b;border-radius:0;background:linear-gradient(#fff,#e5eaed);color:#214d68}.report-source-bar button b{font-size:11px}.report-source-bar button small{color:#667984;font-size:9px}.report-source-bar button.active{background:#fff;box-shadow:inset 0 -2px #459f3f}.report-source-bar em{display:flex;align-items:center;margin-left:auto;color:#829099;font-size:10px;font-style:normal}.report-module-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;padding:7px 9px;border:1px solid #9fadb6;border-left:3px solid #3c9b3b;background:linear-gradient(#f7f9fa,#e2e8eb);color:#174f70}.report-module-title div{display:grid;gap:1px}.report-module-title b{font-size:12px}.report-module-title span,.report-module-title small{color:#687b87;font-size:9.5px}.report-module-title>small{padding:2px 7px;border:1px solid #98a2a8;background:#fff;text-transform:uppercase}

.hm-filtros{display:flex;flex-wrap:wrap;align-items:end;gap:14px}.hm-filtros label{display:grid;gap:3px;color:#657782;font-size:9px;font-weight:700;text-transform:uppercase}.hm-filtros select{height:31px;min-width:200px;border:1px solid #9aa5ab;border-radius:4px;background:#fff;padding:4px 8px;color:#294556}.hm-filtros .hm-check{display:flex;align-items:center;gap:6px;height:31px;font-size:11px;text-transform:none;color:#294556}.hm-periodo{margin-left:auto;align-self:center;color:#5c6d78;font-size:11px}
.hm-kpis{grid-template-columns:repeat(4,1fr);margin:0 0 10px}
.hm-legenda{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.hm-legenda i{display:inline-block;width:12px;height:12px;margin-left:8px;border:1px solid #c5ccd0}
.hm-tabela-wrap{overflow:auto;max-height:calc(100vh - 330px);border:1px solid #9aa5ab;border-radius:5px;background:#fff}
.hm-tabela{border-collapse:collapse;font-size:10.5px;min-width:100%}.hm-tabela th,.hm-tabela td{border:1px solid #d6dcdf;padding:4px 5px;text-align:center;white-space:nowrap}
.hm-tabela thead th{position:sticky;top:0;z-index:2;background:#2c3e50;color:#fff;font-weight:700}.hm-tabela thead th small{display:block;font-weight:400;opacity:.8}
.hm-tabela tbody th{position:sticky;left:0;z-index:1;background:#f4f6f7;color:#214d68;text-align:left;font-weight:700}.hm-tabela thead th:first-child{left:0;z-index:3;text-align:left}
.hm-ok{background:#d5f5e3;color:#1e6b3a}.hm-falta{background:#f5b7b1}.hm-fds{background:#e5e7e9}.hm-tabela thead th.hm-fds{background:#4d5d6c}
.hm-tot{background:#f4f6f7;font-weight:700;color:#294556}.hm-tot-falta{color:#c0392b}
#screen-administrativo .hm-report .ap-actions button{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:5px;width:auto!important;height:27px!important;min-height:27px!important;padding:3px 9px!important;font-size:11px!important}
#screen-administrativo .hm-report .ap-actions button .btn-ico,#screen-administrativo .hm-report .ap-actions button svg{width:13px!important;height:13px!important;flex:0 0 13px}
#screen-administrativo .hm-report{padding:10px 14px 18px;background:#f1f3f4}
#screen-administrativo .hm-tabela-wrap{max-height:none;min-height:0;height:calc(100vh - 140px)}

#screen-administrativo .hm-report{padding:8px 12px 0;background:#f1f3f4}
#screen-administrativo .hm-filtros{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:7px 10px;margin-bottom:8px}
#screen-administrativo .hm-filtros label{display:flex;align-items:center;gap:6px;font-size:10px}
#screen-administrativo .hm-filtros select{height:27px;min-width:150px}
#screen-administrativo .hm-periodo{margin:0;color:#5c6d78;font-size:11px}
.hm-chips{display:flex;gap:6px}.hm-chip{display:inline-flex;align-items:baseline;gap:4px;padding:3px 9px;border-radius:12px;background:#edf8ef;color:#4d6170;font-size:11px}.hm-chip b{color:#268033;font-size:13px}.hm-chip-falta{background:#fdecec}.hm-chip-falta b{color:#c0392b}
#screen-administrativo .hm-legenda{font-size:11px;color:#5c6d78}
#screen-administrativo .hm-export{display:inline-flex!important;align-items:center;gap:5px;width:auto!important;height:27px!important;min-height:27px!important;margin-left:auto;padding:3px 9px!important;border:1px solid #8999a4;border-radius:2px;background:linear-gradient(#fff,#dfe5e8);color:#294b60;font-size:11px!important}
#screen-administrativo .hm-export svg{width:13px!important;height:13px!important;flex:0 0 13px}
#screen-administrativo .hm-tabela-wrap{max-height:none}
#screen-administrativo .hm-filtros{flex-wrap:nowrap;gap:10px;white-space:nowrap;overflow:hidden}#screen-administrativo .hm-filtros>*{flex-shrink:0}#screen-administrativo .hm-legenda{flex-wrap:nowrap;gap:4px}#screen-administrativo .hm-legenda i{margin-left:6px}#screen-administrativo .hm-export{margin-left:auto}
