:root{--navy:#102d42;--teal:#1b786f;--orange:#ef7548;--ink:#1e3647;--muted:#667d8b;--line:#e0e8ed;--bg:#f4f8fa;--card:#fff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'IBM Plex Sans Thai',Tahoma,sans-serif;font-size:14px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:260px;background:#112d42;color:#e3eef3;padding:29px 16px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:13px;padding:5px 9px 33px}.brand-mark{display:grid;place-items:center;background:#f1754b;border-radius:14px;width:42px;height:42px;font-size:30px;color:white}.brand strong{font-size:18px;letter-spacing:.7px}.brand strong span{color:#67d2c3}.brand small{display:block;font-size:11px;color:#abc3cf;margin-top:2px}.side-label{font-size:10px;letter-spacing:2px;color:#7fa5b7;margin:7px 13px 13px;font-weight:700}nav{display:grid;gap:5px}nav a{display:flex;align-items:center;gap:13px;color:#b5cbd5;text-decoration:none;padding:12px 13px;border-radius:10px;font-weight:500}nav a span{width:22px;height:22px;border-radius:6px;background:#26475b;display:grid;place-items:center;color:#b5cbd5;font-size:11px}nav a:hover,nav a.active{background:#24495a;color:#fff}nav a.active{box-shadow:inset 3px 0 #65d2bf}.side-foot{margin-top:auto;padding:18px 12px;border-top:1px solid #315064;color:#9bb8c6}.side-foot small{display:block;line-height:1.8;margin-top:10px}.online{font-size:12px}.online i{display:inline-block;background:#65d2bf;width:7px;height:7px;border-radius:50%;margin-right:5px}main{margin-left:260px;padding:31px 38px 0;max-width:1800px}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--teal);font-weight:700}h1{font-size:30px;line-height:1.2;margin:7px 0 6px;color:var(--navy)}header p{margin:0;color:var(--muted)}.header-chip{border:1px solid #c6e5da;color:#237e69;background:#e8f8f0;padding:8px 13px;border-radius:25px;font-size:11px;font-weight:700;white-space:nowrap}.filters,.cards,.grid2,.grid3{display:grid;gap:17px;margin-bottom:20px}.filters{grid-template-columns:repeat(4,minmax(0,1fr))}.filters.three{grid-template-columns:repeat(3,minmax(0,1fr))}.cards{grid-template-columns:repeat(4,minmax(0,1fr))}.grid2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:19px;box-shadow:0 4px 17px rgba(18,50,70,.035)}.card h2{font-size:17px;color:var(--navy);margin:0 0 11px}.card p{color:var(--muted);line-height:1.65}.kpi{position:relative;overflow:hidden;min-height:110px}.kpi:before{content:'';height:4px;position:absolute;top:0;left:0;right:0;background:var(--teal)}.kpi.orange:before{background:var(--orange)}.kpi.blue:before{background:#437fb3}.kpi.purple:before{background:#8069ae}.kpi span{display:block;font-size:12px;color:var(--muted)}.kpi strong{display:block;font-size:27px;color:var(--navy);margin-top:8px;line-height:1.15}.kpi small{color:#86a0ae;font-size:11px}label{font-size:12px;color:#59707e;font-weight:600;display:block;margin-bottom:6px}select,input{width:100%;background:#fff;border:1px solid #d8e3e8;border-radius:9px;padding:10px 11px;font:inherit;color:var(--ink);outline:none}select:focus,input:focus{border-color:#49a99a;box-shadow:0 0 0 3px #d5eee9}.filter{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 15px}.muted{color:var(--muted)}.note{background:#edf5f4;border-left:3px solid var(--teal);padding:12px 15px;border-radius:7px;color:#42616a;margin:12px 0 20px;font-size:12px}.warn{background:#fff6e9;border-left:3px solid #df9c46}.map-wrap{height:510px;border-radius:10px;overflow:hidden;background:#eaf3f5}.map-card{padding:12px}.map-foot{padding:8px 6px 0;color:var(--muted);font-size:12px}.table-wrap{overflow:auto;max-height:520px}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{position:sticky;top:0;background:#eef3f5;color:#35566a;font-weight:700;padding:11px 10px;white-space:nowrap;z-index:1}td{padding:9px 10px;border-bottom:1px solid #edf1f3;white-space:nowrap}tr:hover td{background:#f7fafb}tr.best td{background:#e6f5ed;font-weight:700}.pill{padding:3px 7px;background:#e9f3f4;border-radius:9px;color:#267671;font-size:11px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:12px 0}.section-head h2{margin:0;color:var(--navy);font-size:19px}.btn{display:inline-block;padding:9px 15px;border-radius:9px;background:#1b786f;color:#fff;text-decoration:none;font-weight:600;font-size:12px;border:0;cursor:pointer}.btn:hover{background:#125e57}.legend{display:flex;gap:17px;flex-wrap:wrap;color:#6e8290;font-size:12px}.legend i{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:5px}.chart{height:270px;width:100%}.chart svg{width:100%;height:100%}.screen-image{width:100%;height:auto;border-radius:9px;border:1px solid #e5edf0}.status-tag{font-size:11px;padding:5px 8px;border-radius:8px;background:#e9f5ed;color:#20764e}footer{text-align:center;color:#91a4ad;font-size:11px;padding:28px 0}.loading{background:#fff;padding:30px;border-radius:12px;color:#708896}.hypo-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.hypo-card{padding:15px;border-radius:12px;background:#f6f9fa;border:1px solid var(--line)}.hypo-card strong{display:block;color:var(--navy);font-size:17px}.hypo-card span{color:var(--muted);font-size:11px}.hypo-card em{display:block;color:var(--teal);font-size:20px;font-style:normal;font-weight:700;margin-top:8px}@media(max-width:1150px){.cards,.hypo-cards{grid-template-columns:repeat(2,1fr)}.filters{grid-template-columns:repeat(2,1fr)}.grid3{grid-template-columns:1fr 1fr}}@media(max-width:760px){.sidebar{position:relative;width:auto;min-height:0;padding:13px}.brand{padding:0 4px 12px}.side-label,.side-foot{display:none}nav{display:flex;overflow:auto}nav a{min-width:170px}main{margin-left:0;padding:20px}.grid2,.grid3,.cards,.filters,.filters.three,.hypo-cards{grid-template-columns:1fr}header{display:block}.header-chip{display:inline-block;margin-top:12px}}
.bar-list{display:flex;flex-direction:column;gap:10px;margin:16px 0}.bar-row{display:grid;grid-template-columns:120px minmax(0,1fr) 76px;gap:8px;align-items:center;font-size:13px}.bar-row>div{height:14px;background:#edf2f4;border-radius:5px;overflow:hidden}.bar-row i{display:block;height:100%;border-radius:5px}.bar-row b{text-align:right;font-weight:600}.heat{display:block;min-width:34px;padding:5px 2px;border-radius:3px;text-align:center}.sidebar nav a.active{background:#e7f3ef;color:#176d67;font-weight:700}

/* Methanon site theme: dark canvas, restrained borders, lime navigation accent. */
:root{--navy:#f4f7f3;--teal:#c9f365;--orange:#f49a62;--ink:#ecf3f0;--muted:#a8b8c0;--line:#2a3941;--bg:#0b1218;--card:#142027}
body{background:var(--bg);color:var(--ink);font-family:Manrope,'Noto Sans Thai',sans-serif}
.sidebar{background:#0b1218;color:var(--ink);border-right:1px solid var(--line);padding:21px 18px}
.brand{padding:0 8px 23px;text-decoration:none;color:var(--ink);border-bottom:1px solid var(--line);margin-bottom:23px}
.brand-mark{width:38px;height:38px;border-radius:9px;background:var(--teal);color:#0b1218;font-size:24px;font-weight:800}
.brand strong{font-size:15px;letter-spacing:1.6px}.brand small{font-size:8px;letter-spacing:1.7px;color:var(--muted)}
.project-name{margin:0 10px 22px;color:var(--teal);font-size:12px;font-weight:800;letter-spacing:1.2px;line-height:1.5}
.side-label{color:#83969d}nav a{color:#b7c6cb;border:1px solid transparent;border-radius:9px;font-weight:600}
nav a:hover,nav a.active,.sidebar nav a.active{background:#1b2b32;border-color:#394a4d;color:var(--teal);box-shadow:inset 3px 0 var(--teal)}
.side-foot{border-top-color:var(--line);color:var(--muted)}.online i{background:var(--teal)}
main{padding-top:36px}header{border-bottom-color:var(--line)}.eyebrow{color:var(--teal);font-size:11px}h1{color:var(--ink);font-size:33px}header p{color:var(--muted)}
.header-chip{background:#263525;border-color:#536b39;color:var(--teal);border-radius:8px;letter-spacing:.8px}
.card,.filter,.loading{background:var(--card);border-color:var(--line);box-shadow:none}
.card h2,.section-head h2,.hypo-card strong{color:var(--ink)}.card p,.muted,.map-foot,.legend,.hypo-card span{color:var(--muted)}
.kpi:before{background:var(--teal)}.kpi.orange:before{background:#f49a62}.kpi.blue:before{background:#8db7df}.kpi.purple:before{background:#bea3ec}
.kpi span,.kpi small{color:var(--muted)}.kpi strong{color:var(--ink)}
label{color:#c2d0d2}select,input{background:#0e191f;border-color:#34454b;color:var(--ink)}select:focus,input:focus{border-color:var(--teal);box-shadow:0 0 0 2px rgba(201,243,101,.15)}
.note{background:#1b2a2d;color:#c5d6d3;border-left-color:var(--teal)}.note.warn{background:#32291f;border-left-color:var(--orange)}
th{background:#223139;color:#e5efe7}td{border-bottom-color:#2a3941}tr:hover td{background:#1b2b32}tr.best td{background:#283a29;color:#eaf7d5}
.pill,.status-tag{background:#2a3b2b;color:var(--teal)}.btn{background:var(--teal);color:#0b1218}.btn:hover{background:#dafa83}
.hypo-card{background:#19272e;border-color:var(--line)}.hypo-card em{color:var(--teal)}.bar-row>div{background:#2c3b41}
.screen-image{border-color:var(--line)}.map-wrap{background:#192a31}footer{color:#81969e}.loading{color:var(--muted)}
@media(max-width:760px){.sidebar{border-right:0;border-bottom:1px solid var(--line)}.brand{margin-bottom:12px}.project-name{margin-bottom:10px}nav a{min-width:150px}}
.responsive-plot{width:100%;min-width:0;margin:12px 0 4px}.responsive-plot svg{display:block;width:100%;height:auto;max-height:340px;overflow:visible}.responsive-plot svg text{fill:var(--muted);font-size:12px}.plot-grid{stroke:var(--line);stroke-width:1}.plot-legend{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;color:var(--muted);font-size:12px;margin:8px 0}.plot-legend span{display:flex;align-items:center;gap:6px}.plot-legend i{width:11px;height:11px;border-radius:3px}.heatmap{display:grid;grid-template-columns:70px repeat(12,minmax(0,1fr));gap:5px;width:100%;overflow-x:auto;margin:16px 0}.heatmap>b{font-size:12px;text-align:center;align-self:center;color:var(--muted)}.heat-cell{min-width:30px;min-height:42px;border-radius:5px;display:grid;place-items:center;color:#fff;font-size:11px;cursor:help}.export-filter{display:flex;flex-direction:column;justify-content:space-between}.export-filter .btn{text-align:center}.bar-row{grid-template-columns:minmax(115px,190px) minmax(0,1fr) 78px}.bar-row span{overflow-wrap:anywhere}@media(max-width:760px){.heatmap{grid-template-columns:58px repeat(12,42px)}.bar-row{grid-template-columns:minmax(90px,130px) minmax(0,1fr) 65px;font-size:11px}.responsive-plot svg{min-height:210px}}
.live-section{border-color:#5f8137;margin-bottom:23px}.live-section>.section-head{margin:0 0 18px}.live-section .cards{margin-top:12px}.live-section .grid2>div{min-width:0}.live-section .grid2 h2{margin-top:0}.live-section>.table-wrap{max-height:340px}.live-section p:last-child{font-size:12px}
.arch-flow{display:flex;align-items:stretch;gap:9px;overflow-x:auto;padding:12px 0 20px}.arch-node{flex:1 0 148px;min-height:132px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:15px;border:1px solid #3a5052;border-radius:12px;background:#192a30}.arch-node strong{color:var(--ink);font-size:13px}.arch-node small{color:var(--muted);font-size:11px;line-height:1.4}.arch-icon{display:grid;place-items:center;min-width:34px;height:34px;padding:0 7px;border-radius:8px;background:#c9f365;color:#15221b;font-size:11px;font-weight:800}.arch-arrow{align-self:center;color:var(--teal);font-size:23px;flex:none}.arch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:20px 0}.arch-zone{min-width:0;border-top:3px solid var(--teal)}.arch-zone:nth-child(2){border-top-color:#f49a62}.arch-zone:nth-child(3){border-top-color:#8db7df}.arch-zone:nth-child(4){border-top-color:#bea3ec}.arch-zone-label{color:var(--teal);font-size:10px;font-weight:800;letter-spacing:1.5px;margin-bottom:8px}.arch-zone code{color:#d4eeaa;overflow-wrap:anywhere}.arch-mini{padding:12px;border-radius:8px;background:#0e191f;color:#c5d8dd;font-size:12px;line-height:1.6;overflow-wrap:anywhere}@media(max-width:760px){.arch-flow{flex-direction:column}.arch-node{flex-basis:auto;min-height:0}.arch-arrow{transform:rotate(90deg)}.arch-grid{grid-template-columns:1fr}}
.arch-diagram{overflow:auto;padding:12px;border:1px solid var(--line);border-radius:10px;background:#0e191f}.arch-diagram pre{margin:0}.arch-diagram svg{display:block;min-width:1100px;max-width:none;height:auto}.arch-caption{font-size:12px}.arch-source-fallback{white-space:pre-wrap;color:var(--muted);font:inherit}.arch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:20px 0}.arch-zone{min-width:0;border-top:3px solid var(--teal)}.arch-zone:nth-child(2){border-top-color:#f49a62}.arch-zone:nth-child(3){border-top-color:#8db7df}.arch-zone:nth-child(4){border-top-color:#bea3ec}.arch-zone-label{color:var(--teal);font-size:10px;font-weight:800;letter-spacing:1.5px;margin-bottom:8px}.arch-zone code{color:#d4eeaa;overflow-wrap:anywhere}.arch-mini{padding:12px;border-radius:8px;background:#0e191f;color:#c5d8dd;font-size:12px;line-height:1.6;overflow-wrap:anywhere}@media(max-width:760px){.arch-diagram svg{min-width:920px}.arch-grid{grid-template-columns:1fr}}
