:root{
  --brand:#0074AA; --brand-d:#005a85; --brand-l:#e6f3fa; --navy:#000C18; --ink:#10202e; --mut:#64748b;
  --line:#e2e8f0; --bg:#f3f6f9; --card:#fff; --ok:#15803d; --ok-l:#dcfce7; --warn:#b45309; --warn-l:#fef3c7;
  --err:#b91c1c; --err-l:#fee2e2; --r:14px; --sh:0 1px 2px rgba(16,32,46,.06),0 4px 14px rgba(16,32,46,.06);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
button,input,select,textarea{font:inherit;color:inherit}
h1{font-size:1.45rem;margin:0 0 4px}h2{font-size:1.1rem;margin:0 0 10px}h3{font-size:1rem;margin:0}
a{color:var(--brand)}
.hide{display:none!important}.mut{color:var(--mut)}.small{font-size:.85rem}.right{margin-left:auto}.center{text-align:center}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.col{display:flex;flex-direction:column;gap:10px}
.grow{flex:1;min-width:0}

/* Shell */
#app{min-height:100vh;display:flex}
.side{display:none;width:240px;background:var(--navy);color:#cfe3ef;padding:16px 12px;position:sticky;top:0;height:100vh;flex-direction:column;gap:4px}
.side .brand{display:flex;align-items:center;gap:10px;padding:6px 10px 16px;color:#fff;font-weight:700;font-size:1.05rem}
.side .brand img{height:34px;background:#fff;border-radius:8px;padding:3px 6px}
.nav a{display:flex;gap:12px;align-items:center;padding:11px 12px;border-radius:10px;color:#cfe3ef;text-decoration:none;font-weight:500}
.nav a:hover{background:rgba(255,255,255,.07)}.nav a.on{background:var(--brand);color:#fff}
.nav svg{width:20px;height:20px;flex:none}
.main{flex:1;min-width:0;display:flex;flex-direction:column}
.page{padding:16px;max-width:1100px;width:100%;margin:0 auto;padding-bottom:96px}
.tabs{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);display:flex;z-index:30;padding-bottom:env(safe-area-inset-bottom)}
.tabs a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 2px;font-size:.68rem;color:var(--mut);text-decoration:none}
.tabs a svg{width:23px;height:23px}.tabs a.on{color:var(--brand);font-weight:600}
.tabs a.nova{position:relative;top:-14px;flex:0 0 66px}
.tabs a.nova span.fab{width:54px;height:54px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;box-shadow:0 6px 16px rgba(0,116,170,.45);margin:0 auto}
.tabs a.nova svg{width:28px;height:28px}
@media(min-width:900px){.side{display:flex}.tabs{display:none}.page{padding:28px 32px 48px}.top .logo{display:none}}

/* Componentes */
.card{background:var(--card);border-radius:var(--r);box-shadow:var(--sh);padding:16px}
.card+.card{margin-top:12px}
.grid{display:grid;gap:12px}.g2{grid-template-columns:1fr}.g3{grid-template-columns:1fr 1fr}.g4{grid-template-columns:1fr 1fr}
@media(min-width:700px){.g2{grid-template-columns:1fr 1fr}.g3{grid-template-columns:repeat(3,1fr)}.g4{grid-template-columns:repeat(4,1fr)}}
.stat{padding:14px;border-radius:var(--r);background:#fff;box-shadow:var(--sh)}
.stat b{display:block;font-size:1.9rem;line-height:1.1;color:var(--brand)}.stat span{font-size:.82rem;color:var(--mut)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:12px 18px;background:var(--brand);color:#fff;font-weight:600;cursor:pointer;text-decoration:none;min-height:46px}
.btn:hover{background:var(--brand-d)}.btn:disabled{opacity:.55;cursor:default}
.btn.sec{background:var(--brand-l);color:var(--brand-d)}.btn.sec:hover{background:#d3eaf6}
.btn.out{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn.out:hover{background:#f8fafc}
.btn.dng{background:var(--err-l);color:var(--err)}.btn.sm{padding:7px 12px;min-height:36px;font-size:.88rem;border-radius:10px}
.btn.big{padding:18px 22px;font-size:1.15rem;border-radius:16px;width:100%}
.btn svg{width:20px;height:20px}
.hero{background:linear-gradient(135deg,var(--brand),#0a4f78 70%,var(--navy));color:#fff;border-radius:18px;padding:20px;box-shadow:var(--sh)}
.hero{padding:16px}.hero .btn{background:#fff;color:var(--brand-d);margin-top:0}.hero .btn:hover{background:#eaf6fc}
label{display:block;font-size:.85rem;font-weight:600;color:#334155;margin-bottom:5px}
label .req{color:var(--err)}
input,select,textarea{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:11px 12px;background:#fff;min-height:46px}
textarea{min-height:92px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-l)}
input[type=checkbox]{width:20px;height:20px;min-height:0;accent-color:var(--brand)}
.chk{display:flex;gap:10px;align-items:center;font-weight:500}.chk label{margin:0}
.fld{margin-bottom:12px}
.badge{display:inline-block;padding:3px 10px;border-radius:99px;font-size:.76rem;font-weight:600;background:#e2e8f0;color:#334155;white-space:nowrap}
.b-concluida,.b-enviado,.b-realizado{background:var(--ok-l);color:var(--ok)}
.b-em_andamento,.b-agendada,.b-agendado,.b-enviando,.b-aguardando,.b-reenvio_solicitado{background:var(--brand-l);color:var(--brand-d)}
.b-pendente_retorno{background:var(--warn-l);color:var(--warn)}
.b-cancelada,.b-cancelado,.b-falha{background:var(--err-l);color:var(--err)}
.item{display:flex;gap:12px;align-items:center;padding:12px 4px;border-bottom:1px solid var(--line);text-decoration:none;color:inherit}
.item:last-child{border-bottom:0}.item .t{font-weight:600}.item .s{font-size:.85rem;color:var(--mut)}
a.item:hover{background:#f8fafc}
.empty{padding:26px 10px;text-align:center;color:var(--mut)}
.sec-h{display:flex;align-items:center;gap:10px;margin:0 0 12px}.sec-h h2{margin:0}
.search{position:relative}.search input{padding-left:40px}.search svg{position:absolute;left:12px;top:13px;width:20px;color:var(--mut)}
.alert{padding:12px 14px;border-radius:12px;background:var(--warn-l);color:#7c3a06;font-size:.92rem}
.alert.err{background:var(--err-l);color:var(--err)}.alert.ok{background:var(--ok-l);color:var(--ok)}
.seg{display:inline-flex;background:#e8eef3;border-radius:12px;padding:3px}
.seg button{border:0;background:transparent;padding:8px 14px;border-radius:10px;font-weight:600;color:var(--mut);cursor:pointer}
.seg button.on{background:#fff;color:var(--brand-d);box-shadow:var(--sh)}
table{width:100%;border-collapse:collapse;font-size:.92rem}th,td{text-align:left;padding:9px 8px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:.78rem;color:var(--mut);text-transform:uppercase}
.tblwrap{overflow-x:auto}

/* Nova OS */
.steps{display:flex;gap:6px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}
.steps::-webkit-scrollbar{display:none}
.steps button{flex:none;border:1.5px solid var(--line);background:#fff;border-radius:99px;padding:7px 14px;font-size:.85rem;font-weight:600;color:var(--mut);cursor:pointer}
.steps button.on{background:var(--brand);border-color:var(--brand);color:#fff}
.steps button.ok{border-color:var(--ok);color:var(--ok)}
.savebar{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);padding:10px 12px calc(10px + env(safe-area-inset-bottom));display:flex;gap:10px;z-index:40}
.savebar .btn{flex:1}
@media(min-width:900px){.savebar{left:240px}}
.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.ph{position:relative;background:#f1f5f9;border-radius:12px;overflow:hidden;border:1px solid var(--line)}
.ph img{width:100%;height:110px;object-fit:cover;display:block}
.ph input{border:0;border-top:1px solid var(--line);border-radius:0;min-height:38px;font-size:.85rem;padding:6px 8px}
.ph .x{position:absolute;top:5px;right:5px;width:28px;height:28px;border-radius:50%;border:0;background:rgba(0,0,0,.6);color:#fff;font-size:1rem;cursor:pointer}
.sig{border:1.5px dashed #94a3b8;border-radius:12px;background:#fff;touch-action:none;width:100%;height:170px;display:block}
.sigimg{max-height:90px;max-width:100%;border:1px solid var(--line);border-radius:8px;background:#fff}

/* Modal / toast */
.ovl{position:fixed;inset:0;background:rgba(0,12,24,.55);display:flex;align-items:flex-end;justify-content:center;z-index:100}
.modal{background:#fff;border-radius:20px 20px 0 0;width:100%;max-width:560px;max-height:92vh;overflow:auto;padding:18px}
@media(min-width:700px){.ovl{align-items:center}.modal{border-radius:20px}}
#toasts{position:fixed;top:12px;left:12px;right:12px;display:flex;flex-direction:column;gap:8px;z-index:200;align-items:center;pointer-events:none}
.toast{background:var(--navy);color:#fff;padding:12px 16px;border-radius:12px;box-shadow:var(--sh);max-width:520px;pointer-events:auto}
.toast.err{background:var(--err)}.toast.ok{background:var(--ok)}
.spin{width:22px;height:22px;border:3px solid var(--brand-l);border-top-color:var(--brand);border-radius:50%;animation:s 0.8s linear infinite;display:inline-block}
@keyframes s{to{transform:rotate(360deg)}}
.load{display:flex;justify-content:center;padding:40px}

/* Login */
.login{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(160deg,var(--navy),#06324d 60%,var(--brand))}
.login .card{width:100%;max-width:400px;padding:26px}
.login img{height:44px;margin-bottom:8px}
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.cal .d{background:#fff;border-radius:10px;min-height:64px;padding:5px;font-size:.8rem;border:1px solid var(--line);cursor:pointer}
.cal .d.hoje{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-l)}.cal .d.out{opacity:.4}.cal .d b{display:inline-block;background:var(--brand);color:#fff;border-radius:99px;padding:0 7px;font-size:.72rem}
.cal .h{font-size:.72rem;text-align:center;color:var(--mut);font-weight:600}
@media print{.side,.tabs,.top,.savebar,.noprint{display:none!important}.page{padding:0}}
.formmode .tabs{display:none}

.hrs{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr)!important;gap:6px}.hrs .fld{min-width:0}.hrs input{width:100%;min-width:0;font-size:.85rem;padding-left:6px;padding-right:2px}.hrs label{white-space:nowrap;font-size:.8rem}
.lnk{background:none;border:0;color:var(--brand);font:inherit;font-size:.78rem;font-weight:600;padding:0 0 0 6px;cursor:pointer;text-decoration:underline}
.tabsel{display:flex;gap:8px;margin-bottom:12px}.tabsel button{flex:1}
.perms{display:flex;gap:12px;flex-wrap:wrap;margin-top:6px}.perms label{display:flex;gap:6px;align-items:center;font-size:.85rem}.perms input{width:auto}

/* Cabeçalho */
.top{display:flex;align-items:center;gap:12px;padding:10px 14px;padding-top:calc(10px + env(safe-area-inset-top));background:linear-gradient(120deg,#000C18 0%,#00304d 60%,#0074AA 140%);color:#fff;position:sticky;top:0;z-index:20;box-shadow:0 2px 12px rgba(0,12,24,.25)}
.top .tlogo{display:grid;place-items:center;height:42px;min-width:42px;max-width:140px;background:#fff;border-radius:11px;padding:4px 8px;flex:none}
.top .tlogo img{height:100%;max-width:100%;object-fit:contain}
.top .mono{font-weight:800;font-size:1.3rem;color:var(--brand)}
.top .ttxt{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.top .ttxt b{font-size:.98rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top .ttxt span{font-size:.72rem;color:#9fc4d9;letter-spacing:.04em;text-transform:uppercase}
.top .tuser{margin-left:auto;display:flex;align-items:center;gap:9px;color:#fff;text-decoration:none;min-width:0}
.top .av{width:36px;height:36px;border-radius:50%;background:var(--brand);border:2px solid rgba(255,255,255,.55);display:grid;place-items:center;font-weight:700;font-size:.85rem;flex:none}
.top .tn{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.top .tn b{font-size:.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:110px}
.top .tn i{font-style:normal;font-size:.68rem;color:#9fc4d9}.top .tn i.adm{color:#ffd37a}
.top .tsair{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:#cfe3ef;background:rgba(255,255,255,.08);flex:none}
.top .tsair svg{width:19px;height:19px}.top .tsair:hover{background:rgba(255,255,255,.18)}
@media(max-width:380px){.top .ttxt span,.top .tn i{display:none}}
@media(min-width:900px){.top .tlogo,.top .ttxt{display:none}.top{background:#fff;color:var(--ink);box-shadow:none;border-bottom:1px solid var(--line)}.top .tuser{color:var(--ink)}.top .tn b{max-width:none}.top .tsair{background:var(--bg);color:var(--mut)}}
/* Página Admin */
.adm-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));margin-bottom:14px}
.adm-card{display:flex;gap:12px;align-items:center;padding:14px;border-radius:var(--r);background:#fff;box-shadow:var(--sh);color:var(--ink);text-decoration:none}
.adm-card .ic{width:42px;height:42px;border-radius:12px;background:var(--brand-l);color:var(--brand);display:grid;place-items:center;flex:none}
.adm-card .ic svg{width:22px;height:22px}.adm-card b{display:block}.adm-card span.d{font-size:.8rem;color:var(--mut)}
.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;font-size:.9rem}.kv dt{color:var(--mut)}.kv dd{margin:0;word-break:break-all}
@media(max-width:620px){.top .ttxt{display:none}.top .tlogo{max-width:170px;height:44px}}
.top .tlogo{height:auto;padding:5px 9px}.top .tlogo img{height:32px;width:auto;max-width:150px;display:block}
.top .ttxt b{white-space:normal;font-size:.9rem;line-height:1.15}
@media(max-width:620px){.top .ttxt{display:flex}.top .tn b{max-width:70px}}
.side .brand img{height:auto;width:100%;max-width:190px;padding:6px 10px;display:block}
@media(min-width:900px){.top .ttxt{display:flex}.top .ttxt b{color:var(--ink);font-size:1.05rem}}
@media(max-width:440px){.top .tn{display:none}.top .ttxt b{font-size:.95rem}}
.btn.navy{background:var(--navy);color:#fff}.btn.navy:hover{background:#06263d}
.side{background:linear-gradient(170deg,#000C18 0%,#00304d 55%,#0074AA 135%)}
.nav a.on{background:rgba(255,255,255,.17);color:#fff;box-shadow:inset 3px 0 0 #5cc4f0}
@media(min-width:900px){.top .tn i{color:var(--mut)}.top .tn i.adm{color:var(--warn)}}
/* Alinhamento */
.grid>.card,.grid>.stat{margin-top:0}
.stats{display:grid;gap:12px;grid-template-columns:1fr 1fr}.stats .stat:last-child:nth-child(odd){grid-column:span 2}
@media(min-width:700px){.stats{grid-template-columns:repeat(3,1fr)}.stats .stat:last-child:nth-child(odd){grid-column:auto}}
.grid.cols{align-items:stretch}
.card .item{padding-left:0;padding-right:0}
.card a.item:hover{margin:0 -8px;padding-left:8px;padding-right:8px;border-radius:8px}
.nav a{line-height:1.2}
@media(max-width:600px){.card .item[data-u]>.grow{flex:1 1 100%}}
.perms{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;width:100%}
.perms label{display:inline-flex;align-items:center;gap:6px;margin:0;white-space:nowrap}
.card.item{padding:14px 16px;border-bottom:0;gap:14px}
.modal .item,.modal-body .item{padding-left:8px;padding-right:8px}
.acoes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.acoes .btn{width:100%;text-align:center;line-height:1.2}
@media(min-width:700px){.acoes{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}

/* Leaflet (mapa) */
/* required styles */ .leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer { position: absolute; left: 0; top: 0; } .leaflet-container { overflow: hidden; } .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-user-drag: none; } /* Prevents IE11 from highlighting tiles in blue */ .leaflet-tile::selection { background: transparent; } /* Safari renders non-retina tile on retina better with this, but Chrome is worse */ .leaflet-safari .leaflet-tile { image-rendering: -webkit-optimize-contrast; } /* hack that prevents hw layers "stretching" when loading new tiles */ .leaflet-safari .leaflet-tile-container { width: 1600px; height: 1600px; -webkit-transform-origin: 0 0; } .leaflet-marker-icon, .leaflet-marker-shadow { display: block; } /* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ /* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ .leaflet-container .leaflet-overlay-pane svg { max-width: none !important; max-height: none !important; } .leaflet-container .leaflet-marker-pane img, .leaflet-container .leaflet-shadow-pane img, .leaflet-container .leaflet-tile-pane img, .leaflet-container img.leaflet-image-layer, .leaflet-container .leaflet-tile { max-width: none !important; max-height: none !important; width: auto; padding: 0; } .leaflet-container img.leaflet-tile { /* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */ mix-blend-mode: plus-lighter; } .leaflet-container.leaflet-touch-zoom { -ms-touch-action: pan-x pan-y; touch-action: pan-x pan-y; } .leaflet-container.leaflet-touch-drag { -ms-touch-action: pinch-zoom; /* Fallback for FF which doesn't support pinch-zoom */ touch-action: none; touch-action: pinch-zoom; } .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { -ms-touch-action: none; touch-action: none; } .leaflet-container { -webkit-tap-highlight-color: transparent; } .leaflet-container a { -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4); } .leaflet-tile { filter: inherit; visibility: hidden; } .leaflet-tile-loaded { visibility: inherit; } .leaflet-zoom-box { width: 0; height: 0; -moz-box-sizing: border-box; box-sizing: border-box; z-index: 800; } /* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ .leaflet-overlay-pane svg { -moz-user-select: none; } .leaflet-pane { z-index: 400; } .leaflet-tile-pane { z-index: 200; } .leaflet-overlay-pane { z-index: 400; } .leaflet-shadow-pane { z-index: 500; } .leaflet-marker-pane { z-index: 600; } .leaflet-tooltip-pane { z-index: 650; } .leaflet-popup-pane { z-index: 700; } .leaflet-map-pane canvas { z-index: 100; } .leaflet-map-pane svg { z-index: 200; } .leaflet-vml-shape { width: 1px; height: 1px; } .lvml { behavior: none; display: inline-block; position: absolute; } /* control positioning */ .leaflet-control { position: relative; z-index: 800; pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } .leaflet-top, .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; } .leaflet-top { top: 0; } .leaflet-right { right: 0; } .leaflet-bottom { bottom: 0; } .leaflet-left { left: 0; } .leaflet-control { float: left; clear: both; } .leaflet-right .leaflet-control { float: right; } .leaflet-top .leaflet-control { margin-top: 10px; } .leaflet-bottom .leaflet-control { margin-bottom: 10px; } .leaflet-left .leaflet-control { margin-left: 10px; } .leaflet-right .leaflet-control { margin-right: 10px; } /* zoom and fade animations */ .leaflet-fade-anim .leaflet-popup { opacity: 0; -webkit-transition: opacity 0.2s linear; -moz-transition: opacity 0.2s linear; transition: opacity 0.2s linear; } .leaflet-fade-anim .leaflet-map-pane .leaflet-popup { opacity: 1; } .leaflet-zoom-animated { -webkit-transform-origin: 0 0; -ms-transform-origin: 0 0; transform-origin: 0 0; } svg.leaflet-zoom-animated { will-change: transform; } .leaflet-zoom-anim .leaflet-zoom-animated { -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1); -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1); transition: transform 0.25s cubic-bezier(0,0,0.25,1); } .leaflet-zoom-anim .leaflet-tile, .leaflet-pan-anim .leaflet-tile { -webkit-transition: none; -moz-transition: none; transition: none; } .leaflet-zoom-anim .leaflet-zoom-hide { visibility: hidden; } /* cursors */ .leaflet-interactive { cursor: pointer; } .leaflet-grab { cursor: -webkit-grab; cursor: -moz-grab; cursor: grab; } .leaflet-crosshair, .leaflet-crosshair .leaflet-interactive { cursor: crosshair; } .leaflet-popup-pane, .leaflet-control { cursor: auto; } .leaflet-dragging .leaflet-grab, .leaflet-dragging .leaflet-grab .leaflet-interactive, .leaflet-dragging .leaflet-marker-draggable { cursor: move; cursor: -webkit-grabbing; cursor: -moz-grabbing; cursor: grabbing; } /* marker & overlays interactivity */ .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-image-layer, .leaflet-pane > svg path, .leaflet-tile-container { pointer-events: none; } .leaflet-marker-icon.leaflet-interactive, .leaflet-image-layer.leaflet-interactive, .leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path { pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ pointer-events: auto; } /* visual tweaks */ .leaflet-container { background: #ddd; outline-offset: 1px; } .leaflet-container a { color: #0078A8; } .leaflet-zoom-box { border: 2px dotted #38f; background: rgba(255,255,255,0.5); } /* general typography */ .leaflet-container { font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12px; font-size: 0.75rem; line-height: 1.5; } /* general toolbar styles */ .leaflet-bar { box-shadow: 0 1px 5px rgba(0,0,0,0.65); border-radius: 4px; } .leaflet-bar a { background-color: #fff; border-bottom: 1px solid #ccc; width: 26px; height: 26px; line-height: 26px; display: block; text-align: center; text-decoration: none; color: black; } .leaflet-bar a, .leaflet-control-layers-toggle { background-position: 50% 50%; background-repeat: no-repeat; display: block; } .leaflet-bar a:hover, .leaflet-bar a:focus { background-color: #f4f4f4; } .leaflet-bar a:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; } .leaflet-bar a:last-child { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom: none; } .leaflet-bar a.leaflet-disabled { cursor: default; background-color: #f4f4f4; color: #bbb; } .leaflet-touch .leaflet-bar a { width: 30px; height: 30px; line-height: 30px; } .leaflet-touch .leaflet-bar a:first-child { border-top-left-radius: 2px; border-top-right-radius: 2px; } .leaflet-touch .leaflet-bar a:last-child { border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; } /* zoom control */ .leaflet-control-zoom-in, .leaflet-control-zoom-out { font: bold 18px 'Lucida Console', Monaco, monospace; text-indent: 1px; } .leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { font-size: 22px; } /* layers control */ .leaflet-control-layers { box-shadow: 0 1px 5px rgba(0,0,0,0.4); background: #fff; border-radius: 5px; } .leaflet-control-layers-toggle { background-image: none; width: 36px; height: 36px; } .leaflet-retina .leaflet-control-layers-toggle { background-image: none; background-size: 26px 26px; } .leaflet-touch .leaflet-control-layers-toggle { width: 44px; height: 44px; } .leaflet-control-layers .leaflet-control-layers-list, .leaflet-control-layers-expanded .leaflet-control-layers-toggle { display: none; } .leaflet-control-layers-expanded .leaflet-control-layers-list { display: block; position: relative; } .leaflet-control-layers-expanded { padding: 6px 10px 6px 6px; color: #333; background: #fff; } .leaflet-control-layers-scrollbar { overflow-y: scroll; overflow-x: hidden; padding-right: 5px; } .leaflet-control-layers-selector { margin-top: 2px; position: relative; top: 1px; } .leaflet-control-layers label { display: block; font-size: 13px; font-size: 1.08333em; } .leaflet-control-layers-separator { height: 0; border-top: 1px solid #ddd; margin: 5px -10px 5px -6px; } /* Default icon URLs */ .leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */ background-image: none; } /* attribution and scale controls */ .leaflet-container .leaflet-control-attribution { background: #fff; background: rgba(255, 255, 255, 0.8); margin: 0; } .leaflet-control-attribution, .leaflet-control-scale-line { padding: 0 5px; color: #333; line-height: 1.4; } .leaflet-control-attribution a { text-decoration: none; } .leaflet-control-attribution a:hover, .leaflet-control-attribution a:focus { text-decoration: underline; } .leaflet-attribution-flag { display: inline !important; vertical-align: baseline !important; width: 1em; height: 0.6669em; } .leaflet-left .leaflet-control-scale { margin-left: 5px; } .leaflet-bottom .leaflet-control-scale { margin-bottom: 5px; } .leaflet-control-scale-line { border: 2px solid #777; border-top: none; line-height: 1.1; padding: 2px 5px 1px; white-space: nowrap; -moz-box-sizing: border-box; box-sizing: border-box; background: rgba(255, 255, 255, 0.8); text-shadow: 1px 1px #fff; } .leaflet-control-scale-line:not(:first-child) { border-top: 2px solid #777; border-bottom: none; margin-top: -2px; } .leaflet-control-scale-line:not(:first-child):not(:last-child) { border-bottom: 2px solid #777; } .leaflet-touch .leaflet-control-attribution, .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar { box-shadow: none; } .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar { border: 2px solid rgba(0,0,0,0.2); background-clip: padding-box; } /* popup */ .leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; } .leaflet-popup-content-wrapper { padding: 1px; text-align: left; border-radius: 12px; } .leaflet-popup-content { margin: 13px 24px 13px 20px; line-height: 1.3; font-size: 13px; font-size: 1.08333em; min-height: 1px; } .leaflet-popup-content p { margin: 17px 0; margin: 1.3em 0; } .leaflet-popup-tip-container { width: 40px; height: 20px; position: absolute; left: 50%; margin-top: -1px; margin-left: -20px; overflow: hidden; pointer-events: none; } .leaflet-popup-tip { width: 17px; height: 17px; padding: 1px; margin: -10px auto 0; pointer-events: auto; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); } .leaflet-popup-content-wrapper, .leaflet-popup-tip { background: white; color: #333; box-shadow: 0 3px 14px rgba(0,0,0,0.4); } .leaflet-container a.leaflet-popup-close-button { position: absolute; top: 0; right: 0; border: none; text-align: center; width: 24px; height: 24px; font: 16px/24px Tahoma, Verdana, sans-serif; color: #757575; text-decoration: none; background: transparent; } .leaflet-container a.leaflet-popup-close-button:hover, .leaflet-container a.leaflet-popup-close-button:focus { color: #585858; } .leaflet-popup-scrolled { overflow: auto; } .leaflet-oldie .leaflet-popup-content-wrapper { -ms-zoom: 1; } .leaflet-oldie .leaflet-popup-tip { width: 24px; margin: 0 auto; -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); } .leaflet-oldie .leaflet-control-zoom, .leaflet-oldie .leaflet-control-layers, .leaflet-oldie .leaflet-popup-content-wrapper, .leaflet-oldie .leaflet-popup-tip { border: 1px solid #999; } /* div icon */ .leaflet-div-icon { background: #fff; border: 1px solid #666; } /* Tooltip */ /* Base styles for the element that has a tooltip */ .leaflet-tooltip { position: absolute; padding: 6px; background-color: #fff; border: 1px solid #fff; border-radius: 3px; color: #222; white-space: nowrap; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; pointer-events: none; box-shadow: 0 1px 3px rgba(0,0,0,0.4); } .leaflet-tooltip.leaflet-interactive { cursor: pointer; pointer-events: auto; } .leaflet-tooltip-top:before, .leaflet-tooltip-bottom:before, .leaflet-tooltip-left:before, .leaflet-tooltip-right:before { position: absolute; pointer-events: none; border: 6px solid transparent; background: transparent; content: ""; } /* Directions */ .leaflet-tooltip-bottom { margin-top: 6px; } .leaflet-tooltip-top { margin-top: -6px; } .leaflet-tooltip-bottom:before, .leaflet-tooltip-top:before { left: 50%; margin-left: -6px; } .leaflet-tooltip-top:before { bottom: 0; margin-bottom: -12px; border-top-color: #fff; } .leaflet-tooltip-bottom:before { top: 0; margin-top: -12px; margin-left: -6px; border-bottom-color: #fff; } .leaflet-tooltip-left { margin-left: -6px; } .leaflet-tooltip-right { margin-left: 6px; } .leaflet-tooltip-left:before, .leaflet-tooltip-right:before { top: 50%; margin-top: -6px; } .leaflet-tooltip-left:before { right: 0; margin-right: -12px; border-left-color: #fff; } .leaflet-tooltip-right:before { left: 0; margin-left: -12px; border-right-color: #fff; } /* Printing */ @media print { /* Prevent printers from removing background-images of controls. */ .leaflet-control { -webkit-print-color-adjust: exact; print-color-adjust: exact; } } 
.mapa{height:58vh;min-height:320px;border-radius:12px;border:1px solid var(--line);margin:10px 0;z-index:0}.legenda{display:flex;flex-wrap:wrap;gap:10px;font-size:13px}.legenda i{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:5px;vertical-align:-1px}.leaflet-container{font-family:inherit}

.offbar{display:block;background:#fef3c7;color:#92400e;font-size:13px;font-weight:600;padding:8px 14px;text-align:center;text-decoration:none}.offbar.off{background:#fee2e2;color:#991b1b}.offbar.hide{display:none}

#relPrint{display:none}
@media print{body.imprimindo>*:not(#relPrint){display:none!important}body.imprimindo #relPrint{display:block!important;padding:12mm}}
/* v3.0.0 — plataforma multiempresa / LGPD */
.legal h3{margin:14px 0 4px;font-size:1rem}.legal p,.legal li{font-size:.9rem;line-height:1.5}.legal ul{padding-left:20px;margin:4px 0}
.uso{height:7px;border-radius:99px;background:#e2e8f0;overflow:hidden;margin-top:4px}.uso i{display:block;height:100%;background:var(--brand);border-radius:99px}.uso i.alto{background:#d97706}.uso i.cheio{background:#dc2626}
.emp-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.emp-card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:14px;display:flex;flex-direction:column;gap:8px}
.emp-card h3{margin:0;font-size:1.05rem}.emp-card .acoes{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}
.b-teste{background:#fef3c7;color:#92400e}.b-ativa{background:#dcfce7;color:#166534}.b-suspensa{background:#fee2e2;color:#991b1b}.b-cancelada{background:#e2e8f0;color:#475569}
.tot{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin-bottom:14px}.tot div{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:10px 12px}.tot b{display:block;font-size:1.4rem}.tot span{font-size:.78rem;color:var(--mut)}
.faixa{padding:9px 14px;font-size:.88rem;background:#fef3c7;color:#92400e;text-align:center}.faixa.err{background:#fee2e2;color:#991b1b}.faixa a{color:inherit;font-weight:700}
.faixa{position:sticky;top:0;z-index:40}
.plat-top{display:flex;align-items:center;gap:12px;padding:10px 18px;padding-top:calc(10px + env(safe-area-inset-top));background:linear-gradient(120deg,#000C18 0%,#00304d 60%,#0074AA 140%);color:#fff;position:sticky;top:0;z-index:20;box-shadow:0 2px 12px rgba(0,12,24,.25)}
.plat-top .tlogo{display:grid;place-items:center;background:#fff;border-radius:11px;padding:5px 9px;flex:none}.plat-top .tlogo img{height:32px;width:auto;max-width:150px;display:block;object-fit:contain}
.plat-top .tsair{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:#cfe3ef;background:rgba(255,255,255,.08);flex:none}.plat-top .tsair svg{width:19px;height:19px}.plat-top .tsair:hover{background:rgba(255,255,255,.18)}
.plat-top .tn{display:flex;flex-direction:column;line-height:1.15;text-align:right}.plat-top .tn i{font-style:normal;font-size:.68rem;color:#ffd37a}
.emp-logo{height:34px;max-width:110px;object-fit:contain;border:1px solid var(--line);border-radius:8px;padding:2px 5px;background:#fff;flex:none}
.logo-up{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.logo-up .pv{height:52px;min-width:52px;max-width:180px;border:1px dashed var(--line);border-radius:8px;display:grid;place-items:center;background:#fff;padding:4px;color:var(--mut);font-size:.7rem}.logo-up .pv img{max-height:100%;max-width:100%;object-fit:contain}

.plat-top .plat-ver{font-weight:600;font-size:.7rem;margin-left:6px;padding:2px 7px;border-radius:99px;background:rgba(255,255,255,.14);color:#cfe3ef;vertical-align:middle}
