@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@400;500;600&display=swap');
:root{--wf-ink:#404041;--wf-muted:#6d7787;--wf-line:#e2e7f0;--wf-blue:#3949ab;--wf-bg:#f7f8fb}
.wf,.wf *{box-sizing:border-box}.wf{font:400 13px/1.6 Sarabun,sans-serif;color:var(--wf-ink)}.wf h1{font-size:22px;font-weight:500;margin:0 0 4px}.wf h2{font-size:16px;font-weight:500;margin:0 0 8px}.wf h3{font-size:14px;font-weight:500;margin:0 0 7px}.wf p{margin:5px 0 12px}.wf a{color:var(--wf-blue)}.wf .muted{color:var(--wf-muted);font-size:12px}.wf .panel{border:1px solid var(--wf-line);border-radius:12px;background:#fff;padding:16px;box-shadow:0 3px 16px #3949ab06}.wf .actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.wf :is(button,.button){font:inherit;cursor:pointer;border:1px solid var(--wf-line);background:#fff;color:var(--wf-blue);border-radius:8px;padding:8px 12px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:5px}.wf .primary{background:var(--wf-blue);color:#fff;border-color:var(--wf-blue)}.wf button:disabled{opacity:.5;cursor:wait}.wf :is(input,select,textarea){font:inherit;width:100%;padding:8px 10px;border:1px solid #dbe1eb;border-radius:7px;background:#fff;color:var(--wf-ink)}.wf :is(button,a,input,textarea,select):focus-visible{outline:3px solid #aebaf0;outline-offset:2px}.wf label{display:grid;gap:5px;font-size:12px}.wf textarea{min-height:90px;resize:vertical}.wf .grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wf .wide{grid-column:1/-1}.wf .badge{display:inline-block;padding:3px 9px;background:#f0f2fa;border-radius:20px;color:var(--wf-blue);font-size:11px}.wf .warning{background:#fff4df;color:#805600;border-radius:8px;padding:9px 11px}.wf .empty{padding:28px 14px;text-align:center;color:var(--wf-muted);background:#fafbfe;border:1px dashed #dce2ec;border-radius:10px}.wf .metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}.wf .metric{background:white;border:1px solid var(--wf-line);padding:12px;border-radius:12px}.wf .metric strong{display:block;font-size:25px;line-height:1.4;font-weight:500;color:#20334e}.wf .metric span{font-size:12px;color:var(--wf-muted)}.wf table{width:100%;border-collapse:collapse;text-align:left}.wf th,.wf td{padding:10px 8px;border-bottom:1px solid #edf0f5;vertical-align:top;font-size:12px}.wf th{font-weight:500;color:var(--wf-muted);background:#fafbfe}.wf .scroll{overflow:auto}.wf [hidden]{display:none!important}
body.wf-page{margin:0;background:#fafbfe}.wf-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 28px;border-bottom:1px solid #e7ebf1;background:white;font:13px Sarabun,sans-serif}.wf-brand{display:flex;align-items:center;gap:12px;color:#404041;text-decoration:none}.wf-brand img{width:27px;height:35px;object-fit:contain}.wf-header nav{display:flex;gap:20px;flex-wrap:wrap}.wf-header nav a{text-decoration:none;color:#5e6572}.wf-header nav a[aria-current]{color:#3949ab}.wf-page main{max-width:1460px;padding:24px;margin:auto}.wf-page .page-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.wf-page .incident-columns{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);gap:18px;align-items:start}.wf-page .incident-list{display:grid;gap:9px;margin-top:14px}.wf-page .incident-row{display:block;text-align:left;width:100%;padding:12px;border:1px solid #e1e6ef;border-radius:9px;color:#404041}.wf-page .incident-row.selected{border-color:#3949ab;background:#f6f7fd}.wf-page .incident-row b{display:block;font-weight:500}.wf-page .incident-row small{display:block;color:#737d8e}.wf-page .record-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px;background:#f7f8fc;border-radius:8px;margin:12px 0}.wf-page .record-facts dt{font-size:11px;color:#7c8493}.wf-page .record-facts dd{margin:0;font-size:13px}.wf-page .timeline{border-left:2px solid #e3e8f3;padding-left:14px;display:grid;gap:12px}.wf-page .timeline p{white-space:pre-wrap;margin:3px 0}.wf-page .timeline small{color:#737d8e}
#workflow-heading{margin:0 0 16px!important}#workflow-heading h1{font:500 20px/1.4 Sarabun,sans-serif;color:#404041;margin:0 0 5px}#workflow-heading p{font:13px/1.6 Sarabun,sans-serif;color:#6d7787;margin:0 0 8px}#workflow-heading .actions a{font:12px Sarabun,sans-serif}#workflow-record{margin:0 0 14px}#workflow-selection{padding:10px 12px;background:#f7f8fc;border:1px solid #e1e6ef;border-radius:9px;margin:9px 0}#workflow-selection p{margin:3px 0}#workflow-record-status{color:#805600;font-size:12px}
#thermal-panel{grid-column:1;grid-row:1;min-width:0}.thermal-controls{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.thermal-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.thermal-metrics>div{border:1px solid #e1e7f3;border-radius:12px;background:white;padding:10px 12px}.thermal-metrics strong{display:block;font-size:25px;color:#20334e;font-weight:400;line-height:1.5}.thermal-metrics span{font-size:12px;color:#727b8a}#thermal-estates{max-height:290px;overflow:auto;margin:10px 0}.thermal-estate{display:flex!important;width:100%;justify-content:space-between!important;text-align:left!important;border:0!important;border-bottom:1px solid #edf0f4!important;border-radius:0!important;padding:9px 5px!important}.thermal-estate span{color:#4d4f53}.thermal-estate small{color:#7b8392}.thermal-legend{display:flex;gap:12px;align-items:center;font-size:12px}.thermal-dot{width:9px;height:9px;border-radius:50%;background:#ff4025;display:inline-block;margin-right:4px}.estate-dot{background:#3949ab}#thermal-panel .source{font-size:11px;color:#7b8392;overflow-wrap:anywhere}#thermal-error{white-space:pre-wrap}.wf-map-pop{font:12px/1.6 Sarabun,sans-serif;min-width:200px}.wf-map-pop h3{font-size:14px;margin:0 0 6px}.wf-map-pop p{margin:4px 0}.wf-map-pop a{display:inline-block;color:#3949ab;margin-top:6px}
@media(max-width:900px){.wf-page .incident-columns{grid-template-columns:1fr}.wf-header{padding:12px 16px;align-items:flex-start;flex-direction:column;gap:10px}.wf-page main{padding:16px}.wf .metric-grid{grid-template-columns:1fr 1fr}.wf-page .page-top{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.wf .grid2{grid-template-columns:1fr}.wf .wide{grid-column:auto}.wf :is(input,select,textarea){font-size:16px}.thermal-controls{grid-template-columns:1fr 1fr}.thermal-controls label:first-child{grid-column:1/-1}.wf-page .record-facts{grid-template-columns:1fr}}
