:root{color:#102445;font-synthesis:none;text-rendering:optimizelegibility;background:#f5fafc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html,body,#root{min-width:320px;min-height:100%;margin:0}body{background:linear-gradient(#fbfdfe 0%,#f3f9fc 55%,#edf7fb 100%);min-height:100vh}button,input{font:inherit}button{cursor:pointer}.loading-screen{color:#16355a;justify-content:center;align-items:center;gap:12px;min-height:100vh;display:flex}.loading-logo{color:#fff;background:linear-gradient(145deg,#19c9c6,#0797b7);border-radius:13px;place-items:center;width:44px;height:44px;display:grid}.login-page{background:linear-gradient(145deg,#f9fdff,#edf8fc);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex;position:relative;overflow:hidden}.login-decoration{filter:blur(1px);border-radius:50%;position:absolute}.login-decoration-a{background:radial-gradient(circle,#27ccdc2b,#27ccdc00);width:700px;height:700px;top:-360px;right:-180px}.login-decoration-b{background:radial-gradient(circle,#47aae521,#47aae500);width:600px;height:600px;bottom:-350px;left:-160px}.login-card{z-index:2;background:#fffffff0;border:1px solid #dbe8ee;border-radius:22px;width:100%;max-width:435px;padding:40px;position:relative;box-shadow:0 25px 80px #325b7421}.login-logo{color:#fff;background:linear-gradient(145deg,#21c9c4,#0498b8);border-radius:17px;place-items:center;width:59px;height:59px;margin-bottom:27px;display:grid;box-shadow:0 12px 30px #0aa4b533}.eyebrow{color:#05aeb2;letter-spacing:.15em;font-size:11px;font-weight:850}.login-card h1{color:#102445;margin:6px 0 8px;font-size:31px}.login-card p{color:#70859e;margin:0 0 29px;line-height:1.55}.login-card label{color:#425b76;gap:8px;margin-top:17px;font-size:13px;font-weight:700;display:grid}.login-card input{color:#132c4d;background:#f9fcfd;border:1px solid #d7e5eb;border-radius:10px;outline:none;width:100%;padding:13px 14px}.login-card input:focus{border-color:#14bfc1;box-shadow:0 0 0 3px #14bfc117}.login-error{color:#d84f5d;margin-top:14px;font-size:13px}.login-button{color:#fff;background:linear-gradient(90deg,#1fc9c3,#0ba6bd);border:0;border-radius:10px;width:100%;margin-top:23px;padding:14px;font-weight:800;box-shadow:0 10px 25px #0caeba2b}.topbar{z-index:20;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffe6;border-bottom:1px solid #e1edf2;justify-content:space-between;align-items:center;height:82px;padding:0 45px;display:flex;position:sticky;top:0}.brand,.topbar-actions,.sensor-card-head,.sensor-footer,.details-head,.details-title,.ranges,.app-footer{align-items:center;display:flex}.brand{gap:13px}.small-brand-icon{color:#fff;background:linear-gradient(145deg,#22c9c5,#0498b8);border-radius:14px;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 8px 20px #069ab42e}.brand>div:last-child,.user-info{display:grid}.brand strong{color:#102445;font-size:16px}.brand small,.user-info small{color:#788da5;font-size:11px}.topbar-actions{gap:10px}.user-info{text-align:right;margin-right:12px}.user-info strong{color:#102445;font-size:13px}.icon-button{color:#4d6884;background:#fff;border:1px solid #d9e7ed;border-radius:12px;place-items:center;width:43px;height:43px;display:grid;box-shadow:0 3px 10px #35566b0a}.icon-button:hover{color:#08a9b3;border-color:#aee0e3}.content{width:min(1500px,100% - 70px);margin:0 auto;padding:42px 0 50px}.overview{grid-template-columns:minmax(0,1fr) minmax(420px,46%);min-height:205px;margin-bottom:20px;display:grid;position:relative}.overview-copy{z-index:3;position:relative}.overview h1{color:#102445;letter-spacing:-.035em;margin:8px 0 7px;font-size:clamp(32px,4.2vw,48px);line-height:1.08}.overview p{color:#6b8099;margin:0;font-size:16px}.system-status{color:#638097;background:#ffffffc2;border:1px solid #d9e9ee;border-radius:999px;align-items:center;gap:9px;width:fit-content;margin-top:20px;padding:8px 14px;font-size:11px;display:flex}.system-status strong{color:#159692}.system-status-dot{background:#21d6aa;border-radius:50%;width:9px;height:9px;display:block;box-shadow:0 0 0 4px #21d6aa17}.system-status-separator{background:#d5e5eb;width:1px;height:15px}.overview-visual{min-height:185px;position:relative}.wave{pointer-events:none;border-radius:60% 40% 50% 50%;position:absolute;transform:rotate(-8deg)}.wave-one{background:linear-gradient(90deg,#3fd0e20a,#28b5e02e);width:720px;height:170px;top:7px;right:-120px}.wave-two{background:linear-gradient(90deg,#42dade05,#34bfe21f);width:630px;height:130px;top:64px;right:-85px}.wave-three{background:linear-gradient(90deg,#19c3d305,#28a8d91a);width:440px;height:90px;top:8px;right:-25px}.overview-stats-box{z-index:4;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffd1;border:1px solid #c4dfe9e6;border-radius:17px;grid-template-columns:1fr 1px 1fr;align-items:center;gap:21px;width:385px;height:105px;padding:17px 25px;display:grid;position:absolute;top:36px;right:0;box-shadow:0 15px 45px #315b7714}.overview-stat{color:#10aeb4;align-items:center;gap:15px;display:flex}.overview-stat span{color:#647e97;font-size:12px;display:grid}.overview-stat strong{color:#102445;font-size:25px;line-height:1}.overview-stat-divider{background:#d7e7ec;width:1px;height:50px}.sensor-grid{grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:20px;display:grid}.sensor-card{text-align:left;min-height:235px;color:inherit;background:linear-gradient(145deg,#fff,#fbfdfe);border:1px solid #dce8ed;border-radius:18px;padding:22px 24px;transition:transform .16s,border-color .16s,box-shadow .16s;position:relative;overflow:hidden;box-shadow:0 12px 32px #32536912}.sensor-card:hover{border-color:#9edcdf;transform:translateY(-3px);box-shadow:0 18px 40px #2e5e771a}.sensor-card.selected{background:linear-gradient(145deg,#fff 20%,#effcfc 100%);border-color:#22c8c6;box-shadow:0 15px 36px #18b5bb21}.sensor-card.selected:after{content:"";background:#42dad914;border-radius:50%;width:260px;height:100px;position:absolute;bottom:-20px;right:-70px;transform:rotate(-8deg)}.sensor-card-head{z-index:3;justify-content:space-between;align-items:flex-start;gap:12px;position:relative}.sensor-model{color:#6d839c;letter-spacing:.1em;font-size:11px;font-weight:850}.sensor-card h3{color:#102445;margin:6px 0 0;font-size:18px}.status-badge{border-radius:999px;align-items:center;gap:6px;padding:7px 13px;font-size:11px;font-weight:800;display:inline-flex}.status-badge.online{color:#078f76;background:linear-gradient(90deg,#d9fbef,#c7f8eb)}.status-badge.offline{color:#d9424d;background:linear-gradient(90deg,#ffeded,#ffe2e5)}.sensor-temperature{z-index:3;color:#102445;letter-spacing:-.045em;margin:33px 0 30px;font-size:43px;font-weight:780;position:relative}.sensor-footer{z-index:3;color:#627b94;justify-content:space-between;gap:10px;font-size:11px;position:relative}.sensor-footer span:first-child{align-items:center;gap:6px;display:flex}.sensor-decor-icon{z-index:1;color:#1fb9c61a;position:absolute;bottom:35px;right:32px}.sensor-offline .sensor-decor-icon{color:#6b99b712}.details{background:#fff;border:1px solid #dce8ed;border-radius:20px;margin-top:28px;padding:28px 28px 22px;box-shadow:0 15px 42px #2b536c12}.details-head{justify-content:space-between;align-items:flex-start;gap:25px}.details-title{align-items:flex-start;gap:13px}.history-icon{color:#0baeb5;background:linear-gradient(145deg,#dcf9f7,#edfafa);border-radius:13px;place-items:center;width:47px;height:47px;display:grid}.details h2{color:#102445;margin:4px 0 5px;font-size:23px}.details p{color:#6f849c;margin:0;font-size:13px}.ranges{background:#f9fcfd;border:1px solid #dce8ed;border-radius:11px;gap:4px;padding:4px}.ranges button{color:#5f7690;background:0 0;border:0;border-radius:8px;padding:8px 14px;font-size:11px;font-weight:750}.ranges button.active{color:#fff;background:linear-gradient(90deg,#24d0ca,#09a9bf);box-shadow:0 5px 14px #0bacbb29}.chart-panel{border-top:1px solid #edf3f6;min-height:385px;margin-top:20px;padding:10px 5px 0}.empty-chart{color:#7890a5;place-items:center;min-height:350px;font-size:13px;display:grid}.metrics{grid-template-columns:repeat(4,minmax(140px,1fr)) minmax(220px,1.3fr);gap:10px;margin-top:13px;display:grid}.metric-card,.normal-status-card{background:#fbfdfe;border:1px solid #e0ebef;border-radius:13px;min-height:78px;padding:12px 14px}.metric-card{grid-template-rows:auto auto;grid-template-columns:36px 1fr;align-items:center;column-gap:9px;display:grid}.metric-icon{color:#0aabb5;background:#e8f9f9;border-radius:10px;grid-row:1/3;place-items:center;width:36px;height:36px;display:grid}.metric-card span{color:#73899f;font-size:10px}.metric-card strong{color:#173457;font-size:17px}.metric-small-value{font-size:14px!important}.normal-status-card{color:#228e64;background:linear-gradient(90deg,#f1fcf6,#eafbf4);align-items:center;gap:12px;display:flex}.normal-status-icon{color:#16a673;background:#d6f6e8;border-radius:50%;flex:none;place-items:center;width:43px;height:43px;display:grid}.normal-status-card div:last-child{display:grid}.normal-status-card strong{font-size:13px}.normal-status-card span{color:#58a281;margin-top:3px;font-size:10px}.app-footer{color:#8094a8;justify-content:space-between;padding:25px 3px 0;font-size:10px}.app-footer div{color:#58768f;align-items:center;gap:7px;font-weight:700;display:flex}.spin{animation:.8s linear infinite rotate}@keyframes rotate{to{transform:rotate(360deg)}}@media (width<=1000px){.overview{grid-template-columns:1fr}.overview-visual{min-height:135px}.overview-stats-box{top:20px;left:0;right:auto}.wave{display:none}.metrics{grid-template-columns:repeat(2,1fr)}.normal-status-card{grid-column:span 2}}@media (width<=700px){.topbar{height:68px;padding:0 15px}.small-brand-icon{width:41px;height:41px}.user-info{display:none}.content{width:calc(100% - 26px);padding-top:28px}.overview h1{font-size:31px}.system-status{flex-wrap:wrap;align-items:flex-start}.system-status-separator{display:none}.overview-stats-box{width:100%}.sensor-grid{grid-template-columns:1fr}.details{padding:20px 15px}.details-head{flex-direction:column}.ranges{width:100%;overflow-x:auto}.ranges button{white-space:nowrap;flex:1}.metrics{grid-template-columns:1fr}.normal-status-card{grid-column:auto}.chart-panel{min-height:330px}.login-card{padding:28px}}.admin-toolbar{background:#ffffffdb;border:1px solid #dce9ee;border-radius:14px;justify-content:space-between;align-items:center;gap:15px;margin:0 0 20px;padding:12px 14px;display:flex;box-shadow:0 8px 25px #3153690a}.admin-toolbar-title{color:#6b8199;align-items:center;gap:8px;font-size:12px;font-weight:800;display:flex}.admin-toolbar-actions{flex-wrap:wrap;gap:8px;display:flex}.admin-button{color:#47647e;background:#fff;border:1px solid #d5e5eb;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 13px;font-size:11px;font-weight:800;display:inline-flex}.admin-button:hover{color:#099ca6;border-color:#8fd8dc}.admin-button.primary{color:#fff;background:linear-gradient(90deg,#20c9c5,#08a6bc);border-color:#0000;box-shadow:0 7px 18px #09abb824}.admin-button:disabled{opacity:.55;cursor:not-allowed}.modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1b314257;justify-content:center;align-items:center;padding:25px;display:flex;position:fixed;inset:0}.admin-modal{background:#fff;border:1px solid #d8e7ed;border-radius:20px;width:min(720px,100%);max-height:calc(100vh - 50px);padding:26px;overflow-y:auto;box-shadow:0 30px 100px #1c3e5438}.modal-head{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.modal-head h2{color:#102445;margin:5px 0 0;font-size:24px}.modal-close{color:#627b92;background:#fff;border:1px solid #dbe8ed;border-radius:10px;place-items:center;width:39px;height:39px;display:grid}.modal-error,.admin-global-error{color:#ba3847;background:#fff4f5;border:1px solid #f2cbd0;border-radius:10px;padding:11px 13px;font-size:12px}.modal-error{margin-bottom:17px}.form-grid{grid-template-columns:1fr 1fr;gap:15px;display:grid}.admin-form label,.new-user-form label{color:#506a83;gap:7px;font-size:11px;font-weight:800;display:grid}.admin-form input,.admin-form select,.new-user-form input{color:#163250;background:#fbfdfe;border:1px solid #d7e5eb;border-radius:9px;outline:none;width:100%;min-height:42px;padding:9px 11px}.admin-form input:focus,.admin-form select:focus,.new-user-form input:focus{border-color:#17b9bd;box-shadow:0 0 0 3px #17b9bd14}.input-suffix{background:#fbfdfe;border:1px solid #d7e5eb;border-radius:9px;align-items:center;display:flex;overflow:hidden}.input-suffix input{border:0;border-radius:0}.input-suffix span{color:#7890a5;padding:0 11px;font-size:11px}.access-section{border-top:1px solid #edf3f5;margin-top:23px;padding-top:20px}.access-section h3{color:#183655;margin:0 0 5px;font-size:14px}.access-section>p{color:#7a8fa4;margin:0 0 14px;font-size:11px}.access-list{gap:7px;display:grid}.access-row{cursor:pointer;background:#fbfdfe;border:1px solid #e0eaee;border-radius:10px;flex-direction:row;align-items:center;min-height:54px;padding:9px 12px;grid-template:none!important;gap:11px!important;display:flex!important}.access-row:hover{border-color:#a9dfe1}.access-row input{accent-color:#11afb5;width:17px!important;min-height:17px!important}.access-row>span{display:grid}.access-row strong{color:#24415f;font-size:12px}.access-row small{color:#8496a8;font-size:10px}.access-row.disabled{opacity:.5}.empty-access{color:#7c91a5;text-align:center;border:1px dashed #cfdee5;border-radius:10px;padding:18px;font-size:11px}.modal-actions{justify-content:flex-end;gap:8px;margin-top:23px;display:flex}.section-heading{color:#244460;align-items:center;gap:8px;font-size:13px;display:flex}.new-user-form{border-bottom:1px solid #e9f0f3;padding-bottom:22px}.user-form-grid{grid-template-columns:1fr 1fr;margin-top:14px}.create-user-button{align-self:end}.users-list{margin-top:22px}.user-admin-row{background:#fbfdfe;border:1px solid #e0eaee;border-radius:11px;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:65px;margin-top:9px;padding:9px 12px;display:grid}.user-avatar{color:#fff;background:linear-gradient(145deg,#21c8c3,#079eb9);border-radius:50%;place-items:center;width:39px;height:39px;font-weight:850;display:grid}.user-admin-info{min-width:0;display:grid}.user-admin-info strong{color:#173552;font-size:12px}.user-admin-info span{color:#8092a5;text-overflow:ellipsis;font-size:10px;overflow:hidden}.user-role{color:#4a718a;background:#eef5f8;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:800}.user-role.admin{color:#078e8c;background:#e4f8f6}.sensor-count{color:#70869b;align-items:center;gap:5px;min-width:77px;font-size:10px;display:flex}@media (width<=700px){.admin-toolbar{flex-direction:column;align-items:stretch}.admin-toolbar-actions{grid-template-columns:1fr;display:grid}.admin-button{width:100%}.modal-backdrop{align-items:flex-end;padding:0}.admin-modal{border-radius:20px 20px 0 0;width:100%;max-height:92vh;padding:20px 16px 24px}.form-grid,.user-form-grid{grid-template-columns:1fr}.modal-actions{grid-template-columns:1fr 1fr;display:grid}.user-admin-row{grid-template-columns:40px 1fr auto}.sensor-count{grid-column:2/4}}html,body,#root,.app-shell{width:100%;max-width:100%;overflow-x:hidden}.overview{overflow:hidden}.overview-copy,.overview-visual,.sensor-grid,.sensor-card,.details,.chart-panel{min-width:0}.recharts-responsive-container{min-width:0!important}@media (width<=700px){.topbar{height:64px;padding:0 12px}.brand{gap:8px}.brand strong{font-size:13px}.brand small{display:none}.small-brand-icon{border-radius:10px;width:38px;height:38px}.topbar-actions{gap:6px}.icon-button{width:37px;height:37px}.content{width:100%;padding:24px 12px 40px}.overview{min-height:auto;margin-bottom:18px;display:block}.overview h1{font-size:30px;line-height:1.08}.overview p{font-size:14px}.system-status{border-radius:12px;width:100%;margin-top:15px}.overview-visual{min-height:105px;margin-top:15px}.overview-stats-box{width:100%;height:95px;position:relative;inset:auto}.overview-stat{gap:9px}.overview-stat strong{font-size:21px}.sensor-grid{grid-template-columns:1fr;gap:12px}.sensor-card{min-height:195px;padding:18px}.sensor-temperature{margin:25px 0 22px;font-size:37px}.sensor-decor-icon{bottom:27px;right:20px}.admin-toolbar{margin-bottom:14px}.admin-toolbar-title{padding:2px 4px}.details{border-radius:15px;margin-top:15px;padding:18px 12px 14px}.details-title{gap:9px}.history-icon{width:40px;height:40px}.details h2{font-size:20px}.details p{word-break:break-word}.ranges{grid-template-columns:repeat(4,1fr);display:grid}.ranges button{padding:8px 5px;font-size:10px}.chart-panel{width:100%;min-height:300px;overflow:hidden}.metrics{grid-template-columns:1fr 1fr}.metric-card,.normal-status-card{min-width:0}.normal-status-card{grid-column:1/-1}.modal-backdrop{align-items:flex-end;padding:0}.admin-modal{border-radius:20px 20px 0 0;width:100%;max-width:none;max-height:92vh;padding:20px 15px 25px}.modal-head h2{font-size:21px}.form-grid,.user-form-grid{grid-template-columns:1fr}.modal-actions{grid-template-columns:1fr 1fr}.app-footer{flex-direction:column;align-items:flex-start;gap:5px}}@media (width<=420px){.overview h1{font-size:27px}.overview-stats-box{gap:12px;padding:13px}.metrics{grid-template-columns:1fr}.normal-status-card{grid-column:auto}.sensor-footer{flex-direction:column;align-items:flex-start}}*{box-sizing:border-box}html,body,#root{width:100%;min-width:0;max-width:100%}img,svg{max-width:100%}.content,.overview,.admin-toolbar,.sensor-grid,.details,.chart-panel{min-width:0;max-width:100%}@media (width<=760px){body{overflow-x:hidden}.topbar{height:auto;min-height:64px;padding:10px 14px}.brand{min-width:0}.brand strong{white-space:nowrap;font-size:14px}.brand small{font-size:10px}.topbar-user{display:none}.topbar-actions{margin-left:auto}.icon-button{flex:0 0 40px;width:40px;height:40px}.content{padding:24px 14px 30px}.overview{flex-direction:column;min-height:0;margin-bottom:18px;display:flex}.overview-copy{width:100%}.eyebrow{letter-spacing:.16em;font-size:10px}.overview h1{letter-spacing:-.035em;overflow-wrap:anywhere;margin-top:10px;font-size:clamp(28px,9vw,38px);line-height:1.02}.overview p{margin-top:10px;font-size:13px;line-height:1.45}.system-status{flex-wrap:wrap;row-gap:5px;width:fit-content;max-width:100%;margin-top:16px}.overview-visual{width:100%;min-height:0;margin-top:18px}.overview-stats-box{width:100%;min-height:92px;padding:16px;position:relative;inset:auto}.overview-stat{min-width:0}.overview-stat strong{font-size:23px}.admin-toolbar{flex-direction:column;align-items:stretch;padding:12px}.admin-toolbar-title{padding:2px 3px 7px}.admin-toolbar-actions{grid-template-columns:1fr;gap:8px;width:100%;display:grid}.admin-toolbar-actions .admin-button{justify-content:center;width:100%;min-height:44px}.sensor-grid{gap:13px;width:100%;grid-template-columns:1fr!important}.sensor-card{border-radius:17px;width:100%;min-width:0;min-height:190px;padding:18px}.sensor-card-head{gap:10px}.sensor-card h3{font-size:18px}.sensor-temperature{margin-top:25px;margin-bottom:23px;font-size:clamp(36px,12vw,46px)}.sensor-footer{gap:9px;font-size:10px}.details{border-radius:17px;width:100%;margin-top:16px;padding:18px 13px}.details-header{flex-direction:column;align-items:flex-start;gap:14px}.details-title{width:100%}.details-title h2{font-size:20px}.ranges{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;display:grid}.ranges button{white-space:nowrap;min-width:0;padding:9px 4px;font-size:10px}.chart-panel{width:100%;min-width:0;height:270px;overflow:hidden}.recharts-wrapper,.recharts-responsive-container{min-width:0!important;max-width:100%!important}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric-card{min-width:0;padding:13px}.normal-status-card{grid-column:1/-1}.app-footer{flex-direction:column;align-items:flex-start;gap:7px;padding:20px 14px}.modal-backdrop{align-items:flex-end;padding:0}.admin-modal{width:100%;max-width:none;max-height:94dvh;padding:20px 15px calc(20px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;margin:0}.modal-head{margin-bottom:17px}.modal-head h2{font-size:21px;line-height:1.15}.form-grid,.user-form-grid{grid-template-columns:1fr}.admin-form input,.admin-form select,.new-user-form input{min-height:46px;font-size:16px}.access-row{min-height:58px}.modal-actions{z-index:2;padding:12px 15px calc(12px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-top:1px solid #e7eef1;grid-template-columns:1fr 1fr;margin:20px -15px -20px;display:grid;position:sticky;bottom:0}.modal-actions .admin-button{width:100%;min-height:45px}.user-admin-row{grid-template-columns:40px minmax(0,1fr) auto;gap:9px}.sensor-count{grid-column:2/4}}@media (width<=430px){.topbar{padding-left:10px;padding-right:10px}.brand small{display:none}.content{padding-left:10px;padding-right:10px}.overview h1{font-size:29px}.overview-stats-box{gap:10px}.overview-stat{padding:0 6px}.overview-stat strong{font-size:21px}.sensor-card{padding:16px}.metrics{grid-template-columns:1fr}.normal-status-card{grid-column:auto}.ranges{grid-template-columns:1fr 1fr;gap:6px}.user-role{display:none}.user-admin-row{grid-template-columns:40px minmax(0,1fr)}.sensor-count{grid-column:2}}.chart-panel{height:370px;min-height:0!important}.chart-panel .recharts-responsive-container{width:100%!important;min-width:0!important;height:100%!important;min-height:0!important}.empty-chart{width:100%;height:100%;min-height:0}@media (width<=760px){.chart-panel{height:250px!important;min-height:0!important;max-height:250px!important;margin-top:14px!important;margin-bottom:14px!important;padding-top:8px!important}.chart-panel .recharts-responsive-container,.chart-panel .recharts-wrapper{height:100%!important;max-height:100%!important}}@media (width<=430px){.chart-panel{height:220px!important;min-height:0!important;max-height:220px!important}}.chart-panel{height:auto!important;min-height:0!important;max-height:none!important}@media (width<=760px){.content{padding-top:18px}.overview{margin-bottom:14px}.overview h1{margin-top:7px;font-size:28px;line-height:1.04}.overview p{margin-top:7px;font-size:12px}.system-status{margin-top:12px;padding:8px 10px;font-size:10px}.overview-visual{margin-top:12px}.overview-stats-box{height:78px;min-height:78px;padding:10px 12px}.overview-stat strong{font-size:20px}.overview-stat span{font-size:10px}.admin-toolbar{gap:7px;margin-bottom:12px;padding:10px}.admin-toolbar-title{padding:0 2px 5px;font-size:10px}.admin-toolbar-actions{gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))!important;display:grid!important}.admin-toolbar-actions .admin-button{min-height:44px;padding:6px 8px;font-size:10px;line-height:1.15}.admin-toolbar-actions .admin-button:nth-child(3){grid-column:1/-1}.sensor-grid{gap:10px}.sensor-card{border-radius:15px;min-height:155px!important;padding:14px!important}.sensor-card h3{font-size:17px}.sensor-temperature{line-height:1;margin:17px 0 13px!important;font-size:36px!important}.sensor-footer{justify-content:space-between;gap:8px;margin-top:auto;flex-direction:row!important;align-items:center!important}.sensor-decor-icon{transform-origin:100% 100%;transform:scale(.72)}.details{border-radius:15px;margin-top:12px!important;padding:14px 11px 12px!important}.details-head{gap:10px!important}.details-title{gap:9px}.history-icon{border-radius:10px;width:36px;height:36px}.details .eyebrow{font-size:8px}.details h2{margin:2px 0 3px;font-size:18px}.details p{font-size:10px;line-height:1.35}.ranges{gap:3px;width:100%;padding:3px;grid-template-columns:repeat(4,minmax(0,1fr))!important;display:grid!important}.ranges button{white-space:nowrap;min-width:0;min-height:40px;padding:0 2px!important;font-size:9px!important}.chart-panel{overflow:hidden;height:auto!important;min-height:0!important;max-height:none!important;margin-top:10px!important;margin-bottom:8px!important;padding:7px 0 0!important}.chart-panel .recharts-responsive-container{min-height:0!important;max-height:200px!important}.chart-panel .recharts-wrapper{max-height:200px!important}.empty-chart{height:200px!important;min-height:200px!important}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:7px!important;display:grid!important}.metric-card,.normal-status-card{border-radius:11px;min-height:64px!important;padding:8px 9px!important}.metric-card{grid-template-columns:30px minmax(0,1fr);column-gap:7px}.metric-icon{border-radius:8px;width:30px;height:30px}.metric-card span{font-size:9px}.metric-card strong{font-size:15px}.metric-small-value{font-size:11px!important}.normal-status-card{grid-column:1/-1!important}.normal-status-icon{width:34px;height:34px}.normal-status-card strong{font-size:11px}.normal-status-card span{font-size:9px}}@media (width<=430px){.overview h1{font-size:27px}.ranges{grid-template-columns:repeat(4,minmax(0,1fr))!important}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.normal-status-card{grid-column:1/-1!important}.sensor-card{min-height:150px!important}}@media (width<=760px){.chart-panel{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin-top:10px!important;margin-bottom:10px!important;padding:8px 0 0!important;display:block!important;overflow:visible!important}.chart-panel>.recharts-responsive-container{width:100%!important;min-width:0!important;max-width:100%!important;height:220px!important;min-height:220px!important;max-height:220px!important;display:block!important}.chart-panel .recharts-responsive-container .recharts-wrapper{width:100%!important;height:220px!important;min-height:220px!important;max-height:220px!important}.chart-panel svg.recharts-surface{width:100%!important;height:220px!important}.empty-chart{place-items:center!important;width:100%!important;height:220px!important;min-height:220px!important;display:grid!important}.metrics{margin-top:8px!important}}@media (width<=430px){.chart-panel>.recharts-responsive-container,.chart-panel .recharts-responsive-container .recharts-wrapper,.chart-panel svg.recharts-surface{height:210px!important;min-height:210px!important;max-height:210px!important}.empty-chart{height:210px!important;min-height:210px!important}}.mobile-temp-chart{display:none}@media (width<=760px){.chart-panel{height:auto!important;min-height:0!important;max-height:none!important;margin-top:10px!important;margin-bottom:8px!important;padding:8px 0 0!important;overflow:visible!important}.mobile-temp-chart{background:linear-gradient(#fbfeff,#f7fcfd);border-radius:12px;width:100%;padding:8px 5px 4px;display:block}.mobile-temp-chart svg{width:100%;height:auto;display:block;overflow:visible}.mobile-chart-grid{stroke:#dfecef;stroke-width:1px;stroke-dasharray:3 4;vector-effect:non-scaling-stroke}.mobile-chart-y-label,.mobile-chart-x-label{fill:#758ba1;font-size:9px;font-weight:600}.mobile-chart-area{fill:url(#mobileTemperatureFill)}.mobile-chart-line{fill:none;stroke:#10adb8;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.mobile-chart-last-dot{fill:#10adb8;stroke:#fff;stroke-width:2px;vector-effect:non-scaling-stroke}.mobile-chart-caption{color:#748ba1;justify-content:space-between;gap:10px;margin-top:1px;padding:0 8px 3px 40px;font-size:9px;font-weight:700;display:flex}.mobile-chart-empty{color:#748ba1;place-items:center;height:160px;font-size:11px;display:grid}}.readonly-input{cursor:not-allowed;color:#7890a5!important;background:#f1f5f7!important}.sensor-danger-zone{background:#fff8f8;border:1px solid #f1d1d5;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-top:22px;padding:14px;display:flex}.sensor-danger-zone>div{gap:4px;min-width:0;display:grid}.sensor-danger-zone strong{color:#a93a48;font-size:12px}.sensor-danger-zone span{color:#8b6970;max-width:440px;font-size:10px;line-height:1.4}.admin-button.danger{color:#b43a49;background:#fff;border-color:#efcbd0;flex:none}.admin-button.danger:hover{color:#fff;background:#c94a58;border-color:#c94a58}@media (width<=760px){.sensor-danger-zone{flex-direction:column;align-items:stretch}.sensor-danger-zone .admin-button{width:100%;min-height:44px}}.new-user-form select{color:#163250;background:#fbfdfe;border:1px solid #d7e5eb;border-radius:9px;outline:none;width:100%;min-height:42px;padding:9px 11px}.role-button{cursor:pointer;border:0}.role-button:hover{box-shadow:0 0 0 2px #0fabb51f}@media (width<=760px){.new-user-form select{min-height:46px;font-size:16px}}.topbar{overflow:visible}.account-menu-wrap{z-index:905;margin-left:auto;position:relative}.account-menu-backdrop{z-index:900;cursor:default;background:0 0;border:0;position:fixed;inset:0}.account-trigger{z-index:905;color:#183654;cursor:pointer;background:#fffffff0;border:1px solid #d9e7ec;border-radius:14px;align-items:center;gap:9px;min-height:48px;padding:5px 10px 5px 6px;display:flex;position:relative}.account-trigger:hover{background:#fff;border-color:#a8dfe2}.account-avatar{color:#fff;background:linear-gradient(145deg,#25cbc6,#08a5ba);border-radius:11px;flex:0 0 36px;place-items:center;width:36px;height:36px;font-size:14px;font-weight:850;display:grid}.account-avatar.large{border-radius:13px;flex-basis:45px;width:45px;height:45px;font-size:17px}.account-trigger-copy{text-align:left;min-width:0;display:grid}.account-trigger-copy strong{text-overflow:ellipsis;white-space:nowrap;color:#163452;max-width:170px;font-size:12px;overflow:hidden}.account-trigger-copy small{color:#8093a5;font-size:9px}.account-chevron{color:#71889d;transition:transform .16s}.account-chevron.open{transform:rotate(180deg)}.account-dropdown{z-index:910;background:#fff;border:1px solid #dae8ed;border-radius:16px;width:310px;padding:10px;position:absolute;top:calc(100% + 9px);right:0;box-shadow:0 22px 65px #1a40562e}.account-dropdown-head{align-items:center;gap:11px;padding:9px;display:flex}.account-dropdown-head>div:last-child{min-width:0;display:grid}.account-dropdown-head strong{text-overflow:ellipsis;white-space:nowrap;color:#163452;font-size:13px;overflow:hidden}.account-dropdown-head span{text-overflow:ellipsis;white-space:nowrap;color:#73899f;margin-top:2px;font-size:10px;overflow:hidden}.account-dropdown-head small{color:#098f91;background:#e8f9f7;border-radius:999px;width:fit-content;margin-top:6px;padding:4px 7px;font-size:8px;font-weight:800}.account-menu-divider{background:#edf2f4;height:1px;margin:7px 4px}.account-menu-item{color:#405f79;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;width:100%;min-height:43px;padding:8px 10px;font-size:11px;font-weight:750;display:flex}.account-menu-item:hover{color:#069ca6;background:#f0fbfb}.account-menu-item-copy{min-width:0;display:grid}.account-menu-item-copy strong{color:inherit;font-size:11px}.account-menu-item-copy small{text-overflow:ellipsis;white-space:nowrap;color:#8498aa;font-size:9px;font-weight:600;overflow:hidden}.account-menu-item.logout-item{color:#b34a57}.account-menu-item.logout-item:hover{color:#b13848;background:#fff3f4}@media (width<=760px){.account-trigger{border-radius:12px;min-height:44px;padding:4px 8px 4px 5px}.account-avatar{flex-basis:34px;width:34px;height:34px}.account-trigger-copy strong{max-width:105px;font-size:10px}.account-trigger-copy small{display:none}.account-dropdown{width:min(320px,100vw - 20px);right:0}}@media (width<=430px){.account-trigger-copy{display:none}.account-trigger{gap:4px}.account-chevron{width:14px}}.topbar-quick-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.topbar-quick-button{color:#47657e;cursor:pointer;background:#fff;border:1px solid #d8e7ec;border-radius:13px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:0 14px;font-size:11px;font-weight:800;display:inline-flex}.topbar-quick-button:hover{color:#079da7;border-color:#9edcdf}.topbar-quick-button.add{color:#fff;background:linear-gradient(90deg,#22c9c5,#08a8bc);border-color:#0000;box-shadow:0 7px 18px #09abb824}.topbar-quick-button.refresh{width:46px;padding:0}@media (width<=760px){.topbar-quick-actions{gap:6px}.topbar-quick-button{min-height:42px}.topbar-quick-button.add{width:42px;padding:0}.topbar-quick-button.add span{display:none}.topbar-quick-button.refresh{width:42px}}@media (width>=761px){.modal-backdrop{align-items:flex-start!important;padding-top:85px!important;padding-bottom:35px!important;overflow-y:auto!important}.admin-modal{max-height:calc(100vh - 120px)!important}}.modal-backdrop{z-index:10000!important;justify-content:center!important;width:100vw!important;height:100dvh!important;display:flex!important;position:fixed!important;inset:0!important;overflow-y:auto!important}@media (width>=761px){.modal-backdrop{align-items:flex-start!important;padding:110px 24px 40px!important}.admin-modal{width:min(720px,100%)!important;max-height:calc(100dvh - 150px)!important;margin:0 auto!important;position:relative!important;overflow-y:auto!important}}@media (width<=760px){.modal-backdrop{align-items:flex-end!important;padding:0!important}.admin-modal{border-radius:22px 22px 0 0!important;width:100%!important;max-height:94dvh!important;margin:0!important}}.system-settings-form{gap:18px}.notification-settings-card{flex-direction:column;gap:18px;display:flex}.section-heading>div{flex-direction:column;gap:2px;display:flex}.section-subtitle{color:#7c96a7;font-size:12px;font-weight:500}.notification-toggle-row{background:#f8fcfc;border:1px solid #dcebed;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;padding:16px 18px;flex-direction:row!important;display:flex!important}.notification-toggle-row>div{flex-direction:column;gap:4px;display:flex}.notification-toggle-row strong{color:#29475e}.notification-toggle-row span{color:#7891a1;font-size:12px;line-height:1.45}.notification-toggle-row input[type=checkbox]{cursor:pointer;accent-color:#12b9bd;flex:none;width:20px;height:20px}.telegram-fields{grid-template-columns:1fr;gap:14px;display:grid}.telegram-fields label{flex-direction:column;gap:7px;display:flex}.telegram-fields input{width:100%}.token-status{border-radius:9px;width:fit-content;padding:7px 10px;font-size:12px;font-weight:700}.token-status.configured{color:#087f72;background:#eafaf6;border:1px solid #c9eee6}.notification-security-note{color:#718999;background:#fbfdfd;border:1px solid #e4edf0;border-radius:11px;padding:12px 14px;font-size:12px;line-height:1.5}.modal-success{color:#087f72;background:#eafaf6;border:1px solid #c9eee6;border-radius:11px;padding:12px 14px;font-size:13px;font-weight:700}.system-settings-actions{flex-wrap:wrap}@media (width<=760px){.notification-toggle-row{padding:14px}.system-settings-actions{grid-template-columns:1fr 1fr;display:grid!important}.system-settings-actions .primary{grid-column:1/-1}}.temperature-alert-settings{background:linear-gradient(#f8fdfdf5,#fffffffa);border:1px solid #dcebed;border-radius:16px;flex-direction:column;gap:16px;padding:18px;display:flex}.alert-settings-head{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.alert-settings-head h3{color:#28485f;margin:3px 0}.alert-settings-head p{color:#7891a1;max-width:460px;margin:0;font-size:12px;line-height:1.45}.alert-settings-eyebrow{letter-spacing:.12em;color:#0ba9b2;font-size:10px;font-weight:900}.alert-master-toggle{white-space:nowrap;background:#effafa;border:1px solid #cfe8e8;border-radius:10px;align-items:center;gap:8px;padding:8px 11px;flex-direction:row!important;display:flex!important}.alert-master-toggle input,.alert-option-row input{accent-color:#11b8bb;cursor:pointer;width:19px;height:19px}.alert-master-toggle span{color:#17858c;font-size:12px;font-weight:800}.temperature-threshold-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.threshold-card{border-radius:13px;flex-direction:column;gap:12px;padding:14px;display:flex}.threshold-card.low{background:#f7fbfe;border:1px solid #d7e9f4}.threshold-card.high{background:#fffaf8;border:1px solid #f1dfd8}.threshold-card-title{color:#38586c;text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:900}.threshold-card label{flex-direction:column;gap:6px;display:flex}.threshold-card label>span{color:#587387;font-size:12px;font-weight:700}.alert-timing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.alert-option-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.alert-option-row{background:#fbfdfd;border:1px solid #e0ecef;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:13px 14px;flex-direction:row!important;display:flex!important}.alert-option-row>div{flex-direction:column;gap:3px;display:flex}.alert-option-row strong{color:#38576c;font-size:13px}.alert-option-row span{color:#8297a5;font-size:11px;line-height:1.35}.threshold-order-note{color:#78909f;background:#f5f9fa;border-radius:10px;padding:10px 12px;font-size:11px;line-height:1.5}.threshold-order-note strong{color:#4e697b}.alert-settings-loading{text-align:center;color:#75909f;padding:20px;font-size:13px}@media (width<=760px){.temperature-alert-settings{padding:14px}.alert-settings-head{align-items:center}.temperature-threshold-grid,.alert-timing-grid,.alert-option-list{grid-template-columns:1fr}}.sensor-card.sensor-state-normal{transition:border-color .25s,box-shadow .25s,background .25s,transform .2s}.sensor-card.sensor-state-warning{background:linear-gradient(145deg,#fffdf6 0%,#fff8e4 100%);border-color:#efb640;animation:2.5s ease-in-out infinite sensor-warning-breathe}.sensor-card.sensor-state-warning.selected{border-color:#e9a817}.sensor-state-warning .sensor-decor-icon{color:#e19d181f}.sensor-card.sensor-state-critical{background:linear-gradient(145deg,snow 0%,#fff0f0 100%);border-color:#ef5b5b;animation:1.55s ease-in-out infinite sensor-critical-breathe}.sensor-card.sensor-state-critical.selected{border-color:#e33434}.sensor-state-critical .sensor-temperature{color:#d72525}.sensor-state-critical .sensor-decor-icon{color:#dd2d2d1f}.sensor-card.sensor-state-offline{background:linear-gradient(145deg,#fbfcfd 0%,#f8eeee 100%);border-color:#df7777;animation:2.8s ease-in-out infinite sensor-offline-breathe}.sensor-state-offline .sensor-decor-icon{color:#9241411a}.status-badge.warning{color:#9b6800;background:#fff5d8;border-color:#f3cf7d}.status-badge.critical{color:#bf2525;background:#fff0f0;border-color:#f2a1a1}.status-badge.offline{color:#9b4545;background:#f8eeee;border-color:#e9b2b2}.status-badge.normal{color:#178466;background:#eefbf6;border-color:#b9eadb}.sensor-alert-strip{border-radius:999px;align-items:center;gap:7px;width:fit-content;max-width:calc(100% - 4px);margin-top:8px;padding:5px 9px;font-size:10px;font-weight:800;line-height:1.2;display:flex}.sensor-alert-strip.warning{color:#986500;background:#ffe69e8c}.sensor-alert-strip.critical{color:#bc2828;background:#ffd0d09e}.sensor-alert-strip.offline{color:#914747;background:#e8d2d29e}.sensor-alert-pulse-dot{background:currentColor;border-radius:50%;flex:none;width:7px;height:7px;animation:1.4s ease-out infinite sensor-dot-pulse;box-shadow:0 0}.normal-status-card.sensor-health-card{transition:color .25s,background .25s,border-color .25s,box-shadow .25s}.normal-status-card.health-normal{color:#228e64;background:linear-gradient(90deg,#f1fcf6,#eafbf4);border-color:#d7eee4}.normal-status-card.health-warning{color:#956300;background:linear-gradient(90deg,#fffaf0,#fff3ce);border-color:#efd78f;animation:2.5s ease-in-out infinite health-warning-breathe}.normal-status-card.health-critical{color:#bd2424;background:linear-gradient(90deg,#fff7f7,#ffe8e8);border-color:#f1aaaa;animation:1.55s ease-in-out infinite health-critical-breathe}.normal-status-card.health-offline{color:#914747;background:linear-gradient(90deg,#fafafa,#f5eaea);border-color:#e6b2b2;animation:2.8s ease-in-out infinite health-offline-breathe}.health-warning .sensor-health-icon{color:#c78a08;background:#ffecb7}.health-critical .sensor-health-icon{color:#d72a2a;background:#ffd7d7}.health-offline .sensor-health-icon{color:#a34c4c;background:#eedada}@keyframes sensor-warning-breathe{0%,to{box-shadow:0 15px 42px #2b536c12,0 0 #e6a62000}50%{box-shadow:0 15px 42px #2b536c12,0 0 0 5px #e6a6201c,0 0 25px #e6a62026}}@keyframes sensor-critical-breathe{0%,to{box-shadow:0 15px 42px #2b536c12,0 0 #e1333300}50%{box-shadow:0 16px 46px #aa232321,0 0 0 6px #e133331f,0 0 32px #e1333338}}@keyframes sensor-offline-breathe{0%,to{opacity:.88;box-shadow:0 12px 35px #2b536c0d}50%{opacity:1;box-shadow:0 14px 40px #8e39391f,0 0 0 4px #ae414112}}@keyframes sensor-dot-pulse{0%{box-shadow:0 0}70%{box-shadow:0 0 0 6px #0000}to{box-shadow:0 0 #0000}}@keyframes health-warning-breathe{50%{box-shadow:inset 0 0 0 1px #d3991714,0 0 20px #dda62517}}@keyframes health-critical-breathe{50%{box-shadow:inset 0 0 0 1px #d3313114,0 0 24px #d7303024}}@keyframes health-offline-breathe{50%{box-shadow:0 0 20px #94414117}}@media (prefers-reduced-motion:reduce){.sensor-card.sensor-state-warning,.sensor-card.sensor-state-critical,.sensor-card.sensor-state-offline,.sensor-alert-pulse-dot,.normal-status-card.health-warning,.normal-status-card.health-critical,.normal-status-card.health-offline{animation:none!important}}.password-change-card{max-width:470px}.password-change-card h1{margin-bottom:8px}.password-requirement{color:#397087;background:#f1fbfc;border:1px solid #cde7ec;border-radius:10px;margin:-10px 0 8px;padding:11px 13px;font-size:12px;font-weight:700;line-height:1.45}.password-change-logout{color:#607a91;background:0 0;border:0;width:100%;margin-top:10px;padding:11px;font-size:12px;font-weight:750}.password-change-logout:hover{color:#159ca7}.admin-success-toast{z-index:10000;color:#176c54;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f1fdf7fa;border:1px solid #b9e8d6;border-radius:13px;align-items:center;gap:11px;min-width:290px;max-width:calc(100vw - 32px);padding:14px 18px;font-size:13px;font-weight:800;animation:.24s ease-out admin-success-enter;display:flex;position:fixed;top:24px;left:50%;transform:translate(-50%);box-shadow:0 14px 38px #23695429}.admin-success-check{color:#fff;background:#21b886;border-radius:50%;flex:none;place-items:center;width:25px;height:25px;font-size:15px;font-weight:900;display:grid}@keyframes admin-success-enter{0%{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translate(-50%)}}@media (width<=600px){.admin-success-toast{width:calc(100vw - 28px);min-width:0;top:14px}}@media (prefers-reduced-motion:reduce){.admin-success-toast{animation:none}}.alarm-history-panel{background:#ffffffd1;border:1px solid #dce9ee;border-radius:20px;margin-top:22px;padding:22px}.alarm-history-head{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.alarm-history-head h3{margin:3px 0 4px;font-size:20px}.alarm-history-head p{color:#7890a2;margin:0;font-size:13px}.alarm-history-list{gap:9px;display:grid}.alarm-history-row{background:#fff;border:1px solid #e1ebef;border-left-width:4px;border-radius:14px;grid-template-columns:minmax(220px,1.5fr) minmax(145px,.9fr) minmax(145px,.9fr) minmax(115px,.65fr) auto;align-items:center;gap:14px;padding:14px 15px;display:grid}.alarm-history-warning{border-left-color:#e6a821}.alarm-history-critical{border-left-color:#dc4d5a}.alarm-history-offline{border-left-color:#718096}.alarm-history-main{align-items:center;gap:11px;display:flex}.alarm-history-main strong{color:#29495b;font-size:14px;display:block}.alarm-history-main span:not(.alarm-history-dot){color:#7b919f;margin-top:3px;font-size:12px;display:block}.alarm-history-dot{border-radius:50%;flex:0 0 10px;width:10px;height:10px}.alarm-history-dot.warning{background:#e6a821}.alarm-history-dot.critical{background:#dc4d5a}.alarm-history-dot.offline{background:#718096}.alarm-history-time span,.alarm-history-duration span{color:#8a9eab;text-transform:uppercase;margin-bottom:3px;font-size:11px;display:block}.alarm-history-time strong,.alarm-history-duration strong{color:#405e6e;font-size:12px}.alarm-history-status{text-align:center;border-radius:999px;min-width:94px;padding:7px 10px;font-size:11px;font-weight:750}.alarm-history-status.active{color:#b12f42;background:#fff0f2}.alarm-history-status.recovered{color:#16806e;background:#eaf8f5}.alarm-history-empty{color:#8195a2;text-align:center;border:1px dashed #d5e4ea;border-radius:14px;padding:26px 16px}@media (width<=760px){.alarm-history-head{flex-direction:column}.alarm-history-row{grid-template-columns:1fr}}.user-password-reset-button{color:#526f80;font:inherit;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d5e4ea;border-radius:10px;padding:7px 11px;font-size:12px;font-weight:700;transition:border-color .15s,background .15s,color .15s}.user-password-reset-button:hover:not(:disabled){color:#0b929a;background:#eefafa;border-color:#16b7bd}.user-password-reset-button:disabled{opacity:.55;cursor:not-allowed}@media (width<=760px){.user-password-reset-button{width:100%}}.topbar-controls{align-items:center;gap:10px;display:flex}.theme-toggle{color:#34546b;background:#ffffffdb;border:1px solid #d8e7ec;border-radius:12px;flex:0 0 42px;place-items:center;width:42px;height:42px;padding:0;transition:color .18s,background .18s,border-color .18s,transform .18s;display:grid;box-shadow:0 4px 14px #244f670f}.theme-toggle:hover{color:#079fa8;background:#f1fbfb;border-color:#9edcdf;transform:translateY(-1px)}.theme-toggle-icon{font-size:22px;line-height:1;display:block}html[data-theme=dark]{color:#dce8f0;background:#07131d}html[data-theme=dark] body{color:#dce8f0;background:radial-gradient(circle at 80% 0,#0da2ae17,#0000 35%),linear-gradient(#07131d 0%,#091823 55%,#0b1b27 100%)}html[data-theme=dark] .app-shell{color:#dce8f0}html[data-theme=dark] .topbar{background:#08141ef0;border-bottom-color:#203542;box-shadow:0 7px 28px #0000001f}html[data-theme=dark] .brand strong{color:#edf5f8}html[data-theme=dark] .brand small{color:#7894a6}html[data-theme=dark] .theme-toggle{color:#f2d37a;box-shadow:none;background:#102330;border-color:#29424f}html[data-theme=dark] .theme-toggle:hover{color:#ffe495;background:#16303e;border-color:#3a5a68}html[data-theme=dark] .app-shell h1,html[data-theme=dark] .app-shell h2,html[data-theme=dark] .app-shell h3,html[data-theme=dark] .app-shell h4{color:#e9f2f7}html[data-theme=dark] .app-shell p{color:#8da5b6}html[data-theme=dark] .overview-copy>p,html[data-theme=dark] .details-head p{color:#829cac}html[data-theme=dark] .system-status{color:#8fa7b7}html[data-theme=dark] .overview-stats-box{color:#e8f2f7;background:#0d1f2bd1;border-color:#27404d;box-shadow:0 18px 55px #00000029}html[data-theme=dark] .sensor-card{color:#dce8f0;background:linear-gradient(145deg,#0e202c,#0a1822);border-color:#263d4a;box-shadow:0 10px 30px #00000024}html[data-theme=dark] .sensor-card:hover{border-color:#3b5966;box-shadow:0 14px 34px #0003}html[data-theme=dark] .sensor-card.selected{border-color:#24bfc2;box-shadow:0 0 0 1px #24bfc22e,0 16px 38px #0000002e}html[data-theme=dark] .sensor-card strong,html[data-theme=dark] .sensor-card h3{color:#e8f1f6}html[data-theme=dark] .details,html[data-theme=dark] .details-panel,html[data-theme=dark] .chart-panel,html[data-theme=dark] .history-panel{color:#dce8f0;background:#0d1d28eb;border-color:#263e4b}html[data-theme=dark] .ranges button:hover{color:#5ed9d5;border-color:#33717a}html[data-theme=dark] .recharts-cartesian-grid line{stroke:#263b47}html[data-theme=dark] .recharts-cartesian-axis-line,html[data-theme=dark] .recharts-cartesian-axis-tick-line{stroke:#304653}html[data-theme=dark] .recharts-text{fill:#819aaa}html[data-theme=dark] .recharts-default-tooltip{color:#dce8f0!important;background:#10232f!important;border-color:#304957!important}html[data-theme=dark] .metric,html[data-theme=dark] .metric-card,html[data-theme=dark] .health-card{color:#dce8f0;background:#0d1d28;border-color:#263d49}html[data-theme=dark] .metric strong,html[data-theme=dark] .metric-card strong,html[data-theme=dark] .health-card strong{color:#edf5f8}html[data-theme=dark] .alarm-history-panel{background:#0d1d28e6;border-color:#263d49}html[data-theme=dark] .alarm-history-head p{color:#819aaa}html[data-theme=dark] .alarm-history-row{background:#101f2a;border-top-color:#273d49;border-bottom-color:#273d49;border-right-color:#273d49}html[data-theme=dark] .alarm-history-main strong{color:#e6f0f5}html[data-theme=dark] .alarm-history-main span:not(.alarm-history-dot),html[data-theme=dark] .alarm-history-time span,html[data-theme=dark] .alarm-history-duration span{color:#8299a8}html[data-theme=dark] .alarm-history-time strong,html[data-theme=dark] .alarm-history-duration strong{color:#b3c5cf}html[data-theme=dark] .alarm-history-empty{color:#7893a3;background:#08141d59;border-color:#304550}html[data-theme=dark] .alarm-history-status.active{color:#ff8e9b;background:#321a22}html[data-theme=dark] .alarm-history-status.recovered{color:#61d4bd;background:#102b28}html[data-theme=dark] .account-trigger{color:#dce8f0;background:#10212c;border-color:#29414d}html[data-theme=dark] .account-trigger strong{color:#e7f0f5}html[data-theme=dark] .account-trigger small{color:#829aaa}html[data-theme=dark] .account-dropdown{color:#dce8f0;background:#0d1d28;border-color:#2b424f;box-shadow:0 24px 65px #0006}html[data-theme=dark] .account-dropdown strong{color:#e8f1f5}html[data-theme=dark] .account-dropdown span,html[data-theme=dark] .account-dropdown small{color:#8da4b3}html[data-theme=dark] .account-menu-divider{background:#263d49}html[data-theme=dark] .account-menu-item{color:#b8cbd5;background:0 0}html[data-theme=dark] .account-menu-item:hover{color:#62dad5;background:#112b36}html[data-theme=dark] .modal-card,html[data-theme=dark] .admin-modal-card,html[data-theme=dark] .admin-panel,html[data-theme=dark] .admin-section,html[data-theme=dark] .users-list,html[data-theme=dark] .user-admin-row,html[data-theme=dark] .temperature-alert-settings,html[data-theme=dark] .threshold-card,html[data-theme=dark] .notification-settings-card{color:#dce8f0;background:#0e1e29;border-color:#29414d}html[data-theme=dark] .admin-form label,html[data-theme=dark] .temperature-alert-settings label{color:#a8becb}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{color:#dce8f0;background:#091822;border-color:#2c4552}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#587382}html[data-theme=dark] input:focus,html[data-theme=dark] select:focus,html[data-theme=dark] textarea:focus{border-color:#20b9bb;box-shadow:0 0 0 3px #20b9bb1a}html[data-theme=dark] .user-password-reset-button:hover:not(:disabled){color:#5bd5d0;background:#12303a;border-color:#34717a}html[data-theme=dark] .login-page{background:linear-gradient(145deg,#07131d,#0a1b27)}html[data-theme=dark] .login-card{color:#dce8f0;background:#0d1d28f5;border-color:#29414e;box-shadow:0 28px 85px #00000059}html[data-theme=dark] .login-card h1{color:#eaf3f7}html[data-theme=dark] .login-card p{color:#899fad}html[data-theme=dark] .login-card label{color:#a8bcc8}html[data-theme=dark] .login-card input{color:#dce8f0;background:#091822;border-color:#2a4350}html[data-theme=dark] .app-footer{color:#6f8999;border-color:#203642}body,.topbar,.sensor-card,.details,.details-panel,.metric,.metric-card,.health-card,.alarm-history-panel,.alarm-history-row,.account-dropdown,.login-card,input,select,textarea{transition:background-color .18s,border-color .18s,color .18s,box-shadow .18s}@media (width<=760px){.topbar-controls{gap:6px}.theme-toggle{flex-basis:38px;width:38px;height:38px}}html[data-theme=dark] .sensor-temperature{color:#edf5f8;text-shadow:0 1px #0000001f}html[data-theme=dark] .overview-stat{color:#20c7c7}html[data-theme=dark] .overview-stat strong{color:#edf5f8}html[data-theme=dark] .overview-stat span{color:#8ba5b5}html[data-theme=dark] .overview-stat-divider{background:#294552}html[data-theme=dark] .system-status{color:#8fa9b8;background:#0d202beb;border-color:#294450;box-shadow:inset 0 0 0 1px #ffffff04}html[data-theme=dark] .system-status strong{color:#55d6bd}html[data-theme=dark] .system-status-separator{background:#34505d}html[data-theme=dark] .ranges{background:#0b1a24;border-color:#29434f}html[data-theme=dark] .ranges button{color:#8fa7b6;background:0 0;border-color:#0000}html[data-theme=dark] .ranges button:hover:not(.active){color:#b8ccd6;background:#122934}html[data-theme=dark] .ranges button.active{color:#fff;background:linear-gradient(90deg,#20c5c1,#09a4ba);border-color:#0000}html[data-theme=dark] .sensor-footer{color:#819cac}html[data-theme=dark] .sensor-decor-icon{color:#1dc6c821}html[data-theme=dark] .sensor-offline .sensor-decor-icon{color:#7091a31a}html[data-theme=dark] .modal-backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#020a10ad}html[data-theme=dark] .admin-modal{color:#dce8f0;scrollbar-color:#3d5865 #0b1a24;background:linear-gradient(#0d1e29 0%,#0b1a24 100%);border-color:#2a4350;box-shadow:0 35px 110px #0000008c}html[data-theme=dark] .modal-head h2{color:#edf5f8}html[data-theme=dark] .modal-close{color:#8fa8b8;background:#10232f;border-color:#2d4653}html[data-theme=dark] .modal-close:hover{color:#63d7d3;background:#15313d;border-color:#39717a}html[data-theme=dark] .admin-form label,html[data-theme=dark] .new-user-form label{color:#9fb6c4}html[data-theme=dark] .section-heading{color:#b7ccd7}html[data-theme=dark] .section-heading strong{color:#dce9ef}html[data-theme=dark] .section-subtitle{color:#829aaa}html[data-theme=dark] .new-user-form{border-bottom-color:#263e4a}html[data-theme=dark] .admin-form input,html[data-theme=dark] .admin-form select,html[data-theme=dark] .new-user-form input,html[data-theme=dark] .new-user-form select{color:#e2edf2;background:#081923;border-color:#304b58}html[data-theme=dark] .admin-form input::placeholder,html[data-theme=dark] .new-user-form input::placeholder{color:#5f7c8c;opacity:1}html[data-theme=dark] .admin-form select option,html[data-theme=dark] .new-user-form select option{color:#e2edf2;background:#0b1c27}html[data-theme=dark] .readonly-input{color:#819aaa!important;background:#10202a!important;border-color:#304955!important}html[data-theme=dark] .input-suffix{background:#081923;border-color:#304b58}html[data-theme=dark] .input-suffix input{color:#e3edf2;background:#081923}html[data-theme=dark] .input-suffix span{color:#8fa7b6;background:#10232e;border-left:1px solid #304b58;align-self:stretch;align-items:center;display:flex}html[data-theme=dark] .access-section{border-top-color:#273e49}html[data-theme=dark] .access-section h3{color:#e3edf2}html[data-theme=dark] .access-section>p{color:#829aaa}html[data-theme=dark] .access-row{color:#dce8ef;background:#0d202b;border-color:#2a4350}html[data-theme=dark] .access-row:hover{background:#102934;border-color:#39707a}html[data-theme=dark] .access-row strong{color:#e5eef3}html[data-theme=dark] .access-row small{color:#839aaa}html[data-theme=dark] .empty-access{color:#8099a8;background:#0b1c26;border-color:#304955}html[data-theme=dark] .users-list{color:#dce8f0;background:0 0}html[data-theme=dark] .user-admin-row{background:#0d202a;border-color:#29434f}html[data-theme=dark] .user-admin-info strong{color:#edf5f8}html[data-theme=dark] .user-admin-info span{color:#88a0af}html[data-theme=dark] .sensor-count{color:#89a2b1}html[data-theme=dark] .user-role{color:#91aaba;background:#152a35}html[data-theme=dark] .user-role.admin{color:#59cdb9;background:#102d2b}html[data-theme=dark] .user-password-reset-button{color:#b0c3cd;background:#10232e;border-color:#304956}html[data-theme=dark] .temperature-alert-settings{background:#0b1d27;border-color:#2b4551}html[data-theme=dark] .temperature-alert-settings h3,html[data-theme=dark] .threshold-card-title{color:#e7f0f5}html[data-theme=dark] .temperature-alert-settings p{color:#849cab}html[data-theme=dark] .threshold-card{background:#0d202a;border-color:#2a4350}html[data-theme=dark] .threshold-card label,html[data-theme=dark] .threshold-card label span{color:#9fb4c0}html[data-theme=dark] .alert-master-toggle,html[data-theme=dark] .notification-toggle-row{color:#dce8ef;background:#10262f;border-color:#31505b}html[data-theme=dark] .alert-master-toggle span,html[data-theme=dark] .notification-toggle-row strong{color:#dce9ef}html[data-theme=dark] .notification-toggle-row span{color:#8ba3b2}html[data-theme=dark] .notification-settings-card{color:#dce8ef;background:#0b1e28;border-color:#2b4551}html[data-theme=dark] .telegram-fields label{color:#a7bdc9}html[data-theme=dark] .token-status.configured{color:#58d0b8;background:#102e2b;border-color:#28574f}html[data-theme=dark] .notification-help,html[data-theme=dark] .notification-note{color:#8aa2b1;background:#10232e;border-color:#2c4652}html[data-theme=dark] .admin-button:not(.primary){color:#a9beca;background:#10232e;border-color:#304a57}html[data-theme=dark] .admin-button:not(.primary):hover{color:#5ed7d2;background:#13303a;border-color:#39717a}html[data-theme=dark] .modal-error,html[data-theme=dark] .admin-global-error{color:#ff9aa5;background:#321b23;border-color:#66313a}html[data-theme=dark] .modal-actions{border-top-color:#29404c}@media (width<=700px){html[data-theme=dark] .modal-actions{background:#0b1a24f7;border-top-color:#29414d}}html[data-theme=dark] .normal-status-card{color:#76ddc4;background:linear-gradient(145deg,#102e2a,#0d2826);border-color:#285348}html[data-theme=dark] .normal-status-card strong{color:#78e0c5}html[data-theme=dark] .normal-status-card small,html[data-theme=dark] .normal-status-card span{color:#76b9aa}html[data-theme=dark] input[type=checkbox]{accent-color:#18bfc1}html[data-theme=dark] .admin-modal::-webkit-scrollbar{width:10px}html[data-theme=dark] .admin-modal::-webkit-scrollbar-track{background:#0a1822}html[data-theme=dark] .admin-modal::-webkit-scrollbar-thumb{background:#34505c;border:2px solid #0a1822;border-radius:999px}html[data-theme=dark] .alert-option-row{color:#dce8ef;background:#0f242e;border-color:#304b57}html[data-theme=dark] .alert-option-row:hover{background:#122b35;border-color:#39707a}html[data-theme=dark] .alert-option-row strong{color:#e8f1f5}html[data-theme=dark] .alert-option-row span{color:#8da5b4}html[data-theme=dark] .threshold-order-note{color:#8fa7b6;background:#10232d;border-color:#304955}html[data-theme=dark] .threshold-order-note strong{color:#c5d6de}html[data-theme=dark] .sensor-danger-zone{color:#dce8ef;background:#2a171c;border-color:#66323b}html[data-theme=dark] .sensor-danger-zone strong{color:#ff929e}html[data-theme=dark] .sensor-danger-zone span{color:#c58f96}html[data-theme=dark] .admin-button.danger{color:#ff9ba5;background:#311a20;border-color:#73404a}html[data-theme=dark] .admin-button.danger:hover{color:#fff;background:#a83c4a;border-color:#c34c5b}
