:root{--paper:#f5f5ef;--ink:#203a31;--muted:#7d877e;--line:#e3e7dc;--green:#173e34;--lime:#d8e8af;--orange:#c37c42;--blue:#5e91a8;--white:#fff;--radius:19px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,select{cursor:pointer}button{transition:background .15s,transform .15s}button:hover{filter:brightness(.96)}button:active{transform:translateY(1px)}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #97b391;outline-offset:3px}[hidden]{display:none!important}.muted{color:var(--muted);font-size:14px;line-height:1.8}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;margin:0 0 14px}.green{color:#658568}.brand-symbol{font-size:31px;line-height:1;color:#799a6f}.button{border:0;border-radius:9px;padding:12px 18px;font-size:13px;font-weight:600}.primary{background:var(--green);color:#fff}.primary span{float:right}.full{width:100%}.quiet{background:transparent;color:#5a765e;margin-top:12px}.outline{border:1px solid #dce2d5;background:#fff;color:#4d6654}.error{color:#ad443b;font-size:13px;line-height:1.6;min-height:20px}.login-shell{min-height:100vh;display:grid;grid-template-columns:48% 52%}.login-art{position:relative;min-height:750px;background:#193d33;color:#e5efd9;overflow:hidden;padding:45px 50px}.art-top{display:flex;align-items:center;gap:16px;font-size:13px;letter-spacing:3px;position:relative;z-index:1}.orb{border-radius:50%;position:absolute;border:1px solid #b8d4a326}.orb-one{width:620px;height:620px;top:0;left:-90px;background:radial-gradient(ellipse at 65% 25%,#bdce8b25,transparent 65%)}.orb-two{width:430px;height:430px;top:95px;left:5px}.orb-three{width:240px;height:240px;top:190px;left:100px;background:#a5c38410}.art-copy{position:absolute;left:50px;bottom:150px}.art-copy .eyebrow{color:#9bb38b;font-size:9px}.art-copy h1{font-weight:500;font-size:46px;line-height:1.55;letter-spacing:4px;margin:20px 0}.art-copy p{color:#a9beaa;font-size:14px}.art-foot{position:absolute;bottom:35px;font-size:9px;letter-spacing:2px;color:#91a58f}.login-form-wrap{padding:70px 12%;display:flex;min-height:100vh;flex-direction:column;justify-content:center}.login-form-content{width:100%;max-width:360px;margin:auto}.login-form-content h2{font-size:30px;letter-spacing:2px;font-weight:600;margin:15px 0 10px}.login-form-content form{margin-top:38px}.login-form-content label{display:block;font-size:12px;font-weight:600;margin-bottom:12px}.login-form-content input{width:100%;padding:15px 16px;border-radius:8px;border:1px solid #d7ddcf;background:#fff;color:var(--ink);font-size:14px}.login-form-content .primary{padding:16px}.login-note{font-size:11px;color:#939b8e;text-align:center;margin:24px 0;line-height:1.8}.login-footer{font-size:9px;color:#929b8e;display:flex;justify-content:space-between;gap:20px;letter-spacing:1px}.mobile-brand{display:none}.topbar{background:#fcfcf8;border-bottom:1px solid var(--line)}.topbar-inner{max-width:1280px;margin:auto;padding:23px 46px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px}.brand strong{font-size:21px;letter-spacing:2px}.brand-en{font-size:10px;letter-spacing:2.4px;color:#89947d;margin-left:3px}.topbar nav{display:flex;align-items:center;gap:28px;font-size:12px}.nav-active{color:var(--green);font-weight:600}.text-button{background:none;border:0;color:#86917e;padding:0;font-size:12px}.topbar-divider{height:17px;width:1px;background:var(--line)}.dashboard{max-width:1280px;margin:auto;padding:42px 46px 20px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}.page-heading h1{font-size:32px;font-weight:600;letter-spacing:1px;margin:0 0 10px}.heading-dot{color:#a1b87b;font-size:40px;padding-left:5px}.page-heading p.muted{margin:0;font-size:12px}.date-box{text-align:right;display:flex;flex-direction:column;gap:9px;font-size:12px}.date-box .muted{font-size:11px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:12px}.device-control{display:flex;align-items:center;gap:13px;font-size:12px;min-width:0}.device-icon{font-size:28px;color:#6f8561}.device-control label{color:#7d8875}.device-control select{border:0;background:transparent;color:var(--green);font-weight:600;font-size:13px;max-width:210px;padding:7px 20px 7px 0;overflow:hidden;text-overflow:ellipsis}.pill{border-radius:20px;padding:6px 10px;font-size:10px;white-space:nowrap}.pill.online{color:#4d7444;background:#e6eddb}.pill.offline{color:#9b6e48;background:#f1e7da}.pill.neutral{color:#7d877e;background:#e9ece5}.metrics{display:grid;grid-template-columns:1fr 1fr .9fr;gap:18px;margin-bottom:28px}.metric-card{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);padding:23px 26px;background:#fff;min-height:200px}.temperature{background:#fbf5eb;border-color:#eae2d4}.humidity{background:#eef4f5;border-color:#dfe7e7}.metric-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#706e5b}.humidity .metric-top{color:#647c83}.metric-icon{width:29px;height:29px;border-radius:50%;background:#eadac12e;text-align:center;font-size:24px;color:var(--orange)}.humidity .metric-icon{background:#d6e3e7;color:var(--blue);font-size:22px}.metric-value{margin:14px 0 19px;position:relative;z-index:1;display:flex;align-items:baseline;gap:8px}.metric-value strong{font-size:52px;line-height:1.1;letter-spacing:-2px;font-weight:500;font-variant-numeric:tabular-nums}.temperature .metric-value strong{color:#9d6638}.humidity .metric-value strong{color:#416e7f}.metric-value>span{font-size:16px;color:#a38d73}.humidity .metric-value>span{font-size:12px;color:#7b99a0}.metric-bottom{position:relative;z-index:1;display:flex;align-items:center;gap:7px;color:#9b927f;font-size:10px}.humidity .metric-bottom{color:#7f989b}.small-dot{display:inline-block;width:5px;height:5px;border-radius:50%;flex-shrink:0}.warm{background:#b99063}.blue{background:#79a5b3}.green-dot{background:#76985d}.metric-decoration{width:130px;height:55px;position:absolute;right:0;bottom:4px;opacity:.45}.metric-decoration path{fill:none;stroke:#c49c6b;stroke-width:1.5}.humidity .metric-decoration path{stroke:#86b0b9}.device-card{background:var(--green);color:#e6ecd8;border-color:var(--green)}.device-card .metric-top{color:#b1c3ac}.signal-icon{font-size:14px;letter-spacing:3px;color:#a3bc87}.connection-value{font-size:27px;letter-spacing:1px;margin-top:23px;font-weight:500}.device-card p{font-size:10px;color:#a4b7a3;margin:9px 0 21px;line-height:1.6}.device-foot{display:flex;align-items:center;gap:10px;border-top:1px solid #bcd1b420;padding-top:12px;font-size:9px;color:#a4b89b}.device-foot strong{font-size:10px;letter-spacing:1px;margin-left:auto;color:#dbe6c5}.history-panel{border:1px solid var(--line);border-radius:var(--radius);background:#fdfefa;padding:27px 28px 0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.panel-heading .eyebrow{font-size:8px;letter-spacing:1.7px;margin-bottom:9px}.panel-heading h2{font-size:19px;font-weight:600;letter-spacing:1px;margin:0}.history-actions{display:flex;align-items:center;gap:13px}.range-tabs{display:flex;padding:3px;border-radius:8px;background:#f0f2e9;gap:2px}.range-tabs button{background:none;border:0;font-size:10px;color:#88917f;padding:8px 11px;border-radius:6px;white-space:nowrap}.range-tabs button.active{background:#fff;color:#425f42;box-shadow:0 1px 4px #2433220d}.export{font-size:10px;padding:10px 13px}.chart-topline{display:flex;justify-content:space-between;gap:10px;margin-top:26px}.legend{display:flex;gap:20px;font-size:10px;color:#87917e}.legend>span{display:flex;align-items:center;gap:6px}.legend i{width:12px;height:3px;border-radius:1px}.legend-temp{background:#bc8951}.legend-humidity{background:#6894a5}.chart-description{font-size:10px;color:#9ba38e}.chart-wrap{position:relative;margin-top:7px;min-height:230px}#history-chart{width:100%;height:auto;display:block;min-height:230px;overflow:visible}#history-chart text{font-family:inherit;fill:#8b9583;font-size:10px}.chart-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;font-size:15px;letter-spacing:1px;color:#728267}.chart-empty span{font-size:11px;color:#9da391;letter-spacing:0}.statistics{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);padding:20px 0 23px}.statistics>div{display:flex;flex-direction:column;gap:8px;padding-left:27px;border-right:1px solid var(--line)}.statistics>div:first-child{padding-left:0}.statistics>div:last-child{border:0}.statistics span{font-size:10px;color:#929b87}.statistics strong{font-size:17px;font-weight:500;color:#496046}.dashboard-footer{display:flex;justify-content:space-between;gap:15px;margin-top:25px;font-size:9px;color:#9aa28f}.dashboard-footer>span:first-child{letter-spacing:1px}.demo-banner{font-size:12px;background:#ede8d4;color:#80703d;padding:12px 16px;border-radius:9px;margin-bottom:25px}.dashboard-error{border:1px solid #e9c9c2;background:#fbefed;padding:10px 14px;border-radius:8px}.chart-grid{stroke:#e9eddf;stroke-width:1;stroke-dasharray:3 5}.chart-line{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.chart-point{stroke:#fff;stroke-width:1.3}@media(min-width:1500px){.login-art{padding:65px 70px}.art-copy{left:70px;bottom:170px}.art-copy h1{font-size:58px}}@media(max-width:900px){.dashboard{padding:28px 24px 20px}.topbar-inner{padding:20px 24px}.metrics{gap:12px}.metric-card{padding:20px}.metric-value strong{font-size:43px}.history-panel{padding:23px 20px 0}.panel-heading{align-items:flex-start}.history-actions{flex-wrap:wrap;justify-content:flex-end}.login-art{padding-left:30px}.art-copy{left:30px}.art-copy h1{font-size:36px}.login-form-wrap{padding:50px 10%}.chart-description{display:none}}@media(max-width:640px){.login-shell{grid-template-columns:1fr}.login-art{display:none}.login-form-wrap{padding:35px 26px;min-height:100dvh}.mobile-brand{display:block;color:var(--green);margin-bottom:60px;letter-spacing:3px;font-weight:600}.login-form-content{max-width:390px}.login-footer{padding-top:40px}.brand-en{display:none}.topbar-inner{padding:18px 20px}.topbar nav{gap:15px}.dashboard{padding:26px 18px 20px}.page-heading{align-items:flex-start;margin-bottom:24px}.page-heading h1{font-size:25px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.date-box{font-size:10px;max-width:105px;gap:7px;padding-top:2px}.date-box .muted{font-size:9px}.toolbar{flex-wrap:wrap}.device-control{gap:8px;flex-wrap:wrap}.device-control label{font-size:11px}.device-control select{max-width:140px}.toolbar>.button{padding:9px 11px;font-size:11px}.metrics{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.metric-card{padding:18px;min-height:175px}.metric-value strong{font-size:40px}.metric-value{gap:4px}.metric-value>span{font-size:13px}.humidity .metric-value>span{font-size:10px}.metric-bottom{font-size:9px}.metric-decoration{width:85px;opacity:.25}.device-card{grid-column:1 / -1;min-height:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px}.device-card .metric-top{grid-column:1 / -1}.connection-value{font-size:22px;margin-top:6px}.device-card p{margin:0;grid-column:1;line-height:1.8}.device-foot{grid-column:2;grid-row:2 / 4;border-top:0;padding:0;justify-content:flex-end}.device-foot>strong{margin-left:0}.history-panel{padding:22px 16px 0}.panel-heading{display:block}.history-actions{margin-top:18px;justify-content:space-between;gap:8px}.range-tabs button{padding:8px 9px}.export{padding:10px}.chart-topline{margin-top:22px}.chart-wrap{min-height:190px}#history-chart{min-height:190px}.statistics{grid-template-columns:repeat(3,1fr);row-gap:22px}.statistics>div{padding-left:12px}.statistics>div:nth-child(3){border:0}.statistics>div:nth-child(4){padding-left:0}.statistics strong{font-size:15px}.statistics span{font-size:9px}.dashboard-footer{flex-wrap:wrap;line-height:1.8}.dashboard-footer>span:nth-child(2){order:3;width:100%}.eyebrow{letter-spacing:1.5px}}

.date-range-form{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px;padding:14px 16px;background:#f3f5ed;border-radius:10px}.date-range-form label{display:flex;align-items:center;gap:8px;font-size:11px;color:#718368}.date-range-form input{border:1px solid #dce2d5;border-radius:6px;background:#fff;padding:7px 9px;color:#425f42;font:inherit}.date-range-form .button{padding:9px 13px;font-size:11px}.date-range-form>span{color:#929b87;font-size:10px}@media(max-width:640px){.date-range-form{padding:12px;gap:10px}.date-range-form label{flex:1 0 100%;justify-content:space-between}.date-range-form input{min-width:145px}.date-range-form>span{line-height:1.6;max-width:180px}}
