@font-face{font-family:Noto Sans Thai;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansthai/v29/iJWQBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcdfKI2hX2g.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Sans Thai;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansthai/v29/iJWQBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcdfMo2hX2g.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Thai;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansthai/v29/iJWQBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcdfPI2h.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Thai;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansthai/v29/iJWQBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcdfKI2hX2g.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Sans Thai;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansthai/v29/iJWQBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcdfMo2hX2g.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Thai;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansthai/v29/iJWQBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcdfPI2h.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Thai;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansthai/v29/iJWQBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcdfKI2hX2g.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Sans Thai;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansthai/v29/iJWQBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcdfMo2hX2g.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Thai;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansthai/v29/iJWQBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcdfPI2h.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Thai;font-style:normal;font-weight:700;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansthai/v29/iJWQBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcdfKI2hX2g.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Noto Sans Thai;font-style:normal;font-weight:700;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansthai/v29/iJWQBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcdfMo2hX2g.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Thai;font-style:normal;font-weight:700;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansthai/v29/iJWQBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcdfPI2h.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Noto Sans Thai,system-ui,sans-serif;color:#203c49;background:#f5f8fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{height:86px;background:#fff;border-bottom:1px solid #e1e8ed;display:flex;align-items:center;padding:0 5%;gap:35px}.brand{display:flex;align-items:center;gap:12px;color:#0a8d74;text-decoration:none;font-size:29px;font-weight:700;letter-spacing:1px}.brand>span{font-size:21px;color:#213e48}.light{font-weight:400}.header-note{font-size:10px;letter-spacing:2px;color:#7a8c96}.connection{margin-left:auto;font-size:12px;color:#0c9278;padding:8px 13px;background:#eef9f4;border-radius:20px}.connection.warn{color:#9c6511;background:#fff5df}main{max-width:1280px;margin:auto;padding:46px 38px 22px}.intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:32px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:#0c9b82}h1{font-size:32px;margin:10px 0 7px;font-weight:600;letter-spacing:-1px}p{color:#7a8d98;font-size:13px;margin:0}.station{font-size:12px;text-decoration:none;color:#315360;border:1px solid #dbe4e9;background:#fff;border-radius:8px;padding:12px 16px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px}.metric{background:#fff;border:1px solid #e2e9ed;border-radius:13px;overflow:hidden;padding:23px 25px 0;box-shadow:0 4px 14px #213e4803}.metric-top{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#576e79}.icon{font-size:24px;width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#fff7e4;color:#bd871b}.usage .icon{background:#e9f8f2;color:#0a9b7a}.grid .icon{background:#edf3ff;color:#5485d8}.value{font-size:45px;letter-spacing:-1px;font-weight:600;margin:15px 0 20px;font-variant-numeric:tabular-nums}.value>span{font-size:17px;font-weight:400;letter-spacing:0;color:#8a9ba4}.metric-foot{border-top:1px solid #edf1f4;display:flex;justify-content:space-between;padding:14px 0;font-size:11px;color:#83959f}code{font-family:monospace;font-size:11px}.panel{background:#fff;border:1px solid #e2e9ed;border-radius:13px;margin-bottom:24px;padding:26px}.panel-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}h2{font-size:17px;margin:0 0 4px;font-weight:600}.panel-heading p{font-size:11px}.controls{display:flex;gap:8px;align-items:center}.controls label{font-size:11px;color:#7a8d98}select,button{font:inherit;font-size:11px;border:1px solid #dbe4e9;border-radius:7px;padding:9px 12px;background:#fff;color:#365762;cursor:pointer}button{color:#087d68}button:disabled{opacity:.5}.legend{display:flex;gap:24px;margin:28px 0 16px;font-size:11px;color:#6a808c}.legend span{display:flex;align-items:center;gap:7px}.legend i{width:7px;height:7px;border-radius:50%}.chart{height:240px;display:flex;gap:14px}.chart svg{width:100%;height:100%;overflow:visible}.scale{display:flex;flex-direction:column;justify-content:space-between;font-size:10px;color:#8b9ba6;min-width:28px}.chart-times{display:flex;justify-content:space-between;margin-left:42px;font-size:10px;color:#8b9ba6;margin-top:14px}.empty{height:230px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#8a9ba5;gap:7px;font-size:13px}.empty>span{font-size:48px;color:#bdd6cf}.empty strong{font-weight:500}.empty p{font-size:11px}.records{padding-bottom:8px}.unit{font-size:11px;color:#80939c}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;margin-top:22px;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}th{font-size:10px;font-weight:500;color:#7e929e;background:#f6f9fa}th,td{padding:14px 13px;text-align:right;border-bottom:1px solid #edf1f4}th:first-child,td:first-child{text-align:left}tbody tr:last-child td{border:0}.no-data{text-align:center!important;color:#94a4ad;padding:32px}footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#95a4ad;padding-top:8px}.notice{border:1px solid #eedbaa;background:#fff8e9;color:#906819;padding:12px 16px;border-radius:8px;font-size:12px;margin-bottom:18px}.notice.error{background:#fff1ed;border-color:#f1d2c8;color:#a4563e}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #71c9b8;outline-offset:3px}@media(max-width:760px){header{padding:0 20px;height:70px;gap:10px}.header-note{display:none}.brand>span{font-size:17px}.connection{font-size:10px}main{padding:28px 18px}.intro{align-items:flex-start;flex-direction:column}h1{font-size:27px}.metrics{grid-template-columns:1fr;gap:13px}.metric{padding:18px 20px 0}.value{font-size:38px;margin:8px 0 14px}.panel{padding:20px 15px}.panel-heading{align-items:flex-start;flex-direction:column}.controls{flex-wrap:wrap}.legend{gap:13px;flex-wrap:wrap}footer{flex-direction:column}.empty p{max-width:240px;text-align:center}}.polling-panel .poll-success{font-size:11px;margin-top:14px;color:#7a8d98}.polling-panel .notice{margin:15px 0 0}.polling-panel .controls>span{font-size:11px;color:#7a8d98}.login-page{min-height:100dvh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at top left,#e6f5ef,transparent 65%)}.login-card{width:min(440px,100%);padding:36px;box-shadow:0 20px 70px #244e3c0b}.login-card h1{margin:15px 0 8px}.login-form{display:flex;flex-direction:column;gap:20px;margin-top:26px}.login-form label,.admin-form label{font-size:12px;display:flex;flex-direction:column;gap:8px;color:#57717e}input{font:inherit;font-size:14px;border:1px solid #d5e0e6;border-radius:7px;padding:11px 13px;color:#294552;background:#fff;min-width:0}input:focus{outline:2px solid #79cbb7;outline-offset:1px}.login-form button{background:#10836e;color:#fff;padding:13px}.login-card .notice{margin:20px 0 0}.app-nav{max-width:1280px;margin:auto;padding:18px 38px 0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.app-nav button{border-color:transparent;background:transparent;color:#6c828c}.app-nav button.selected{background:#e3f3ec;color:#107e68}.nav-user{margin-left:auto;font-size:12px;color:#78909a}.station-picker{display:flex;gap:14px;align-items:center;margin-bottom:25px;font-size:12px}.station-picker select{min-width:240px}.admin-form{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap;margin:24px 0 4px}.admin-form label{flex:1;min-width:180px}.admin-form button{padding:12px 18px;background:#10836e;color:#fff}.user-card{padding:22px 0;border-top:1px solid #e5edef;margin-top:22px}.user-title{display:flex;gap:13px;align-items:center;margin-bottom:13px}.role-pill{border-radius:20px;font-size:10px;padding:4px 10px;background:#edf6f2;color:#24856b}.checkbox{display:flex;align-items:center;gap:9px;font-size:12px;margin:8px 0}.checkbox input{accent-color:#0c9477;min-width:auto;width:16px;height:16px}.checkbox small{color:#8b9ea7}fieldset{border:1px solid #e0e8ec;border-radius:8px;margin:20px 0 0;padding:13px 17px}legend{font-size:11px;color:#78909a;padding:0 7px}.permission-grid{display:flex;flex-wrap:wrap;gap:12px 28px}.station-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;font-size:11px;color:#65808c}.station-list>span{padding:8px 12px;border-radius:6px;background:#f2f7f8}.profile-panel{max-width:560px}.notice.success{background:#eaf7ef;color:#228564;border-color:#c8e7d5}@media(max-width:760px){.app-nav{padding:16px 18px 0;gap:4px}.nav-user{font-size:10px}.station-picker{align-items:flex-start;flex-direction:column;gap:7px}.station-picker select{width:100%;min-width:0}.login-card{padding:26px}.admin-form{flex-direction:column;align-items:stretch}.admin-form label{min-width:0}.permission-grid{display:block}}.iot-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.iot-form-grid label,.iot-station-label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#57717e}.iot-form-grid small{font-size:10px;color:#8a9da6}.iot-actions{margin:22px 0 5px;flex-wrap:wrap}.iot-actions button:first-child{background:#10836e;color:#fff}.iot-effective{background:#f4f8f9;padding:20px;border-radius:8px;margin:22px 0;font-size:12px}.iot-effective dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:18px 0 0}.iot-effective dt{font-size:10px;color:#8397a0}.iot-effective dd{margin:5px 0 0;overflow-wrap:anywhere}.iot-note{font-size:11px;line-height:1.9}.iot-config .notice{margin-top:20px}fieldset:disabled{opacity:.7}@media(max-width:760px){.iot-form-grid,.iot-effective dl{grid-template-columns:1fr}.iot-station-label{width:100%}}.home-update{display:flex;align-items:center;gap:9px;font-size:11px;color:#78909a;flex-wrap:wrap}.live-dot{width:6px;height:6px;background:#18a784;border-radius:50%}.home-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:30px}.home-summary>div{background:#fff;border:1px solid #e1e9ed;border-radius:12px;padding:21px 24px;display:flex;flex-direction:column;gap:10px}.home-summary>div>span{font-size:12px;color:#7b909a}.home-summary strong{font-size:29px;font-weight:600;font-variant-numeric:tabular-nums}.home-summary small{font-size:12px;font-weight:400;color:#92a2aa}.home-toolbar{display:flex;align-items:flex-end;gap:18px;margin-bottom:22px;flex-wrap:wrap}.station-search{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#7b909a;min-width:260px}.station-search input{background:#fff;font-size:12px}.result-count{font-size:11px;color:#8c9da6;align-self:center;margin-top:20px}.view-toggle{margin-left:auto;background:#eaf0f3;padding:4px;border-radius:9px;display:flex;gap:3px}.view-toggle button{background:transparent;border-color:transparent;color:#7d919d;padding:9px 17px}.view-toggle button.active{background:#fff;color:#15836c;box-shadow:0 2px 5px #1f3d4610}.station-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:22px}.station-card{background:#fff;border:1px solid #e0e9ed;border-radius:13px;box-shadow:0 4px 14px #213e4803;padding:23px;min-width:0}.station-card-top{display:flex;align-items:center;gap:12px}.station-avatar{background:#eaf7f0;color:#0d9b7b;border-radius:11px;display:grid;place-items:center;width:43px;height:43px;font-size:24px;flex-shrink:0}.station-card-top h2{font-size:15px;overflow-wrap:anywhere}.station-card-top p{font-size:10px}.station-state{background:#edf8f2;color:#16866c;border-radius:20px;padding:5px 10px;white-space:nowrap;font-size:10px;font-weight:400}.station-card-top .station-state{margin-left:auto}.station-state.attention{background:#fff5e2;color:#a77a20}.station-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:27px 0 24px}.station-reading{display:flex;flex-direction:column;gap:5px;min-width:0}.station-reading>span{color:#758c97;font-size:11px}.station-reading code{font-size:9px;color:#99a9b1;overflow-wrap:anywhere}.station-reading strong{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.7px;margin-top:6px}.station-reading small{font-size:10px;font-weight:400;color:#91a3ad;letter-spacing:0}.station-reading.solar strong{color:#ad841f}.station-reading.usage strong{color:#118b73}.station-reading.grid strong{color:#497fc1}.station-card-bottom{display:flex;gap:10px;align-items:center;justify-content:space-between;border-top:1px solid #edf2f4;padding-top:17px}.station-card-bottom>span{font-size:10px;color:#99a9b1}.station-card-bottom button{font-size:10px;padding:7px 10px}.station-list-panel{padding:0 0 5px;overflow:hidden}.stations-table{margin:0}.stations-table th,.stations-table td{padding:18px 20px}.stations-table th small{font-size:9px;color:#a0afb7;margin-left:3px}.station-id{display:block;font-size:10px;color:#99a9b1;margin-top:5px}.list-power{font-size:16px;font-weight:500}.home-footer{margin-top:28px;padding-top:0}@media(min-width:1100px){.station-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.home-summary{gap:9px}.home-summary>div{padding:15px 12px}.home-summary>div>span{font-size:10px}.home-summary strong{font-size:24px}.home-summary small{font-size:10px}.home-toolbar{gap:12px}.station-search{width:100%;min-width:0}.result-count{margin:0}.station-cards{grid-template-columns:1fr}.station-card{padding:20px 17px}.station-card-top{gap:9px}.station-card-top h2{font-size:13px}.station-card-top .station-state{font-size:9px;padding:5px 8px}.station-reading strong{font-size:23px}.home-intro{margin-bottom:22px}.view-toggle button{padding:8px 15px}}.station-admin-form{background:#f6f9fa;border:1px solid #e2eaee;border-radius:10px;padding:22px;margin:24px 0}.station-admin-form h3,.station-section-title{font-size:14px;font-weight:600;margin:0 0 20px}.station-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}.station-admin-grid label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#57717e}.station-admin-grid small{font-size:10px;color:#90a2ab}textarea{font:inherit;font-size:13px;color:#294552;background:#fff;border:1px solid #d5e0e6;border-radius:7px;padding:11px 13px;resize:vertical;min-height:85px;min-width:0}textarea:focus{outline:2px solid #79cbb7;outline-offset:1px}input:read-only{background:#edf2f4;color:#8397a1}.station-admin-form>.controls{margin-top:18px}.station-admin-form>.controls>button:first-child{background:#10836e;color:#fff}.managed-station{padding:22px 0;border-top:1px solid #e4ecef}.managed-station h3{font-size:15px;margin:0 0 10px;overflow-wrap:anywhere}.managed-station h3 small{color:#90a1ab;font-size:11px;font-weight:400;margin-left:8px}.station-description{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0 0}.station-description dt{font-size:11px;color:#91a1ab;margin-bottom:7px}.station-description dd{font-size:12px;margin:0;color:#52707e;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.danger-button{color:#b45e4b;border-color:#ebcdc5}.delete-confirm{background:#fff4f0;border:1px solid #efd4ca;border-radius:8px;padding:17px;margin-top:20px}.delete-confirm p{font-size:12px;color:#a35c48;line-height:1.8;margin-bottom:12px}.station-trash{background:#f6f8f9;padding:22px;border-radius:9px;margin-top:22px}.station-trash>h3{font-size:15px;margin-top:0}.trash-row{display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid #e0e8ec;padding:17px 0;margin-top:12px;font-size:12px}.trash-row p{font-size:10px;margin-top:4px}.station-address{font-size:11px;line-height:1.7;color:#8a9fa9;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:15px}.list-address{display:block;max-width:230px;font-size:10px;margin-top:7px;white-space:normal}@media(max-width:760px){.station-admin-grid,.station-description{grid-template-columns:1fr}.station-admin-form{padding:17px}.managed-station .panel-heading{gap:14px}.station-trash{padding:17px}.trash-row{align-items:flex-start}.list-address{max-width:180px}}
