.glg-thermal-head{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin:8px 0 14px}
.glg-thermal-head label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;min-width:170px}
.glg-thermal-head select,.glg-thermal-head input{width:100%;padding:9px;border:1px solid #cbd5df;border-radius:7px;background:#fff}
.glg-thermal-head .row-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.glg-thermal-summary{display:grid;grid-template-columns:repeat(4,minmax(125px,1fr));gap:10px;margin:8px 0 15px}
.glg-thermal-summary div{border:1px solid #dce5eb;border-radius:9px;padding:10px;background:#f5f8fa}
.glg-thermal-summary div span{font-size:12px;color:#5e6c76;display:block;margin-bottom:4px}
.glg-thermal-summary div strong{font-size:20px;color:#142f40}
.glg-thermal-panes{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.glg-thermal-panes .panel{min-width:0;margin:0}
.glg-thermal-panes table{font-size:12px}
.glg-thermal-panes td,.glg-thermal-panes th{padding:9px 7px}
.glg-thermal-panes td.num{font-variant-numeric:tabular-nums}
.glg-thermal-subnote{font-size:12px;color:#617180;margin-top:9px}
.glg-thermal-token{padding:12px;background:#fef9e6;border:1px solid #e5c778;border-radius:8px;margin:12px 0;overflow-wrap:anywhere}
.glg-thermal-token code{display:block;font-size:12px;margin:8px 0}
.glg-thermal-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.glg-thermal-btn{border-radius:6px;border:1px solid #c8d3db;padding:6px 8px;background:#fff;cursor:pointer;font-size:12px}
.glg-thermal-btn:hover{background:#eef6fa}
.glg-thermal-table-badge{font-size:11px;font-weight:700;border-radius:14px;padding:4px 7px;background:#edf2f6;color:#516274}
.glg-thermal-table-badge.live{background:#e3f5e8;color:#18643b}
.glg-thermal-table-badge.stale{background:#fff1dc;color:#86520b}
.glg-thermal-table-badge.off{background:#f0f1f3;color:#6c7481}
@media(max-width:1150px){.glg-thermal-panes{grid-template-columns:1fr}.glg-thermal-summary{grid-template-columns:repeat(2,minmax(120px,1fr))}}
@media(max-width:550px){.glg-thermal-summary{grid-template-columns:1fr 1fr}.glg-thermal-head label{flex:1;min-width:130px}}
/* v6.44.72: factory-wide temperature history */
.glg-thermal-wide-scroll{width:100%;max-width:100%;overflow:auto;max-height:520px;border:1px solid #d8e1e8;border-radius:7px}
.glg-thermal-wide{width:max-content;min-width:100%;font-size:12px;border-collapse:separate;border-spacing:0}
.glg-thermal-wide th,.glg-thermal-wide td{padding:8px 10px;border-right:1px solid #e1e8ed;border-bottom:1px solid #d8e1e8;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.glg-thermal-wide th{position:sticky;top:0;z-index:2;background:#d5eaf9;color:#17374a;font-weight:750;text-align:center}
.glg-thermal-wide thead tr:nth-child(2) th{top:35px;background:#e7f2f9}
.glg-thermal-wide thead tr:first-child th{height:35px}
.glg-thermal-wide tbody tr:nth-child(even){background:#f7fafc}
.glg-thermal-wide th.glg-thermal-wide-sticky,.glg-thermal-wide td.glg-thermal-wide-sticky{position:sticky;left:0;text-align:left;z-index:3;background:#f1f7fb;min-width:100px}
.glg-thermal-wide th.glg-thermal-wide-sticky-time,.glg-thermal-wide td.glg-thermal-wide-sticky-time{position:sticky;left:100px;text-align:left;z-index:3;background:#f1f7fb;min-width:165px}
.glg-thermal-wide th.glg-thermal-wide-sticky,.glg-thermal-wide th.glg-thermal-wide-sticky-time{z-index:4;background:#d5eaf9}
.glg-thermal-wide .glg-thermal-missing{color:#8b96a4}
.glg-thermal-details{margin-top:14px}
.glg-thermal-details>summary{cursor:pointer;font-size:14px;font-weight:700;color:#1e3e50;padding:14px;border:1px solid #d5e1e9;border-radius:8px;background:#f6f9fb}
.glg-thermal-details[open]>summary{margin-bottom:12px}
