:root{--green:#173e36;--lime:#d7ed9c;--paper:#f5f6f2;--text:#24352e;--muted:#6b7871;--line:#dfe5dd;--white:#fff;--red:#a13832}*{box-sizing:border-box}body{margin:0;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--paper)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button{border:0;border-radius:7px;padding:10px 16px;font-weight:600}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #8ebc41;outline-offset:3px}.shell{display:flex;min-height:100vh}aside{width:228px;background:var(--green);color:#e4ede7;padding:32px 20px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.brand{display:flex;gap:12px;text-decoration:none;align-items:center;font-weight:800;font-size:25px;letter-spacing:3px;margin:0 10px 52px}.brand-icon{display:grid;place-items:center;background:var(--lime);color:var(--green);width:40px;height:40px;border-radius:10px;font-size:34px;letter-spacing:0}.brand small{font-size:8px;letter-spacing:1.8px;display:block;color:#bfd2c7}.nav-label{font-size:10px;letter-spacing:1.6px;color:#a0b9ac;padding:0 14px 12px}nav{display:grid;gap:5px}nav a{display:flex;gap:12px;align-items:center;border-radius:7px;color:#c5d7cd;text-decoration:none;padding:11px 14px}nav a.active{background:var(--lime);color:var(--green);font-weight:700}nav a:hover:not(.active){background:#ffffff0b}nav .symbol{width:20px;font-size:17px;text-align:center}.sidebar-bottom{margin-top:auto;padding:32px 10px 0;font-size:11px;color:#c2d1c8}.sidebar-bottom small{display:block;color:#8eaa9a;margin-top:7px}.local-dot{display:inline-block;width:6px;height:6px;background:var(--lime);border-radius:100%;margin-right:5px}.workspace{margin-left:228px;width:calc(100% - 228px)}header{height:78px;background:#ffffffb0;border-bottom:1px solid var(--line);padding:0 40px;display:flex;justify-content:space-between;align-items:center;gap:12px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{padding:0 12px;color:#a5b1a7}.header-actions{display:flex;gap:12px;align-items:center}.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:20px;font-size:11px;background:#eaf1e5;color:#3d613e;white-space:nowrap}.badge.closed{background:#edf0f0;color:#526267}.badge.offline{background:#f8eed3;color:#7d5b15}.badge::before{content:"";width:5px;height:5px;background:currentColor;border-radius:100%}main{max-width:1450px;margin:0 auto;padding:38px 40px 32px;min-height:calc(100vh - 135px)}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--muted);font-weight:700;margin:0 0 8px}h1{font-size:30px;letter-spacing:-1px;line-height:1.2;margin:0 0 10px;font-weight:650}h2{font-size:18px;letter-spacing:-.3px;margin:0}h3{font-size:14px;margin:0}.subtext{color:var(--muted);margin:0}.title-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:28px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.primary{background:var(--green);color:#fff}.primary:hover{background:#25584a}.secondary{background:white;border:1px solid var(--line);color:var(--text)}.danger{background:#f8ecea;color:var(--red)}.text-button{background:transparent;color:var(--green);padding:7px 9px;font-size:12px}.date-control{display:flex;gap:9px;align-items:center;font-size:12px;color:var(--muted)}input,select,textarea{border:1px solid #ccd6cb;border-radius:6px;background:white;padding:10px 11px;color:var(--text);min-width:0;width:100%}input:focus,select:focus,textarea:focus{outline:2px solid #8eae72;outline-offset:1px}.date-control input{width:157px;padding:8px}.day-strip{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.day-label{font-size:13px;font-weight:600}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.metric{padding:21px 22px;background:white;border:1px solid var(--line);border-radius:10px}.metric .label{font-size:12px;color:var(--muted)}.metric strong{display:block;font-size:31px;font-weight:550;letter-spacing:-1px;margin:10px 0 5px;line-height:1.2}.metric strong small{font-size:14px;letter-spacing:0;font-weight:400}.metric .detail{font-size:11px;color:var(--muted)}.metric.accent{background:var(--green);color:#fff;border-color:var(--green)}.metric.accent .label,.metric.accent .detail{color:#c3d5cb}.panel{border:1px solid var(--line);background:white;border-radius:10px;overflow:hidden;margin-bottom:22px}.panel-head{padding:21px 24px;display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid var(--line)}.panel-head p{font-size:12px;color:var(--muted);margin:4px 0 0}.panel-body{padding:24px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{background:#fafbf8;color:var(--muted);font-size:10px;letter-spacing:.7px;font-weight:600;padding:13px 22px;border-bottom:1px solid var(--line);text-transform:uppercase}td{padding:16px 22px;border-bottom:1px solid #eef0eb;font-size:12px}tr:last-child td{border-bottom:0}td small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.empty{text-align:center;padding:46px 24px}.empty .empty-symbol{background:#f0f4e9;border-radius:100%;width:48px;height:48px;display:grid;place-items:center;margin:0 auto 13px;font-size:25px;color:#5e7d53}.empty h3{font-size:16px;margin-bottom:7px}.empty p{color:var(--muted);font-size:13px;max-width:420px;margin:0 auto 19px}.two-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-link{display:block;padding:15px;background:#f7f8f3;border:1px solid #e8ecdf;border-radius:7px;text-decoration:none;font-weight:600;font-size:12px}.quick-link small{display:block;font-weight:400;color:var(--muted);margin-top:4px}.note{background:#eef3e5;border:1px solid #dee8cc;border-radius:8px;padding:16px 19px;font-size:12px;line-height:1.7;color:#4c6143;margin-bottom:22px}.note strong{display:block;color:#354b2f;margin-bottom:3px}.note.warning{background:#fff7e5;border-color:#ecd9ae;color:#7c612e}.toolbar{display:flex;gap:14px;margin-bottom:18px;align-items:center}.toolbar input[type=search]{max-width:360px}.toolbar .count{margin-left:auto;color:var(--muted);font-size:12px}.pill{background:#eef3e8;border-radius:4px;padding:4px 7px;color:#567342;font-size:11px}.pill.muted{color:#6d756d;background:#f0f0ed}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600}.field.wide{grid-column:1/-1}.field small{font-weight:400;color:var(--muted)}.checkbox{display:flex;gap:8px;align-items:center;font-size:12px;grid-column:1/-1}.checkbox input{width:auto}textarea{min-height:80px;resize:vertical}dialog{border:0;border-radius:13px;padding:28px;max-width:660px;width:calc(100% - 32px);max-height:90vh;box-shadow:0 25px 100px #102e3544}dialog::backdrop{background:#10281f80;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:26px}.icon-button{background:#f1f4ee;font-size:22px;padding:0;width:32px;height:32px}.dialog-actions{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.error{color:var(--red);font-size:12px}.error:empty{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--green);color:#fff;border-radius:8px;padding:13px 22px;box-shadow:0 6px 30px #0002;display:none;z-index:9;max-width:90vw}footer{padding:16px 40px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:12px}footer a{color:var(--green);text-decoration:none}.summary-line{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.summary-line:last-child{border:0}.flow-list{padding:0;margin:0;list-style:none;display:grid;gap:17px}.flow-list li{display:flex;gap:13px;font-size:12px}.step{width:24px;height:24px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-size:11px;flex-shrink:0}.flow-list small{display:block;color:var(--muted);margin-top:3px}.status-line{font-size:12px;color:var(--muted);margin-top:16px}.file-label{display:inline-block;cursor:pointer}.file-label input{display:none}.history{font-size:12px;padding:14px 0;border-bottom:1px solid var(--line)}.history small{color:var(--muted)}.inline-checkbox{font-size:12px;display:flex;align-items:center;gap:7px}.inline-checkbox input{width:auto}.print-only{display:none}
@media(min-width:1500px){main{padding-top:45px}}@media(max-width:1100px){aside{width:192px;padding-left:14px;padding-right:14px}.workspace{margin-left:192px;width:calc(100% - 192px)}main{padding:28px 24px}header{padding:0 24px}.metrics{gap:10px}.metric{padding:17px 16px}.two-columns{grid-template-columns:1fr}.brand{font-size:22px;margin-left:5px}}@media(max-width:720px){.shell{display:block}aside{position:static;width:100%;padding:17px 16px}.brand{margin:0 0 18px;font-size:20px;gap:9px}.brand-icon{height:32px;width:32px;font-size:26px}.brand small{font-size:7px}.nav-label,.sidebar-bottom{display:none}nav{display:flex;overflow-x:auto;gap:5px}nav a{white-space:nowrap;padding:8px 11px;font-size:12px}nav .symbol{display:none}.workspace{margin:0;width:100%}header{height:55px;padding:0 16px}.breadcrumb{font-size:10px}.breadcrumb span{padding:0 5px}main{padding:25px 16px}.title-row{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:22px}h1{font-size:27px}.title-row .actions{width:100%}.metrics{grid-template-columns:1fr 1fr;gap:10px}.metric strong{font-size:26px}.day-strip{flex-wrap:wrap}.panel-head,.panel-body{padding:18px}.panel-head h2{font-size:16px}th,td{padding:12px 15px}.toolbar{flex-wrap:wrap}.toolbar .count{margin-left:0}.form-grid{gap:14px}.field{grid-column:1/-1}dialog{padding:22px}.two-columns{gap:0}footer{padding:16px;flex-direction:column}.date-control input{width:145px}.header-actions button{font-size:10px;padding:5px 7px}.badge{font-size:10px}}
@media print{aside,header,footer,.actions,.toolbar,.text-button,.no-print,#toast{display:none!important}.workspace{width:100%;margin:0}body{background:white;color:black}main{padding:0}.panel,.metric{break-inside:avoid}.table-wrap{overflow:visible}td,th{white-space:normal;padding:7px}.print-only{display:block}.metrics{grid-template-columns:repeat(4,1fr)}.metric.accent{background:white;color:black}.metric.accent .label,.metric.accent .detail{color:#555}}

.account-bar{display:flex;justify-content:space-between;gap:14px;padding:15px 18px;background:#e7eee2;border-radius:8px;margin-bottom:12px;font-size:12px}.account-bar small{display:block;color:var(--muted);margin-top:3px}.account-bar a{font-size:11px}.sync-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-bottom:24px}.company-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}@media(max-width:720px){.account-bar{flex-direction:column}.sync-bar{align-items:flex-start;flex-direction:column}}

.help-link{font-size:12px;padding:8px 12px;text-decoration:none;white-space:nowrap;border-radius:6px;font-weight:600}.help-link:focus-visible{outline:2px solid #527b49;outline-offset:3px}@media(max-width:480px){header .breadcrumb{display:none}.header-actions{width:100%;justify-content:space-between;gap:8px}}

/* Ordens de serviço e escolha de carga */
.load-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.load-card{border:1px solid var(--line);border-radius:8px;padding:18px;background:#f7f9f3;display:flex;flex-direction:column;gap:9px}.load-card strong{font-size:24px}.load-card p{margin:0}.load-card small{color:var(--muted);font-size:11px}.load-card button{margin-top:auto}.repeat-row{display:grid;grid-template-columns:2fr 1fr auto;gap:9px;align-items:end;margin:10px 0}.product-row{grid-template-columns:1fr auto}.custom-load{border-top:1px solid var(--line);padding-top:18px}.custom-load input{max-width:280px}aside{overflow-y:auto}.metrics strong{overflow-wrap:anywhere}@media(max-width:1100px){.load-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.repeat-row{grid-template-columns:1fr 1fr}.repeat-row button{grid-column:1/-1;justify-self:end}.product-row{grid-template-columns:1fr}.load-grid{grid-template-columns:1fr}.metric strong{font-size:23px}}
/* Relatório de bordo baseado no formulário de campo */
.board-sheet{max-width:900px;margin:24px auto;padding:24px;background:#fff;color:#111;border:1px solid #d6ddd3;font-family:Arial,sans-serif;font-size:11px}.board-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.board-heading h2{font-size:22px;text-decoration:underline}.board-owner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:9px;margin-bottom:8px}.board-top{display:grid;grid-template-columns:35% 27% 38%;border:1px solid #333}.board-top>section{min-width:0;border-right:1px solid #333}.board-top>section:last-child{border-right:0}.board-pair{display:flex;flex-direction:column;padding:5px;border-bottom:1px solid #777;min-height:31px;gap:3px;overflow-wrap:anywhere}.board-pair b{font-size:9px}.board-pair:last-child{border-bottom:0}.board-engine h3{text-align:center;font-size:11px;padding:5px}.board-engine-grid{display:grid;grid-template-columns:1fr 1fr}.board-table{width:100%;border-collapse:collapse;white-space:normal;table-layout:fixed;font-size:10px;color:#111}.board-table th,.board-table td{padding:4px 3px;border:1px solid #555;font-size:10px;color:#111;white-space:normal;overflow-wrap:anywhere;text-transform:none;letter-spacing:normal;line-height:1.2;vertical-align:top}.board-table th{background:#f2f3ef;font-weight:700}.board-engine .board-table th,.board-engine .board-table td{font-size:8px;padding:3px}.board-transfers{margin-top:10px}.board-flights{margin-top:10px}.board-flights th:first-child{width:5%}.board-flights th:nth-child(2){width:12%}.board-flights th:nth-child(9){width:25%}.board-flights tbody td{height:23px}.board-bottom,.board-signature{display:flex;justify-content:space-between;gap:12px;margin-top:10px;flex-wrap:wrap}.board-legend{font-size:9px;line-height:1.4;margin:9px 0}.board-observations{font-size:9px!important}.board-signature{margin-top:20px}.board-route .title-row{max-width:100%}@media(max-width:720px){.board-sheet{width:820px;max-width:none;padding:14px}.board-route{overflow-x:auto}.board-route .title-row,.board-route .note{max-width:calc(100vw - 32px)}}
@media print{@page{size:A4 portrait;margin:8mm}.board-route{overflow:visible}.board-route>.title-row,.board-route>.account-bar,.board-route>.sync-bar,.board-route>.note{display:none!important}.board-route .board-sheet{width:100%;max-width:none;margin:0;padding:0;border:0;break-after:page;font-size:7pt}.board-route .board-sheet:last-child{break-after:auto}.board-heading{margin-bottom:2mm}.board-heading h2{font-size:13pt}.board-owner{margin-bottom:1mm;gap:1mm}.board-top{grid-template-columns:35% 27% 38%}.board-pair{padding:1mm;min-height:7mm;gap:.4mm}.board-pair b{font-size:6pt}.board-table th,.board-table td{font-size:6.5pt!important;padding:.7mm .5mm;line-height:1.1}.board-engine h3{font-size:7pt;padding:1mm}.board-engine .board-table th,.board-engine .board-table td{font-size:5.5pt!important;padding:.5mm}.board-products th,.board-products td{min-height:3mm}.board-flights tbody td{height:3.5mm}.board-transfers,.board-flights{margin-top:1.5mm}.board-sheet table{break-inside:auto}.board-sheet tr{break-inside:avoid}.board-bottom,.board-signature{font-size:6.5pt;margin-top:2mm}.board-legend{font-size:5.5pt;margin:1mm 0}.board-signature{margin-top:3mm}.board-observations{font-size:6pt!important}}

.product-row{grid-template-columns:1fr 1fr auto}@media(max-width:720px){.product-row{grid-template-columns:1fr}.product-row button{grid-column:1}}

#flight-observation{max-width:460px}#flight-observation textarea{min-height:110px}.small-save{font-size:12px;padding:7px 13px}.board-flights th:nth-child(8){width:25%}.board-flights th:nth-child(9){width:auto}

.document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.document-card{border:1px solid var(--line);border-radius:8px;padding:17px;min-width:0}.document-card h3{margin-bottom:12px}.document-file{margin-top:16px;border-top:1px solid var(--line);padding-top:12px;overflow-wrap:anywhere}.document-file>strong,.document-file>small{display:block}.document-file>small{margin:5px 0;color:var(--muted);font-size:11px}.document-file .actions{gap:4px}details>summary{cursor:pointer;margin:10px 0;font-size:12px;font-weight:600}details>.form-grid{margin:14px 0}.board-supplies{font-size:10px;margin:8px 0}#document-scanner{max-width:820px}.scanner-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.scanner-toolbar button{font-size:12px;padding:8px 10px}#scan-preview{display:block;max-width:100%;max-height:52vh;width:auto;height:auto;margin:auto;touch-action:none;background:#eef2e8;border:1px solid var(--line)}.scanner-thumbnails{display:flex;gap:8px;overflow-x:auto;margin:15px 0}.scanner-thumb{padding:4px;flex-shrink:0;width:62px;background:#f5f7f0;border:2px solid transparent}.scanner-thumb.selected{border-color:var(--green)}.scanner-thumb img{width:48px;height:64px;object-fit:contain}.scanner-thumb span{display:block;font-size:10px}#scan-save-options{padding:16px;border:1px solid var(--line);border-radius:8px;margin-top:18px}#scan-save-options h3{margin-bottom:12px}@media(max-width:720px){.document-grid{grid-template-columns:1fr}.order-documents .panel-head{align-items:flex-start;flex-direction:column}.scanner-toolbar{gap:5px}.scanner-toolbar button{font-size:11px}}@media print{.order-documents{display:none!important}.board-supplies{font-size:6.5pt}}

#modal.quick-flight-entry .dialog-actions{justify-content:flex-start}
/* Navegação no topo e comandos de campo para toque com uma mão. */
.workspace{margin-left:0;width:100%}header{position:sticky;top:0;z-index:5;background:#f8faf5;gap:12px;border-bottom:1px solid var(--line)}.header-brand{color:var(--green);font-weight:800;letter-spacing:2px;text-decoration:none}.header-actions{margin-left:auto}.menu-trigger{min-height:48px;min-width:100px}.breadcrumb{display:none}#menu-dialog{position:fixed;inset:0 auto 0 0;margin:0;border-radius:0 18px 18px 0;width:min(410px,92vw);max-height:100dvh;height:100dvh;padding:24px;overflow:auto}#menu-dialog .dialog-heading{position:sticky;top:-24px;background:#fff;padding:16px 0;z-index:1}#nav{display:block;overflow:visible}.menu-group{margin-bottom:20px}.menu-group h3{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);padding:10px}.menu-group a{display:flex;align-items:center;gap:12px;min-height:52px;font-size:16px;border-radius:9px;color:var(--green);text-decoration:none;padding:12px}.menu-group a.active{background:#e6efdb;font-weight:700}.home-cockpit{background:var(--green);color:white;border-radius:16px;padding:24px;margin-bottom:28px}.home-cockpit .eyebrow{color:#dfedac}.home-cockpit h1{color:white}.home-service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-top:20px}.home-service{display:flex;flex-direction:column;gap:8px;background:#fff;color:var(--green);border-radius:12px;padding:20px;text-decoration:none;min-height:150px}.home-service strong{font-size:22px}.home-service span,.home-service small{font-size:13px}.home-service b{margin-top:auto}.service-cockpit{background:#e8f0dc;border:1px solid #c5d5ab;border-radius:14px;padding:22px;margin-bottom:24px;scroll-margin-top:90px}.service-cockpit h2{font-size:24px}.cockpit-actions{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-top:18px}.cockpit-actions button{min-height:64px;font-size:20px}.supply-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.supply-buttons button{min-height:52px;font-size:16px}.supply-controls>div:not(.supply-buttons){margin-top:12px}.supply-controls [hidden]{display:none}.weather-option{border-top:1px solid var(--line);padding-top:14px}.weather-select{display:flex;align-items:center;gap:12px;min-height:48px;font-size:16px}.weather-select input{appearance:none;flex:0 0 26px;width:26px;height:26px;min-height:26px;border:2px solid var(--green);border-radius:50%;padding:0}.weather-select input:checked{background:var(--green);box-shadow:inset 0 0 0 5px white}.weather-option p{font-size:13px;line-height:1.6}.weather-option button{align-self:flex-start}.horimeter-field input{font-size:30px;min-height:66px;letter-spacing:1px}#modal.quick-flight-entry{max-width:560px}#modal.quick-flight-entry .dialog-actions{position:sticky;bottom:-22px;background:white;padding-bottom:12px;z-index:2;display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:8px}#modal.quick-flight-entry .dialog-actions button{min-height:56px;font-size:16px;padding:10px}#modal.quick-flight-entry .field input{font-size:22px;min-height:56px}#modal.quick-flight-entry .note{margin-bottom:0}#modal.quick-flight-entry .dialog-heading{margin-bottom:16px}button,a.file-label,input,select{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #9abb4c;outline-offset:3px}
@media(max-width:900px){button,.file-label{min-height:48px}input,select{font-size:18px;min-height:50px}.icon-button{min-width:48px;min-height:48px}main{padding:18px 14px}header{height:auto;min-height:70px;padding:8px 14px}.header-actions{width:auto;gap:8px}.header-actions button{font-size:13px;padding:8px}.header-actions #network{display:none}.header-brand{font-size:17px}#install{display:none}.account-bar{padding:10px 12px;flex-direction:row;align-items:center}.account-bar small{font-size:11px}.sync-bar{margin-bottom:16px;flex-direction:row}.title-row .actions{flex-wrap:wrap}.home-cockpit{padding:20px}.metrics{grid-template-columns:1fr 1fr}.panel-head,.panel-body{padding:16px}dialog{padding:18px;width:calc(100% - 16px);max-height:94dvh}.dialog-actions{flex-wrap:wrap}.quick-flight-entry .form-grid{gap:12px}.quick-flight-entry .field{grid-column:1/-1}#modal.quick-flight-entry .dialog-actions{bottom:-18px}.supply-controls small,.weather-option small{font-size:12px;line-height:1.5}}
@media(max-width:400px){.header-brand{display:none}.cockpit-actions button{font-size:18px}.supply-buttons button{font-size:14px}.home-service-grid{grid-template-columns:1fr}}
@media print{.home-cockpit,.service-cockpit,#menu-dialog{display:none!important}}
.service-details{background:white;border:1px solid var(--line);border-radius:10px;padding:8px 16px;margin:0 0 20px}.service-details summary{min-height:40px;display:flex;align-items:center;font-size:15px}.service-details>.actions{display:flex;flex-wrap:wrap;margin-bottom:12px}.flight-weather{max-width:300px;white-space:normal}.flight-weather p{font-size:12px;line-height:1.5}.order-route>.title-row{margin-bottom:16px}.order-route>.title-row h1{font-size:25px}.file-label{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:900px){.order-route>.account-bar{display:none}.order-route>.sync-bar{font-size:10px;margin-bottom:14px}.order-route>.sync-bar button{min-height:36px;padding:4px 8px}.order-route>.title-row .eyebrow{display:none}.order-route>.title-row h1{font-size:23px}.service-cockpit{padding:18px}.service-cockpit h2{font-size:22px}.service-cockpit p{margin-top:8px}.service-cockpit .subtext{font-size:12px}}
#modal.quick-flight-entry .weather-select input{width:26px;height:26px;min-height:26px;flex:0 0 26px;font-size:16px}#flight-weather-status:empty{display:none}
/* Identidade Voe Safra. */
.header-brand{display:inline-flex;align-items:center;flex:0 1 auto;letter-spacing:0;min-width:0}.header-brand img{display:block;width:196px;height:78px;object-fit:contain}header{height:auto;min-height:104px}#menu-title{color:var(--green)}
@media(max-width:480px){.header-brand{display:inline-flex}.header-brand img{width:146px;height:58px}.header-actions{gap:5px}.menu-trigger{min-width:94px;padding:10px 14px}header{gap:8px;padding:8px 12px}}
@media(max-width:350px){.header-brand img{width:116px;height:46px}.menu-trigger{min-width:82px;padding:10px}.header-actions .help-link{padding:8px 10px}header{gap:6px;padding:8px}}

/* Configuração de preços e formas de recebimento. */
.price-row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin:12px 0}.price-row label{display:grid;gap:6px;font-size:12px}.pay-option{padding:14px;border:1px solid var(--line);border-radius:9px;display:grid;grid-template-columns:minmax(180px,1fr) 150px;align-items:center;gap:12px}.pay-option input[type=checkbox]{width:22px;height:22px}.finance-activities{display:flex;gap:10px;flex-wrap:wrap}.finance-filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin-bottom:22px}.finance-filters .field{flex:1;min-width:160px}.pay-option input:disabled{background:#f1f1ed;opacity:.65}@media(max-width:480px){.price-row{grid-template-columns:1fr 1fr}.price-row button{grid-column:1/-1}.pay-option{grid-template-columns:1fr}.finance-filters{gap:12px}}

.activity-tabs{display:flex;gap:8px;padding:10px 16px;background:#f8faf5;border-bottom:1px solid var(--line)}.activity-tabs a{padding:12px 18px;border-radius:8px;text-decoration:none;color:var(--green);font-weight:700;background:#e8f0dc;white-space:normal}.fire-clock{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:24px;background:#e8f0dc;border:1px solid #c5d5ab;border-radius:14px;margin-bottom:24px}.fire-clock strong{font-size:24px}.fire-clock.warning{background:#fff0d5}.fire-clock .actions{flex-wrap:wrap}.fire-session{padding:18px 0;border-bottom:1px solid var(--line)}.fire-session summary{font-weight:700;cursor:pointer;line-height:1.6}.fire-session p{line-height:1.6}@media(max-width:720px){.fire-clock{flex-direction:column;align-items:stretch}.fire-clock .actions{display:grid;gap:12px}.fire-clock button{min-height:58px}.activity-tabs a{flex:1;text-align:center}}

.activity-tabs a.active{background:var(--green);color:white}.activity-tabs a:focus-visible{outline:3px solid #9abb4c;outline-offset:3px}

.finance-filters [hidden]{display:none!important}

#form-fields label[hidden]{display:none!important}

.application-report-action{margin-bottom:20px}

/* Botões em links e controles mantêm proporções e texto legível. */
a.file-label.primary,a.file-label.secondary{box-sizing:border-box;min-width:0;max-width:100%;min-height:44px;padding:10px 16px;border-radius:7px;font-weight:600;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere;flex-shrink:1}
.field,.form-grid>*{min-width:0}
.field input,.field select,.field textarea{box-sizing:border-box;max-width:100%;min-width:0}
button{max-width:100%;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.company-grid .panel-body>a.file-label.primary{display:flex;width:100%;min-height:48px;margin-top:12px}
.finance-filters input[type=month],.finance-filters input[type=date]{min-height:50px;line-height:1.4}
@media(max-width:720px){.finance-filters>.field{flex:1 1 calc(50% - 12px);min-width:min(210px,100%)}.finance-filters>.inline-checkbox{flex:1 1 100%;line-height:1.5}.finance-filters>button{min-height:48px}.dialog-actions>*{min-width:0}.price-row input,.repeat-row input{min-height:48px}.header-actions .help-link{padding:10px 12px}.date-control{max-width:100%}.date-control input{max-width:100%}}
@media(max-width:380px){.finance-filters>.field{flex-basis:100%}.dialog-actions{gap:8px}.dialog-actions button{flex:1 1 auto}.company-grid{grid-template-columns:minmax(0,1fr)}}

.date-control{display:inline-flex;flex-wrap:nowrap;align-items:center;white-space:nowrap;gap:10px}.date-control input{flex:0 0 157px;width:157px;min-width:0;height:48px;line-height:normal;white-space:nowrap}input[type=date],input[type=month],input[type=time]{white-space:nowrap;line-height:normal}input::-webkit-datetime-edit{white-space:pre;display:inline-flex;flex-wrap:nowrap;align-items:center}input::-webkit-datetime-edit-fields-wrapper{white-space:nowrap}@media(max-width:380px){.date-control{gap:8px;font-size:11px}.date-control input{flex-basis:145px;width:145px}}
.finance-filters>[data-query-field="activity"]{flex:1 1 250px;min-width:min(250px,100%)}.finance-filters select{padding-right:32px}@media(max-width:720px){.finance-filters>[data-query-field="activity"]{flex:1 1 100%;width:100%;min-width:0}}

.auth-panel{max-width:560px}.auth-panel form{display:grid;gap:18px}.auth-panel .field input{min-height:50px}.auth-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:20px;line-height:1.5}.auth-links a{color:var(--green)}
/* A atualização é solicitada pelo usuário, preservando formulários abertos. */
.app-update{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 0;flex-wrap:wrap}.app-update button{white-space:normal}
.mix-preview-products{list-style:none;padding:0;margin:16px 0}.mix-preview-products li{display:grid;gap:6px;padding:16px 0;border-bottom:1px solid #ccd7ce;overflow-wrap:anywhere}.mix-preview-products strong{font-size:20px}.mix-preview-products b{font-size:30px}.mix-preview-products small{font-size:15px}
.mix-share{border-top:1px solid #ccd7ce;padding-top:16px}.mix-share button{width:100%;white-space:normal}.mix-share p{margin:10px 0 0;overflow-wrap:anywhere}.mix-share [role=status]:empty{display:none}

.horimeter-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;white-space:nowrap;font-size:12px;min-width:0}.applied-area-total{font-weight:700;color:var(--green)}@media(max-width:380px){.horimeter-label-row{font-size:10px;gap:4px}}

.service-area-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.service-area-summary span{display:block;font-size:12px;white-space:nowrap}.service-area-summary strong{display:block;font-size:16px;line-height:1.4;white-space:nowrap}.horimeter-field .last-horimeter{font-size:12px;margin:0;line-height:1.4}@media(max-width:380px){.service-area-summary{gap:4px}.service-area-summary span{font-size:11px}.service-area-summary strong{font-size:14px}}

.home-service-grid{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}.service-summary-card{gap:10px;padding:16px;min-height:0;min-width:0}.service-summary-card .home-farm{font-size:22px;line-height:1.2;overflow-wrap:anywhere}.service-summary-card .home-client{font-size:12px;line-height:1.4;margin:4px 0 0;color:var(--muted);overflow-wrap:anywhere}.home-order-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.service-summary-card .home-order-number{font-size:11px;font-weight:700;overflow-wrap:anywhere;min-width:0}.service-summary-card .home-service-status{font-size:10px;line-height:1.3;padding:4px 7px;border-radius:5px;background:#e8f0dc;text-align:right;flex-shrink:0}.service-summary-card dl{margin:0;display:grid;gap:8px}.service-summary-card dl>div{min-width:0}.service-summary-card dt{font-size:10px;font-weight:400;line-height:1.35;color:var(--muted)}.service-summary-card dd{font-size:14px;font-weight:700;line-height:1.4;margin:3px 0 0;overflow-wrap:anywhere}.home-crew{grid-template-columns:1fr 1.5fr}.home-area-grid,.home-load-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.service-summary-card .home-area-grid{padding:10px;background:#eef3e5;border-radius:7px}.service-summary-card .home-area-grid dd{font-size:15px}.home-flight-grid{grid-template-columns:1fr 1fr;border-top:1px solid var(--line);padding-top:8px}.service-summary-card .home-open-service{display:flex;justify-content:space-between;align-items:center;padding-top:9px;border-top:1px solid var(--line);font-size:13px;font-weight:700}.service-summary-card .home-open-service span{font-size:18px;line-height:1}@media(max-width:360px){.service-summary-card{padding:12px}.service-summary-card dd,.service-summary-card .home-area-grid dd{font-size:13px}.service-summary-card dt{font-size:9px}}

.home-service-details{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:inherit;min-width:0}.home-card-actions{display:grid;grid-template-columns:1fr 1.6fr;gap:10px;align-items:stretch;border-top:1px solid var(--line);padding-top:9px}.service-summary-card .home-card-actions .home-open-service{padding:0;border:0;gap:5px;text-decoration:none;font-size:12px;min-height:48px}.home-share-progress{padding:7px 8px;min-width:0;min-height:48px}.service-summary-card .home-share-progress span{display:block;font-size:12px;line-height:1.3}.service-summary-card .home-share-progress small{display:block;font-size:10px;line-height:1.4;font-weight:400;color:#fff;margin-top:2px}.service-summary-card .home-share-status{font-size:11px;line-height:1.5;color:var(--muted);margin:0}.home-share-status[hidden]{display:none}@media(max-width:360px){.home-card-actions{gap:7px}.service-summary-card .home-share-progress span{font-size:11px}.service-summary-card .home-share-progress small{font-size:9px}.service-summary-card .home-card-actions .home-open-service{font-size:11px}}

.service-summary-card{padding:10px;gap:4px}.home-service-details{gap:4px}.service-summary-card .home-farm{font-size:22px;line-height:24px}.service-summary-card .home-client{font-size:10px;line-height:12px;margin:0}.home-order-line{gap:6px;min-height:12px}.service-summary-card .home-order-number,.service-summary-card .home-service-status{font-size:9px;line-height:12px}.service-summary-card .home-service-status{padding:0 4px}.service-summary-card .home-area-grid{padding:4px 6px;gap:6px}.service-summary-card .home-area-grid dt{font-size:9px;line-height:11px}.service-summary-card .home-area-grid dd{font-size:12px;line-height:15px;margin:0}.home-card-actions{padding:0;border:0;gap:8px}.home-card-links{display:flex;flex-direction:column;justify-content:center;min-width:0}.service-summary-card .home-card-actions .home-open-service{min-height:22px;font-size:11px;line-height:14px}.home-more-info{background:transparent;padding:0;min-height:22px!important;text-align:left;font-size:10px;line-height:14px;font-weight:500;color:var(--muted)}.home-share-progress{min-height:44px!important;padding:5px 6px}.service-summary-card .home-share-progress span{font-size:11px}.service-summary-card .home-share-progress small{font-size:9px;margin:0}.home-extra-info[hidden]{display:none}.home-extra-info{display:grid;gap:8px;border-top:1px solid var(--line);padding-top:8px;margin-top:4px}.home-service-grid{align-items:start}@media(max-width:360px){.service-summary-card{padding:10px}.service-summary-card .home-farm{font-size:20px;line-height:24px}}

.product-row{grid-template-columns:minmax(0,1.5fr) minmax(75px,.8fr) minmax(85px,.8fr) auto}.product-row>.field{min-width:0}@media(max-width:600px){.product-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.product-row>.product-name-field{grid-column:1/-1}.product-row>button{grid-column:1/-1;justify-self:end}.product-row input,.product-row select{min-width:0;font-size:16px}.product-row .field{font-size:11px}}

@media(max-width:600px){.product-row>.field{grid-column:auto}.product-row>.product-name-field{grid-column:1/-1}.product-row input,.product-row select{height:50px;min-height:50px}}

@media(max-width:600px){.product-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.product-row>.product-name-field{grid-column:1/3;grid-row:1}.product-row>button{grid-column:3;grid-row:1;align-self:end;min-height:50px;padding:7px 5px}.product-row>.field:not(.product-name-field){grid-row:2}.product-row>.field:nth-child(2){grid-column:1}.product-row>.field:nth-child(3){grid-column:2/4}}

/* Relatório geral: filtros e detalhes legíveis no celular. */
.report-filter{display:flex;flex-wrap:wrap;gap:16px;align-items:end}.report-filter .field{flex:1 1 170px}.report-filter .error{flex-basis:100%;margin:0}.report-export{margin:18px 0}.report-service{padding:18px 22px;border-bottom:1px solid #dbe4dc}.report-service h3{margin:0;overflow-wrap:anywhere}.report-service dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 0}.report-service dt{font-size:12px;color:#596e64}.report-service dd{margin:4px 0 0;font-weight:700;overflow-wrap:anywhere}@media(max-width:600px){.report-service dl{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter .actions{width:100%}.report-export>*{flex:1 1 160px}.report-service{padding:16px}}

/* Densidade compacta da interface; impressão mantém suas medidas próprias. */
@media screen{
 body{font-size:13px;line-height:1.4}
 header{min-height:68px;padding:4px 24px;gap:10px}.header-brand img{width:150px;height:56px}.menu-trigger{min-height:44px;min-width:84px;padding:8px 12px}
 main{padding:22px 24px}.eyebrow{margin-bottom:5px;letter-spacing:1.3px}h1{font-size:24px;margin-bottom:6px;letter-spacing:-.5px}h2{font-size:16px}h3{font-size:13px}
 .title-row{gap:12px;margin-bottom:16px}.actions{gap:8px}button{padding:8px 12px;font-size:13px}.help-link{padding:8px 10px}
 .activity-tabs{padding:6px 14px;gap:6px}.activity-tabs a{padding:8px 12px;font-size:12px}
 .account-bar{padding:8px 12px;margin-bottom:8px}.sync-bar{margin-bottom:12px;gap:8px}.sync-bar button{padding:6px 10px}
 .metrics{gap:10px;margin-bottom:14px}.metric{padding:12px 14px;border-radius:8px}.metric strong{font-size:24px;margin:5px 0 3px;letter-spacing:-.5px}.metric .label{font-size:11px}.metric .detail{font-size:10px}
 .panel{margin-bottom:14px;border-radius:8px}.panel-head{padding:12px 16px;gap:10px}.panel-body{padding:14px 16px}.panel-head p{margin-top:2px}
 th{padding:9px 14px}td{padding:10px 14px}.two-columns{gap:14px}.quick-grid{gap:8px}.quick-link{padding:10px}.flow-list{gap:10px}
 .note{padding:10px 12px;margin-bottom:14px;line-height:1.5}.toolbar{gap:10px;margin-bottom:12px}.day-strip{gap:10px;margin-bottom:14px}.summary-line{padding:8px 0}.history{padding:9px 0}.empty{padding:24px 16px}
 .form-grid{gap:12px}.field{gap:4px}.field input,.field select,.field textarea{padding:8px 9px}.repeat-row,.price-row{gap:8px;margin:8px 0}
 dialog{padding:20px;border-radius:10px}.dialog-heading{margin-bottom:16px}.dialog-actions{margin-top:16px;padding-top:12px;gap:8px}
 #menu-dialog{padding:16px;width:min(350px,92vw)}#menu-dialog .dialog-heading{top:-16px;padding:10px 0}.menu-group{margin-bottom:12px}.menu-group h3{font-size:11px;padding:8px}.menu-group a{min-height:44px;padding:8px 10px;font-size:14px}
 .home-cockpit{padding:16px;border-radius:10px;margin-bottom:18px}.home-cockpit>p:not(.eyebrow){margin:6px 0;font-size:12px}.home-service-grid{margin-top:12px;gap:10px}.home-service:not(.service-summary-card){padding:12px;min-height:0}.home-service:not(.service-summary-card) strong{font-size:18px}
 .service-summary-card .home-farm{font-size:18px;line-height:21px}.service-cockpit{padding:14px;margin-bottom:16px;border-radius:10px;scroll-margin-top:72px}.service-cockpit h2{font-size:19px}.cockpit-actions{gap:8px;margin-top:12px}.cockpit-actions button{min-height:46px;font-size:16px;padding:8px 10px}
 .service-details{padding:5px 12px;margin-bottom:14px}.service-details summary{min-height:36px;font-size:13px}.service-area-summary{margin-top:8px}
 .load-grid{gap:10px;margin:14px 0}.load-card{padding:12px;gap:6px}.load-card strong{font-size:20px}.document-grid{gap:10px}.document-card{padding:12px}.document-card h3{margin-bottom:8px}
 .fire-clock{padding:16px;gap:16px;margin-bottom:16px}.fire-clock strong{font-size:21px}.fire-session{padding:12px 0}
 .finance-filters{gap:10px;margin-bottom:14px}.pay-option{padding:10px;gap:8px}
 .report-filter{gap:10px}.report-export{margin:12px 0}.report-service{padding:12px 16px}.report-service dl{gap:8px;margin-top:8px}.report-service dt{font-size:11px}.report-service dd{margin-top:2px}
 .order-route>.title-row h1{font-size:22px}.application-report-action{margin-bottom:12px}.mix-preview-products{margin:10px 0}.mix-preview-products li{gap:4px;padding:10px 0}.mix-preview-products strong{font-size:16px}.mix-preview-products b{font-size:24px}.mix-preview-products small{font-size:13px}
 #modal.quick-flight-entry .field input{font-size:18px;min-height:46px}.horimeter-field input{font-size:24px;min-height:50px}#modal.quick-flight-entry .dialog-actions button{min-height:44px;font-size:14px;padding:8px}.supply-buttons button{min-height:44px;font-size:14px}
 footer{padding:12px 24px;gap:8px}
}
@media screen and (max-width:900px){
 body{font-size:14px}header{min-height:64px;padding:4px 12px}.header-brand img{width:132px;height:52px}.header-actions button{padding:6px 8px}
 main{padding:14px 12px}.title-row{gap:10px;margin-bottom:14px}h1{font-size:22px}.panel-head h2{font-size:15px}
 button,.file-label,a.file-label.primary,a.file-label.secondary{min-height:44px}.icon-button{min-width:44px;min-height:44px}.text-button{padding:6px 8px;font-size:12px}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px;min-height:44px;padding:8px 9px}.date-control input{height:44px}.product-row input,.product-row select,.product-row>button{min-height:44px;height:44px}
 .metric{padding:10px 12px}.metric strong{font-size:21px;margin:4px 0 2px}.metrics{gap:8px}.metric .label{font-size:11px}
 .account-bar{padding:8px 10px;font-size:11px}.sync-bar{margin-bottom:10px;font-size:10px}.sync-bar button,.order-route>.sync-bar button{min-height:36px}
 .home-cockpit{padding:14px;margin-bottom:16px}.home-service-grid{margin-top:10px}.service-cockpit h2{font-size:18px}.service-cockpit p{margin:6px 0}.service-cockpit .subtext{font-size:11px}.cockpit-actions button{font-size:15px}
 dialog{padding:16px}.quick-flight-entry .form-grid{gap:10px}#modal.quick-flight-entry .dialog-actions{bottom:-16px}.form-grid{gap:10px}.fire-clock button{min-height:44px}
 .panel-head,.panel-body{padding:12px}.report-service{padding:12px}.finance-filters input[type=date],.finance-filters input[type=month]{min-height:44px}.auth-panel .field input{min-height:44px}
 .home-card-links .home-more-info{min-height:22px}.service-summary-card .home-card-actions .home-open-service{min-height:22px}.home-share-progress{min-height:44px}
 footer{padding:12px}
}
@media screen and (max-width:350px){header{padding:4px 8px;gap:6px}.header-brand img{width:112px;height:46px}.menu-trigger{min-width:76px;padding:8px}.header-actions .help-link{padding:8px}.metric strong{font-size:20px}.service-summary-card .home-farm{font-size:18px}}

@media screen{
 .service-details summary{margin:4px 0}
 .weather-select{font-size:14px;gap:10px}
 #modal.quick-flight-entry .weather-select input{width:22px;height:22px;min-height:22px;flex:0 0 22px;padding:0;font-size:16px}
}
@media screen and (max-width:600px){.report-filter .report-entity-filter{flex:1 1 calc(50% - 5px);min-width:0}}

@media screen{
 .application-report-action{display:flex;align-items:center;gap:10px}
 .service-pdf-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;flex:1;max-width:510px}
 .service-pdf-buttons button{min-width:0;min-height:44px;padding:6px 8px;font-size:12px;line-height:1.2}
 .service-pdf-buttons small{display:block;font-size:10px;font-weight:500;margin-top:2px;line-height:1.2}
 .application-report-action .service-edit-order{min-height:32px;padding:5px 8px;font-size:11px;flex-shrink:0}
}
@media screen and (max-width:600px){
 .application-report-action{display:grid;grid-template-columns:1fr;gap:2px;margin-bottom:10px}
 .service-pdf-buttons{max-width:none;width:100%}
 .service-edit-order{justify-self:end}
}

.maintenance-list,.maintenance-planes{display:grid;gap:8px}.maintenance-planes{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));border-bottom:1px solid var(--line);font-size:12px}.maintenance-item{padding:12px 16px;border-bottom:1px solid var(--line)}.maintenance-item:last-child{border-bottom:0}.maintenance-item p{margin:6px 0;font-size:12px}.maintenance-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.maintenance-heading h3{overflow-wrap:anywhere;min-width:0}.maintenance-overdue{background:#f8e5df;color:#8f3526}.maintenance-part{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:8px;align-items:end;margin:10px 0}.maintenance-item ul{font-size:12px;padding-left:18px}@media(max-width:600px){.maintenance-part{grid-template-columns:1fr 1fr}.maintenance-part>.field:first-child{grid-column:1/-1}.maintenance-part>.field{grid-column:auto}.maintenance-part>button{grid-column:1/-1;justify-self:end}.maintenance-heading{flex-wrap:wrap}}

.maintenance-home{border:1px solid #e5cfaa;background:#fffaf0;border-radius:8px;padding:10px 12px;margin-bottom:12px}.maintenance-home-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.maintenance-home-heading h2{font-size:14px}.maintenance-home-heading>a{font-size:11px;color:var(--green)}.maintenance-home>p{margin:3px 0 6px;color:#705635;font-size:11px}.maintenance-home-row{display:flex;justify-content:space-between;gap:8px;align-items:center;min-height:40px;padding:5px 0;border-top:1px solid #eddfc7;text-decoration:none;font-size:12px}.maintenance-home-row>b{min-width:0;overflow-wrap:anywhere}.maintenance-home-row>span{display:flex;gap:6px;align-items:center;flex-shrink:0;font-size:10px}.maintenance-home-overdue{color:#963e2e;background:#fae5df;border-radius:4px;padding:3px 5px}.maintenance-home-near{color:#765a20;background:#f7ecc8;border-radius:4px;padding:3px 5px}.maintenance-home details>summary{font-size:11px;margin:5px 0;min-height:32px;display:flex;align-items:center}@media print{.maintenance-home{display:none!important}}

/* Tela inicial: atalhos circulares de tamanho uniforme. */
.launch-home{max-width:880px;margin:0 auto 10px}.launch-home>h1{font-size:19px;margin:0 0 10px;letter-spacing:-.3px}.launch-group{margin-bottom:10px}.launch-group h2{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin:0 0 6px}.launch-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px 10px}.launch-link{display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none;color:var(--green);min-width:0;padding:3px 1px;border-radius:7px}.launch-circle{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#fff;border:1px solid #c7d6c6;box-shadow:0 1px 2px #173e3608}.launch-circle svg{width:22px;height:22px}.launch-link>span:last-child{font-size:11px;line-height:13px;text-align:center;max-width:100%;min-height:26px;overflow-wrap:anywhere}.launch-link:hover .launch-circle,.launch-link:focus-visible .launch-circle{background:var(--green);color:white;border-color:var(--green)}.launch-route{max-width:950px}.launch-route .maintenance-home{margin-top:8px}.home-services{border-top:1px solid var(--line);padding-top:6px}.home-services>summary{font-size:12px;min-height:36px;display:flex;align-items:center;margin:0}.home-services .home-cockpit{padding:0;margin:0;background:transparent}.home-services .home-cockpit>.eyebrow,.home-services .home-cockpit>h1,.home-services .home-cockpit>p{display:none}.home-services .home-service-grid{margin-top:6px}
@media screen{
 header{min-height:56px;padding:3px 16px}.header-brand img{width:124px;height:46px}.menu-trigger{min-height:36px;min-width:76px;padding:6px 10px}.header-actions .help-link{min-height:36px;padding:6px 10px}.activity-tabs{padding:4px 12px}.activity-tabs a{padding:6px 10px;font-size:11px}
 main{padding:16px 18px}.title-row{margin-bottom:12px;gap:8px}h1{font-size:22px}.panel{margin-bottom:10px}.panel-head,.panel-body{padding:10px 12px}.panel-head h2{font-size:14px}.metrics{gap:7px;margin-bottom:10px}.metric{padding:8px 10px}.metric strong{font-size:21px;margin:3px 0 1px}.metric .label{font-size:10px}.note{padding:8px 10px;margin-bottom:10px}.form-grid{gap:9px}.field{font-size:11px;gap:3px}.actions{gap:6px}.account-bar{padding:6px 10px;margin-bottom:6px}.sync-bar{margin-bottom:8px}.service-cockpit{padding:10px 12px;margin-bottom:12px}.service-cockpit h2{font-size:17px}.service-details{margin-bottom:10px}.load-card{padding:10px}.report-service,.maintenance-item{padding:10px 12px}th{padding:7px 10px}td{padding:8px 10px}.toolbar{margin-bottom:10px;gap:8px}
}
@media screen and (max-width:900px){
 body{font-size:13px}main{padding:12px 10px}header{min-height:54px;padding:3px 10px}.header-brand img{width:122px;height:44px}.header-actions .help-link{min-height:36px}button,.file-label,a.file-label.primary,a.file-label.secondary{min-height:38px;font-size:12px;padding:6px 10px}.menu-trigger{min-height:36px}.icon-button{min-height:38px;min-width:38px}h1{font-size:20px}.order-route>.title-row h1{font-size:20px}.metric strong{font-size:19px}.metric{padding:8px 9px}.panel-head,.panel-body{padding:10px}.title-row{gap:8px;margin-bottom:12px}.field input:not([type=checkbox]):not([type=radio]),.field select{font-size:16px;min-height:40px;padding:6px 8px}.date-control input{height:40px;min-height:40px}.form-grid{gap:9px}.product-row input,.product-row select,.product-row>button{height:40px;min-height:40px}.service-pdf-buttons button{min-height:38px;font-size:11px;padding:5px 6px}.cockpit-actions button{min-height:42px;font-size:14px}.home-cockpit{padding:12px}.home-cockpit h1{font-size:20px}.supply-buttons button{min-height:40px;font-size:13px}.maintenance-home{padding:8px 10px}.maintenance-home-row{min-height:36px}.launch-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px 6px}.launch-link>span:last-child{font-size:10px;line-height:12px;min-height:24px}.launch-home>h1{font-size:18px}.launch-group{margin-bottom:8px}.launch-circle{width:42px;height:42px;flex-basis:42px}.launch-circle svg{width:21px;height:21px}.launch-route .account-bar{font-size:10px}.launch-route .sync-bar{font-size:10px}.service-summary-card .home-share-progress{min-height:40px}.home-card-links .home-more-info{padding:0}.home-share-progress small{font-size:9px}
}
@media print{.launch-home,.home-services{display:none!important}}
@media screen and (min-width:901px){.launch-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media screen and (min-width:360px) and (max-width:900px){.launch-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

@media screen{.company-grid .panel-body>p{margin:6px 0;font-size:12px}.company-grid .panel-body>h2{font-size:15px}.company-grid .summary-line{padding:6px 0;font-size:12px}.company-grid .status-line{margin-top:8px}.company-grid .panel-body>a.file-label.primary{min-height:38px;padding:6px 10px;margin-top:6px}.launch-link>span:last-child{overflow-wrap:normal;word-break:normal}}

/* Vidro colorido: o mesmo acabamento nos atalhos e ações, sem aumentar medidas. */
@media screen{
 :root{--glass-rgb:48,151,103;--glass-ink:#174b35}
 [data-tone="blue"]{--glass-rgb:63,143,226;--glass-ink:#154a81}
 [data-tone="teal"]{--glass-rgb:28,161,168;--glass-ink:#10565c}
 [data-tone="red"]{--glass-rgb:231,103,91;--glass-ink:#842d29}
 [data-tone="purple"]{--glass-rgb:155,116,215;--glass-ink:#563584}
 [data-tone="amber"]{--glass-rgb:222,163,46;--glass-ink:#69460c}
 .launch-circle,.launch-link:hover .launch-circle,.launch-link:focus-visible .launch-circle{
  color:var(--glass-ink);border:1px solid rgba(var(--glass-rgb),.35);
  background:radial-gradient(ellipse at 27% 8%,#ffffffed 0%,#ffffff80 24%,#ffffff00 55%),linear-gradient(155deg,rgba(var(--glass-rgb),.12),rgba(var(--glass-rgb),.48));
  box-shadow:inset 0 1px 1px #fff,inset 1px 0 1px #ffffffb3,inset 0 -1px 2px rgba(var(--glass-rgb),.23),0 3px 8px rgba(var(--glass-rgb),.16);
  -webkit-backdrop-filter:blur(12px) saturate(180%);backdrop-filter:blur(12px) saturate(180%);transition:transform .15s,box-shadow .15s;
 }
 .launch-circle svg{filter:drop-shadow(0 1px 0 #ffffffb3)}
 .launch-link{padding-top:3px;padding-bottom:3px;gap:8px}
 .launch-link:active .launch-circle,.pdf-launch:active .launch-circle{transform:scale(.94)}
 .launch-link:focus-visible,.service-pdf-buttons .pdf-launch:focus-visible{outline:2px solid #2869b3;outline-offset:3px;border-radius:8px}
 .service-pdf-buttons{max-width:300px;gap:8px}
 .service-pdf-buttons .pdf-launch,.service-pdf-buttons .pdf-launch:hover{display:flex;flex-direction:column;align-items:center;gap:8px;min-height:0;padding:3px 2px 1px;background:transparent;border:0;box-shadow:none;color:var(--text);font-size:11px;font-weight:600;line-height:13px}
 .service-pdf-buttons .launch-circle{display:flex;align-items:center;justify-content:center;border-radius:50%;width:44px;height:44px;flex:0 0 44px}
 .service-pdf-buttons small{display:inline;font-size:9px;font-weight:500;margin:0 0 0 3px;color:var(--muted)}
 :is(button,a.file-label).primary{--glass-rgb:48,151,103;--glass-ink:#174b35}
 :is(button,a.file-label).secondary,.menu-trigger,.help-link{--glass-rgb:63,143,226;--glass-ink:#154a81}
 :is(button,a.file-label).danger{--glass-rgb:231,103,91;--glass-ink:#842d29}
 :is(button,a.file-label):is(.primary,.secondary,.danger),.menu-trigger,.help-link{
  color:var(--glass-ink);border:1px solid rgba(var(--glass-rgb),.32);
  background:linear-gradient(165deg,#ffffffcc 0%,#ffffff55 42%,#ffffff00 44%),linear-gradient(135deg,rgba(var(--glass-rgb),.16),rgba(var(--glass-rgb),.37));
  box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px rgba(var(--glass-rgb),.17),0 2px 5px rgba(var(--glass-rgb),.12);
  -webkit-backdrop-filter:blur(12px) saturate(180%);backdrop-filter:blur(12px) saturate(180%);
 }
 :is(button,a.file-label):is(.primary,.secondary,.danger):hover:not(:disabled),.menu-trigger:hover,.help-link:hover{background-color:rgba(var(--glass-rgb),.13)}
 :is(button,a.file-label):is(.primary,.secondary,.danger):active:not(:disabled){box-shadow:inset 0 1px 3px rgba(var(--glass-rgb),.24)}
}
@media screen and (max-width:900px){.service-pdf-buttons{max-width:300px}.service-pdf-buttons .launch-circle{width:42px;height:42px;flex-basis:42px}}
@media(prefers-reduced-motion:reduce){.launch-circle{transition:none}}
@media screen{
 .activity-tabs{justify-content:center;gap:12px;padding:5px 10px 4px}
 .activity-tabs a,.activity-tabs a.active,.activity-tabs a:hover:not(.active){display:flex;flex:1 1 0;max-width:160px;min-width:0;flex-direction:column;align-items:center;gap:3px;padding:2px 3px;background:transparent;color:var(--text);border-radius:8px;text-decoration:none}
 .activity-tabs .launch-circle{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;border-radius:50%}
 .activity-tabs .launch-circle svg{width:18px;height:18px}
 .activity-tabs a>span:last-child{font-size:10px;line-height:12px;text-align:center;font-weight:600}
 .activity-tabs a.active .launch-circle{border-color:var(--glass-ink);box-shadow:inset 0 1px 1px #fff,0 0 0 2px rgba(var(--glass-rgb),.14),0 2px 6px rgba(var(--glass-rgb),.16)}
 .activity-tabs a.active>span:last-child{color:var(--glass-ink);font-weight:800}
}

/* Ações circulares em todas as telas, com legenda preservada e foco acessível. */
@media screen{
 body :is(main,#modal,header) .round-action:not([hidden]),body :is(main,#modal,header) .round-action:hover:not([hidden]){
  display:inline-flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;width:82px;max-width:100%;min-width:0;min-height:0;height:auto;flex:0 1 82px;padding:3px 2px;background:transparent;border:0;border-radius:8px;box-shadow:none;color:var(--text);font-size:10px;line-height:12px;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:normal;
 }
 body :is(main,#modal,header) .round-action>.launch-circle{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%}
 body :is(main,#modal,header) .round-action>.launch-circle svg{width:19px;height:19px}
 body :is(main,#modal,header) .round-action>.action-caption{display:block;font-size:10px;line-height:12px;max-width:100%;font-weight:600;color:var(--text)}
 body :is(main,#modal,header) .round-action .action-caption :is(span,small){font-size:inherit;line-height:inherit}
 .round-action .action-caption small{display:block;font-weight:400}
 .round-action:active>.launch-circle{transform:scale(.94)}
 body :is(main,#modal,header) .round-action:focus-visible{outline:2px solid var(--glass-ink);outline-offset:2px}
 .title-row>.actions,.panel-head>.actions,.dialog-actions{flex-wrap:wrap;align-items:flex-start}
 .cockpit-actions{display:flex;flex-wrap:wrap;align-items:flex-start}
 body header .round-action:not([hidden]){width:50px;flex-basis:50px;gap:2px;padding:1px}
 body header .round-action>.launch-circle{width:30px;height:30px;flex-basis:30px}
 body .sync-bar .round-action:not([hidden]){width:72px;flex-basis:72px}
 body .service-pdf-buttons{max-width:300px}
}
@media screen and (max-width:600px){
 .title-row{flex-wrap:wrap}.title-row>.actions{display:flex;gap:5px;justify-content:flex-start}
 body :is(main,#modal) .round-action:not([hidden]){width:76px;flex-basis:76px}
 .supply-buttons{display:flex;flex-wrap:wrap}.fire-clock .actions{display:flex;flex-wrap:wrap}
 body .dialog-actions .round-action:not([hidden]){flex:0 1 76px}
}
@media screen{
 .round-action[data-tone="green"]{--glass-rgb:48,151,103;--glass-ink:#174b35}
 .round-action[data-tone="blue"]{--glass-rgb:63,143,226;--glass-ink:#154a81}
 .round-action[data-tone="teal"]{--glass-rgb:28,161,168;--glass-ink:#10565c}
 .round-action[data-tone="red"]{--glass-rgb:231,103,91;--glass-ink:#842d29}
 .round-action[data-tone="purple"]{--glass-rgb:155,116,215;--glass-ink:#563584}
 .round-action[data-tone="amber"]{--glass-rgb:222,163,46;--glass-ink:#69460c}
}

/* Ícones ampliados, vidro com cores neon e legendas maiores. */
@media screen{
 :root{--glass-rgb:0,224,122;--glass-ink:#075436}
 [data-tone="green"],body .round-action[data-tone="green"]{--glass-rgb:0,224,122;--glass-ink:#075436}
 [data-tone="blue"],body .round-action[data-tone="blue"]{--glass-rgb:0,139,255;--glass-ink:#064e91}
 [data-tone="teal"],body .round-action[data-tone="teal"]{--glass-rgb:0,215,223;--glass-ink:#075960}
 [data-tone="red"],body .round-action[data-tone="red"]{--glass-rgb:255,65,100;--glass-ink:#8b1735}
 [data-tone="purple"],body .round-action[data-tone="purple"]{--glass-rgb:171,77,255;--glass-ink:#592092}
 [data-tone="amber"],body .round-action[data-tone="amber"]{--glass-rgb:255,182,0;--glass-ink:#704500}
 .launch-circle,.launch-link:hover .launch-circle,.launch-link:focus-visible .launch-circle{
  background:radial-gradient(ellipse at 26% 8%,#ffffffdf 0%,#ffffff55 25%,#ffffff00 55%),linear-gradient(150deg,rgba(var(--glass-rgb),.36),rgba(var(--glass-rgb),.8));
  border:1px solid rgba(var(--glass-rgb),.85);color:var(--glass-ink);
  box-shadow:inset 0 2px 2px #ffffffdb,inset 0 -2px 4px rgba(var(--glass-rgb),.45),0 0 12px rgba(var(--glass-rgb),.3),0 4px 8px rgba(var(--glass-rgb),.2);
 }
 .launch-circle svg{filter:drop-shadow(0 1px 0 #ffffff80)}
 .launch-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 12px}
 .launch-circle{width:66px;height:66px;flex-basis:66px}.launch-circle svg{width:33px;height:33px}
 .launch-link{gap:9px;padding:5px 2px}.launch-link>span:last-child{font-size:14.3px;line-height:17px;min-height:34px}
 .launch-group{margin-bottom:14px}
 .activity-tabs{gap:10px;padding:7px 10px 5px}
 .activity-tabs .launch-circle{width:48px;height:48px;flex-basis:48px}.activity-tabs .launch-circle svg{width:27px;height:27px}
 .activity-tabs a>span:last-child{font-size:13px;line-height:16px}
 .activity-tabs a.active .launch-circle{box-shadow:inset 0 2px 2px #ffffffdb,0 0 0 2px rgba(var(--glass-rgb),.3),0 0 14px rgba(var(--glass-rgb),.4)}
 body :is(main,#modal,header) .round-action:not([hidden]){width:100px;flex-basis:100px;font-size:13px;line-height:16px;gap:7px}
 body :is(main,#modal,header) .round-action>.launch-circle{width:54px;height:54px;flex-basis:54px}
 body :is(main,#modal,header) .round-action>.launch-circle svg{width:28.5px;height:28.5px}
 body :is(main,#modal,header) .round-action>.action-caption{font-size:13px;line-height:16px}
 .service-pdf-buttons{max-width:360px;gap:8px}.service-pdf-buttons .pdf-launch{font-size:14.3px;line-height:17px}
 .service-pdf-buttons .launch-circle{width:66px;height:66px;flex-basis:66px}.service-pdf-buttons .launch-circle svg{width:33px;height:33px}
 .service-pdf-buttons small{font-size:11.7px}
 body header .round-action:not([hidden]){width:50px;flex-basis:50px;gap:3px}
 body header .round-action>.launch-circle{width:45px;height:45px;flex-basis:45px}
 header{height:auto;min-height:82px;padding:4px 10px;gap:6px}.header-brand img{width:173.6px;height:64.4px}.header-brand{flex-shrink:0}
 body .sync-bar .round-action:not([hidden]){width:90px;flex-basis:90px}
}
@media screen and (max-width:900px){
 .launch-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px}
 .launch-circle{width:63px;height:63px;flex-basis:63px}.launch-circle svg{width:31.5px;height:31.5px}
 .launch-link>span:last-child{font-size:13px;line-height:16px;min-height:32px}
 .service-pdf-buttons .launch-circle{width:63px;height:63px;flex-basis:63px}.service-pdf-buttons .launch-circle svg{width:31.5px;height:31.5px}
 .header-brand img{width:170.8px;height:61.6px}
 body :is(main,#modal) .round-action:not([hidden]),body .dialog-actions .round-action:not([hidden]){width:90px;flex-basis:90px}
 .service-pdf-buttons .pdf-launch{font-size:14.3px;line-height:17px}
 .activity-tabs a{padding:2px 0}
}
@media screen and (min-width:600px) and (max-width:900px){.launch-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media screen{
 body header .round-action:not([hidden]){width:50px!important;flex:0 0 50px!important;gap:3px}
 body header .round-action>.launch-circle{width:45px!important;height:45px!important;flex:0 0 45px!important}
 header .header-actions{gap:6px;flex:0 0 auto}
}
@media screen{
 .service-pdf-buttons .pdf-launch>span:last-child{overflow-wrap:normal;word-break:normal;max-width:100%}
 .service-pdf-buttons .pdf-launch small{display:block;white-space:nowrap;margin:2px 0 0}
}

/* Cabeçalho com ações reunidas, conta no menu e ícones ampliados em mais 20%. */
@media screen{
 .launch-circle{width:79.2px;height:79.2px;flex-basis:79.2px}.launch-circle svg{width:39.6px;height:39.6px}
 .activity-tabs .launch-circle{width:57.6px;height:57.6px;flex-basis:57.6px}.activity-tabs .launch-circle svg{width:32.4px;height:32.4px}
 body :is(main,#modal,header) .round-action>.launch-circle{width:64.8px;height:64.8px;flex-basis:64.8px}
 body :is(main,#modal,header) .round-action>.launch-circle svg{width:34.2px;height:34.2px}
 .service-pdf-buttons .launch-circle{width:79.2px;height:79.2px;flex-basis:79.2px}.service-pdf-buttons .launch-circle svg{width:39.6px;height:39.6px}
 header{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px;padding:5px 10px 8px;min-height:0}
 .header-brand{grid-column:1/-1;grid-row:1;justify-self:center}.header-brand img{width:260.4px;height:96.6px}
 body header #open-menu{grid-row:2;grid-column:1;justify-self:center}
 header .header-actions{display:contents}
 body header .round-action:not([hidden]){width:96px!important;flex:none!important;justify-self:center}
 body header .round-action>.launch-circle{width:54px!important;height:54px!important;flex:0 0 54px!important}
 header .help-link{grid-row:2;grid-column:2}header #header-sync{grid-row:2;grid-column:3}
 header #install{grid-column:1/-1;grid-row:3}header #network,header .breadcrumb{display:none}
 .sync-bar{margin-bottom:8px;font-size:10px;line-height:14px;min-height:0}
 .menu-account-info{padding:6px 10px;overflow-wrap:anywhere}.menu-account-info strong,.menu-account-info small{display:block}.menu-account-info small{font-size:11px;color:var(--muted);margin-top:3px}
 .menu-account{border-top:1px solid var(--line);padding-top:6px}
}
@media screen and (max-width:900px){
 .launch-circle{width:75.6px;height:75.6px;flex-basis:75.6px}.launch-circle svg{width:37.8px;height:37.8px}
 .service-pdf-buttons .launch-circle{width:75.6px;height:75.6px;flex-basis:75.6px}.service-pdf-buttons .launch-circle svg{width:37.8px;height:37.8px}
 .header-brand img{width:256.2px;height:92.4px}
}
@media screen and (min-width:700px){
 header{display:flex;justify-content:space-between;padding:5px 18px;gap:18px}
 .header-brand{order:0;margin-right:auto}.header-actions{display:flex!important;gap:12px!important}
 body header #open-menu{order:-1}header .header-actions{order:1}
}

/* Tons terrosos e neutros substituem lilás, roxo e rosa. */
@media screen{
 [data-tone="brown"],[data-tone="purple"],body .round-action:is([data-tone="brown"],[data-tone="purple"]){--glass-rgb:174,105,37;--glass-ink:#5d310a}
 [data-tone="gray"],[data-tone="red"],body .round-action:is([data-tone="gray"],[data-tone="red"]){--glass-rgb:143,155,164;--glass-ink:#35444e}
 [data-tone="gold"],body .round-action[data-tone="gold"]{--glass-rgb:255,190,0;--glass-ink:#704500}
 header{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;padding:5px 10px;gap:8px;min-height:0}
 header .header-brand{order:0;flex:1 1 auto;min-width:0;justify-content:flex-start;margin:0}
 header .header-brand img{width:156.24px;max-width:100%;height:auto}
 header .header-actions{display:flex!important;flex:0 0 auto;align-items:center;gap:3px!important;order:1}
 body header #open-menu{order:0}
 body header .round-action:not([hidden]){width:38px!important;height:38px;flex:0 0 38px!important;justify-content:center;gap:0;padding:3px}
 body header .round-action>.launch-circle{width:27px!important;height:27px!important;flex:0 0 27px!important}
 body header .round-action>.launch-circle svg{width:17.1px;height:17.1px}
 body header .round-action>.action-caption{display:none}
}
@media screen and (max-width:900px){header .header-brand img{width:153.72px;max-width:100%;height:auto}}
@media screen{
 body header .round-action:not([hidden]){height:38px!important;min-height:38px!important}
 body header .round-action>.action-caption{display:none!important}
}
@media screen{
 .launch-route>.home-services{border-top:0;border-bottom:1px solid var(--line);padding:0 0 10px;margin:0 0 10px}
 .home-services>h2{font-size:14px;line-height:18px;margin:0 0 6px}
}
@media screen{
 header .header-actions{flex-direction:column;align-items:flex-end;justify-content:center;gap:0!important}
 header :is(#open-menu,.help-link,#header-sync,#install),header :is(#open-menu,.help-link,#header-sync,#install):hover{
  display:block;width:auto;max-width:100%;min-width:0;min-height:0;height:auto;padding:3px 0;border:0;border-radius:3px;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;font-size:11px;font-weight:600;line-height:16px;color:var(--green);text-decoration:none;text-align:right;
 }
 header .header-actions [hidden]{display:none!important}
}
@media screen{.activity-tabs a[href="#painel"] .launch-circle svg{width:49px;height:43px;filter:none}}
@media screen{
 .activity-tabs a[href="#painel"] .launch-circle{overflow:hidden;border:0;background:none}
 .safra-model{display:block;width:110%;height:110%;max-width:none;object-fit:cover;flex-shrink:0}
}
@media screen{[data-tone="fire"]{--glass-rgb:239,43,24;--glass-ink:#811509}}
@media screen{
 .home-card-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;align-items:start}
 .home-card-actions>.home-open-service{justify-self:start}
 .home-card-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start;justify-items:center}
 .home-card-buttons>button{align-self:start}
}
@media screen{
 .icon-picture{display:block;width:86%;height:86%;flex:0 0 86%;background-repeat:no-repeat;background-size:400% 400%;filter:drop-shadow(0 1px 1px #173e3620)}
 .icon-sheet-a{background-image:url('./icones-realistas-a.png')}.icon-sheet-b{background-image:url('./icones-realistas-b.png')}.icon-sheet-c{background-image:url('./icones-realistas-c.png')}
 .activity-tabs a[href="#fogo"] .launch-circle{overflow:hidden;border:0;background:none}
 .fire-model{display:block;width:110%;height:110%;max-width:none;object-fit:cover;flex-shrink:0}
 .menu-group .symbol{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px}
 .menu-group .symbol .icon-picture{width:100%;height:100%;flex-basis:100%}
 .menu-group .symbol img{width:100%;height:100%;object-fit:contain;border-radius:50%}
 .quick-symbol{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;vertical-align:middle}
 .quick-symbol .icon-picture{width:100%;height:100%;flex-basis:100%}
}
@media screen{
 body .icon-button.round-action:not([hidden]){width:32px!important;height:32px!important;min-height:32px!important;flex:0 0 32px!important;padding:2px!important}
 body .icon-button.round-action>.launch-circle{width:26px!important;height:26px!important;flex:0 0 26px!important}
 body .icon-button.round-action>.action-caption{display:none!important}
 .empty-symbol{display:flex;align-items:center;justify-content:center;width:44px;height:44px}
}
@media screen{.home-card-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Em campos verticais, a base flexível deve acompanhar ícone e legenda. */
@media screen{
 body #modal .field>.round-action:not([hidden]),body :is(main,#modal) .order-documents .panel-head>.round-action:not([hidden]){flex:0 0 auto;align-self:flex-start}
 body #modal :is(#share-order-progress,#share-application-report,[data-service="share-load-mix"]).round-action:not([hidden]){width:180px;max-width:100%;height:auto;gap:8px}
 body #modal .field>.round-action>.action-caption{flex:0 0 auto;line-height:18px;overflow-wrap:anywhere}
}

/* Legendas inteiras, inclusive palavras longas, ocupam a altura necessária. */
@media screen{
 body :is(main,#modal) .round-action>.action-caption{flex:0 0 auto;min-width:0;overflow-wrap:anywhere;word-break:normal;white-space:normal}
 .launch-link>span:last-child,.service-pdf-buttons .pdf-launch>span:last-child{flex:0 0 auto;min-width:0;overflow-wrap:anywhere}
 [data-help]{display:none!important}
}
.dialog-heading-actions{display:flex;gap:10px;align-items:flex-start;flex:0 0 auto}
.dialog-heading>div:first-child{min-width:0}
body .context-help-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:36px;width:auto;height:auto;padding:6px 8px;border:1px solid #ccd7ce;border-radius:6px;background:white;box-shadow:none;color:var(--green);font-size:12px;line-height:18px}
#context-help{width:min(640px,calc(100% - 20px));max-height:90dvh;padding:20px}
#context-help .dialog-heading{gap:12px}
#context-help h2{font-size:20px;line-height:1.3;overflow-wrap:anywhere}
#context-help-content{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.context-help-section{padding:12px 0;border-bottom:1px solid #e0e6df}
#context-help-content :is(p,div,small,span){font-size:inherit;line-height:inherit}
#context-help-content .field{display:block}
#context-help-content .note{margin:0;background:transparent;border:0;padding:0}
.context-help-manual{display:inline-block;margin-top:18px;color:var(--green);font-weight:600}
[data-help]{display:none!important}
/* Relatório de bordo: documento responsivo e sem campos repetidos. */
.board-options{margin:0 0 12px;border-bottom:1px solid var(--line);padding-bottom:6px}.board-options summary{font-size:12px}.board-options .actions{margin:8px 0}
.board-sheet{width:auto;max-width:950px;margin:12px auto;padding:18px;border:1px solid var(--line);border-radius:10px;color:var(--text);font:12px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.board-heading{align-items:flex-start;gap:12px;padding-bottom:12px;border-bottom:2px solid var(--green);margin-bottom:12px}.board-heading h2{font-size:22px;line-height:1.15;text-decoration:none;margin:0;overflow-wrap:anywhere}.board-client{font-size:11px;color:var(--muted);margin:4px 0 0}.board-doc-ref{display:flex;flex-direction:column;gap:3px;text-align:right;min-width:0;overflow-wrap:anywhere}.board-doc-ref strong{font-size:12px}.board-doc-ref span{font-size:10px;color:var(--muted)}.board-kicker{display:none}
.board-sheet .board-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 12px}.board-sheet .board-pair{padding:0;border:0;min-height:0;gap:3px}.board-pair b{font-size:10px;color:var(--muted);font-weight:500}.board-pair span{font-size:12px;font-weight:600}.board-section{margin-top:16px}.board-section h3,.board-engine summary{font-size:12px;font-weight:700;margin:0 0 6px}.board-engine{margin-top:14px;border-top:1px solid var(--line);padding-top:7px}.board-engine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.board-engine-grid h4{margin:4px 0 6px;font-size:11px}.board-table{table-layout:auto}.board-table th,.board-table td{border-color:var(--line);font-size:11px;padding:7px 6px;line-height:1.35}.board-table th{background:#edf2e9;color:var(--green)}.board-flights tbody td{height:auto}.board-products td:first-child{width:65%}.board-page-total,.board-bottom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px;padding:9px;background:#f1f5ee;border-radius:5px}.board-page-total .board-pair span{font-size:13px}.board-section-total{font-size:11px;text-align:right}.board-legend{font-size:10px;color:var(--muted);margin:10px 0}.board-signature{margin-top:14px;font-size:11px}.board-page-number{margin:10px 0 0;text-align:right;font-size:10px;color:var(--muted)}
@media screen{.board-route{overflow:visible;min-width:0}.board-route .title-row,.board-route .note{max-width:none}.board-route>.title-row>.actions{display:flex;gap:6px}}
@media screen and (max-width:600px){.board-sheet{width:100%;max-width:100%;padding:12px;margin:10px 0}.board-heading{display:block}.board-heading h2{font-size:21px}.board-doc-ref{flex-direction:row;flex-wrap:wrap;gap:5px 10px;text-align:left;margin-top:8px}.board-sheet .board-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.board-engine-grid{grid-template-columns:minmax(0,1fr)}.board-flights,.board-transfers{display:block;width:100%;margin-top:0}.board-flights thead,.board-transfers thead{display:none}.board-flights tbody,.board-transfers tbody{display:grid;gap:8px}.board-flights tbody tr,.board-transfers tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line);border-radius:5px;padding:6px;gap:6px}.board-flights td,.board-transfers td{display:block;border:0!important;padding:0!important;min-width:0;font-size:12px;overflow-wrap:anywhere}.board-flights td::before,.board-transfers td::before{content:attr(data-label);display:block;font-size:9px;color:var(--muted);margin-bottom:2px}.board-flights td:last-child{grid-column:1/-1}.board-flights td:last-child:empty{display:none}.board-page-total,.board-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{.board-options{display:none!important}.board-sheet{border:0;border-radius:0;padding:0;margin:0;font-size:8pt}.board-kicker{display:block;font-size:10pt;font-weight:700;margin:0 0 3mm}.board-engine{display:block}.board-engine>summary{display:block}.board-engine-grid{display:grid!important}.board-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.board-sheet .board-pair b{font-size:6pt}.board-sheet .board-pair span{font-size:7pt}.board-sheet .board-heading h2{font-size:14pt}.board-page-total,.board-bottom{padding:2mm}.board-section{margin-top:3mm}}
@media print{.board-engine[data-empty="true"]{display:none!important}}
.board-engine-edit{border-top:1px solid var(--line);padding-top:4px}.board-engine-edit summary{margin:3px 0;font-size:12px;line-height:18px}.board-engine-edit>.form-grid{margin:7px 0}

/* Comandos da O.S. e sugestões de carga em linhas compactas. */
@media screen{
 .service-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
 .service-card-heading h2{margin:4px 0;flex:1;min-width:0}
 body main .service-card-heading .service-edit-order{margin-left:auto;flex:0 0 65px;width:65px}
 body main .service-edit-order .action-caption{color:#a21b16}
 #load-options .load-grid{display:flex;flex-direction:column;gap:6px;margin:10px 0}
 body main #load-options .load-choice.round-action{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:100%;max-width:100%;flex:0 0 auto;gap:7px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:#f7f9f3;white-space:nowrap;text-align:left}
 body main #load-options .load-choice>.launch-circle{width:24px;height:24px;flex:0 0 24px}
 body main #load-options .load-choice>.action-caption{font-size:clamp(10px,2.9vw,13px);line-height:20px;white-space:nowrap}
 body main #load-options .load-choice.is-selected{border-color:#30794b;background:#e7f2e6;box-shadow:inset 3px 0 #30794b}
}

@media screen{body main .service-edit-order.round-action[data-tone="red"]{--glass-rgb:239,43,24;--glass-ink:#a21b16}body main .service-edit-order.round-action>.launch-circle{background:radial-gradient(ellipse at 30% 18%,#fff9 0%,#ff7467 38%,#e52c20 80%);border-color:#dc291f;box-shadow:inset 0 1px 3px #fff9,0 2px 5px #d51f2533}}

@media screen{body main #load-options .load-choice{display:block;width:100%;max-width:100%;min-height:44px;height:auto;padding:8px;border:1px solid var(--line);border-radius:7px;background:#f7f9f3;color:var(--text);white-space:nowrap;text-align:left;font-size:clamp(10px,2.8vw,13px);line-height:20px;box-shadow:none}body main #load-options .load-choice.is-selected{border-color:#30794b;background:#e7f2e6;box-shadow:inset 3px 0 #30794b}}

@media screen{body main #load-options .load-choice,body main #load-options .load-choice:hover{display:flex;flex-direction:row;align-items:center;gap:6px;min-height:38px;padding:6px 8px}body main #load-options .load-choice-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px}body main #load-options .load-choice-text{white-space:nowrap;font-size:clamp(10px,2.8vw,13px);line-height:20px}body main .service-edit-order.round-action>.action-caption{color:#a21b16}}

/* Cancelar, fechar e X usam vermelho em todas as janelas. */
body button.action-danger{color:#a21b16;border-color:#df5045;background-color:#fff0ee}body button.action-danger.round-action[data-tone="red"]{--glass-rgb:239,43,24;--glass-ink:#a21b16}body button.action-danger.round-action>.launch-circle{background:radial-gradient(ellipse at 30% 18%,#fff9 0%,#ff7467 38%,#e52c20 80%);border-color:#dc291f;box-shadow:inset 0 1px 3px #fff9,0 2px 5px #d51f2533}body button.action-danger.round-action>.action-caption{color:#a21b16}

@media screen{body main #load-options .load-choice-icon,body main #load-options .load-choice>.launch-circle{width:20px;height:20px;flex:0 0 20px}body main #custom-load-choice .load-choice-text{font-weight:600}#custom-summary[hidden]{display:none}}

@media screen{body main .cockpit-actions{align-items:flex-start}body main .cockpit-actions .service-edit-order{margin:0}}

/* Salvar, confirmar e concluir seguem o mesmo acabamento das ações vermelhas. */
body button.action-success{color:#176132;border-color:#2b9a50;background-color:#edf9f0}body button.action-success.round-action[data-tone="green"]{--glass-rgb:34,185,83;--glass-ink:#176132}body button.action-success.round-action>.launch-circle{background:radial-gradient(ellipse at 30% 18%,#fff9 0%,#6bdf8b 38%,#20a848 80%);border-color:#239745;box-shadow:inset 0 1px 3px #fff9,0 2px 5px #1b8f3833}body :is(main,#modal) button.action-success.round-action>.action-caption{color:#176132}

/* Edição discreta, à direita e alinhada à base dos comandos do serviço. */
@media screen{body main .cockpit-actions .service-edit-order.round-action{order:10;align-self:flex-end;margin:0 0 0 auto;width:45px;flex:0 0 45px;min-height:0;height:auto;padding:1.5px 0;gap:3.5px}body main .cockpit-actions .service-edit-order.round-action>.launch-circle{width:32.4px!important;height:32.4px!important;flex:0 0 32.4px!important}body main .cockpit-actions .service-edit-order.round-action>.action-caption{font-size:6px;line-height:8px;min-height:0}}

.hangar-model{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px #153e3838)}

/* Cabeçalho: marca preservada e controles de vidro com área de toque consistente. */
@media screen{
 body .app-header{
  display:flex;position:sticky;top:0;align-items:center;justify-content:space-between;
  flex-wrap:nowrap;min-height:92px;padding:12px 28px;gap:24px;isolation:isolate;
  background:linear-gradient(120deg,rgba(255,255,255,.96),rgba(245,249,244,.92));
  border:0;border-bottom:1px solid rgba(23,62,54,.09);
  box-shadow:0 4px 24px rgba(23,62,54,.045),inset 0 1px 0 #fff;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
 }
 .app-header::after{content:"";position:absolute;left:28px;right:28px;bottom:-1px;height:2px;pointer-events:none;
  background:linear-gradient(90deg,#24553b 0%,#467d42 30%,#c59944 50%,#c6352e 72%,transparent 100%);opacity:.5}
 body .app-header .header-brand{flex:0 1 auto;min-width:0;order:0;margin:0;align-self:center;justify-content:flex-start;line-height:0}
 body .app-header .header-brand img{width:156.24px;max-width:100%;height:auto;object-fit:contain}
 body .app-header .header-actions{display:flex!important;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px!important;flex:0 1 auto;order:1;min-width:0}
 body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control,body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control:hover{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:44px;
  height:44px;min-height:44px;padding:0 13px;margin:0;border:1px solid rgba(23,62,54,.1);border-radius:14px;
  background:linear-gradient(150deg,rgba(255,255,255,.98),rgba(235,242,236,.72));
  box-shadow:inset 0 1px 0 #fff,0 2px 5px rgba(23,62,54,.04);
  color:#234a3d;text-decoration:none;text-align:center;font:600 12px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:0;white-space:nowrap;backdrop-filter:none;-webkit-backdrop-filter:none;
  transition:background .15s,box-shadow .15s,transform .15s;
 }
 body .app-header #open-menu.header-control,body .app-header #open-menu.header-control:hover{order:0;background:linear-gradient(150deg,#2c5a48,#173e36);border-color:#234c3e;color:#fff;box-shadow:inset 0 1px 0 #ffffff26,0 3px 8px #173e361a}
 body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control svg{display:block;flex:0 0 19px;width:19px;height:19px;filter:none;pointer-events:none}
 body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control span{display:block;font-size:12px;line-height:16px;font-weight:600}
 body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control:hover{box-shadow:inset 0 1px 0 #fff,0 3px 10px #173e3612;transform:translateY(-1px)}
 body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control:active{transform:translateY(0);box-shadow:inset 0 2px 4px #173e3612}
 body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control:focus-visible{outline:2px solid #467d42;outline-offset:3px}
 body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control[hidden]{display:none!important}
}
@media screen and (max-width:900px){
 body .app-header{min-height:84px;padding:10px 16px;gap:16px}
 body .app-header::after{left:16px;right:16px}
 body .app-header .header-brand img{width:153.72px}
}
@media screen and (max-width:560px){
 body .app-header{min-height:80px;padding:10px 12px;gap:12px}
 body .app-header::after{left:12px;right:12px}
 body .app-header .header-brand{flex:1 1 auto}
 body .app-header .header-actions{flex:0 0 auto;gap:6px!important;max-width:50%;justify-content:flex-end}
 body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control,body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control:hover{width:44px;padding:0;border-radius:13px;flex:0 0 44px}
 body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control svg{width:20px;height:20px;flex-basis:20px}
}
@media (prefers-reduced-motion:reduce){body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control{transition:none}}

/* Módulos no mesmo acabamento de vidro dos controles do cabeçalho. */
@media screen{
 body .activity-tabs{display:flex;align-items:stretch;justify-content:center;gap:6px;width:fit-content;max-width:calc(100% - 32px);margin:14px auto 12px;padding:5px;border:1px solid rgba(23,62,54,.09);border-radius:19px;background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(237,244,237,.7));box-shadow:inset 0 1px 0 #fff,0 3px 12px #173e3606;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
 body .activity-tabs a,body .activity-tabs a.active,body .activity-tabs a:hover:not(.active){display:flex;flex:1 1 0;flex-direction:row;align-items:center;justify-content:center;gap:9px;min-width:145px;max-width:none;min-height:46px;margin:0;padding:0 18px;border:1px solid transparent;border-radius:14px;color:#234a3d;background:transparent;box-shadow:none;text-decoration:none;transition:background .15s,box-shadow .15s}
 body .activity-tabs a>span:last-child,body .activity-tabs a.active>span:last-child{font-size:12px;line-height:16px;font-weight:600;color:inherit;white-space:nowrap}
 body .activity-tabs .module-icon{display:flex;align-items:center;justify-content:center;flex:0 0 23px;width:23px;height:23px;color:inherit;filter:none}
 body .activity-tabs .module-icon svg{display:block;width:23px;height:23px;filter:none}
 body .activity-tabs a.active{color:#fff;background:linear-gradient(150deg,#2c5a48,#173e36);border-color:#234c3e;box-shadow:inset 0 1px 0 #ffffff26,0 3px 8px #173e361a}
 body .activity-tabs a:hover:not(.active){background:#ffffffb3;border-color:#173e3612;box-shadow:inset 0 1px 0 #fff,0 2px 6px #173e3608}
 body .activity-tabs a:focus-visible{outline:2px solid #467d42;outline-offset:3px}
}
@media screen and (max-width:560px){
 body .activity-tabs{width:calc(100% - 24px);max-width:none;gap:4px;padding:4px;margin:10px 12px 12px;border-radius:18px}
 body .activity-tabs a,body .activity-tabs a.active,body .activity-tabs a:hover:not(.active){min-width:0;flex-direction:column;gap:5px;min-height:64px;padding:7px 5px;border-radius:13px}
 body .activity-tabs a>span:last-child{font-size:11.5px;line-height:16px}
}
@media (prefers-reduced-motion:reduce){body .activity-tabs a{transition:none}}

/* Desenhos originais dos módulos, preservando os botões de vidro. */
@media screen{
 body .activity-tabs .module-icon{width:44px;height:44px;flex:0 0 44px}
 body .activity-tabs .module-icon img{display:block;width:100%;height:100%;max-width:100%;flex:none;object-fit:contain;filter:none}
 body .activity-tabs a,body .activity-tabs a.active,body .activity-tabs a:hover:not(.active){min-height:56px}
}
@media screen and (max-width:560px){
 body .activity-tabs a,body .activity-tabs a.active,body .activity-tabs a:hover:not(.active){min-height:82px}
}

@media screen{body .activity-tabs .module-icon :is(.safra-model,.fire-model){border-radius:50%}}

/* Ícones originais ampliados, sem cartões externos nos módulos. */
@media screen{
 body .activity-tabs{width:calc(100% - 24px);max-width:520px;margin:8px auto 10px;padding:0;gap:12px;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 body .activity-tabs a,body .activity-tabs a.active,body .activity-tabs a:hover:not(.active){flex:1 1 0;flex-direction:column;min-width:0;max-width:160px;min-height:96px;gap:6px;padding:5px 8px;border:0;border-radius:0;background:none;color:#42584d;box-shadow:none}
 body .activity-tabs .module-icon{width:64px;height:64px;flex:0 0 64px}
 body .activity-tabs a>span:last-child,body .activity-tabs a.active>span:last-child{font-size:12px;line-height:16px;color:inherit}
 body .activity-tabs a.active{color:#173e36}
 body .activity-tabs a.active>span:last-child{font-weight:800}
}

@media screen{
 .order-card-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px}
 body .order-delete,body .order-delete:hover{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 10px;border:0;border-radius:8px;background:none;box-shadow:none;color:#9a3732;font-size:12px;font-weight:600;line-height:18px;white-space:nowrap}
 .order-delete svg{width:18px;height:18px;flex:0 0 18px}
 .order-delete:focus-visible{outline:2px solid #9a3732;outline-offset:2px}
}

@media screen{
 body .launch-circle,body .module-icon,body .launch-link,body .pdf-launch,body .round-action,body .header-control,body .activity-tabs a{transition:none!important;animation:none!important}
 body :is(.launch-link,.pdf-launch,.round-action):is(:hover,:active,:focus-visible) .launch-circle,body .activity-tabs a:is(:hover,:active) .module-icon,body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control:is(:hover,:active){transform:none!important;translate:none!important;scale:none!important;rotate:none!important;animation:none!important;transition:none!important}
}
@media screen{
 body .order-documents [data-attachment="attach"].round-action:not([hidden]){width:132px!important;max-width:100%;flex-basis:132px!important;height:auto;gap:7px}
 body .order-documents [data-attachment="attach"]>.action-caption{width:100%;max-width:132px;overflow-wrap:normal!important;word-break:normal!important;hyphens:none;white-space:normal;font-size:12px;line-height:16px}
 body .round-action[aria-label="Compartilhar pelo WhatsApp"]>.action-caption{font-size:12px;line-height:16px;white-space:nowrap;overflow-wrap:normal;word-break:normal}
}
@media screen{
 #general-report-filter .report-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 #general-report-filter .report-filter>.field{min-width:0;width:100%;flex:none;grid-column:auto}
 #general-report-filter .report-filter>.actions,#report-filter-error{grid-column:1/-1}
 #general-report-filter :is(input,select){width:100%;min-width:0;min-height:38px;padding:7px 6px;font-size:13px;line-height:20px}
 #general-report-filter .field{font-size:11px;gap:4px}
 #general-report-filter input::-webkit-calendar-picker-indicator{width:12px;margin:0;padding:0}
 .metrics.general-report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .general-report-metrics .metric{padding:10px;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:6px}
 .general-report-metrics .metric .label{font-size:11px;line-height:14px}
 .general-report-metrics .metric strong{font-size:clamp(13px,2.6vw,20px);line-height:1.2;white-space:normal;overflow-wrap:normal;word-break:normal}
}
@media screen and (max-width:360px){#general-report-filter input[type="date"]{font-size:12px}}
@media screen{
 #general-report-filter .report-filter>.actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;justify-items:center}
 body #general-report-filter .actions>.round-action:not([hidden]){width:100%!important;max-width:100%;min-width:0!important;flex:none!important;height:auto;padding:0;gap:4px}
 body #general-report-filter .actions>.round-action>.launch-circle{width:44px;height:44px;flex-basis:44px}
 body #general-report-filter .actions>.round-action>.action-caption{font-size:11px;line-height:14px;overflow-wrap:normal;word-break:normal}
}
@media screen and (max-width:360px){#general-report-filter input[type="date"]{padding-left:2px;padding-right:2px}}

@media screen{
 body .app-header .header-brand{flex:0 0 auto}
 body .app-header .header-brand img{width:84px;height:84px;max-width:100%;object-fit:contain;border-radius:8px}
}
@media screen{
 .fire-card-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
 .fire-card-actions .order-delete{margin-left:auto}
 #fire-initial-fuel[hidden]{display:none!important}
}

/* Compartilhar permanece inteiro; os grupos de ações reorganizam os ícones. */
@media screen{
 body :is(main,#modal) .round-action.share-action:not([hidden]){min-width:112px;flex-shrink:0}
 body :is(main,#modal) .round-action.share-action>.action-caption,
 body :is(main,#modal) .round-action.share-action>.action-caption :is(span,small){overflow-wrap:normal!important;word-break:normal!important;hyphens:none;white-space:normal}
 .home-card-buttons{grid-template-columns:repeat(auto-fit,minmax(min(112px,100%),1fr))}
}

/* Marca horizontal aprovada em 16/11/2026. */
@media screen{body .app-header .header-brand img{width:168px;height:84px;object-fit:contain;border-radius:0}}
@media screen and (max-width:360px){body .app-header .header-brand img{width:144px;height:72px}}

/* Logo ampliada sem distorção; controles acomodados em celulares estreitos. */
@media screen{body .app-header .header-brand img{width:192px;height:auto;aspect-ratio:2 / 1}}
@media screen and (max-width:360px){body .app-header .header-brand img{width:160px;height:auto}body .app-header .header-actions{max-width:calc(100% - 172px)}}

/* Marca ampliada, mantendo proporção e acomodação dos controles. */
@media screen{body .app-header .header-brand img{width:240px;height:auto}}
@media screen and (max-width:560px){body .app-header .header-brand img{width:228px}body .app-header .header-actions{max-width:calc(100% - 240px)}}
@media screen and (max-width:360px){body .app-header .header-brand img{width:196px}body .app-header .header-actions{max-width:calc(100% - 208px)}}
@media screen and (max-width:340px){body .app-header .header-brand img{width:180px}body .app-header .header-actions{max-width:calc(100% - 192px)}}

/* Cabeçalho: marca maior e comandos identificados em linha única. */
@media screen{body .app-header .header-brand img{width:300px;height:auto}body .app-header .header-actions{flex-wrap:nowrap;max-width:none}}
@media screen and (max-width:560px){
 body .app-header{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:4px;padding:8px 12px 10px}
 body .app-header .header-brand{grid-column:1;justify-self:center;max-width:100%}
 body .app-header .header-brand img{width:280px;max-width:100%;height:auto}
 body .app-header .header-actions{grid-column:1;justify-self:center;flex-wrap:nowrap;max-width:100%;gap:8px!important}
 body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control,body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control:hover{width:62px;min-width:62px;flex:0 0 62px;height:52px;min-height:52px;flex-direction:column;gap:3px;padding:4px 2px}
 body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control span{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:nowrap;display:block;font-size:10px;line-height:12px}
}

@media screen and (max-width:560px){body .app-header .header-actions{justify-content:center}}

/* Marca e controles em uma única linha, com o conjunto centralizado. */
@media screen{
 body .app-header{display:flex;flex-wrap:nowrap;justify-content:center!important;align-items:center;gap:16px}
 body .app-header .header-brand{flex:0 1 300px;min-width:0;margin:0;justify-self:auto;align-self:center;grid-column:auto}
 body .app-header .header-brand img{width:300px;max-width:100%;height:auto}
 body .app-header .header-actions{flex:0 0 auto;flex-wrap:nowrap;max-width:none;width:auto;justify-content:center!important;grid-column:auto;justify-self:auto}
}
@media screen and (max-width:560px){
 body .app-header{gap:8px;padding:8px 12px}
 body .app-header .header-brand{flex:0 1 280px}
 body .app-header .header-brand img{width:280px;max-width:100%;height:auto}
 body .app-header .header-actions{gap:4px!important;max-width:none;flex:0 0 auto}
 body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control,body .app-header :is(#open-menu,.help-link,#header-sync,#install).header-control:hover{width:44px;min-width:44px;flex:0 0 44px;height:52px;min-height:52px;padding:4px 0}
}

/* Controles do motor: ações distintas, contexto visual e distância entre toques. */
@media screen{
 body main .fire-clock .fire-engine-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start;justify-items:center;width:100%;max-width:440px;margin-top:20px}
 body main .fire-engine-actions>.round-action{width:100%!important;min-width:0!important;max-width:100%;flex:none!important;height:auto;min-height:0;padding:0;gap:8px}
 body main .fire-engine-actions>.round-action>.action-caption{font-size:12px;line-height:16px;white-space:normal;word-break:normal;overflow-wrap:normal}
 body main .fire-engine-actions>.round-action>.launch-circle svg{width:46px;height:46px}
}

@media screen{body main .fire-engine-actions>[data-fire="supply"]>.action-caption{font-size:11px;white-space:nowrap}}

/* Controles do motor: ações distintas, contexto visual e distância entre toques. */
@media screen{
 body main .fire-clock .fire-engine-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start;justify-items:center;width:100%;max-width:440px;margin-top:20px}
 body main .fire-engine-actions>.round-action{width:100%!important;min-width:0!important;max-width:100%;flex:none!important;height:auto;min-height:0;padding:0;gap:8px}
 body main .fire-engine-actions>.round-action>.action-caption{font-size:12px;line-height:16px;white-space:normal;word-break:normal;overflow-wrap:normal}
 body main .fire-engine-actions>.round-action>.launch-circle svg{width:46px;height:46px}
}

@media screen{body main .fire-engine-actions>[data-fire="supply"]>.action-caption{font-size:11px;white-space:nowrap}}

@media screen{body main .fire-engine-actions>[data-fire="supply"]>.action-caption{font-size:11px!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important}}

@media screen{body main .fire-period-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:18px}body main .fire-period-footer>.fire-footer-delete{margin-left:auto;width:auto;min-width:0;min-height:28px;font-size:11px;line-height:14px;padding:5px 7px}}

@media screen{
 .aircraft-model{display:block;width:96%;height:96%;max-width:none;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 1px 1px #173e3620)}
 .menu-group .symbol .aircraft-model,.quick-symbol .aircraft-model{width:100%;height:100%;border-radius:0}
}

/* Traslado: distância e unidade sempre lado a lado. */
.transfer-distance{display:flex;gap:8px;align-items:center}.transfer-distance input{flex:1;min-width:0}.transfer-distance select{flex:0 0 155px;width:155px}.transfer-operation{padding:14px;border:1px solid var(--line,#d6ded0);border-radius:12px;gap:12px}.transfer-operation h3{margin:0}.transfer-operation .form-grid{margin:10px 0}.transfer-operation>button{margin:6px 0}.transfer-operation [hidden],.transfer-operation[hidden]{display:none!important}#aircraft-transfer-time,#aircraft-transfer-fuel{display:block;margin:4px 0 12px;font-weight:600}

/* Exclusão da O.S. ao final da página, alinhada à direita. */
.order-page-footer{display:flex;justify-content:flex-end;align-items:center;margin-top:20px;padding-top:12px;border-top:1px solid var(--line)}
.order-route>.title-row h1{overflow-wrap:anywhere}
@media print{.order-page-footer{display:none!important}}

/* Operação diária: três indicadores alinhados também no celular. */
.metrics.daily-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.daily-metrics>.metric{min-width:0}
.daily-metrics>.metric:nth-child(-n+3){display:grid;grid-template-rows:2.5em auto 3em;align-items:center;text-align:center;padding:12px 8px}
.daily-metrics>.metric:nth-child(-n+3) .label{line-height:1.25;text-wrap:balance}
.daily-metrics>.metric:nth-child(-n+3) strong{font-size:clamp(16px,3.8vw,28px);line-height:1.2;letter-spacing:-.5px;margin:5px 0;overflow-wrap:normal;word-break:normal}
.daily-metrics>.metric:nth-child(-n+3) .detail{display:block;line-height:1.5;text-wrap:balance;overflow-wrap:anywhere}
.daily-metrics>.metric:nth-child(4){grid-column:1/-1}
@media(max-width:400px){.daily-metrics>.metric:nth-child(-n+3){padding:10px 5px}.daily-metrics>.metric:nth-child(-n+3) .label{font-size:10px}.daily-metrics>.metric:nth-child(-n+3) .detail{font-size:10px}}

/* Dosagens: Cancelar, Gerar PDF e Compartilhar juntos no rodapé. */
@media screen{
 body #modal:has(#mix-preview) .dialog-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:8px;position:sticky;bottom:-16px;background:white;padding:12px 0 8px;z-index:2}
 body #modal:has(#mix-preview) .dialog-actions>.round-action:not([hidden]){width:100%!important;min-width:0!important;max-width:100%;height:auto;flex:none!important;justify-self:center;gap:6px}
 body #modal:has(#mix-preview) .dialog-actions>.round-action>.launch-circle{width:44px;height:44px;flex-basis:44px}
 body #modal:has(#mix-preview) .dialog-actions>.round-action>.action-caption{font-size:11px;line-height:14px;white-space:normal;word-break:normal;overflow-wrap:normal}
}

/* Abrir/baixar e compartilhar pertencem à mesma área de ações. */
@media screen{
 body #modal .dialog-actions.pdf-dialog-actions,body #modal:has(#mix-preview) .dialog-actions.pdf-dialog-actions{display:grid;grid-template-columns:repeat(var(--pdf-actions-columns,3),minmax(0,1fr));align-items:start;gap:6px;position:sticky;bottom:-16px;background:white;padding:12px 0 8px;z-index:2}
 body #modal .dialog-actions.pdf-dialog-actions>.round-action:not([hidden]){width:100%!important;min-width:0!important;max-width:100%;flex:none!important;align-self:start;justify-self:center;height:auto;gap:6px}
 body #modal .dialog-actions.pdf-dialog-actions>.round-action>.launch-circle{width:min(44px,100%);height:auto;aspect-ratio:1;flex:0 0 auto}
 body #modal .dialog-actions.pdf-dialog-actions>.round-action>.action-caption{font-size:clamp(8px,calc(34px / var(--pdf-actions-columns,3)),10px);line-height:13px;white-space:normal;word-break:normal;overflow-wrap:normal}
 body main .pdf-action-pair{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start;flex:0 1 220px;max-width:100%;min-width:0}
 body main .pdf-action-pair>.round-action:not([hidden]){width:100%!important;min-width:0!important;max-width:100%;flex:none!important;gap:6px}
 body main .pdf-action-pair>.round-action>.action-caption{white-space:normal;word-break:normal;overflow-wrap:normal;font-size:11px;line-height:14px}
}

/* Fechar: apenas um X preto, com área de toque confortável. */
body button.icon-button,body button.icon-button:is(:hover,:active,:focus){display:inline-flex!important;align-items:center;justify-content:center;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;flex:0 0 40px!important;padding:0!important;background:transparent!important;background-image:none!important;color:#000!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;transform:none!important;transition:none!important;animation:none!important;opacity:1!important;font:400 28px/1 Arial,sans-serif!important;letter-spacing:0!important}
