#custos-frota{min-width:0;color:#20292c}#custos-frota [hidden]{display:none!important}#custos-frota .page-intro{flex-wrap:wrap;gap:16px}#custos-frota button{cursor:pointer}#custos-frota button:disabled{cursor:wait;opacity:.55}.fc-refresh,.fc-actions,.fc-pager,.fc-line-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.fc-refresh label,.fc-filters label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}.fc-tabs{display:flex;gap:6px;margin:12px 0}.fc-tabs button{background:#eef1f2;color:#333;border:1px solid #d8dfe1}.fc-tabs [aria-pressed=true]{background:#222e32;color:#fff}.fc-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;background:#f4f6f6;padding:14px;border:1px solid #e0e5e6;border-radius:8px}.fc-filters input,.fc-filters select,.fc-refresh select{width:100%;min-width:0;height:38px;box-sizing:border-box;background:#fff;border:1px solid #cfd6d8;border-radius:5px;padding:6px 8px;font-size:13px}.fc-filters button{align-self:end;height:38px}.fc-search{grid-column:span 2}.fc-state,.fc-note,#fc-sync-state{font-size:12px;line-height:1.5;color:#58676e;overflow-wrap:anywhere}.fc-error{color:#a52c28}.fc-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 8px}.fc-cards article{border:1px solid #dce2e4;border-top:3px solid #b18846;border-radius:7px;padding:14px 12px;display:flex;flex-direction:column;gap:8px;background:#fff;min-width:0}.fc-cards small{font-size:10px;font-weight:700;color:#586166}.fc-cards strong{font-size:clamp(16px,1.6vw,23px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.fc-cards span{font-size:11px;color:#66767c}.fc-actions{margin:18px 0 10px;font-size:13px}.fc-actions button{font-size:12px;padding:8px 10px}.fc-vehicle{border:1px solid #dce2e4;border-radius:6px;margin:7px 0;background:#fff;overflow:hidden}.fc-vehicle>summary{display:grid;grid-template-columns:minmax(200px,2fr) repeat(3,minmax(100px,1fr)) minmax(80px,.7fr);align-items:center;gap:12px;padding:13px 15px;cursor:pointer;list-style:none}.fc-vehicle>summary:hover{background:#f6f8f8}.fc-vehicle>summary span{min-width:0}.fc-vehicle>summary small,.fc-order small{display:block;color:#6a7478;font-size:10px;margin:3px 0}.fc-vehicle>summary b{font-size:13px;overflow-wrap:anywhere}.fc-identity b{color:#263b43}.fc-open{text-align:right;font-size:11px;color:#7a613e}.fc-details{background:#f4f6f7;padding:12px}.fc-line{border:1px solid #e0e5e6;border-radius:5px;padding:12px;margin:0 0 10px;background:#fff;font-size:12px;break-inside:avoid}.fc-line-title{border-bottom:1px solid #edf0f1;padding-bottom:8px;margin-bottom:9px}.fc-line-title strong{white-space:nowrap}.fc-line-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fc-line-grid span{overflow-wrap:anywhere}.fc-line-grid small{display:block;color:#718086;font-size:9px;font-weight:bold;margin-bottom:4px}.fc-basis{font-size:10px;color:#6d7579;line-height:1.5}.fc-line button{font-size:11px}.fc-empty{padding:30px 12px;background:#f5f7f7;border:1px dashed #cad1d4;text-align:center;font-size:13px}.fc-pager{font-size:12px;justify-content:center;margin:12px 0}.fc-monthly{margin:16px 0;border:1px solid #dce2e4;border-radius:7px;padding:12px}.fc-monthly summary{cursor:pointer;font-size:13px;font-weight:bold}.fc-monthly table{width:100%;table-layout:fixed;border-collapse:collapse;margin-top:12px;font-size:12px}.fc-monthly td,.fc-monthly th{padding:9px;border-bottom:1px solid #e2e7e9;text-align:right;overflow-wrap:anywhere}.fc-monthly th:first-child,.fc-monthly td:first-child{text-align:left}.fc-order{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;align-items:center;border:1px solid #dce2e4;border-radius:6px;padding:13px;margin:8px 0;font-size:13px;overflow-wrap:anywhere}.fc-order>div,.fc-order>span{min-width:0}#fc-dialog{width:min(850px,calc(100vw - 40px));max-height:85vh;border:1px solid #bbc6ca;border-radius:8px;padding:20px;box-sizing:border-box}#fc-dialog::backdrop{background:#17232999}#fc-dialog>form{text-align:right}#fc-dialog-body{overflow-wrap:anywhere}#fc-dialog-body h3{margin:10px 0}#fc-dialog-body>p{font-size:13px}
@media(max-width:1100px){.fc-vehicle>summary{grid-template-columns:minmax(150px,1.6fr) repeat(3,minmax(80px,1fr))}.fc-open{grid-column:1/-1;text-align:left}.fc-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.fc-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.fc-order{grid-template-columns:2fr 1fr}.fc-line-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.fc-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.fc-search{grid-column:1/-1}.fc-vehicle>summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fc-identity{grid-column:1/-1}.fc-vehicle>summary b{font-size:12px}.fc-line-grid{grid-template-columns:1fr}.fc-order{grid-template-columns:1fr 1fr}.fc-order>div{grid-column:1/-1}.fc-cards article{padding:10px}.fc-cards strong{font-size:16px}.fc-tabs button{font-size:12px}.fc-refresh{width:100%}.fc-refresh label{flex:1}.fc-details{padding:7px}}
@media print{body:has(#custos-frota.active) .fleet-sidebar,body:has(#custos-frota.active) header,body:has(#custos-frota.active) .tab:not(#custos-frota),#custos-frota button,#custos-frota .fc-refresh,#custos-frota .fc-tabs,#custos-frota .fc-filters,#custos-frota dialog{display:none!important}body:has(#custos-frota.active) .fleet-workspace{margin:0!important;width:100%!important}#custos-frota .fc-cards{grid-template-columns:repeat(4,1fr)}#custos-frota .fc-vehicle>summary{grid-template-columns:2fr repeat(3,1fr)}.fc-open{display:none}.fc-vehicle{break-inside:avoid}}

#custos-frota .fc-intro{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:10px 0 16px}#custos-frota .fc-intro h2{font-size:20px;margin:4px 0}#custos-frota .fc-intro p{font-size:12px;margin:4px 0}#custos-frota .fc-filters label,#custos-frota .fc-filters input,#custos-frota .fc-filters select{margin:0;padding-top:0;padding-bottom:0}#custos-frota .fc-filters input,#custos-frota .fc-filters select{padding:6px 8px}#custos-frota .fc-filters{align-items:end;row-gap:12px}#custos-frota .fc-actions>div{display:flex;gap:6px;flex-wrap:wrap}

.fleet-indicator-navigation{display:flex;flex-wrap:wrap;gap:12px;padding:12px 0 16px;border-bottom:1px solid #d9e1e4;margin-bottom:14px}.fleet-indicator-navigation label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:700;color:#485c65;max-width:100%}.fleet-indicator-navigation select{width:330px;max-width:100%;height:40px;background:#fff;color:#1b333e;border:1px solid #b8c6cc;border-radius:6px;padding:6px 10px;font-size:14px}.fc-period-note{font-size:13px;font-weight:600;color:#304953;background:#edf3f5;padding:12px;border-left:3px solid #cd332d;line-height:1.5}.fc-matrix-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:12px 0;font-size:12px}.fc-matrix-tools select{width:75px;padding:6px}.fc-matrix-tools button{font-size:12px}
#custos-frota .fc-matrix{width:100%;min-width:0;max-width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;background:#fff;border:1px solid #d8e1e5;font-variant-numeric:tabular-nums}
.fc-matrix caption{text-align:left;font-size:12px;color:#63757d;padding:8px 0}.fc-matrix th,.fc-matrix td{padding:11px 8px;text-align:right;overflow-wrap:anywhere;border-bottom:1px solid #e1e8eb;vertical-align:middle}.fc-matrix thead th{background:#263b46;color:#fff;font-size:11px}.fc-matrix th:first-child{width:32%;text-align:left}.fc-matrix thead th:not(:first-child){width:17%}.fc-matrix td small{display:block;color:#70818a;font-size:9px;margin-top:5px;font-weight:400}.fc-matrix .fc-depth-0{background:#f3f6f7;font-weight:700}.fc-matrix .fc-depth-1{background:#fafbfc}.fc-matrix .fc-depth-1 th{padding-left:20px}.fc-matrix .fc-depth-2 th{padding-left:32px}.fc-matrix tfoot{background:#e5ecef;font-weight:bold}.fc-matrix .fc-up{color:#af332b}.fc-matrix .fc-down{color:#167053}
#custos-frota .fc-matrix button{display:flex;align-items:center;gap:8px;background:transparent;color:#253e4a;border:0;box-shadow:none;text-align:left;padding:3px 0;width:100%;font-size:12px;white-space:normal;overflow-wrap:anywhere;line-height:1.4}#custos-frota .fc-matrix button>span:first-child{display:inline-flex;align-items:center;justify-content:center;flex:0 0 21px;height:21px;background:#e1e9ed;border-radius:4px;font-size:15px;font-weight:bold}#custos-frota .fc-matrix button>span:last-child{min-width:0}.fc-matrix button small{display:block;font-size:10px;font-weight:400;color:#687e89;margin-top:4px}.fc-matrix button:focus-visible{outline:2px solid #cd332d;outline-offset:2px}.fc-matrix-row:hover{filter:brightness(.985)}
@media(max-width:700px){#custos-frota .fc-matrix,#custos-frota .fc-matrix tbody,#custos-frota .fc-matrix tfoot{display:block}.fc-matrix thead{display:none}.fc-matrix tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:2px solid #d6e0e5}.fc-matrix th:first-child{width:auto;grid-column:1/-1}.fc-matrix td{display:block;min-width:0;font-size:12px;padding:8px;text-align:left}.fc-matrix td:before{content:attr(data-label);display:block;font-size:9px;color:#637880;font-weight:600;margin-bottom:4px}.fc-matrix .fc-depth-1 th{padding-left:18px;border-left:3px solid #b8c8d0}.fc-matrix .fc-depth-2 th{padding-left:24px;border-left:3px solid #cd332d}.fc-matrix caption{display:block}.fc-matrix button small{font-size:9px}}
@media print{.fleet-indicator-navigation,.fc-matrix-tools,.fc-pager{display:none!important}#custos-frota .fc-matrix button{display:flex!important}.fc-matrix tr{break-inside:avoid}.fc-matrix thead{display:table-header-group}}
