/* Estrutura visual compartilhada com o Portal Logístico Max Plast. */
:root{--blue:#45638b;--blue-dark:#343c46;--ink:#23364b;--muted:#7a8aa2;--line:#cbd6e3}
body{background:#e8edf3;color:#23364b;font-family:Arial,Helvetica,sans-serif}
.sidebar{width:64px;padding:0 8px;background:#2d3844;border-right:1px solid #46505c;overflow:visible;z-index:10}
.sidebar>.brand,.sidebar .side-label,.sidebar-bottom{display:none}
.sidebar nav{display:flex;flex-direction:column;gap:4px;padding-top:135px;overflow:visible}
.sidebar .nav-link{position:relative;display:flex;justify-content:center;align-items:center;height:41px;min-height:41px;padding:10px;border:1px solid transparent;border-radius:5px;background:transparent;color:#dce3eb}
.sidebar .nav-link img{width:17px;height:17px;filter:invert(91%) sepia(6%) saturate(220%) hue-rotate(174deg)}
.sidebar .nav-link:hover,.sidebar .nav-link.active{background:#455b75;border-color:#6b829e;color:#fff}
.nav-caption{position:absolute;top:50%;left:calc(100% + 16px);transform:translateY(-50%);display:none;white-space:nowrap;background:#24313f;color:#fff;font-size:12px;padding:9px 12px;border-radius:5px;box-shadow:0 4px 12px #14233626;z-index:12;pointer-events:none}
.nav-link:hover .nav-caption,.nav-link:focus-visible .nav-caption{display:block}
.sidebar .nav-count{position:absolute;right:-2px;top:0;min-width:15px;height:15px;border-radius:7px;padding:1px 3px;font-size:9px;background:#c93436;color:#fff}
.sidebar .nav-count:empty,.sidebar .nav-count:has(+span){display:none}
main{width:calc(100% - 64px);margin-left:64px}
.topbar{position:relative;min-height:112px;height:112px;background:#343c46;padding:14px 26px 14px 22px;gap:20px;border:0}
.portal-header-brand{display:flex;align-items:center;gap:22px;text-decoration:none;min-width:0;color:#fff}
.portal-header-brand>img{width:134px;height:85px;object-fit:contain;flex:none}
.portal-header-brand strong{display:block;font-size:27px;line-height:1.2;color:#fff;letter-spacing:0;font-weight:700}
.portal-header-brand span{display:block;font-size:10px;color:#aeb6c2;letter-spacing:1.2px;margin-top:8px;font-weight:700}
.topbar-right{margin-left:auto;gap:12px;min-width:0}.cloud-user{max-width:160px;color:#c9d2df;font-size:11px}.top-date{display:none}
.signout-button,.install-button{background:transparent;color:#dce4ef;border-color:#68798c;font-size:11px}
.header-profile{border:0;background:transparent;padding:8px;display:flex;align-items:center;cursor:pointer}.header-profile img{width:22px;height:22px;filter:invert(95%)}
.topbar .header-sos{display:none}
.portal-content{max-width:none;width:100%;padding:18px 24px 40px;margin:0}
.portal-statusbar{margin:0 0 8px;justify-content:flex-end;gap:16px;font-size:10px;min-height:18px}.portal-statusbar>span{margin-right:auto}.portal-statusbar .text-button{font-size:10px}
.operation-summary{border:1px solid #d2dce8;border-radius:9px;background:#fff;box-shadow:0 3px 6px #3547650b;overflow:hidden;margin-bottom:22px}
.summary-title{display:flex;align-items:center;gap:18px;background:#343c46;color:#fff;min-height:62px;padding:15px 20px}
.summary-title h1{font:bold 22px/1.2 Arial,Helvetica,sans-serif;letter-spacing:-.3px;color:#fff;margin:0}
.summary-title>span{font-size:12px;color:#c7d4e5;padding-left:18px;border-left:1px solid #66707b}
.summary-title time{font-size:12px;font-weight:700;margin-left:auto;white-space:nowrap}
.summary-columns{display:grid;grid-template-columns:42% 58%;padding:17px 20px;min-height:278px}
.summary-columns h2{font-size:17px;margin:0 0 20px;line-height:1.3;color:#2a3c50}
.summary-situation{padding-right:22px;border-right:1px solid #d8e1ed}
.summary-numbers{display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 32px}
.summary-numbers>div{text-align:center;display:grid;gap:7px;border-right:1px solid #e1e7ef}.summary-numbers>div:last-child{border:0}
.summary-numbers b{font-size:40px;line-height:1;color:#4b658b}.summary-numbers span{font-size:11px;color:#7587a3}.summary-numbers .summary-danger b{color:#cc6978}
.movement{border-top:1px solid #d8e1ed;padding-top:14px}.movement h3{font-size:11px;font-weight:700;margin:0 0 12px;color:#315d8a}.movement h3>span{float:right;color:#7a8da8;font-size:10px;font-weight:400}
.movement-values{display:flex;justify-content:space-between;gap:20px;color:#7a8da8;font-size:10px;max-width:80%;margin-bottom:9px}.movement-values>span{display:flex;align-items:center;gap:9px}.movement-values b{color:#4874a6;font-size:24px;line-height:1}.movement-values>span:last-child b{color:#2d8071}
.movement progress{display:block;width:100%;height:7px;border:0;border-radius:5px;overflow:hidden;background:#c8d3e2;appearance:none}.movement progress::-webkit-progress-bar{background:#c8d3e2}.movement progress::-webkit-progress-value{background:#4777a5;border-radius:5px}.movement progress::-moz-progress-bar{background:#4777a5}
.movement-caption{display:flex;justify-content:space-between;font-size:9px;color:#7b8ca5;margin-top:7px}.movement-caption>span:last-child{color:#407889}
.summary-week{padding-left:22px;display:flex;flex-direction:column;min-width:0}.chart-heading{display:flex;justify-content:space-between;gap:12px}.chart-heading h2{margin:0 0 5px}.chart-heading p{font-size:11px;margin:0;color:#7f90ab}.chart-heading>div:last-child{text-align:right}.chart-heading b{display:block;font-size:31px;line-height:1;color:#344356}.chart-heading small{display:block;font-size:10px;margin-top:5px;color:#8291a9}
.chart-legend{font-size:10px;color:#7c8fac;margin:13px 0 3px 20px}
.inspection-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;flex:1;align-items:end;margin-top:2px}
.chart-column{border:0;background:none;padding:0;color:#7e8fa7;min-width:0}.chart-bar-space{height:88px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;border-bottom:1px solid #d3deec;padding:0 12px}.chart-bar-space>b{font-size:16px;color:#263f5d;line-height:1}.chart-bar-space>i{display:block;width:min(100%,49px);background:#7d97bd;border-radius:2px 2px 0 0}.chart-column.selected .chart-bar-space>i{background:#4b628a}.chart-column strong{display:block;font-size:11px;margin-top:8px}.chart-column small{display:block;font-size:10px;margin-top:3px}.chart-column.selected{color:#264365}
.chart-note{padding:9px 10px;background:#edf2f7;border:1px solid #d1dfed;border-radius:4px;font-size:10px;color:#7b8da6;margin-top:15px}
.fleet-section-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 14px}.fleet-section-title h2{font-size:23px;letter-spacing:-.4px;margin:0}.sos-button{background:#ca3336;border-color:#ca3336;border-radius:7px;font-size:12px;min-height:40px;padding:0 18px;box-shadow:0 2px 4px #9c242512}
.fleet-notice{display:flex;align-items:center;gap:13px;padding:13px 17px;border:1px solid #bdcee3;border-radius:7px;background:#e8edf3;margin-bottom:16px;min-height:60px;font-size:13px;color:#466582}.fleet-notice>img{width:17px;height:17px}.fleet-notice>span{padding-left:14px;border-left:1px solid #c3cfdf;color:#7e90ab;font-size:11px}.fleet-notice .button{margin-left:auto;min-height:31px;font-size:10px;padding:0 11px;border-color:#c8d7e8;color:#758cab;background:#f5f8fb;border-radius:3px;font-weight:400}
.fleet-datebar{display:flex;align-items:stretch;gap:14px;min-height:150px;border:1px solid #c7d5e5;border-radius:11px;padding:16px;background:#f5f7f9;box-shadow:0 2px 4px #34476406;margin-bottom:16px}.fleet-datebar>.field{width:179px;flex:none;gap:10px;border-right:1px solid #e1e7ee;padding-right:14px;font-size:10px;color:#647d9a}.fleet-datebar .field input{font-size:11px;color:#46658a;border-color:#b5c9e2;border-radius:5px;width:137px;max-width:100%;min-height:42px;background:#fff}.fleet-datebar .field .text-button{font-size:10px;color:#426995;text-align:center;padding:9px;width:100%;margin-top:auto}.fleet-week-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:center;gap:6px;flex:1;min-width:0}.fleet-day{position:relative;text-align:left;min-height:60px;background:#f0f3f7;border:1px solid #d1ddec;border-radius:5px;color:#3b587b;padding:10px 30px 9px 9px;font-size:11px;min-width:0}.fleet-day b{display:block;font-size:11px;white-space:nowrap}.fleet-day>span{display:block;font-size:9px;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fleet-day em{position:absolute;right:8px;top:20px;background:#dfe6ef;padding:4px 6px;border-radius:3px;font-size:10px;line-height:1;font-style:normal;font-weight:700}.fleet-day.selected{background:#354357;border-color:#465c79;box-shadow:0 3px 0 #91a7c3;color:#fff}.fleet-day.selected em{background:#c4d4e8;color:#294466}
.fleet-list-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.fleet-list-heading h3{font-size:17px;margin:0;text-transform:capitalize}.fleet-search input{font-size:11px;border:1px solid #c6d4e5;border-radius:5px;padding:8px 12px;background:#f5f8fb;color:#304d70;min-height:34px;width:245px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.fleet-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.fleet-card{border:1px solid #fff;border-radius:15px;background:#e0e5ea;padding:4px;box-shadow:0 2px 5px #24385214;overflow:hidden;text-align:left;transition:border-color .15s,box-shadow .15s}.fleet-card:hover{transform:none;border-color:#829bb9;box-shadow:0 3px 10px #24385226}.fleet-card-top{display:flex;gap:11px;min-height:96px}.fleet-number{width:55px;flex:none;background:#24292e;color:#fff;display:flex;align-items:center;flex-direction:column;gap:5px;border-radius:9px 0 0 0;padding:11px 4px 9px}.fleet-number small{font-size:7px;font-weight:bold}.fleet-number>b{font-size:29px;line-height:1.1;color:#fff}.fleet-number img{width:20px;height:20px;filter:invert(100%)}.fleet-identity{padding:9px 8px 6px 0;min-width:0}.fleet-identity h3{font:bold 23px/1.1 Arial;color:#1f242a;margin:0 0 7px;letter-spacing:-.8px}.fleet-identity p{font-size:10px;line-height:1.4;margin:0 0 8px;text-transform:uppercase;color:#49505a;overflow-wrap:anywhere}.portal-badge{font-size:9px;padding:4px 7px;border-radius:4px;font-weight:400}.portal-badge.missing,.portal-badge.partial{background:#fff0cf;color:#835f20}.portal-badge.complete{background:#dceee3;color:#28734d}.portal-badge.blocked{background:#ffdde0;color:#a52b43}.fleet-card-body{display:grid;grid-template-columns:1.5fr 1fr;gap:9px;padding:12px;background:#fbfcfe;border-radius:8px 8px 0 0}.fleet-card-body>div+div{border-left:1px solid #d5dce5;padding-left:9px}.fleet-card-body span{font-size:8px;display:block;color:#758292;font-weight:700;margin-bottom:6px}.fleet-card-body b{font-size:17px;color:#272e38;line-height:1.3}.fleet-progress{margin:0;height:4px;border-radius:0;background:#d1dbe7}.fleet-progress i{background:#5e7fa7}.fleet-foot{margin:0;background:#fbfcfe;padding:10px 12px;font-size:10px;border-radius:0 0 10px 10px}.fleet-foot strong{font-size:10px;font-weight:400;color:#496d97}
.portal-heading{margin-top:10px}.portal-heading h1{font-size:26px}.content{max-width:1400px}.ticket-card,.settings-grid .card{border-color:#ccd7e5}.preview-banner{position:fixed;bottom:8px;right:12px;top:auto;max-width:calc(100vw - 90px);padding:5px 9px;background:#fff3dbeF;border:1px solid #e2cda9;border-radius:4px;font-size:9px;z-index:20;pointer-events:none}
@media(min-width:1700px){.fleet-datebar{min-height:150px}}
@media(max-width:1300px){.fleet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-title h1{font-size:19px}.summary-title>span{font-size:10px}.summary-columns{grid-template-columns:44% 56%}.fleet-datebar{gap:12px;padding:13px}.fleet-datebar>.field{width:150px}.fleet-day{padding-left:6px;padding-right:23px}.fleet-day em{right:5px;padding:3px}.fleet-day b{font-size:10px}}
@media(max-width:1000px){.portal-header-brand strong{font-size:23px}.cloud-user{max-width:105px}.summary-title>span{display:none}.summary-columns{grid-template-columns:1fr 1fr}.summary-title h1{font-size:19px}.summary-numbers b{font-size:32px}.summary-columns h2{font-size:15px}.fleet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-datebar{display:block}.fleet-datebar>.field{width:100%;border:0;display:flex;flex-direction:row;align-items:center;padding:0;margin-bottom:13px;gap:12px}.fleet-datebar>.field .text-button{width:auto;margin:0}.fleet-day{min-height:63px}.fleet-week-tabs{overflow-x:auto;grid-template-columns:repeat(7,minmax(90px,1fr));padding-bottom:5px}}
@media(max-width:760px){.sidebar{position:fixed;bottom:0;top:auto;width:100%;height:58px;padding:5px 7px;border:0;border-top:1px solid #64758a;z-index:15}.sidebar nav{padding:0;display:flex;flex-direction:row;justify-content:space-around;gap:3px;height:100%;overflow-x:auto}.sidebar .nav-link{min-width:40px;flex:1;min-height:43px;height:43px;padding:10px}.sidebar .nav-link img{width:18px;height:18px}.sidebar .nav-link .nav-caption{display:none}.sidebar .nav-link:hover .nav-caption{display:none}.sidebar .nav-count{right:1px;top:0}main{width:100%;margin:0}.topbar{min-height:90px;height:auto;padding:12px 14px;gap:9px;flex-wrap:wrap}.portal-header-brand{gap:12px;flex:1}.portal-header-brand>img{width:78px;height:56px}.portal-header-brand strong{font-size:19px}.portal-header-brand span{font-size:7px;letter-spacing:.5px;line-height:1.5;margin-top:6px}.topbar-right{gap:5px}.cloud-user{display:none}.header-profile{padding:4px}.signout-button{min-height:27px;padding:0 7px;font-size:10px}.portal-content{padding:12px 12px 82px}.portal-statusbar{font-size:9px;align-items:center;margin-bottom:9px;gap:8px}.portal-statusbar .text-button{font-size:9px;padding:0;max-width:115px}.operation-summary{margin-bottom:18px}.summary-title{min-height:55px;padding:12px;gap:10px;align-items:center}.summary-title h1{font-size:16px;max-width:220px;letter-spacing:-.3px}.summary-title time{font-size:9px}.summary-columns{display:block;padding:14px 12px}.summary-situation{border:0;padding:0}.summary-columns h2{font-size:14px;margin-bottom:19px}.summary-numbers{margin-bottom:20px}.summary-numbers b{font-size:31px}.summary-numbers span{font-size:10px}.movement{padding-top:12px}.movement-values{max-width:100%}.summary-week{padding:18px 0 0;margin-top:18px;border-top:1px solid #d8e1ed}.chart-heading h2{margin-bottom:6px}.chart-heading p{font-size:9px}.chart-heading b{font-size:26px}.chart-heading small{font-size:9px}.chart-legend{font-size:9px;margin-left:0}.inspection-chart{gap:5px}.chart-bar-space{padding:0 5px;height:80px}.chart-column strong{font-size:10px}.chart-column small{font-size:9px}.chart-note{font-size:9px;margin-top:11px;padding:8px}.fleet-section-title h2{font-size:19px}.fleet-section-title .sos-button{font-size:11px;padding:0 12px;min-height:36px}.fleet-notice{flex-wrap:wrap;padding:11px;gap:9px;min-height:0;font-size:12px}.fleet-notice>span{order:3;width:100%;padding:0 0 0 26px;border:0;font-size:10px}.fleet-notice .button{font-size:9px;padding:0 8px}.fleet-datebar{padding:11px;min-height:0}.fleet-datebar>.field{font-size:9px;gap:8px}.fleet-datebar .field input{width:127px;font-size:10px;min-height:35px}.fleet-datebar>.field .text-button{font-size:9px;padding:5px}.fleet-list-heading{flex-direction:column;align-items:stretch;gap:10px}.fleet-list-heading h3{font-size:15px}.fleet-search input{width:100%;min-height:37px}.fleet-grid{grid-template-columns:1fr;gap:14px}.fleet-card{border-radius:12px}.fleet-card-top{min-height:89px}.fleet-identity h3{font-size:23px}.fleet-number{width:57px}.fleet-identity p{font-size:11px}.fleet-card-body b{font-size:17px}.fleet-foot{padding:11px 12px}.ticket-card{padding:16px}.portal-heading{gap:12px}.portal-heading h1{font-size:23px}.portal-heading p{font-size:13px}.portal-stats b{font-size:25px}.portal-stats span{font-size:11px}.portal-stats small{font-size:10px}.preview-banner{bottom:64px;right:6px;max-width:calc(100vw - 12px);font-size:8px}.content{padding-bottom:80px}}
@media print{.sidebar,.topbar,.portal-statusbar,.preview-banner{display:none!important}main{width:100%;margin:0}}
@media(min-width:761px){.sidebar{width:60px}main{margin-left:60px;width:calc(100% - 60px)}.portal-statusbar{position:absolute;top:82px;right:27px;left:auto;width:auto;min-height:0;margin:0;color:#b9c8dc;gap:18px}.portal-statusbar .text-button{color:#b9c8dc;min-height:0;padding:0}.summary-columns h2{font-size:18px}.chart-heading small{line-height:1.2}.chart-heading p{line-height:1.4}.chart-column{line-height:1.2}.chart-legend{margin-top:8px}.chart-note{margin-top:12px}.fleet-list-heading{margin-bottom:8px}}
.sidebar .nav-link:not([data-portal-nav="perfil"]) .nav-count{display:none}
.portal-header-brand>img{filter:brightness(1.45)}
.sidebar nav .nav-link{display:flex;align-items:center;justify-content:center;gap:0;min-height:41px;height:41px;padding:10px;border:1px solid transparent;border-radius:5px;background:transparent;color:#dce3eb;box-shadow:none;transform:none}.sidebar nav .nav-link:hover,.sidebar nav .nav-link.active{background:#455b75;border-color:#6b829e;color:#fff;transform:none;box-shadow:none}@media(max-width:760px){.sidebar{display:block;min-height:0;flex-wrap:nowrap}.sidebar nav{margin-top:0}.sidebar nav .nav-link{min-height:43px;height:43px;flex:1;padding:10px}}
/* Cinco equipamentos na mesma fila; telas menores mantêm leitura e acesso. */
@media(min-width:1100px){.fleet-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.fleet-card-top{gap:9px}.fleet-number{width:44px}.fleet-number img{width:26px;height:23px}.fleet-identity h3{font-size:clamp(19px,1.3vw,23px)}.fleet-identity p{font-size:10px}.fleet-card-body{gap:7px;padding:11px 9px;grid-template-columns:1.2fr 1fr}.fleet-card-body>div+div{padding-left:7px}.fleet-card-body b{font-size:clamp(13px,1vw,17px)}.fleet-card-body span{font-size:8px}.fleet-foot{padding:10px 9px;gap:6px;flex-wrap:wrap}.fleet-foot span,.fleet-foot strong{font-size:10px}}
@media(min-width:761px) and (max-width:1099px){.fleet-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(205px,1fr);gap:12px;overflow-x:auto;padding:3px 2px 12px}.fleet-number img{width:26px;height:23px}.fleet-identity h3{font-size:20px}.fleet-card-body b{font-size:14px}.fleet-foot{flex-wrap:wrap}}
@media(max-width:760px){.fleet-number img{width:26px;height:23px}}
