
*{box-sizing:border-box}body{margin:0;background:#f3f6f3;color:#203c32;font:16px system-ui}header{background:#204f40;color:white;padding:24px 5%;display:flex;justify-content:space-between;align-items:center}main{max-width:1100px;margin:32px auto;padding:0 20px}section,article{background:white;padding:24px;border-radius:14px;margin-bottom:20px}input,select,button{font:inherit;padding:10px;border:1px solid #c7d6cc;border-radius:7px}button{background:#22664f;color:white;cursor:pointer}button:disabled{opacity:.5}form{display:flex;gap:12px;flex-wrap:wrap;align-items:center}label{display:grid;gap:6px}h1{font-size:24px}h2{font-size:20px}table{border-collapse:collapse;width:100%;font-size:14px}td,th{text-align:left;padding:12px;border-bottom:1px solid #e4ebe6}a{color:inherit}#notice{white-space:pre-wrap;color:#a33025}#login{max-width:500px;margin:70px auto}small{color:#61776c}.scroll{overflow:auto}[hidden]{display:none!important}
#pairingDialog{width:min(650px,calc(100% - 24px));max-height:90vh;overflow:auto;border:0;border-radius:16px;padding:28px;color:#203c32;box-shadow:0 24px 90px #14291c44}#pairingDialog::backdrop{background:#10271fcc}.pairing-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.pairing-head h2{margin-top:5px}.pairing-head>button{background:#edf3ef;color:#203c32}.pairing-steps{padding-left:24px;line-height:1.8}.pairing-fields{display:grid;gap:14px}.pairing-fields input{min-width:0;width:100%}#pairingCode{font-family:monospace;font-size:14px}#pairingStatus{padding:14px;background:#eaf5ed;border-radius:8px;line-height:1.6}#pairingError{color:#a33025}#pairingReplacement,#pairingLocalWarning{padding:14px;background:#fff4dc;border-radius:8px;line-height:1.6}.pairing-actions{display:flex;gap:10px;flex-wrap:wrap}.device-state{display:block;font-size:12px;margin-top:5px;color:#61776c}.device-state.online{color:#26714d}td button{margin:3px}.pairing-fields label{font-size:14px}
.subscription-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.subscription-actions{display:flex;flex-wrap:wrap;gap:10px}.subscription-summary{padding:16px;background:#eef6ef;border-radius:9px;margin:14px 0}.subscription-summary.expired{background:#fff2df}.subscription-summary strong{display:block;font-size:20px;margin-bottom:6px}#subscriptionHistory p{font-size:14px;overflow-wrap:anywhere}#apiarySubscriptionStatus{color:#90621b}progress{width:100%;height:14px;margin-top:10px}fieldset{border:0;padding:0;margin:0}@media(max-width:600px){.subscription-heading{align-items:flex-start;flex-direction:column}}
#liveStatus{display:inline-block;padding:8px 12px;background:#e8f2ee;border-radius:8px;font-size:14px}.rule-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.rule-form-grid input,.rule-form-grid select{width:100%;min-width:0}#ruleFields{width:100%}#ruleDays{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}#ruleDays label,.rule-enable{display:flex;align-items:center;gap:7px}#ruleDays label{padding:9px;background:#f0f5f1;border-radius:8px}#ruleDays legend{margin-bottom:10px}.heating-rule{display:flex;justify-content:space-between;gap:18px;border:1px solid #deebe1;padding:18px;margin:14px 0}.rule-buttons{display:flex;flex-wrap:wrap;align-content:flex-start;gap:8px}.rule-state{display:inline-block;background:#eee;border-radius:12px;padding:3px 8px;font-size:12px}.rule-state.enabled{background:#ddefdf;color:#216640}#ruleError{color:#a33025}@media(max-width:700px){.rule-form-grid{grid-template-columns:1fr 1fr}.heating-rule{flex-direction:column}}@media(max-width:420px){.rule-form-grid{grid-template-columns:1fr}}
[data-i18n-loading] body{visibility:hidden}.language-picker{display:flex;gap:8px;align-items:center;font-size:14px}.language-picker select{width:auto}header{flex-wrap:wrap;gap:12px}


/* Member portal: same components and proportions as administration. */
body.member-zone{font:14px Manrope,Arial,sans-serif;background:#f4f7f5;color:#172e25;letter-spacing:0}body.member-zone #login{width:100%;max-width:none;margin:0;padding:0;min-height:100vh;border:0;border-radius:0;grid-template-columns:minmax(390px,42%) 1fr}.member-zone .login-panel{padding:28px 0}.member-zone .login-copy{margin-top:64px}.member-zone .login-copy h1{font-size:30px;line-height:1.18;letter-spacing:-1px}.member-zone .login-copy p{font-size:13px;line-height:1.8}.member-login-form{display:grid;gap:4px}.member-zone .login-panel label{font-size:12px}.member-login-form input{width:100%;height:46px}.member-login-form .primary-btn{width:100%;height:46px;margin-top:20px;font-size:13px}.member-zone .login-scene{min-height:650px;margin:16px}.member-zone .login-scene>div{left:48px;right:40px;bottom:52px}.member-zone .login-scene strong{font-size:clamp(30px,3vw,46px);letter-spacing:-1px;max-width:540px}.member-zone .login-scene p{font-size:14px;line-height:1.8;max-width:440px}.scene-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.scene-tags b{font-size:11px;border:1px solid #ffffff55;background:#ffffff12;border-radius:20px;padding:8px 13px}.recovery-link{font-size:12px;color:#26715d;margin-top:18px}.login-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:36px;gap:12px}.login-bottom>a{font-size:11px;color:#7b817e}.member-zone .language-picker{font-size:11px;color:#6f7e78}.member-zone .language-picker select{height:34px;font-size:12px;background:#fff;border-color:#dfe6e2;padding:5px 8px}.member-zone .secure-note{font-size:10px;line-height:1.6;margin-top:22px}.portal-notice{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:60;background:#fff2e8;border:1px solid #e5b89f;border-radius:8px;padding:12px 20px;max-width:90vw;box-shadow:0 5px 24px #172e2512;font-size:13px}.portal-notice:empty{display:none}.member-shell{min-height:100vh}.member-sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#12372f;color:#e5eee9;z-index:30;display:flex;flex-direction:column;padding:28px 17px;overflow-y:auto}.member-sidebar .brand{color:#fff;font-size:19px}.member-sidebar .brand-mark{color:#efbd50}.member-sidebar .brand-mark svg{width:28px;height:28px}.sidebar-caption{font-size:9px;letter-spacing:1.8px;text-transform:uppercase;color:#95b5a6;margin:40px 12px 14px}.member-sidebar nav{display:grid;gap:5px}.member-sidebar nav a{display:flex;align-items:center;gap:12px;min-height:43px;padding:10px 12px;border-radius:7px;color:#b9cfc4;text-decoration:none;font-size:12px;font-weight:600}.member-sidebar nav a:hover,.member-sidebar nav a.active{background:#ffffff15;color:white}.member-sidebar nav a.active{box-shadow:inset 3px 0 #f0bf57}.member-sidebar nav svg{width:18px;height:18px;flex:none}.member-profile{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:28px}.member-avatar{background:#edbd55;color:#173e30;font-size:11px;font-weight:800;width:34px;height:34px;display:grid;place-items:center;border-radius:50%}.member-profile>div{min-width:0;flex:1}.member-profile strong{display:block;font-size:11px;max-width:155px;overflow:hidden;text-overflow:ellipsis}.member-profile small{display:block;color:#9cb6a8;font-size:10px;margin-top:5px}.portal-logout{border:1px solid #ffffff22;color:#d8e6df;background:transparent;font-size:11px;padding:8px 12px;margin-top:5px;width:100%}.admin-entry{font-size:10px;color:#9ab0a4;margin-top:22px;text-align:center}.member-main{margin-left:238px;min-width:0}.member-topbar{background:#fff;color:#173c2e;min-height:88px;padding:19px 34px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e0e8e2;flex-wrap:wrap}.member-topbar>div>small{display:block;text-transform:uppercase;font-size:9px;letter-spacing:1.3px;color:#748d7f;font-weight:700}.member-topbar>div>strong{font-size:20px;display:block;margin-top:4px}.topbar-right{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-left:auto}.member-topbar #liveStatus{font-size:10px;padding:7px 9px;margin:0}.member-menu{display:none;padding:7px;border:1px solid #dfe6e2;background:#fff;color:#214b3a;border-radius:7px}.member-menu svg{width:20px;height:20px}.member-content{max-width:1400px;margin:0 auto;padding:30px 34px 60px}.member-zone .portal-hero{padding:0;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.portal-eyebrow{font-size:9px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:#277155}.portal-hero h1{font-size:30px;font-weight:800;letter-spacing:-1px;margin:10px 0}.portal-hero p{color:#6a7d71;font-size:12px;line-height:1.7;margin:0;max-width:620px}.member-zone .primary-btn{background:#173f35;color:#fff}.member-zone .primary-btn:hover{background:#276951}.member-zone .secondary-btn{color:#294f3c;text-decoration:none}.member-zone a.primary-btn{text-decoration:none;white-space:nowrap}.portal-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.member-zone .portal-stats article{display:flex;align-items:center;gap:16px;padding:20px;background:white;border:1px solid #dfe7e1;border-radius:10px;margin:0;min-width:0}.portal-stats .stat-icon{width:40px;height:40px;display:grid;place-items:center;background:#e7f2eb;color:#28664b;border-radius:10px;flex:none}.portal-stats svg{width:20px;height:20px}.portal-stats article:nth-child(2) .stat-icon{background:#fff4df;color:#a5782b}.portal-stats article:nth-child(3) .stat-icon{background:#e9f2f8;color:#367b99}.portal-stats article:nth-child(4) .stat-icon{background:#fceee7;color:#bb7952}.portal-stats article>div>span{font-size:10px;color:#77877b;display:block;line-height:1.5}.portal-stats strong{font-size:26px;display:block;margin-top:5px;color:#244334;letter-spacing:-.7px}.portal-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.portal-shortcuts a{display:flex;align-items:center;gap:12px;background:#eaf1ec;border:1px solid #dce7df;border-radius:9px;padding:15px 18px;color:#426451;font-size:11px;font-weight:700;text-decoration:none}.portal-shortcuts a:hover{background:#e1ece4}.portal-shortcuts svg{width:19px;height:19px}.member-zone .portal-panel,.feature-page .member-content>section,.feature-page #serviceContent>section{border:1px solid #dfe7e1;border-radius:10px;padding:24px;margin-bottom:22px;box-shadow:0 3px 12px #163c2803}.portal-panel h1,.portal-panel h2{font-size:17px;letter-spacing:-.3px;margin-top:0}.portal-panel>p{font-size:12px;color:#667d6d;line-height:1.7}.portal-panel form{padding:16px;background:#f6f8f5;border:1px solid #e7ede8;border-radius:8px;margin-top:16px}.member-zone input,.member-zone select,.member-zone textarea{border:1px solid #d9e3dc;border-radius:6px;font:inherit;font-size:12px;padding:10px;min-height:39px;background:white;color:#244334;max-width:100%}.member-zone input[type=checkbox]{min-height:0;accent-color:#26715d}.member-zone input:focus,.member-zone select:focus,.member-zone textarea:focus{outline:2px solid #bad4c4;outline-offset:1px}.member-zone button{font-size:11px;border-radius:6px;font-weight:600;min-height:34px}.member-zone button:disabled{cursor:not-allowed}.member-zone table{font-size:12px}.member-zone th{font-size:9px;text-transform:uppercase;letter-spacing:.6px;color:#75887a;background:#f5f8f5}.member-zone td{vertical-align:middle;padding:16px 12px}.member-zone td button{padding:6px 9px;min-height:30px;background:#eef4ef;color:#315f43;border-color:#dbe6dd}.member-zone .subscription-summary{border:1px solid #dce8df}.member-zone #apiarySelect{min-width:220px;max-width:100%;font-weight:600}.member-zone #permission{display:inline-block;margin-left:14px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.member-zone .portal-empty{padding:30px;background:#fff9e9;border:1px dashed #d4bc77;text-align:center;color:#745c26}.portal-empty>svg{height:38px;width:38px}.portal-empty h2{font-size:20px}.portal-empty p{font-size:12px;line-height:1.8;max-width:560px;margin:0 auto 18px}.portal-empty>div{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.portal-scrim{display:none}.feature-page .member-content{max-width:1400px;width:auto}.feature-page .member-content>h1{font-size:28px;letter-spacing:-.7px}.feature-page form{display:grid;gap:14px}.feature-page section article{background:#f7faf6;border:1px solid #e1e9e2}.feature-page .member-sidebar a.brand{color:white}.feature-page .member-topbar #serviceTitle{margin:0;font-size:20px}.feature-page .member-sidebar{margin:0}.member-zone #accountSecurity{box-shadow:0 4px 16px #142d221c;background:#fff;color:#23543d;border:1px solid #cadbd0}.member-zone .heating-rule{border-radius:10px}.member-zone #inbox article{background:#f6f9f6;border:1px solid #e4ece5}.member-zone #inbox article h3{font-size:14px}.member-zone #pairingDialog{font-family:Manrope,Arial,sans-serif}
@media(min-width:1600px){.member-content{padding-top:40px}}@media(max-width:1150px){.portal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.member-zone .portal-hero{align-items:flex-start;flex-direction:column}.portal-shortcuts{grid-template-columns:1fr 1fr}.portal-shortcuts a:last-child{grid-column:1/-1}.member-topbar{padding:18px 24px}.member-content{padding:24px}.member-zone .login-scene>div{left:30px;right:24px}}@media(max-width:800px){body.member-zone #login{grid-template-columns:1fr}.member-zone .login-scene{display:none}.member-zone .login-panel{width:min(430px,calc(100% - 48px));min-height:100vh;justify-content:center}.member-zone .login-copy{margin-top:44px}.member-sidebar{display:none}.member-main{margin-left:0}.member-menu{display:block}.portal-nav-open .member-sidebar{display:flex}.portal-nav-open .portal-scrim{display:block;position:fixed;inset:0;border:0;background:#10291ddd;border-radius:0;z-index:25}.member-topbar{gap:12px;padding:16px 20px;min-height:80px}.member-topbar>div>strong{font-size:18px}.topbar-right{gap:8px}.member-topbar #liveStatus{display:none}.member-content{padding:22px 16px}.portal-hero h1{font-size:27px}.member-zone #permission{display:block;margin-left:0}.member-zone .portal-panel{padding:18px}.member-zone .login-panel .language-picker{font-size:10px}}@media(max-width:460px){.portal-stats{gap:10px}.member-zone .portal-stats article{padding:15px 12px;gap:10px;align-items:flex-start;flex-direction:column}.portal-stats strong{font-size:25px}.portal-shortcuts{grid-template-columns:1fr}.portal-shortcuts a:last-child{grid-column:auto}.member-topbar .language-picker>span{display:none}.member-zone .brand{font-size:19px}}
.member-zone form>label{min-width:0;max-width:100%}.member-zone form select{min-width:0;width:100%}.member-zone #subscriptionRequestForm>label{flex:1 1 220px;max-width:100%;min-width:0}.member-zone #subscriptionPlan{width:100%;max-width:100%;min-width:0;text-overflow:ellipsis}.member-profile strong{white-space:nowrap}.member-zone .login-bottom .language-picker{flex-direction:row;align-items:center;margin:0;gap:8px}
.member-zone section.admin-operation{background:#fff8f8!important;border-color:#e4bac3!important}.member-zone .admin-operation>.admin-zone-badge{display:inline-flex;margin-bottom:12px;color:#a32b40;background:#ffedef;border:1px solid #ebc5cd;padding:6px 10px;border-radius:5px;font-size:10px;font-weight:800;letter-spacing:.6px;text-transform:uppercase}.member-zone .admin-operation button{background:#8b2033;color:white;border-color:#8b2033}.member-zone .admin-operation input:focus{outline-color:#e0a9b6}.portal-panel{scroll-margin-top:24px}

.member-zone .login-actions{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-top:12px}.member-zone .login-actions .recovery-link{margin:0}.member-zone .login-actions .create-account-link{width:50%;min-height:30px;margin:0;padding:6px 10px;border:1px solid #c9dcd0;background:#f3f8f4;color:#21503b;font-size:11px;font-weight:600}.member-zone #registrationForm{display:grid;gap:14px}.member-zone .registration-help{font-size:11px;line-height:1.7;color:#657b6c;margin:0}.member-zone .registration-status:not(:empty){background:#eaf5ed;border:1px solid #cbe1d1;padding:12px;border-radius:6px;font-size:12px;line-height:1.7;color:#245a3a}.member-zone #registrationError{margin:0;font-size:12px;line-height:1.6}
