html,body{margin:0!important;background:#f4f7fa!important;color:#172b3c!important;font-family:'DM Sans',Arial,sans-serif!important;font-size:14px!important}body{background-image:none!important}#header{height:auto!important;min-height:0!important;background:#102b40!important;border-bottom:1px solid #dfe8ee;padding:0 20px!important}#title{display:none!important}#top_menu{width:min(1200px,100%)!important;height:auto!important;min-height:62px!important;margin:0 auto!important;padding:0!important}#top_menu ul{width:100%!important;height:auto!important;padding:8px 0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;list-style:none!important}#top_menu li{float:none!important;margin:0!important}#top_menu li a{display:block!important;padding:10px 13px!important;border-radius:9px!important;color:#e8f2f7!important;font-size:13px!important;font-weight:600!important}#top_menu li a:hover{background:#244b64!important;text-decoration:none!important}#base{width:min(1200px,calc(100% - 32px))!important;margin:28px auto!important;background:transparent!important}#base_header{width:auto!important;padding:18px 0!important;margin:0!important}#base_header h1{font:800 clamp(24px,3vw,34px)/1.2 Manrope,sans-serif!important;color:#172b3c!important;margin:0 0 8px!important;text-align:left!important}#base_header p{color:#647688!important;margin:5px 0!important}#wrap{overflow:visible!important}#content_top{display:none!important}#content{float:none!important;width:100%!important;min-height:0!important;height:auto!important;overflow:visible!important;padding:24px!important;margin:0!important;background:#fff!important;border:1px solid #e2e9ef!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(20,47,68,.055)!important}#upper_panel{width:100%!important;height:auto!important;min-height:0!important;margin:0 auto 18px!important;padding:0 0 10px!important;background:none!important}#upper_panel .content h1{font:800 25px Manrope,sans-serif!important;color:#172b3c!important}.row{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:stretch!important;gap:14px!important;margin:12px 0!important}.row h3{font:700 14px 'DM Sans',sans-serif!important;color:#29485d!important;margin:7px 0 10px!important}.gauge{width:clamp(205px,25%,245px)!important;height:auto!important;min-height:260px!important;padding:14px!important;background:#fff!important;border:1px solid #e2e9ef!important;border-radius:16px!important;box-shadow:0 5px 20px rgba(20,47,68,.045)!important;display:inline-flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;vertical-align:top!important}.gauge canvas{max-width:100%;height:auto}#canvas_led,#canvas_status,#canvas_timer{max-width:100%}.gauge p,.gauge a{color:#176b9b!important;font-size:11px!important}.unitsTable{background:#f1f6f9!important;border:1px solid #e2e9ef!important;border-radius:10px!important;color:#172b3c!important}.cellRight,label{font-size:11px!important;color:#4e6475!important}input[type=radio]{accent-color:#176b9b}#bg_btm,#footer{height:auto!important;background:none!important;width:100%!important;margin:0 auto!important}#footer_notes{padding:12px!important;color:#80909d!important;text-align:center!important}#footer a{color:#176b9b!important}img{max-width:100%;height:auto}a{color:#176b9b}a:hover{color:#0c4c72} @media(max-width:600px){#header{padding:0 10px!important}#top_menu ul{justify-content:flex-start!important;overflow-x:auto!important}#top_menu li a{padding:9px!important;font-size:12px!important}#base{width:calc(100% - 20px)!important;margin:16px auto!important}#content{padding:12px!important}.gauge{width:calc(50% - 10px)!important;min-width:140px!important;padding:8px!important;min-height:220px!important}.gauge canvas{width:100%!important;height:auto!important}#canvas_status{max-width:65vw}}

/* Instrumentos compactos y coherentes con las tarjetas del panel */
.row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:12px 0!important;align-items:stretch!important}
.gauge{width:auto!important;min-width:0!important;min-height:0!important;height:auto!important;padding:12px!important;border-radius:14px!important;box-shadow:0 4px 14px rgba(20,47,68,.04)!important}
.gauge h3{margin:4px 0 7px!important;font:600 13px/1.3 'DM Sans',sans-serif!important;color:#29485d!important}
.gauge canvas{display:block;width:min(100%,225px)!important;height:auto!important;aspect-ratio:1/1;margin:0 auto!important}
#upper_panel{margin-bottom:12px!important;padding-bottom:0!important}
#upper_panel .row{display:flex!important;align-items:center!important;justify-content:center!important;min-height:25px!important;margin:6px 0!important}
#upper_panel .content h1{font:700 21px/1.25 Manrope,sans-serif!important;margin:0 0 8px!important}
.gauge img{display:block;width:100%!important;height:auto!important;max-width:220px!important;margin:0 auto 8px!important}
.gauge p{margin:4px 0!important;line-height:1.35!important;text-align:center!important;overflow-wrap:anywhere!important}
.gauge .gauge-meta{display:grid;gap:7px;width:100%;margin-top:8px;color:#526779}
.gauge .gauge-meta p{display:flex;flex-direction:column;gap:2px;width:100%;margin:0!important;text-align:center!important;overflow-wrap:normal!important;word-break:normal!important}
.gauge .gauge-meta p span{font:500 10px/1.3 'DM Sans',sans-serif;color:#718394}
.gauge .gauge-meta p strong{font:600 11px/1.35 'DM Sans',sans-serif;color:#29485d}
@media(max-width:650px){.row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.gauge canvas{width:min(100%,175px)!important}}
#upper_panel .status-cell{box-sizing:border-box;width:100%;margin:10px auto 14px;padding:10px 14px;background:#fff;border:1px solid #dfe8ef;border-radius:14px;box-shadow:0 4px 14px rgba(20,47,68,.04)}
#upper_panel .status-row{box-sizing:border-box;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%;margin:0!important}
#upper_panel .status-row #canvas_status{flex:0 1 auto;max-width:calc(100% - 110px)!important}
#upper_panel .status-row #canvas_timer{box-sizing:border-box!important;width:68px!important;height:25px!important;flex:0 0 68px!important}

/* Compactar la vista de relojes para aprovechar mejor la pantalla de escritorio */
#content{padding:14px!important}
#upper_panel{margin-bottom:8px!important}
#upper_panel .status-cell{margin:6px auto 9px;padding:7px 10px}
.row{gap:9px!important;margin:8px 0!important}
.gauge{padding:8px!important;border-radius:12px!important}
.gauge h3{margin:2px 0 5px!important;font-size:12px!important}
.gauge canvas{width:min(100%,190px)!important}
.gauge img{max-width:190px!important;margin-bottom:5px!important}
.gauge .gauge-meta{gap:4px;margin-top:5px}
.gauge .gauge-meta p span{font-size:9px}
.gauge .gauge-meta p strong{font-size:10px}
@media(min-width:900px){#content>div:first-child{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;align-items:stretch}#content>div:first-child>#upper_panel{grid-column:1/-1}#content>div:first-child>.row:not(.status-row){display:contents!important}.gauge canvas{width:min(100%,160px)!important}}
@media(max-width:650px){#content{padding:12px!important}.gauge{padding:8px!important}.gauge canvas{width:min(100%,175px)!important}}

.temperature-options-cell{justify-content:flex-start!important}.temperature-options-cell h3{align-self:stretch;margin:4px 0 10px!important;text-align:center}.temperature-options-cell #observ{margin-top:0!important}.temperature-options-cell #observ{width:100%;display:flex;justify-content:center}.temperature-options-cell #observ table{margin:0 auto!important}

.temperature-options-cell #observ tbody{display:grid;grid-template-columns:1fr;gap:4px;width:100%}.temperature-options-cell #observ tr{display:flex;align-items:stretch;justify-content:center;min-height:25px;border-radius:10px}.temperature-options-cell #observ label{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:25px;padding:4px 8px!important;font-size:10px!important;text-align:center;white-space:normal}
.temperature-options-cell #observ tr:last-child{grid-column:1/-1;justify-self:stretch;width:100%}

.humidity-extremes>span>small{font:500 9px/1.2 'DM Sans',Arial,sans-serif;color:var(--muted)}.humidity-extremes>span>strong{font:700 14px/1.2 Manrope,sans-serif;letter-spacing:-.2px;color:var(--ink)}.humidity-extremes>span>strong>small{font:500 9px 'DM Sans',Arial,sans-serif;color:var(--muted);margin-left:3px;letter-spacing:0}

/* En móvil, mostrar tres instrumentos por fila y compactar el panel de estado. */
@media(max-width:650px){
  #content>div:first-child{display:block!important;width:100%!important}
  #content>div:first-child>.row:not(.status-row){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:7px!important;margin:7px 0!important;width:100%!important;box-sizing:border-box!important}
  #content>div:first-child>.row:not(.status-row)>.gauge{box-sizing:border-box!important;min-width:0!important;width:auto!important;min-height:0!important;height:auto!important;aspect-ratio:1/1.16;overflow:hidden;padding:5px 3px!important;border-radius:9px!important}
  #content>div:first-child>.row:not(.status-row)>.gauge h3{width:100%;min-height:20px;margin:1px 0 2px!important;font-size:8px!important;line-height:1.12!important;text-align:center;overflow-wrap:anywhere}
  #content>div:first-child>.row:not(.status-row)>.gauge canvas{width:min(100%,68px)!important;max-width:68px!important}
  #upper_panel{margin:0 0 3px!important;padding:0!important}
  #upper_panel .content{padding-top:0!important}
  #upper_panel .content h1{font-size:12px!important;line-height:1.2!important;margin:0 0 4px!important;text-align:left!important}
  #upper_panel .status-cell{margin:2px auto 4px;padding:2px 4px;border-radius:7px}
  #upper_panel .status-row{display:grid!important;grid-template-columns:14px minmax(0,1fr) 28px!important;gap:3px!important;justify-content:stretch!important;min-height:14px!important}
  #upper_panel .status-row #canvas_led{width:14px!important;height:14px!important;flex:none;justify-self:center}
  #upper_panel .status-row #canvas_status{grid-column:2;width:100%!important;height:14px!important;min-width:0!important;max-width:none!important;flex:none;visibility:hidden}
  #upper_panel .status-row #canvas_timer{grid-column:3;width:28px!important;height:14px!important;flex:none}
  .temperature-options-cell{aspect-ratio:1/1.16;gap:0!important}
  .temperature-options-cell h3{min-height:20px!important;margin:1px 0 3px!important;font-size:8px!important}
  .temperature-options-cell #observ,.temperature-options-cell #observ table{width:100%!important;max-width:100%!important}
  .temperature-options-cell #observ tbody{display:grid;grid-template-columns:1fr;gap:2px;width:100%}
  .temperature-options-cell #observ tr{min-height:0!important;border-radius:5px}
  .temperature-options-cell #observ label{min-height:14px!important;padding:1px 2px!important;border-radius:5px!important;font-size:7px!important;line-height:1.05!important;white-space:normal!important}
  .temperature-options-cell #observ input{width:9px;height:9px;margin:0 1px}
  .temperature-options-cell #observ td{padding:0!important}
  #content>div:first-child>.row:not(.status-row)>.gauge:has(img){aspect-ratio:1/1.16}
  #content>div:first-child>.row:not(.status-row)>.gauge img{width:100%!important;max-width:100%!important;height:auto!important}
}
/* Match gauge page headings to the main dashboard title scale. */
#base_header h1,#upper_panel .content h1,h1{font-size:19px!important}
h2{font-size:19px!important}
h3{font-size:16px!important}
h4{font-size:16px!important}
h5{font-size:14px!important}
h6{font-size:12px!important}

/* Embedded instruments: keep only the gauge dashboard inside the main site panel. */
.embedded-gauges #header,.embedded-gauges #top_menu,.embedded-gauges #sidebar,.embedded-gauges #sidebar-credit,.embedded-gauges #base_header,.embedded-gauges #content_top,.embedded-gauges #footer,.embedded-gauges #footer_notes{display:none!important}
.embedded-gauges,.embedded-gauges body{width:100%!important;min-width:0!important;margin:0!important;padding:0!important;overflow-x:hidden!important}
.embedded-gauges #base,.embedded-gauges #wrap{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important;overflow:visible!important}
.embedded-gauges #content{box-sizing:border-box!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:18px!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.embedded-gauges #content>div:first-child{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important}
@media(max-width:650px){.embedded-gauges #content{padding:2px 4px!important;border:0!important}.embedded-gauges #content>div:first-child{gap:4px!important}.embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge{aspect-ratio:1/1.25!important;padding:1px!important;border-radius:6px!important}.embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge h3{min-height:22px!important;font-size:8.5px!important}.embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge canvas{width:min(calc(100% - 4px),104px)!important;max-width:calc(100% - 4px)!important}}

.embedded-gauges-dark,.embedded-gauges-dark body{background:#111b24!important;color:#e4edf3!important;color-scheme:dark!important}.embedded-gauges-dark #content{background:#111b24!important;border-color:#111b24!important;color:#e4edf3!important}.embedded-gauges-dark .gauge{background:#192a36!important;border-color:#30424f!important;color:#e4edf3!important;box-shadow:0 4px 14px rgba(0,0,0,.2)!important}.embedded-gauges-dark .gauge h3,.embedded-gauges-dark .gauge p,.embedded-gauges-dark .gauge a,.embedded-gauges-dark #upper_panel h1{color:#b8d8e8!important}.embedded-gauges-dark .status-cell,.embedded-gauges-dark .unitsTable{background:#203441!important;border-color:#40515e!important;color:#e4edf3!important}.embedded-gauges-dark input,.embedded-gauges-dark select{background:#203441!important;border-color:#40515e!important;color:#e4edf3!important}

.embedded-gauges #content{min-height:0!important}
.embedded-gauges #upper_panel .content h1{display:none!important}
@media(max-width:650px){.embedded-gauges #upper_panel .status-cell{position:absolute!important;top:0!important;right:2px!important;width:12px!important;height:12px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}.embedded-gauges #upper_panel{position:relative!important}.embedded-gauges #upper_panel .status-row{display:block!important;width:12px!important;height:12px!important;min-height:12px!important;margin:0!important}.embedded-gauges #upper_panel .status-row #canvas_led{position:absolute!important;top:0!important;right:0!important;width:12px!important;height:12px!important;margin:0!important}.embedded-gauges #upper_panel .status-row #canvas_status,.embedded-gauges #upper_panel .status-row #canvas_timer{display:none!important}.embedded-gauges .gauge-webcam-card{display:none!important}.embedded-gauges .temperature-options-cell{aspect-ratio:1/1.25!important;overflow:hidden!important}.embedded-gauges .temperature-options-cell #observ label{min-height:10px!important;padding:0 2px!important;font:600 5.5px/1.05 Arial,sans-serif!important}.embedded-gauges-dark .temperature-options-cell #observ tr{border-color:#40515e!important;background:#203441!important}.embedded-gauges-dark .temperature-options-cell #observ label{color:#e4edf3!important}.embedded-gauges-light .temperature-options-cell #observ label{color:#30485a!important}}

.embedded-gauges .ddimgtooltip,.embedded-gauges #imgtip0,.embedded-gauges #imgtip0_txt{display:none!important;visibility:hidden!important;pointer-events:none!important}
@media(max-width:650px){.embedded-gauges #upper_panel .status-cell canvas:not(#canvas_led){display:none!important}.embedded-gauges #upper_panel .status-cell [id^=canvas_]:not(#canvas_led){display:none!important}}

@media(max-width:650px){.embedded-gauges #upper_panel .status-cell>*:not(#canvas_led){display:none!important}.embedded-gauges .temperature-options-cell{aspect-ratio:1/1.4!important}}

@media(max-width:650px){.embedded-gauges .temperature-options-cell{min-height:142px!important;height:auto!important;aspect-ratio:auto!important}}

.embedded-gauges .temperature-options-cell #observ tbody{display:flex!important;flex-direction:column!important;gap:3px!important;width:100%!important}.embedded-gauges .temperature-options-cell #observ tr{display:flex!important;box-sizing:border-box!important;width:100%!important;min-height:22px!important;margin:0!important;padding:0!important}.embedded-gauges .temperature-options-cell #observ td{padding:0!important}.embedded-gauges .temperature-options-cell #observ label{box-sizing:border-box!important;width:100%!important;min-height:22px!important;padding:3px 6px!important;font:600 10px/1.15 Arial,sans-serif!important;white-space:normal!important}.embedded-gauges-dark .temperature-options-cell #observ tr{background:#203441!important;border-color:#40515e!important}.embedded-gauges-dark .temperature-options-cell #observ label{color:#e4edf3!important}.embedded-gauges-light .temperature-options-cell #observ label{color:#30485a!important}@media(max-width:650px){.embedded-gauges .temperature-options-cell #observ tr,.embedded-gauges .temperature-options-cell #observ label{min-height:12px!important}.embedded-gauges .temperature-options-cell #observ label{padding:1px 2px!important;font-size:6px!important;line-height:1.05!important}.embedded-gauges .temperature-options-cell #observ tbody{gap:2px!important}}

@media(max-width:650px){.embedded-gauges #upper_panel .status-cell>*:not(.status-row){display:none!important}.embedded-gauges #upper_panel .status-row>*:not(#canvas_led){display:none!important}.embedded-gauges #upper_panel .status-cell{display:block!important;position:absolute!important;top:0!important;right:2px!important;width:12px!important;height:12px!important;overflow:visible!important}.embedded-gauges #upper_panel .status-row{display:block!important;width:12px!important;height:12px!important}.embedded-gauges #upper_panel .status-row #canvas_led{display:block!important;position:absolute!important;top:0!important;right:0!important;width:12px!important;height:12px!important}}

/* En móvil, dar espacio legible a las opciones de sensación térmica. */
@media(max-width:650px){.embedded-gauges .temperature-options-cell{grid-column:1/-1!important;box-sizing:border-box!important;width:100%!important;min-height:0!important;height:auto!important;aspect-ratio:auto!important;overflow:visible!important;padding:8px!important}.embedded-gauges .temperature-options-cell h3{min-height:0!important;margin:2px 0 7px!important;font-size:10px!important;line-height:1.2!important;text-align:left!important}.embedded-gauges .temperature-options-cell #observ{display:block!important;width:100%!important;height:auto!important;margin:0!important;overflow:visible!important}.embedded-gauges .temperature-options-cell #observ table{display:block!important;width:100%!important;max-width:none!important;margin:0!important;table-layout:fixed!important}.embedded-gauges .temperature-options-cell #observ tbody{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;width:100%!important}.embedded-gauges .temperature-options-cell #observ tr{display:flex!important;box-sizing:border-box!important;align-items:stretch!important;width:100%!important;min-width:0!important;min-height:34px!important;margin:0!important;padding:0!important;border:1px solid #40515e!important;border-radius:8px!important;background:#203441!important}.embedded-gauges .temperature-options-cell #observ td{display:flex!important;align-items:stretch!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;padding:0!important}.embedded-gauges .temperature-options-cell #observ td:first-child{display:none!important}.embedded-gauges .temperature-options-cell #observ label{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;min-height:34px!important;padding:4px!important;border-radius:7px!important;color:#e4edf3!important;font:600 9px/1.15 Arial,sans-serif!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}.embedded-gauges-light .temperature-options-cell #observ tr{border-color:#dce6ed!important;background:#f7fafc!important}.embedded-gauges-light .temperature-options-cell #observ label{color:#30485a!important}.embedded-gauges .temperature-options-cell #observ input{width:9px!important;height:9px!important;flex:0 0 auto!important;margin:0 3px 0 0!important}.embedded-gauges .temperature-options-cell #observ tr:has(input:checked){border-color:#4c91b2!important;background:#25485c!important}.embedded-gauges-light .temperature-options-cell #observ tr:has(input:checked){background:#eaf4f8!important}}

/* En escritorio, ensanchar la selección de temperatura y ordenar sus opciones. */
@media(min-width:900px){.embedded-gauges #content>div:first-child{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}.embedded-gauges .temperature-options-cell{grid-column:span 2!important;min-width:0!important;overflow:visible!important;padding:12px!important}.embedded-gauges .temperature-options-cell h3{margin:4px 0 12px!important;font-size:14px!important;text-align:center!important}.embedded-gauges .temperature-options-cell #observ{display:block!important;width:100%!important;height:auto!important;margin:0!important;overflow:visible!important}.embedded-gauges .temperature-options-cell #observ table{display:block!important;width:100%!important;margin:0!important;table-layout:fixed!important}.embedded-gauges .temperature-options-cell #observ tbody{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important}.embedded-gauges .temperature-options-cell #observ tr{display:flex!important;box-sizing:border-box!important;align-items:stretch!important;min-width:0!important;min-height:42px!important;margin:0!important;padding:0!important;border:1px solid #40515e!important;border-radius:9px!important;background:#203441!important}.embedded-gauges .temperature-options-cell #observ td{display:flex!important;align-items:stretch!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;padding:0!important}.embedded-gauges .temperature-options-cell #observ td:first-child{display:none!important}.embedded-gauges .temperature-options-cell #observ label{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;min-height:42px!important;padding:6px 8px!important;color:#e4edf3!important;font:600 12px/1.2 Arial,sans-serif!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important}.embedded-gauges-light .temperature-options-cell #observ tr{border-color:#dce6ed!important;background:#f7fafc!important}.embedded-gauges-light .temperature-options-cell #observ label{color:#30485a!important}.embedded-gauges .temperature-options-cell #observ input{width:12px!important;height:12px!important;flex:0 0 auto!important;margin:0 5px 0 0!important}.embedded-gauges .temperature-options-cell #observ tr:has(input:checked){border-color:#4c91b2!important;background:#25485c!important}.embedded-gauges-light .temperature-options-cell #observ tr:has(input:checked){background:#eaf4f8!important}}

/* Móvil: devolver las opciones a su tarjeta, con botones compactos legibles. */
@media(max-width:650px){.embedded-gauges .temperature-options-cell{grid-column:auto!important;box-sizing:border-box!important;width:auto!important;min-height:0!important;height:auto!important;aspect-ratio:1/1.65!important;overflow:hidden!important;padding:4px 3px!important}.embedded-gauges .temperature-options-cell h3{min-height:20px!important;margin:1px 0 4px!important;font-size:8px!important;line-height:1.15!important;text-align:center!important}.embedded-gauges .temperature-options-cell #observ{display:block!important;width:100%!important;height:auto!important;margin:0!important;overflow:visible!important}.embedded-gauges .temperature-options-cell #observ table{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;table-layout:fixed!important}.embedded-gauges .temperature-options-cell #observ tbody{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:3px!important;width:100%!important}.embedded-gauges .temperature-options-cell #observ tr{display:flex!important;box-sizing:border-box!important;align-items:stretch!important;width:100%!important;min-width:0!important;min-height:20px!important;margin:0!important;padding:0!important;border:1px solid #40515e!important;border-radius:6px!important;background:#203441!important}.embedded-gauges .temperature-options-cell #observ td{display:flex!important;align-items:stretch!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;padding:0!important}.embedded-gauges .temperature-options-cell #observ td:first-child{display:none!important}.embedded-gauges .temperature-options-cell #observ label{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;min-height:20px!important;padding:2px!important;border-radius:5px!important;color:#e4edf3!important;font:600 7px/1.05 Arial,sans-serif!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}.embedded-gauges-light .temperature-options-cell #observ tr{border-color:#dce6ed!important;background:#f7fafc!important}.embedded-gauges-light .temperature-options-cell #observ label{color:#30485a!important}.embedded-gauges .temperature-options-cell #observ input{width:7px!important;height:7px!important;flex:0 0 auto!important;margin:0 2px 0 0!important}.embedded-gauges .temperature-options-cell #observ tr:has(input:checked){border-color:#4c91b2!important;background:#25485c!important}.embedded-gauges-light .temperature-options-cell #observ tr:has(input:checked){background:#eaf4f8!important}}

@media(max-width:650px){.embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell{grid-column:auto!important;aspect-ratio:1/1.7!important;min-height:0!important}}

@media(max-width:650px){.embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell{aspect-ratio:1/1.45!important}.embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ tbody{gap:2px!important}.embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ tr,.embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ label{min-height:16px!important}.embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ label{padding:1px!important;font-size:6.5px!important;line-height:1.05!important}}

/* Móvil: tres columnas legibles, celdas uniformes y títulos visibles. */
@media(max-width:650px){
  .embedded-gauges #content{padding:6px!important;overflow:visible!important}
  .embedded-gauges #content>div:first-child{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:5px!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge{box-sizing:border-box!important;display:flex!important;width:auto!important;min-width:0!important;min-height:0!important;height:auto!important;aspect-ratio:1/1.4!important;overflow:hidden!important;padding:3px 2px!important;gap:0!important;border-radius:7px!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge h3{display:flex!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:23px!important;height:23px!important;margin:0 0 2px!important;padding:0 1px!important;color:#b8d8e8!important;font:600 8.5px/1.12 'DM Sans',Arial,sans-serif!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge canvas{display:block!important;flex:0 0 auto!important;width:min(calc(100% - 4px),82px)!important;max-width:82px!important;height:auto!important;margin:0 auto!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge>br{display:none!important}
  .embedded-gauges .temperature-options-cell{grid-column:auto!important;min-width:0!important;min-height:0!important;height:auto!important;aspect-ratio:1/1.4!important;overflow:hidden!important;padding:3px 2px!important}
  .embedded-gauges .temperature-options-cell h3{min-height:23px!important;height:23px!important;margin:0 0 2px!important;font-size:8.5px!important;text-align:center!important}
  .embedded-gauges .temperature-options-cell #observ,.embedded-gauges .temperature-options-cell #observ table{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;overflow:visible!important}
  .embedded-gauges .temperature-options-cell #observ tbody{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:2px!important;width:100%!important}
  .embedded-gauges .temperature-options-cell #observ tr{display:flex!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:15px!important;margin:0!important;border:1px solid #40515e!important;border-radius:5px!important;background:#203441!important}
  .embedded-gauges .temperature-options-cell #observ td{display:flex!important;align-items:stretch!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;padding:0!important}
  .embedded-gauges .temperature-options-cell #observ td:first-child{display:none!important}
  .embedded-gauges .temperature-options-cell #observ label{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;min-height:15px!important;padding:1px 2px!important;border-radius:4px!important;color:#e4edf3!important;font:600 6.5px/1.05 Arial,sans-serif!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .embedded-gauges-light .temperature-options-cell #observ tr{border-color:#dce6ed!important;background:#f7fafc!important}
  .embedded-gauges-light .temperature-options-cell #observ label{color:#30485a!important}
  .embedded-gauges .temperature-options-cell #observ input{width:7px!important;height:7px!important;flex:0 0 auto!important;margin:0 2px 0 0!important}
}

/* Móvil: todas las celdas de relojes comparten proporción y las opciones caben en la suya. */
@media(max-width:650px){.embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge{box-sizing:border-box!important;min-height:0!important;height:auto!important;aspect-ratio:1/1.16!important;align-self:stretch!important}.embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell{grid-column:auto!important;min-height:0!important;height:auto!important;aspect-ratio:1/1.16!important;overflow:hidden!important;padding:3px 2px!important}.embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell h3{min-height:16px!important;margin:1px 0 2px!important;font-size:7px!important;line-height:1.05!important}.embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ tbody{gap:1px!important}.embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ tr,.embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ label{min-height:11px!important}.embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ label{padding:0 1px!important;font:600 5.5px/1.05 Arial,sans-serif!important}.embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ input{width:6px!important;height:6px!important;margin:0 1px 0 0!important}}

/* Escritorio: diez instrumentos en una cuadrícula uniforme de cinco columnas y dos filas. */
@media(min-width:900px){
  .embedded-gauges #content>div:first-child{grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge{
    box-sizing:border-box!important;grid-column:auto!important;min-width:0!important;min-height:0!important;
    width:auto!important;height:auto!important;aspect-ratio:1/1.16!important;align-self:stretch!important;
    overflow:hidden!important;padding:10px 7px!important
  }
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge h3{width:100%!important;min-height:24px!important;margin:2px 0 4px!important;font-size:13px!important;line-height:1.15!important;text-align:center!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge canvas{width:min(100%,200px)!important;max-width:100%!important;height:auto!important;flex:0 0 auto!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell{grid-column:auto!important;padding:10px 7px!important}
  .embedded-gauges .temperature-options-cell #observ tbody{grid-template-columns:minmax(0,1fr)!important;gap:4px!important}
  .embedded-gauges .temperature-options-cell #observ tr,.embedded-gauges .temperature-options-cell #observ label{min-height:32px!important}
  .embedded-gauges .temperature-options-cell #observ label{padding:4px 8px!important;font-size:11px!important;line-height:1.15!important;overflow-wrap:normal!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row):last-child>.gauge:last-child{display:none!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>#tip_5{transform:translateX(calc((100% + 12px)/2))}
  .embedded-gauges #content>div:first-child>.row:not(.status-row):last-child>.gauge:not(:last-child){transform:translateX(calc((100% + 12px)/2))}
}

/* Móvil: alargar todas las tarjetas para que no recorten los relojes y compactar las opciones. */
@media(max-width:650px){
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge,
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell{aspect-ratio:1/1.34!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge{padding-bottom:7px!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge canvas{width:min(calc(100% - 4px),78px)!important;max-width:78px!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge h3{min-height:21px!important;height:21px!important;margin-bottom:2px!important;font-size:8px!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell h3{min-height:21px!important;height:21px!important;margin:0 0 2px!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ tbody{gap:1px!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ tr,
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ label{min-height:10px!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ label{padding:0 1px!important;font:600 5.2px/1.05 Arial,sans-serif!important}
}

/* Móvil: compactar los selectores para despejar el pie de la celda. */
@media(max-width:650px){
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ tbody{gap:0!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ tr,
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ label{min-height:8px!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell #observ label{padding:0!important;font-size:4.8px!important;line-height:1!important}
}

/* Móvil: reglas finales uniformes para la cuadrícula integrada de instrumentos. */
@media(max-width:650px){
  .embedded-gauges #content{box-sizing:border-box!important;padding:6px!important;overflow:visible!important}
  .embedded-gauges #content>div:first-child{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:6px!important}
  .embedded-gauges #content>div:first-child>#upper_panel{grid-column:1/-1!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row){display:contents!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;box-sizing:border-box!important;width:auto!important;min-width:0!important;min-height:0!important;height:auto!important;aspect-ratio:1/1.34!important;overflow:hidden!important;padding:4px 3px!important;border-radius:8px!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge h3{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;min-height:22px!important;height:22px!important;margin:0 0 3px!important;padding:0 1px!important;font:600 8.5px/1.12 'DM Sans',Arial,sans-serif!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge canvas{display:block!important;flex:0 0 auto!important;width:min(calc(100% - 6px),84px)!important;max-width:84px!important;height:auto!important;margin:0 auto!important}
  .embedded-gauges .gauge-webcam-card{display:none!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell{grid-column:auto!important;min-height:0!important;height:auto!important;aspect-ratio:1/1.34!important;padding:4px 3px!important}
  .embedded-gauges .temperature-options-cell h3{min-height:22px!important;height:22px!important;margin:0 0 3px!important;font-size:8.5px!important;text-align:center!important}
  .embedded-gauges .temperature-options-cell #observ,.embedded-gauges .temperature-options-cell #observ table{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;height:auto!important;margin:0!important;overflow:visible!important;table-layout:fixed!important}
  .embedded-gauges .temperature-options-cell #observ tbody{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:2px!important;width:100%!important}
  .embedded-gauges .temperature-options-cell #observ tr{display:flex!important;box-sizing:border-box!important;align-items:stretch!important;width:100%!important;min-width:0!important;min-height:16px!important;height:16px!important;margin:0!important;padding:0!important;border:1px solid #40515e!important;border-radius:5px!important;background:#203441!important}
  .embedded-gauges .temperature-options-cell #observ td{display:flex!important;align-items:stretch!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;padding:0!important}
  .embedded-gauges .temperature-options-cell #observ td:first-child{display:none!important}
  .embedded-gauges .temperature-options-cell #observ label{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:16px!important;height:16px!important;padding:1px 2px!important;border-radius:4px!important;color:#e4edf3!important;font:600 7.2px/1.05 Arial,sans-serif!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
  .embedded-gauges .temperature-options-cell #observ input{width:7px!important;height:7px!important;flex:0 0 auto!important;margin:0 2px 0 0!important}
  .embedded-gauges .temperature-options-cell #observ tr:has(input:checked){border-color:#4c91b2!important;background:#25485c!important}
  .embedded-gauges-light .temperature-options-cell #observ tr{border-color:#dce6ed!important;background:#f7fafc!important}
  .embedded-gauges-light .temperature-options-cell #observ label{color:#30485a!important}
  .embedded-gauges-light .temperature-options-cell #observ tr:has(input:checked){background:#eaf4f8!important}
}

/* Móvil: un poco más de altura y botones más legibles, manteniendo las celdas iguales. */
@media(max-width:650px){
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge,
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.temperature-options-cell{aspect-ratio:1/1.4!important}
  .embedded-gauges .temperature-options-cell #observ tr,
  .embedded-gauges .temperature-options-cell #observ label{min-height:17px!important;height:17px!important}
  .embedded-gauges .temperature-options-cell #observ label{font-size:8px!important}
}

/* Mantener las filas como cuadrículas reales en móvil para alinear los relojes en Safari. */
@media(max-width:650px){
  .embedded-gauges #content>div:first-child{display:block!important;width:100%!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;align-items:stretch!important;gap:6px!important;margin:6px 0!important;width:100%!important;box-sizing:border-box!important}
}

/* Centrar el espacio útil de la cuadrícula de forma simétrica en Safari móvil. */
@media(max-width:650px){
  .embedded-gauges #content{padding-left:4px!important;padding-right:4px!important}
  .embedded-gauges #content>div:first-child,
  .embedded-gauges #content>div:first-child>.row:not(.status-row){box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
  .embedded-gauges #content>div:first-child>.row:not(.status-row)>.gauge{box-sizing:border-box!important;width:100%!important;justify-self:stretch!important;margin-left:0!important;margin-right:0!important}
}
