:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#203646;background:#f3f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{padding:22px max(28px,calc((100vw - 1400px)/2));background:#193b50;color:white;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;gap:14px;font-size:14px;font-weight:700;letter-spacing:1px}.brand small{display:block;font-size:13px;font-weight:400;letter-spacing:0;color:#c6d9e4;margin-top:5px}.mark{font-size:32px;color:#83d4dc}.stamp{font-size:14px;padding:8px 12px;border:1px solid #527084;border-radius:8px}main{max-width:1456px;margin:auto;padding:36px 28px}.title{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:30px}.eyebrow{font-size:12px;letter-spacing:1.7px;font-weight:700;color:#517183;margin:0 0 10px}h1{font-size:36px;letter-spacing:-1px;margin:0;font-weight:650}h2{font-size:19px;margin:0}.sub{color:#637989;font-size:16px;margin:10px 0 0}.base{border-left:3px solid #b5cddc;padding-left:16px;display:grid;gap:6px;font-size:14px}.base span,.base small{color:#637989}.base small{font-size:13px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.card{background:white;border:1px solid #dce5ea;border-radius:12px;padding:22px;display:grid;gap:12px;box-shadow:0 3px 10px #16304403}.card>span{font-size:15px;font-weight:600}.card strong{font-size:38px;line-height:1}.card small{font-size:13px;color:#71838e}.card.total{background:#21465d;color:white;border-color:#21465d}.card.total small{color:#c4d6e1}.overview{display:grid;grid-template-columns:1.25fr 1fr;gap:24px;margin-bottom:24px}.panel{background:white;border:1px solid #dce5ea;border-radius:12px;padding:24px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.panel-heading>span{font-size:14px;color:#697f8d}.chart-layout{display:flex;align-items:center;gap:38px;margin-top:30px}.donut{width:188px;height:188px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#edf1f4}.donut>div{height:146px;width:146px;background:white;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center}.donut strong{font-size:30px}.donut span{font-size:12px;color:#687e8c;margin-top:5px}.bars{width:100%;display:grid;gap:18px}.barline{display:flex;justify-content:space-between;font-size:14px;margin-bottom:7px;gap:8px}.bartrack{height:7px;background:#f0f4f6;border-radius:8px;overflow:hidden}.bartrack div{height:100%;border-radius:8px}.note p{font-size:15px;line-height:1.6;color:#647b8b}.note .eyebrow{font-size:12px}.rule{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:13px 0;border-top:1px solid #edf1f4;font-size:14px;line-height:1.5}.rule span{color:#647b8b}.note p.quiet{font-size:13px;margin-bottom:0}.records .panel-heading p{font-size:14px;color:#647b8b;margin:6px 0 0}.toggle{display:flex;align-items:center;gap:8px;font-size:14px}.toggle input{accent-color:#285b75;width:17px;height:17px}.controls{display:flex;gap:16px;margin:22px 0}.controls label{display:grid;gap:7px;font-size:14px;color:#587183}.controls input,.controls select{font:inherit;font-size:16px;background:white;border:1px solid #ccdae2;border-radius:7px;padding:10px 12px;min-width:220px;color:#203646}input:focus,select:focus,button:focus-visible{outline:3px solid #94cbdb;outline-offset:2px}.table-scroll{overflow:auto}table{border-collapse:collapse;min-width:1000px;width:100%;font-size:14px}th{text-align:right;background:#f3f6f8;color:#5a7180;font-weight:600;padding:13px 12px;white-space:nowrap}td{text-align:right;padding:13px 12px;border-bottom:1px solid #edf1f4;font-variant-numeric:tabular-nums}th:first-child,td:first-child{text-align:left}td:first-child{font-weight:700;color:#244d67}td:last-child,th:last-child{text-align:left}tr:hover td{background:#f8fafb}.badge{font-size:13px;display:inline-block;padding:5px 9px;border-radius:6px;white-space:nowrap}.badge.ok{background:#e5f2ed;color:#377760}.badge.ausente{background:#fff2db;color:#8b6a2d}.badge.duplicado{background:#eaeaf7;color:#645d90}.badge.divergencia{background:#fae9e7;color:#9c514b}.diff-negative{color:#b33b35;font-weight:600}.diff-positive{color:#278057;font-weight:600}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:18px;margin-top:18px;font-size:14px}button{font:inherit;border:1px solid #cedce4;background:white;padding:9px 14px;border-radius:7px;color:#264d65;cursor:pointer}button:disabled{opacity:.4;cursor:default}footer{font-size:13px;color:#71838e;padding:22px 0 0}#loading{padding:30px;background:white;border-radius:10px} @media(max-width:1000px){.overview{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}.title{align-items:flex-start}.base{max-width:280px}}@media(max-width:600px){header{padding:18px}.stamp{font-size:12px}main{padding:24px 16px}.title{display:block}h1{font-size:30px}.base{margin-top:20px}.cards{gap:10px}.card{padding:16px}.card strong{font-size:30px}.card small{min-height:32px}.panel{padding:18px}.chart-layout{gap:20px;flex-direction:column}.donut{width:170px;height:170px}.donut>div{width:130px;height:130px}.controls{flex-direction:column}.controls input,.controls select{min-width:0;width:100%}.panel-heading{align-items:flex-start;flex-direction:column}.pagination{justify-content:center}.rule{grid-template-columns:1fr;gap:4px}}

.account{display:flex;align-items:center;gap:16px;font-size:14px}.account a{color:white}.import-panel{background:#e9f0f5;border:1px solid #d5e2eb;border-radius:12px;padding:20px 24px;margin-bottom:24px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.import-panel strong{font-size:17px}.import-panel p{font-size:14px;line-height:1.5;color:#506e81;margin:8px 0 0}.import-panel small{display:block;font-size:12px;color:#647b8b;margin-top:8px;text-align:center}.import-button{position:relative;display:inline-block;padding:12px 18px;background:#21465d;color:white;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;overflow:hidden}.import-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.import-button:focus-within{outline:3px solid #94cbdb;outline-offset:2px}#import-message{width:100%;margin:0}.import-panel #import-message:empty{display:none}@media(max-width:600px){.account{font-size:12px;gap:8px}.account span{max-width:150px;overflow-wrap:anywhere}.import-panel{padding:18px}.import-panel>div:last-of-type{width:100%}.import-button{width:100%;text-align:center}}

.controls .zero-toggle{display:flex;align-self:flex-end;align-items:center;gap:8px;padding:12px 0;color:#203646}.controls .zero-toggle input{min-width:0;width:17px;height:17px;accent-color:#285b75;padding:0}

.install-header{background:#31596f;color:#fff;border-color:#6a8799;font-size:14px;margin:0 18px 0 auto}.install-header[hidden]{display:none}#install-help{max-width:480px;width:calc(100% - 32px);border:1px solid #d3dfe7;border-radius:14px;padding:28px;color:#203646;font:16px Segoe UI,Arial}#install-help p{line-height:1.6;font-size:15px}#install-help::backdrop{background:#15304188}@media(max-width:600px){header{flex-wrap:wrap;gap:14px}.install-header{order:3;width:100%;margin:0}.account{margin-left:auto}}

.brand{align-items:center}.brand-logo{display:block;width:72px;height:72px;object-fit:contain;background:white;border-radius:8px;flex-shrink:0}@media(max-width:600px){.brand-logo{width:56px;height:56px}}

.report-tools{display:flex;align-items:center;gap:12px;margin-top:18px;flex-wrap:wrap}.report-tools span{font-size:14px;color:#637989}
#report-dialog{width:min(1000px,95vw);max-height:90vh;border:1px solid #ccdae2;border-radius:12px;padding:24px;color:#203646}
#report-dialog::backdrop{background:#193b5080}.report-actions{display:flex;gap:10px;justify-content:flex-end;margin-bottom:20px}
#report-meta,#report-filters{font-size:14px;line-height:1.5;color:#587183}.report-table{min-width:650px}
@media print{
 @page{size:A4 landscape;margin:12mm}
 body> :not(#report-dialog){display:none!important}
 #report-dialog{display:block!important;position:static;width:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;overflow:visible}
 #report-dialog .report-actions{display:none!important}
 #report-dialog .table-scroll{overflow:visible}
 .report-table{min-width:0;width:100%;font-size:11px}
 .report-table th,.report-table td{padding:7px 8px}
 .report-table thead{display:table-header-group}
 .report-table tr{break-inside:avoid}
 *{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

.pax-warning{display:block;margin-top:4px;font-size:12px;font-weight:600;color:#865300}.report-high-pax td:first-child{background:#fff3d6}#report-pax-note{font-size:14px;color:#865300;font-weight:600}

@media screen{
 :root{color-scheme:dark;background:#0c0c12;color:#f1edf7}
 body{background:#0c0c12}
 header{background:#151215;border-bottom:1px solid #332b40}
 .brand small,.sub,.base span,.base small,.card small,.card.total small,.panel-heading>span,.donut span,.note p,.rule span,.records .panel-heading p,.controls label,.controls .zero-toggle,footer,.import-panel p,.import-panel small,.report-tools span,#report-meta,#report-filters{color:#beb3cc}
 .eyebrow,.note .eyebrow{color:#ef7b87}
 .base{border-color:#85434b}
 .card,.panel{background:#191519;border-color:#493035;box-shadow:0 4px 18px #0002}
 .card.total{background:linear-gradient(120deg,#482128,#28171c);border-color:#88454f;color:#fff}
 .donut>div{background:#191519}
 .bartrack{background:#342b40}
 .rule,td{border-color:#342b40}
 .import-panel{background:#191519;border-color:#493035}
 .import-button,#generate-report,#print-report{background:#942f3f;color:#fff;border-color:#bd5865}
 .controls input,.controls select{background:#121017;border-color:#51415f;color:#f1edf7}
 input::placeholder{color:#a99ab7}
 .toggle input,.controls .zero-toggle input{accent-color:#df596b}
 input:focus,select:focus,button:focus-visible,.import-button:focus-within{outline-color:#ed8b99}
 th{background:#282031;color:#d4c8e0}
 td:first-child{color:#e8d8f3}
 tr:hover td{background:#261e31}
 button,.install-header{background:#362127;color:#f1edf7;border-color:#7b4751}
 .badge.ok{background:#17382c;color:#90d7b3}
 .badge.ausente{background:#44341b;color:#e6c886}
 .badge.duplicado{background:#342946;color:#d0b3eb}
 .badge.divergencia{background:#42262c;color:#f1aaa7}
 .diff-negative{color:#ff9393}.diff-positive{color:#85dbab}
 #loading,#install-help,#report-dialog{background:#191519;color:#f1edf7;border-color:#51415f}
 #install-help::backdrop,#report-dialog::backdrop{background:#000a}
 .report-high-pax td:first-child{background:#44341b}
 .pax-warning,#report-pax-note{color:#f0cd7c}
}

.brand-logo{width:120px;height:80px;box-shadow:0 4px 12px #0006}@media(max-width:600px){.brand-logo{width:96px;height:64px}}

.brand-logo{background:transparent;border-radius:0;box-shadow:none}

.tac-panel{margin-bottom:24px}.tac-panel .panel-heading p{font-size:14px;line-height:1.5;color:#beb3cc;max-width:700px}.tac-panel td:last-child{min-width:320px;line-height:1.7}.tac-panel th:nth-child(3),.tac-panel td:nth-child(3){color:#ef7b87}#tac-message,#tac-summary{font-size:14px;line-height:1.6}

.night-chart{max-width:700px;margin:24px 0;padding:20px;border:1px solid #493035;border-radius:10px}.night-chart[hidden]{display:none}.night-chart h3{font-size:18px;margin:0 0 20px}.night-chart p{font-size:14px;color:#beb3cc;line-height:1.5}#night-bar{background:#e36d83}#other-bar{background:#9e93b3}

.tac-detail-row td{white-space:normal;text-align:left!important;background:#281a1e;color:#f1edf7!important;border-left:3px solid #df596b;padding:16px 20px}.tac-detail-row strong{color:#ff9393}.tac-detail-row p{margin:8px 0 0;font-size:14px;line-height:1.6;font-weight:400}.tac-detail-row:hover td{background:#281a1e}

.night-chart{max-width:none}.night-table{min-width:600px}.night-chart .bartrack{max-width:700px}.night-chart .barline{max-width:700px}

.page-hidden{display:none!important}
.page-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}
.page-nav a{padding:12px 18px;border:1px solid #443039;border-radius:10px;color:#ddd;text-decoration:none;background:#171317}
.page-nav a.active{background:#8c1834;border-color:#df4169;color:#fff}
.page-nav a:focus-visible{outline:2px solid #fff;outline-offset:3px}
[data-page]>.panel{margin-bottom:20px}
#gps-search{display:block;margin-top:8px;padding:12px;border-radius:8px;background:#161216;color:#fff;border:1px solid #55434b}
@media(max-width:600px){.page-nav a{flex:1 0 40%;text-align:center}}

.car-comparison-row>td{padding:18px 0!important;white-space:normal;text-align:left!important;background:#100e10!important}
.car-comparison-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;width:100%}
.comparison-panel{min-width:0;background:#1c171b;border:1px solid #51404a;border-top:3px solid #c63f58;border-radius:12px;padding:18px;color:#f4edf1}
.comparison-panel>strong{display:block;font-size:19px;color:#ff9caa;margin-bottom:12px}
.comparison-panel>p{font-size:15px;line-height:1.6;margin:10px 0;color:#eee4e9}
.comparison-panel table{width:100%;font-size:15px}
.comparison-panel th{background:#332630!important;color:#fff!important;font-size:14px;font-weight:700;white-space:nowrap;padding:12px 10px}
.comparison-panel td{padding:12px 10px!important;background:#1c171b!important;border-left:0!important;white-space:nowrap;color:#f4edf1!important;font-size:15px}
.comparison-panel tbody tr:nth-child(even) td{background:#262026!important}
.comparison-panel .table-scroll{max-height:480px;overflow:auto;margin-top:16px;border:1px solid #44333d;border-radius:8px}
.comparison-panel th{position:sticky;top:0;z-index:1}
.records> .table-scroll>table{table-layout:fixed}
.records> .table-scroll>table>thead th,.records> .table-scroll>table>#rows>tr:not(.car-comparison-row)>td{overflow-wrap:anywhere;white-space:normal}
@media(min-width:1100px){main{max-width:1800px}.records{padding:26px}}
@media(max-width:1000px){.car-comparison-grid{grid-template-columns:minmax(0,1fr)}.records> .table-scroll>table{table-layout:auto}.comparison-panel{max-width:calc(100vw - 90px)}}

.comparison-tacs{padding:14px}
.comparison-tacs table{table-layout:fixed;min-width:0!important;width:100%}
.comparison-tacs th,.comparison-tacs td{font-size:12px!important;padding:9px 4px!important;white-space:normal!important;overflow-wrap:anywhere;text-align:left}
.comparison-tacs th:nth-child(1){width:12%}
.comparison-tacs th:nth-child(2){width:13%}
.comparison-tacs th:nth-child(3),.comparison-tacs th:nth-child(4){width:12%}
.comparison-tacs th:nth-child(5){width:11%}
.comparison-tacs th:nth-child(6){width:9%}
.comparison-tacs th:nth-child(7){width:31%}
.comparison-tacs .table-scroll{overflow-x:hidden}
@media(max-width:600px){.comparison-tacs th,.comparison-tacs td{font-size:11px!important;padding:8px 3px!important}}

.comparison-gps{padding:14px}
.comparison-gps table{table-layout:fixed;min-width:0!important;width:100%}
.comparison-gps th,.comparison-gps td{font-size:12px!important;padding:9px 4px!important;white-space:normal!important;overflow-wrap:anywhere;text-align:left}
.comparison-gps th:nth-child(1){width:15%}
.comparison-gps th:nth-child(2){width:14%}
.comparison-gps th:nth-child(3),.comparison-gps th:nth-child(4){width:13%}
.comparison-gps th:nth-child(5){width:15%}
.comparison-gps th:nth-child(6){width:30%}
.comparison-gps .table-scroll{overflow-x:hidden}
@media(max-width:600px){.comparison-gps th,.comparison-gps td{font-size:11px!important;padding:8px 3px!important}}

#car-details{margin-top:20px;min-width:0}
#car-details .car-comparison-row{margin:0 0 20px}
@media(max-width:700px){
 main{padding:20px 12px}header{flex-wrap:wrap;gap:12px}.records{padding:14px;min-width:0}
 .records>.table-scroll>table{min-width:0!important;width:100%;display:block}
 .records>.table-scroll>table>thead{display:none}
 #rows{display:block}
 #rows>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #51404a;border-radius:10px;overflow:hidden;margin-bottom:12px}
 #rows>tr>td{display:block;text-align:left;padding:10px!important;min-width:0}
 #rows>tr>td::before{content:attr(data-label);display:block;font-size:11px;color:#baa9b2;margin-bottom:4px}
 #rows>tr>td:first-child{grid-column:1/-1;font-size:20px;font-weight:700}
 .comparison-panel{max-width:100%;width:100%;min-width:0}
 .car-comparison-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .comparison-panel .table-scroll{max-height:none;overflow:visible;border:0}
 .comparison-panel table,.comparison-panel tbody{display:block}
 .comparison-panel thead{display:none}
 .comparison-panel tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #49353f;border-radius:8px;margin-bottom:10px;overflow:hidden}
 .comparison-panel tbody td{display:block!important;width:auto!important;font-size:14px!important;padding:9px!important;white-space:normal!important}
 .comparison-panel tbody td::before{content:attr(data-label);display:block;font-size:11px;color:#c6adb8;margin-bottom:4px}
 .comparison-panel tbody td:last-child{grid-column:1/-1}
 .base{max-width:100%;overflow-wrap:anywhere}
}

#password-dialog{max-width:420px;width:calc(100% - 32px);background:#191519;color:#fff;border:1px solid #55404a;border-radius:14px;padding:24px}
#password-dialog::backdrop{background:#000b}
#password-form label{display:grid;gap:7px;margin:16px 0}
#password-form input{font:inherit;padding:12px;background:#100e10;color:#fff;border:1px solid #57424c;border-radius:8px}
#password-message{font-size:14px;line-height:1.5;color:#ff9dab}

.comparison-panel tbody tr.tac-missing-conf td{background:#7c2035!important;animation:tac-conf-pulse 1.8s ease-in-out infinite;color:#fff!important;font-weight:700}
@keyframes tac-conf-pulse{0%,100%{box-shadow:inset 0 0 0 999px rgba(255,45,65,0)}50%{box-shadow:inset 0 0 0 999px rgba(255,45,65,.4)}}
@media(prefers-reduced-motion:reduce){.comparison-panel tbody tr.tac-missing-conf td{animation:none;box-shadow:none;background:#7c2035!important}}

.tac-crew{display:block;margin-top:5px;font-size:12px;line-height:1.5;font-weight:600;color:inherit;overflow-wrap:anywhere}
@media(max-width:700px){.tac-crew{font-size:14px}}

@media screen and (min-width:1000px) and (min-height:600px){
 body.compact-fechamento{height:100dvh;overflow:hidden}
 .compact-fechamento header{height:66px;padding:6px 24px}
 .compact-fechamento .brand-logo{width:86px;height:54px}
 .compact-fechamento main{height:calc(100dvh - 66px);padding:10px 20px;display:flex;flex-direction:column;max-width:none}
 .compact-fechamento main>.title,.compact-fechamento main>footer{display:none}
 .compact-fechamento .page-nav{margin:0 0 10px;flex-shrink:0}
 .compact-fechamento .page-nav a{padding:8px 15px}
 .compact-fechamento main>div[data-pages="catracas fechamento"],.compact-fechamento #content{display:flex;flex-direction:column;flex:1;min-height:0}
 .compact-fechamento .records{padding:12px;display:flex;flex-direction:column;flex:1;min-height:0}
 .compact-fechamento .records h2{font-size:18px}
 .compact-fechamento .records .panel-heading p{margin:3px 0 0;font-size:12px}
 .compact-fechamento .report-tools{margin-top:6px;gap:10px}
 .compact-fechamento .report-tools button{padding:5px 10px;font-size:12px}
 .compact-fechamento .report-tools span{font-size:12px}
 .compact-fechamento .controls{margin:8px 0;gap:12px}
 .compact-fechamento .controls label{gap:3px;font-size:12px}
 .compact-fechamento .controls input,.compact-fechamento .controls select{padding:6px 10px;font-size:14px}
 .compact-fechamento .controls .zero-toggle{padding:6px 0}
 .compact-fechamento .records>.table-scroll{flex:0 1 auto;max-height:24vh}
 .compact-fechamento .records>.table-scroll th,.compact-fechamento .records>.table-scroll td{padding:7px 8px}
 .compact-fechamento #car-details{flex:1;min-height:0;overflow:auto;margin-top:10px}
 .compact-fechamento #car-details:empty{display:none}
 .compact-fechamento .car-comparison-row,.compact-fechamento .car-comparison-row>div,.compact-fechamento .car-comparison-grid{height:100%;min-height:0}
 .compact-fechamento .car-comparison-grid{gap:12px}
 .compact-fechamento .comparison-panel{padding:10px;display:flex;flex-direction:column;min-height:0}
 .compact-fechamento .comparison-panel>strong{font-size:16px;margin-bottom:4px}
 .compact-fechamento .comparison-panel>p{font-size:12px;line-height:1.35;margin:3px 0}
 .compact-fechamento .comparison-panel .table-scroll{flex:1;min-height:0;max-height:none;overflow-y:auto;margin-top:7px}
 .compact-fechamento .pagination{margin-top:8px;font-size:12px;gap:12px}
 .compact-fechamento .pagination button{padding:4px 10px}
}

@media screen and (min-width:1100px){
 body:not(.compact-fechamento) header{padding:6px 24px;min-height:66px}
 body:not(.compact-fechamento) .brand-logo{width:86px;height:54px}
 body:not(.compact-fechamento) main{padding:14px 20px;max-width:1800px}
 body:not(.compact-fechamento) .title{margin-bottom:12px;gap:16px}
 body:not(.compact-fechamento) h1{font-size:26px}
 body:not(.compact-fechamento) .eyebrow{margin-bottom:4px;font-size:11px}
 body:not(.compact-fechamento) .sub{font-size:13px;margin-top:4px}
 body:not(.compact-fechamento) .base{font-size:12px;gap:3px}
 body:not(.compact-fechamento) .page-nav{margin-bottom:12px}
 body:not(.compact-fechamento) .page-nav a{padding:8px 15px}
 body:not(.compact-fechamento) .panel{padding:14px}
 body:not(.compact-fechamento) .import-panel{padding:12px 16px;margin-bottom:12px;gap:10px}
 body:not(.compact-fechamento) .import-panel p,.tac-panel .panel-heading p{font-size:12px;line-height:1.4;margin:4px 0}
 body:not(.compact-fechamento) .import-button{padding:8px 12px;font-size:13px}
 body:not(.compact-fechamento) .cards{gap:12px;margin-bottom:12px}
 body:not(.compact-fechamento) .card{padding:14px;gap:6px}
 body:not(.compact-fechamento) .card strong{font-size:28px}
 body:not(.compact-fechamento) .card>span{font-size:13px}
 body:not(.compact-fechamento) .card small{font-size:12px}
 body:not(.compact-fechamento) .overview{gap:12px;margin-bottom:10px}
 body:not(.compact-fechamento) h2{font-size:17px}
 body:not(.compact-fechamento) .chart-layout{margin-top:14px;gap:20px}
 body:not(.compact-fechamento) .donut{width:140px;height:140px}
 body:not(.compact-fechamento) .donut>div{width:108px;height:108px}
 body:not(.compact-fechamento) .donut strong{font-size:25px}
 body:not(.compact-fechamento) .bars{gap:10px}
 body:not(.compact-fechamento) .note p{font-size:12px;line-height:1.4;margin:7px 0}
 body:not(.compact-fechamento) .rule{padding:8px 0;font-size:12px}
 body:not(.compact-fechamento) .night-chart{margin:0;padding:12px}
 body:not(.compact-fechamento) .night-chart h3{margin-bottom:10px}
 body:not(.compact-fechamento) .night-chart p{font-size:12px;line-height:1.4;margin:7px 0}
 body:not(.compact-fechamento) th,body:not(.compact-fechamento) td{font-size:12px;padding:8px 7px}
 body:not(.compact-fechamento) .night-chart>.table-scroll{max-height:calc(100dvh - 420px);min-height:140px;overflow:auto}
 body:not(.compact-fechamento) #tac-results>.table-scroll{max-height:calc(100dvh - 320px);min-height:160px;overflow:auto}
 body:not(.compact-fechamento) [data-page="gps"] .panel>.table-scroll{max-height:calc(100dvh - 360px);min-height:160px;overflow:auto}
 body:not(.compact-fechamento) .night-table thead th,body:not(.compact-fechamento) #tac-results thead th{position:sticky;top:0;z-index:1}
 body:not(.compact-fechamento) #gps-search{margin-top:4px;padding:7px 10px}
 body:not(.compact-fechamento) #tac-message,body:not(.compact-fechamento) #tac-summary{font-size:12px;line-height:1.4;margin:7px 0}
 body:not(.compact-fechamento) [data-page]>.panel{margin-bottom:12px}
 body:not(.compact-fechamento) footer{padding-top:8px;font-size:11px}
}

@media screen and (min-width:1000px) and (min-height:600px){
 body{height:100dvh;overflow:hidden}
 header{height:60px;min-height:60px!important;padding:4px 18px!important}
 .brand-logo{width:80px!important;height:50px!important}
 main,body.compact-fechamento main{height:calc(100dvh - 60px);padding:10px 16px!important;display:flex;flex-direction:column;max-width:none;min-height:0}
 main>.title{margin-bottom:8px;flex-shrink:0;align-items:center}
 main>.title .eyebrow,main>.title .sub,main>footer{display:none}
 main>.title h1{font-size:23px}
 main>.title .base{font-size:11px;gap:2px}
 .page-nav{margin-bottom:8px!important;flex-shrink:0}
 .page-nav a{padding:7px 13px!important;font-size:13px}
 main>.panel[data-page],main>div[data-page="gps"],main>div[data-pages="catracas fechamento"]{flex:1;min-height:0}
 main>.panel[data-pages="duplicados"],main>div[data-page="catracas"]{flex-shrink:0}
 .panel{padding:12px!important}
 .import-panel{padding:10px 14px!important;margin-bottom:10px!important}
 .import-panel p,.tac-panel .panel-heading p{font-size:12px!important;margin:4px 0!important;line-height:1.35!important}
 .import-button{padding:7px 11px!important;font-size:13px!important}
 main>div[data-page="gps"],main>div[data-pages="catracas fechamento"],#content{display:flex;flex-direction:column;min-height:0}
 #content{flex:1}
 main>div[data-page="gps"]>.panel{flex:1;min-height:0;display:flex;flex-direction:column;margin-bottom:0}
 main>div[data-page="gps"]>.panel>p{font-size:12px;margin:7px 0}
 main>div[data-page="gps"]>.panel>.table-scroll{flex:1;min-height:0!important;max-height:none!important;overflow:auto}
 main>.panel[data-page="noturnos"]{display:flex;flex-direction:column}
 .night-chart{flex:1;min-height:0;display:flex;flex-direction:column;margin:0!important;padding:10px!important}
 .night-chart h3{margin:0 0 8px;font-size:17px}
 .night-chart .barline,.night-chart p{font-size:12px;line-height:1.3;margin:5px 0}
 .night-chart>.table-scroll{flex:1;min-height:0!important;max-height:none!important;overflow:auto;margin-top:6px}
 main>.panel[data-page="duplicados"]{display:flex;flex-direction:column}
 #tac-results{display:flex;flex-direction:column;flex:1;min-height:0}
 #tac-results>.table-scroll{flex:1;max-height:none!important;min-height:0!important;overflow:auto}
 #tac-message,#tac-summary{font-size:12px;line-height:1.35;margin:5px 0}
 .night-table thead th,#tac-results thead th{position:sticky;top:0;z-index:1}
 .cards{gap:10px;margin-bottom:10px;flex-shrink:0}
 .card{padding:10px;gap:4px}
 .card strong{font-size:26px}
 .card span,.card small{font-size:12px}
 .overview{flex:1;min-height:0;gap:10px;margin-bottom:0}
 .overview>.panel{overflow:auto;min-height:0}
 .chart-layout{margin-top:12px;gap:16px}
 .donut{width:130px;height:130px}
 .donut>div{width:100px;height:100px}
 .bars{gap:8px}
 .note p,.rule{font-size:12px;line-height:1.35}
 .rule{padding:7px 0}
 th,td{padding:7px 6px;font-size:12px}
}

@media screen{
 .records th.enc-coletado-heading{color:#f5c842!important;font-weight:800}
 #rows>tr>td.enc-coletado-highlight{color:#f5c842!important;font-weight:800}
 #rows>tr>td.enc-coletado-highlight::before{color:#f5c842!important;font-weight:700}
 #rows>tr>td.enc-coletado-empty{color:#d6bf79!important}
}

.prodata-alert{border:2px solid #ff5353;border-radius:8px;padding:9px 12px;margin-bottom:8px;color:#fff;background:#631e27;animation:prodata-pulse 1.8s ease-in-out infinite}
.prodata-alert strong{color:#fff}.prodata-alert p{font-size:12px;margin:4px 0}
@keyframes prodata-pulse{50%{box-shadow:inset 0 0 0 999px #e629334d}}
@media(prefers-reduced-motion:reduce){.prodata-alert{animation:none}}
.prodata-night-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.prodata-night-controls label{display:grid;gap:6px;font-size:13px}.prodata-night-controls input{padding:8px;border:1px solid #73515e;border-radius:7px;background:#151215;color:#fff;min-width:280px}
.prodata-panel p{font-size:12px;line-height:1.4;margin:8px 0}
@media(min-width:1000px) and (min-height:600px){.prodata-panel{display:flex;flex-direction:column;min-height:0}.prodata-panel>.table-scroll{flex:1;min-height:0;overflow:auto}.prodata-panel th{position:sticky;top:0}.compact-fechamento #car-details .car-comparison-row{height:calc(100% - 95px);min-height:180px}}

@media screen and (min-width:1000px) and (min-height:600px){
 .compact-fechamento .controls label,.compact-fechamento .toggle{font-size:14px}
 .compact-fechamento .controls input,.compact-fechamento .controls select{font-size:16px;padding:7px 10px}
 .compact-fechamento .records>.table-scroll th{font-size:13px;line-height:1.3}
 .compact-fechamento .records>.table-scroll td{font-size:15px;padding:9px 6px}
 .compact-fechamento .records>.table-scroll .badge{font-size:12px;padding:4px 6px}
 .compact-fechamento #car-details{display:flex;flex-direction:column;gap:8px}
 .compact-fechamento #car-details:empty{display:none}
 .compact-fechamento #car-details .car-comparison-row{height:auto;flex:1 0 250px;min-height:0;margin:0}
 .compact-fechamento #car-details .car-comparison-row>div,.compact-fechamento #car-details .car-comparison-grid{height:100%;min-height:0}
 .compact-fechamento #car-details>.prodata-alert{flex-shrink:0;margin:0}
 .compact-fechamento .comparison-panel>strong{font-size:19px;margin-bottom:7px}
 .compact-fechamento .comparison-panel>p{font-size:14px;line-height:1.4;margin:4px 0}
 .compact-fechamento .comparison-tacs th,.compact-fechamento .comparison-tacs td,.compact-fechamento .comparison-gps th,.compact-fechamento .comparison-gps td{font-size:14px!important;padding:10px 5px!important;line-height:1.35}
 .compact-fechamento .tac-crew{font-size:13px;line-height:1.4}
 .compact-fechamento .comparison-tacs th:nth-child(1){width:17%}
 .compact-fechamento .comparison-tacs th:nth-child(2){width:13%}
 .compact-fechamento .comparison-tacs th:nth-child(3),.compact-fechamento .comparison-tacs th:nth-child(4){width:13%}
 .compact-fechamento .comparison-tacs th:nth-child(5){width:10%}
 .compact-fechamento .comparison-tacs th:nth-child(6){width:8%}
 .compact-fechamento .comparison-tacs th:nth-child(7){width:26%}
 .compact-fechamento .comparison-panel .table-scroll{flex:1;min-height:0;overflow-y:auto;margin-top:8px;scrollbar-width:thin}
}

.pax-collected-note{display:block;font-size:10px;line-height:1.25;color:#f5c842;margin-top:3px}

.split-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.split-grid>section{padding:16px;border:1px solid #49404b;border-radius:12px}.split-grid p{overflow-wrap:anywhere}.split-import{overflow:auto;min-height:0}.split-import select{margin:8px;min-width:160px}button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:800px){.split-grid{grid-template-columns:1fr}}
