/* Faixa operacional da SENTINELA, com pausa e navegação acessível. */
html{-webkit-text-size-adjust:100%}
body.has-live-ticker .statusbar{display:none}
body.has-live-ticker .pane.expanded{bottom:calc(35px + env(safe-area-inset-bottom));height:calc(100dvh - 35px - env(safe-area-inset-bottom))}
.sent-ticker{position:fixed;left:0;right:0;bottom:0;z-index:1850;display:flex;align-items:center;height:calc(35px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#0d131c;border-top:1px solid #35475a;color:#cbd5df;box-shadow:0 -3px 16px #0007}
.sent-ticker-label{align-self:stretch;display:flex;align-items:center;flex:none;padding:0 11px;border-right:1px solid #243140;background:#0d131c;color:#f5a548;font-size:10px;font-weight:800;letter-spacing:.06em;white-space:nowrap;z-index:1}
.sent-ticker-window{flex:1;min-width:0;overflow:hidden;touch-action:pan-x}
.sent-ticker-track{display:flex;width:max-content;animation:sent-ticker-scroll var(--ticker-duration,80s) linear infinite}
.sent-ticker-group{display:flex;align-items:center;gap:28px;width:max-content;padding-right:28px}
.sent-ticker-item{display:inline-flex;align-items:center;gap:8px;min-height:33px;padding:5px 0;border:0;background:transparent;border-radius:0;color:#cbd5df;font:11px/1.35 var(--mono);white-space:nowrap}
.sent-ticker-item b{color:var(--ticker-tone,#f5a548);font-size:10px;font-weight:800}
.sent-ticker-item time{color:#8998aa;font-size:10px}
button.sent-ticker-item:hover,button.sent-ticker-item:focus-visible{color:#fff;text-decoration:underline}
.sent-ticker-pause{display:grid;place-items:center;flex:none;width:39px;height:34px;padding:0;border:0;border-left:1px solid #243140;border-radius:0;background:#0d131c;color:#cbd5df;font-size:17px;line-height:1}
.sent-ticker-pause:hover{color:#fff;background:#1b2a38}
.sent-map-items b,.sent-map-items small{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.sent-ticker:is(:hover,:focus-within,[data-paused="true"]) .sent-ticker-track{animation-play-state:paused}
.sent-ticker[data-paused="true"] .sent-ticker-window,.sent-ticker:focus-within .sent-ticker-window{overflow-x:auto;scrollbar-width:thin}
.sent-ticker[data-paused="true"] .sent-ticker-track,.sent-ticker:focus-within .sent-ticker-track{animation:none}
.sent-ticker[data-paused="true"] .sent-ticker-group[aria-hidden="true"],.sent-ticker:focus-within .sent-ticker-group[aria-hidden="true"]{display:none}
@keyframes sent-ticker-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.sent-ticker-window{overflow-x:auto;scrollbar-width:thin}.sent-ticker-track{animation:none}.sent-ticker-group[aria-hidden="true"]{display:none}}

/* O resumo passa a ser uma faixa horizontal em tablet e telemóvel. */
@media(max-width:1000px){
 .sent-stats{display:flex;flex:none;gap:10px;min-height:125px;height:125px;max-height:none!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scroll-snap-type:x proximity}
 .sent-stats .stats-group,.sent-stats .stats-group:last-child{flex:none;grid-column:auto;scroll-snap-align:start}
 .sent-stats .stats-group:nth-child(1){width:360px}.sent-stats .stats-group:nth-child(2){width:345px}.sent-stats .stats-group:nth-child(3){width:410px}
 .sent-stats .stats-tiles{height:87px}
 .sent-map-side{min-width:205px;width:30%}
}

/* As linhas passam a cartões com todos os campos, sem uma tabela de 1180 px. */
@media(max-width:800px){
 .sent-table-head{display:none}
 .sent-table-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"nature nature nature" "municipality municipality municipality" "location location location" "id state state" "people vehicles aircraft" "duration duration duration";gap:0;width:100%;min-width:0;min-height:0;padding:8px 9px}
 .sent-table-row>span{align-self:stretch;padding:6px 5px;min-width:0}
 .sent-table-row .st-nature{grid-area:nature;align-items:center;border-bottom:1px solid #26394b}
 .sent-table-row .st-nature b{font-size:13px;line-height:1.35;overflow-wrap:anywhere}
 .sent-table-row .st-municipality{grid-area:municipality}
 .sent-table-row .st-municipality b{font-size:12px}
 .sent-table-row .st-location{grid-area:location;border-bottom:1px solid #26394b}
 .sent-table-row .st-id{grid-area:id}
 .sent-table-row .st-state{grid-area:state;text-align:right;font-size:11px;overflow-wrap:anywhere}
 .sent-table-row .st-number{border:1px solid #27394b;text-align:center;font-size:16px}
 .sent-table-row .st-number::before{content:attr(data-label);display:block;color:#94a7b9;font-size:9px;font-weight:700;line-height:1.3;text-transform:uppercase}
 .sent-table-row .st-number:nth-last-child(4){grid-area:people}
 .sent-table-row .st-number:nth-last-child(3){grid-area:vehicles}
 .sent-table-row .st-number:nth-last-child(2){grid-area:aircraft}
 .sent-table-row .st-number:nth-last-child(4)::before{content:"Operacionais"}
 .sent-table-row .st-number:nth-last-child(3)::before{content:"Meios terrestres"}
 .sent-table-row .st-number:nth-last-child(2)::before{content:"Meios aéreos"}
 .sent-table-row .st-duration{grid-area:duration;display:flex;align-items:center;justify-content:space-between;text-align:left}
 .sent-table-row:first-child .st-nature{padding-right:36px}
 .workspace.view-list .incident-list{overflow-x:hidden}
}

@media(max-width:700px){
 .workspace.view-list,.workspace.view-map{overflow-y:auto;overflow-x:hidden;padding-left:7px;padding-right:7px}
 .sent-stats{min-height:125px;height:125px;margin:6px 0;max-height:none!important}
 .sent-stats .stats-group:nth-child(1){width:340px}.sent-stats .stats-group:nth-child(2){width:340px}.sent-stats .stats-group:nth-child(3){width:390px}
 .sent-stats .stats-tiles{height:87px}
 .stats-tiles small,.stats-tiles span{font-size:8px!important;white-space:normal;overflow:visible;text-overflow:clip}
 .workspace.view-list #listPane{min-height:310px}
 .workspace.view-map #mapPane{height:auto;min-height:0;flex:none;overflow:visible}
 .sent-map-body{display:flex;flex:none;flex-direction:column;min-height:0;overflow:visible}
 .sent-map-body .map{width:100%;height:clamp(290px,43dvh,430px);min-height:290px;flex:none}
 .sent-map-side{width:100%;min-width:0;height:215px;max-height:215px;flex:none;border-left:0;border-top:1px solid #35475a}
 .sent-map-items b,.sent-map-items small{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
 .sent-map-items b{font-size:12px}.sent-map-items small{font-size:10px}
 .workspace.view-map .map-legend{min-height:36px}
 .map-status-legend{gap:6px}
 .sent-ticker-label{max-width:112px;padding:0 7px;font-size:8px;line-height:1.15;white-space:normal}
 .sent-ticker-item{font-size:10px}
 .sent-ticker-pause{width:42px;min-width:42px}
}
@media(max-width:360px){

 .occ-toolbar .view-switch button{padding:6px 9px}
 .sent-stats .stats-group:nth-child(1){width:315px}
}
