:root{font:14px/1.48 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#24354b;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:default}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:25px;line-height:1.3;letter-spacing:-.6px;margin-bottom:8px}h2{font-size:15px;line-height:1.4;margin-bottom:6px}p{margin-bottom:12px}.muted{color:#8190a2}.small{font-size:12px}.error{color:#c44450}#app[hidden],#login[hidden],.view[hidden],[hidden]{display:none!important}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#1d9e9a;margin-bottom:11px}.shell{min-height:100vh;display:flex}.sidebar{width:254px;background:#101e35;color:#bdcbdf;display:flex;flex-direction:column;flex-shrink:0;min-height:100vh;position:sticky;top:0;height:100vh;z-index:9;box-shadow:3px 0 18px #0b152716}.sidebar-brand{min-height:80px;display:flex;gap:11px;align-items:center;padding:18px 20px;border-bottom:1px solid #ffffff12}.sidebar-brand img{width:36px;height:36px;object-fit:contain;border-radius:8px;background:#fff}.sidebar-brand strong{display:block;font-size:17px;color:#f9fbff;letter-spacing:-.5px}.sidebar-brand strong span{color:#54d1c8}.sidebar-brand small{font-size:9px;letter-spacing:1.4px;color:#8a9bb4;display:block;margin-top:2px}.sidebar nav{padding:18px 10px;overflow-y:auto;flex:1}.nav-group{margin-bottom:24px}.nav-head{font-size:10px;letter-spacing:1.5px;font-weight:800;padding:0 15px;margin-bottom:9px;color:#677e9e}.nav-link{display:flex;align-items:center;gap:12px;width:100%;background:transparent;border:0;border-radius:8px;color:#adbed4;padding:10px 14px;text-align:left;font-size:13px;font-weight:550;margin:2px 0;transition:background .13s,color .13s}.nav-link:hover{background:#ffffff0d;color:#fff}.nav-link.active{color:#fff;background:#1d3854;box-shadow:inset 3px 0 #34c9b7}.nav-symbol{font-size:19px;font-weight:500;line-height:1;min-width:21px;text-align:center;color:#7998ad}.nav-link.active .nav-symbol{color:#54d1c8}.nav-badge{background:#b83a45;color:#fff;margin-left:auto;border-radius:30px;font-size:11px;padding:1px 7px}.sidebar-footer{border-top:1px solid #ffffff12;padding:19px 25px;display:flex;align-items:center;gap:7px;font-size:11px;color:#8293aa}.sidebar-footer span{margin-left:auto}.pulse{width:7px;height:7px;border-radius:50%;background:#2dd49a}.content-area{min-width:0;flex:1}.topbar{height:69px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid #e8edf4;gap:12px}.top-left,.top-right{display:flex;gap:17px;align-items:center}.crumb{font-size:11px;color:#8795a7;letter-spacing:.8px;font-weight:700}.crumb span{margin:0 8px;color:#bec8d2}.crumb strong{color:#273b52;letter-spacing:0;font-size:12px}.role-pill{background:#eaf4f5;color:#137f84;border-radius:20px;padding:6px 11px;font-weight:700;font-size:11px}.outline,.icon-button{border:1px solid #dae3eb;background:#fff;color:#42556d;border-radius:7px;padding:8px 12px}.icon-button{display:none}.outline:hover{background:#f4f7fa}.main-content{padding:27px 34px 50px;max-width:1720px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:25px}.page-heading p{margin:0}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:19px}.stat-card{position:relative;background:#fff;border:1px solid #e7edf4;border-radius:11px;padding:20px 22px;box-shadow:0 5px 15px #263e5e06;overflow:hidden}.stat-label{font-size:12px;font-weight:650;color:#7b8ca1}.stat-card strong{font-size:32px;display:block;line-height:1.4;margin:8px 0;color:#18334d}.stat-card small{font-size:11px;color:#9aa7b6}.stat-icon{position:absolute;right:21px;top:21px;color:#e2e9f1;font-size:30px}.stat-icon.green{color:#b8e9d8}.stat-icon.amber{color:#f7dfb4}.stat-icon.red{color:#f7d4d7}.two-pane{display:grid;grid-template-columns:1.13fr 1fr;gap:18px}.panel{background:#fff;border:1px solid #e6edf3;border-radius:11px;padding:20px 22px;margin-bottom:18px;box-shadow:0 5px 16px #273e5b05}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.panel-head h2{margin:0;font-size:16px;font-weight:750}.panel-head p{font-size:12px;color:#8796a6;margin:4px 0 0}.text-button{color:#14938a;font-size:12px;font-weight:700;border:0;background:transparent;padding:6px 0;white-space:nowrap}.device-line{display:flex;align-items:center;gap:10px;padding:13px 5px;border-bottom:1px solid #f0f2f6;cursor:pointer}.device-line:last-child{border-bottom:0}.device-line:hover{background:#f8fbfd}.device-icon{display:grid;place-items:center;flex:0 0 36px;height:36px;background:#eaf4f5;color:#11948e;border-radius:8px;font-size:18px}.device-main{flex:1;min-width:0}.device-main strong{display:block;font-size:13px}.device-main small{color:#8c9bad;font-size:11px}.pill{font-size:10px;font-weight:800;letter-spacing:.5px;color:#60748b;background:#eef2f6;padding:5px 9px;border-radius:6px}.pill.online{color:#128054;background:#e6f7ed}.pill.offline,.pill.alarm{color:#c04551;background:#fff0f1}.pill.never{color:#85612c;background:#fff5dc}.event-line{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #f0f2f6}.event-line:last-child{border-bottom:0}.event-glyph{display:grid;place-items:center;width:30px;height:30px;background:#fff1ee;color:#d04c52;border-radius:8px}.event-main strong{font-size:12px;display:block}.event-main small{font-size:11px;color:#8b99ab}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}input,select,textarea{border:1px solid #d7e1e9;border-radius:7px;background:#fff;color:#263d55;padding:10px 11px;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #b7e9e5;border-color:#2ab9a9}.search{width:300px;max-width:100%}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-transform:uppercase;font-size:10px;letter-spacing:.7px;color:#8998aa;font-weight:750;text-align:left;background:#f8fafc}td,th{padding:13px 11px;border-bottom:1px solid #edf1f5;text-align:left;vertical-align:middle}td{color:#40536c}tbody tr:hover{background:#fcfdff}.primary{border:0;border-radius:7px;background:#158b89;color:#fff;font-weight:700;padding:10px 15px}.primary:hover{background:#0e777b}.secondary{border:1px solid #d6e3ea;background:#f4f8fa;color:#285469;border-radius:7px;padding:9px 13px;font-weight:650}.danger-button{background:#fff3f4;color:#c3454e;border:1px solid #f4cdd2;border-radius:7px;padding:8px 11px}.wide{width:100%;display:flex;justify-content:space-between}.sensor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:19px 0}.sensor{border:1px solid #e7edf3;border-radius:9px;padding:16px;background:#fcfdfe}.sensor .top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#8594a7}.sensor .value{font-size:27px;font-weight:800;color:#21394f;margin:13px 0 8px}.sensor .state{font-size:11px;color:#8094a2}.sensor.alarm{background:#fff7f6;border-color:#f6d6d2}.sensor.alarm .value,.sensor.alarm .state{color:#bf3d49}.sensor.stale{opacity:.65}.chart-wrap{width:100%;overflow:hidden}canvas{display:block;width:100%;height:275px}.notice{border-left:3px solid #1b9e96;background:#edf8f7;border-radius:4px;padding:12px 16px;font-size:12px;color:#175c60;margin-bottom:17px}.notice.error-state{background:#fff1f1;border-color:#d24c4c;color:#973a42}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:15px;margin:15px 0}.fields label,.field{font-size:12px;color:#67788c;font-weight:650;display:flex;flex-direction:column;gap:6px}.fields input,.fields select,.fields textarea{width:100%}.fields label.checkbox{display:flex;flex-direction:row;align-items:center;align-self:center;gap:9px}.fields label.checkbox input{width:auto}.form-actions{display:flex;gap:9px;align-items:center;margin:15px 0 24px}.help{font-size:11px;color:#8292a6}.block-header{margin:23px 0 13px;font-size:14px;font-weight:800}.tag{background:#f1f5fa;border-radius:5px;font-size:11px;padding:4px 7px;color:#5b7088}#brandingLogo{max-width:230px;max-height:105px;object-fit:contain;padding:10px;border:1px solid #e4e9ef;border-radius:9px;background:#fff}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-art{background:linear-gradient(145deg,#0e2238,#0e3449 63%,#126f70);color:#e4f7f7;display:flex;flex-direction:column;padding:40px 8%;justify-content:space-between;position:relative;overflow:hidden}.login-art:after{content:"";width:550px;height:550px;border:1px solid #ffffff15;border-radius:50%;position:absolute;right:-220px;bottom:-250px;box-shadow:0 0 0 80px #ffffff08,0 0 0 160px #ffffff05}.login-mark{font-weight:850;letter-spacing:1.2px;font-size:18px}.login-mark span:last-child{color:#60d6ce}.mark-icon{color:#48c9b7;font-size:26px;vertical-align:middle;margin-right:8px}.login-message{max-width:470px;z-index:1}.login-message h1{font-size:clamp(31px,4vw,53px);line-height:1.14;font-weight:800;letter-spacing:-1.8px;margin-bottom:21px}.login-message h1 em{font-style:normal;color:#5be0d1}.login-message p{color:#c2d4de;font-size:15px;line-height:1.7}.login-footer{font-size:10px;letter-spacing:1.8px;color:#88b3bf}.login-form-wrap{display:grid;place-items:center;padding:35px}.login-card{max-width:410px;width:100%}.login-card img{height:56px;width:100px;object-fit:contain;object-position:left center;margin-bottom:37px}.login-card h2{font-size:27px;letter-spacing:-1px;margin:4px 0 8px}.login-card label{display:block;font-size:12px;font-weight:750;color:#596c80;margin:26px 0 0}.login-card input{display:block;width:100%;margin:7px 0 0;padding:13px}.login-card .primary{margin-top:28px;padding:14px}.login-card p{font-size:13px}#globalStatus[hidden]{display:none}#headerLogo{width:36px;height:36px}#loginLogo{width:100px;height:56px}.status{font-size:12px;color:#237c76;padding:10px 0}.empty{font-size:12px;color:#8a98aa;padding:23px 4px}
@media(max-width:1150px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-pane{grid-template-columns:1fr}.sensor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:790px){.sidebar{position:fixed;transform:translateX(-100%);transition:transform .18s}.sidebar.open{transform:none}.icon-button{display:block}.topbar{padding:0 17px}.main-content{padding:22px 17px 40px}.crumb{font-size:10px}.top-right #refreshTime{display:none}.login-page{grid-template-columns:1fr}.login-art{display:none}}@media(max-width:520px){.stat-grid{gap:8px}.stat-card{padding:16px}.stat-card strong{font-size:25px}.panel{padding:16px}.sensor-grid{gap:8px}.sensor{padding:11px}.sensor .value{font-size:22px}.topbar{gap:5px}.role-pill{display:none}.search{width:100%}.page-heading{margin-bottom:18px}}
/* Legacy v0.3 management forms are contained in the same new UI card system. */
#tabContainer{background:#fff;border:1px solid #e6edf3;border-radius:11px;padding:21px 23px;box-shadow:0 5px 16px #273e5b05}
#tabContainer:has(> .panel){background:transparent;border:0;padding:0;box-shadow:none}
#tabContainer .scroll{overflow-x:auto;margin-top:14px}
#tabContainer button:not(.primary):not(.danger-button):not(.secondary){background:#f2f7f8;color:#24596a;border:1px solid #d7e5e7;border-radius:7px;padding:8px 11px;margin:2px}
#tabContainer .fields label:not(.checkbox){font-size:12px;color:#60788c}
#tabContainer .fields label>input[type=checkbox]{width:auto;margin-right:6px}
#tabContainer form{margin:14px 0 22px}
#tabContainer form>label{display:block;margin:12px 0}
#tabContainer .panel form:last-child{margin-bottom:0}
#tabContainer table select{padding:7px 8px;min-width:110px}
/* v0.5: device-oriented, eight channel display and time-series explorer */
#temperaturesView .sensor-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:14px 0 0}
#temperaturesView .sensor{border-left:4px solid var(--channel-color);min-width:0;padding:12px 15px;background:#fff}
#temperaturesView .sensor.alarm{background:#fff5f3;border-left-color:#c7444b}
#temperaturesView .sensor .top{color:#415367;font-size:12px;font-weight:800}
#temperaturesView .sensor .top strong{letter-spacing:.3px}
#temperaturesView .sensor-dot,.legend-dot{display:inline-block;width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:var(--channel-color)}
#temperaturesView .sensor-description{min-height:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#6d8295;font-size:12px;margin-top:6px}
#temperaturesView .sensor .value{font-size:25px;margin:7px 0 3px}
#temperaturesView .sensor .state{font-size:11px}
.chart-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:5px 0 17px}
.chart-presets{display:flex;flex-wrap:wrap;gap:5px;background:#f2f6fa;padding:4px;border:1px solid #e3eaf0;border-radius:9px}
.chart-preset{padding:8px 11px;border:0;background:transparent;border-radius:6px;color:#52657a;font-weight:650;font-size:12px}
.chart-preset:hover{background:#e7f0f3}
.chart-preset.active{background:#fff;color:#138c86;box-shadow:0 1px 4px #12253620}
.chart-range{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin:0}
.chart-range label{display:flex;flex-direction:column;gap:4px;color:#72849a;font-weight:700;font-size:11px}
.chart-range input{width:260px;font-size:12px;padding:8px 9px;font-variant-numeric:tabular-nums}
.chart-range .primary{padding:9px 13px}
.chart-legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:14px}
.legend-channel{border:1px solid #e6ecf2;border-radius:8px;display:flex;align-items:center;gap:7px;padding:8px 10px;min-width:0;cursor:pointer;font-size:12px;font-weight:750;background:#fff}
.legend-channel:hover{background:#f8fbfc}.legend-channel.muted-channel{opacity:.48}
.legend-channel input{width:14px;height:14px;margin:0;accent-color:var(--channel-color);flex-shrink:0}
.legend-channel small{color:#74869b;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-weight:450}
.temperature-chart{position:relative;min-height:350px;border:1px solid #e6eef4;background:#fff;border-radius:8px;padding:6px 0}
.temperature-chart canvas{width:100%;height:400px;touch-action:pan-y}
.chart-tooltip{position:absolute;top:12px;z-index:3;min-width:230px;max-width:min(390px,90%);background:#fffefa;border:1px solid #d8e4ea;box-shadow:0 6px 25px #12253628;padding:11px 13px;border-radius:8px;font-size:11px;pointer-events:none;line-height:1.8}
.chart-tooltip strong{font-variant-numeric:tabular-nums}.chart-tooltip small{color:#718195}.chart-note{margin:10px 0 0;font-variant-numeric:tabular-nums}
.sidebar-brand img{width:45px;height:34px;background:#fff;border-radius:5px}
#headerLogo{width:45px;height:34px}
#loginLogo{width:250px;max-width:100%;height:72px;object-fit:contain}
@media(max-width:1150px){.chart-legend{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:790px){#temperaturesView .sensor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-presets{width:100%}.chart-preset{flex:1 0 auto}}
@media(max-width:480px){#temperaturesView .sensor{padding:10px 8px}.chart-legend{grid-template-columns:1fr 1fr}.legend-channel{padding:7px}.legend-channel small{max-width:100px}.chart-range input{width:min(260px,75vw)}}

/* Sidebar identity: preserve the uploaded logo's natural proportions. */
.sidebar-brand{flex:0 0 auto;min-height:132px;flex-direction:column;align-items:center;justify-content:center;padding:22px 22px 20px;gap:12px}
.sidebar-brand img,#headerLogo{display:block;flex:none;width:100%;max-width:210px;height:auto;object-fit:contain;background:#fff;border-radius:8px;padding:9px 12px;box-shadow:0 3px 12px #07132226}
.sidebar-brand .brand-tagline{display:flex;align-items:center;justify-content:center;gap:9px;margin:0;color:#b7c9dc;font-size:9px;font-weight:650;line-height:1.4;letter-spacing:.18em;white-space:nowrap}
.sidebar-brand .brand-tagline::before,.sidebar-brand .brand-tagline::after{content:"";flex:0 0 13px;height:1px;background:#54d1c870}

.chart-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.chart-tools label{font-size:11px;color:#70859b;display:flex;align-items:center;gap:7px}
.chart-tools select{padding:8px 10px;font-size:12px}
.chart-tools .secondary{padding:8px 10px;font-size:12px}
#manualAxis{display:flex;gap:6px;flex-wrap:wrap}
#manualAxis[hidden]{display:none}
#manualAxis input{width:114px;padding:7px;font-size:12px}

/* v0.6: compact, high-contrast channel identity. Alarm remains separate from channel color. */
#temperaturesView .sensor-grid{gap:8px;margin:9px 0 0}
#temperaturesView .sensor{padding:8px 11px;border-left:5px solid var(--channel-color);border-radius:7px;min-height:91px}
#temperaturesView .sensor.alarm{border-left-color:var(--channel-color);outline:2px solid #D32F2F;outline-offset:-2px;background:#fff4f2}
#temperaturesView .sensor .top{font-size:12px;line-height:1.2}
#temperaturesView .sensor-dot,.legend-dot{width:13px;height:13px;flex-basis:13px;border-radius:3px;border:1px solid #0002}
#temperaturesView .sensor-description{min-height:0;margin-top:2px;font-size:12px;line-height:1.2}
#temperaturesView .sensor .value{font-size:22px;margin:4px 0 1px;line-height:1.18}
#temperaturesView .sensor .state{font-size:10px;line-height:1.2}
.legend-channel{border-left:4px solid var(--channel-color)}
#login2faForm[hidden]{display:none!important}
#totpQR{width:180px;height:180px;display:block;margin:10px 0}
.recovery-codes{white-space:pre-wrap;word-break:break-all;font-family:ui-monospace,monospace;background:#f2f5fa;padding:12px;border-radius:8px}
@media(max-width:520px){#temperaturesView .sensor{min-height:85px;padding:7px 9px}#temperaturesView .sensor .value{font-size:20px}}

/* v0.7 navigation, installation/user grants and RFCOM identity */
.nav-link svg.nav-symbol{width:19px;height:19px;min-width:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav-link.active svg.nav-symbol{color:#54d1c8}
.sidebar-footer{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:12px 14px;color:#8293aa}
.sidebar-footer img{display:block;width:180px;max-width:100%;max-height:70px;object-fit:contain;object-position:left center;background:#fff;border-radius:4px;padding:3px}
.sidebar-footer span{margin:0;font-size:10px}
.grant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.grant-grid fieldset{border:1px solid #dce6ee;border-radius:8px;min-width:0;max-height:260px;overflow:auto;padding:10px}
.grant-grid legend{color:#566f84;font-size:12px;font-weight:750}
.grant-grid fieldset label{display:block;margin:8px 0;font-size:12px;color:#3c5168}
.grant-grid fieldset input{vertical-align:middle;margin-right:5px}
#tabContainer details{margin-top:17px;padding:12px;border:1px solid #e0e8ee;border-radius:8px}
#tabContainer details summary{cursor:pointer;font-weight:700;color:#315a76}
#tabContainer .hint{padding:12px;border-left:3px solid #368b8c;background:#eef8f7;border-radius:5px;color:#335765;font-size:12px}
#telegramLinkStatus{margin-top:12px;font-size:12px;color:#43647a}
@media(max-width:800px){.grant-grid{grid-template-columns:1fr}}

:is(#hardwareForm,#claimLicense,#issueLicense,#policyForm)>label{display:flex;flex-direction:column;gap:6px;max-width:620px;font-size:12px;color:#60788c}
:is(#hardwareForm,#claimLicense,#issueLicense,#policyForm)>label>input,:is(#hardwareForm,#claimLicense,#issueLicense,#policyForm)>label>select{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid #d7e3e9;border-radius:7px;background:#fff;color:#263e53;font:inherit}

.version-update{position:fixed;bottom:18px;right:18px;z-index:100;max-width:440px;padding:16px;background:#e8f6f4;border:1px solid #67bdb5;border-radius:10px;box-shadow:0 5px 24px #10243b22;color:#173d46}.version-update button{margin-top:8px}#registrySecretValue,#registryIssued code{overflow-wrap:anywhere;user-select:all}

#licenseReminder{border:1px solid #c7dce1;border-radius:14px;max-width:560px;width:calc(100% - 32px);padding:26px;color:#243c52;box-shadow:0 24px 90px #06142650}#licenseReminder::backdrop{background:#0b1c3670}#licenseReminder h2{font-size:20px}#licenseReminder li{margin:8px 0}#licenseStatusBanner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}

.chart-crosshair{position:absolute;width:0;border-left:1px dashed #436f83;pointer-events:none;z-index:2}.demo-entry{text-align:center;text-decoration:none;margin-top:12px;box-sizing:border-box}.reseller-name{display:block;font-weight:650;font-size:16px;letter-spacing:.02em;margin:12px 0}

.public-demo-banner{margin-bottom:20px;border:1px solid #a0d4cf;background:#e6f4f1;color:#18534e;line-height:1.6}.public-demo-banner strong{letter-spacing:.15em;margin-right:8px}.public-demo-banner a{color:inherit;font-weight:700;margin-left:12px}

/* Photo and white PCB drawing: two distinct, offset visual layers. */
.login-art{justify-content:center;gap:16px;padding:clamp(32px,5vw,76px) clamp(28px,4vw,64px);isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 65% 70%,#28787b77,transparent 60%),linear-gradient(145deg,#0e2238,#133b4a 72%,#146769)}
.login-message{position:relative;z-index:2;max-width:580px;margin:0;width:100%}.login-message .eyebrow{color:#8bddd5;font-size:9px;letter-spacing:2.8px}.login-message h1{font-size:clamp(28px,3.2vw,47px);line-height:1.18;letter-spacing:-1.4px;color:#fff;margin:18px 0}.login-message h1 em{font-style:normal;color:#8cddd2}.login-message p{max-width:430px;color:#bdd0da;font-size:14px;line-height:1.8;margin:0}
.login-board{position:relative;z-index:1;width:100%;margin:0;max-width:680px;aspect-ratio:1.48;background:none;border:0;border-radius:0;padding:0;box-shadow:none;display:grid;place-items:center;isolation:isolate;color:#fff}
.login-board::before{content:"";position:absolute;inset:28% 0 2%;background:radial-gradient(ellipse,#6ae0c423,transparent 68%);filter:blur(18px);z-index:-1}
.board-lineart{position:absolute;left:8%;top:0;width:100%;height:auto;opacity:.8;transform:rotate(7deg);filter:drop-shadow(0 0 8px #ffffff24);pointer-events:none}
.login-board img,.login-card .login-board img{position:relative;width:98%;height:auto;aspect-ratio:2.1;object-fit:cover;object-position:50% 49%;margin:16% 0 0 -6%;border:0;border-radius:0;filter:url(#board-white-key) drop-shadow(0 22px 16px #02162288);transform:rotate(-8deg);mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.login-board-mobile{display:none}
@media(max-width:790px){.login-art{display:none}.login-card .login-board-mobile{display:grid;aspect-ratio:2.05;max-width:410px;padding:0;margin:2px 0 22px;background:radial-gradient(ellipse at 50% 65%,#225d67,#112b40);border:0;border-radius:14px;box-shadow:none;color:#fff;overflow:hidden}.login-card .login-board img{width:87%;margin:15% 0 0 -4%;transform:rotate(-6deg);filter:url(#board-white-key) drop-shadow(0 10px 9px #00192177)}.login-board-mobile .board-lineart{left:12%;top:5%;width:92%;height:auto;opacity:.78}.login-board-mobile::before{display:none}}
@media(prefers-reduced-motion:reduce){.login-board img,.board-lineart{transition:none}}

.demo-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.demo-controls a{margin-left:auto}
@media(max-width:790px){.login-form-wrap{padding:26px 22px}.login-card #loginLogo{height:68px;width:195px;margin-bottom:18px}.login-card h2{font-size:24px}.login-card label{margin-top:18px}.login-card .primary{margin-top:22px}}

/* Keep the mobile hardware illustration secondary to the sign-in controls. */
@media(max-width:790px){
 .login-page{min-height:100svh}
 .login-form-wrap{align-items:start;padding:clamp(16px,3svh,26px) max(18px,env(safe-area-inset-left)) max(22px,env(safe-area-inset-bottom));min-width:0}
 .login-card{min-width:0}
 .login-card #loginLogo{width:170px;height:48px;margin-bottom:10px}
 .login-card .login-board-mobile{height:clamp(96px,17svh,128px);aspect-ratio:auto;width:100%;max-width:none;margin:0 0 18px;border-radius:12px}
 .login-card .login-board img{width:min(76%,280px);margin:12% 0 0 -5%;transform:rotate(-6deg)}
 .login-board-mobile .board-lineart{width:min(83%,310px);left:17%;top:1%;opacity:.84}
 .login-card .eyebrow{margin-bottom:7px;font-size:9px}
 .login-card h2{font-size:clamp(21px,5.8vw,24px);line-height:1.25;margin:0 0 7px}
 .login-card p.muted{margin-bottom:14px}
 .login-card label{margin-top:14px}
 .login-card input{font-size:16px;line-height:1.3;min-height:46px;padding:11px 12px}
 .login-card .primary{margin-top:20px;min-height:46px;padding:12px 14px}
 .login-card .secondary{min-height:44px;padding:10px 12px;align-items:center;font-size:12px;white-space:normal}
 .login-card .demo-entry{margin-top:10px}
}
@media(max-width:790px) and (max-height:600px){
 .login-card .login-board-mobile{height:86px;margin-bottom:13px}
 .login-card #loginLogo{height:40px;margin-bottom:8px}
}
@media(max-width:790px) and (max-height:440px){.login-card .login-board-mobile{display:none}}

/* Size both layers from the available height; do not center an oversized image. */
@media(max-width:790px){
 .login-card .login-board-mobile{isolation:isolate}
 .login-card .login-board img{position:absolute;width:min(72%,24svh,200px);height:auto;max-width:none;left:4%;bottom:16px;margin:0;transform:rotate(-6deg);mask-image:none;-webkit-mask-image:none;z-index:1}
 .login-board-mobile .board-lineart{width:min(76%,25svh,210px);height:auto;left:auto;right:3%;top:16px;transform:rotate(7deg);z-index:0}
}

@media(max-width:790px) and (max-height:600px){.login-card .login-board img{bottom:9px}.login-board-mobile .board-lineart{width:min(76%,20svh,170px);top:10px}}

/* Approved PCB outline, shared by navigation, counters and board rows. */
.board-icon{display:block;width:34px;height:24px;fill:none;color:inherit}
.device-icon{flex-basis:42px;width:42px;height:36px}
.stat-icon .board-icon{width:42px;height:30px}
/* Soften only the default SecTemp logo's frame, leaving uploaded reseller logos intact. */
#headerLogo[src$="/brand/logo.png"],#loginLogo[src$="/brand/logo.png"]{border-radius:0;box-shadow:none;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(0deg,transparent,#000 13%,#000 87%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(0deg,transparent,#000 13%,#000 87%,transparent);-webkit-mask-composite:source-in}
#headerLogo[src$="/brand/logo.png"]{padding:12px 18px}
.board-photo-mobile{display:none}
@media(max-width:790px){
 .login-card .login-board-mobile{height:clamp(116px,20svh,148px);overflow:visible;margin-bottom:18px}
 .login-card .board-photo-mobile{display:block;position:absolute;left:4%;bottom:8px;width:min(74%,34svh,240px);height:auto;aspect-ratio:582/305;overflow:hidden;z-index:1;filter:drop-shadow(0 8px 8px #00192155)}
 .login-board-mobile .board-lineart{width:min(76%,37svh,250px);height:auto;left:auto;right:3%;top:8px;transform:rotate(4deg);opacity:.8}
}
@media(max-width:790px) and (max-height:600px){
 .login-card .login-board-mobile{height:110px}
 .login-card .board-photo-mobile{width:min(70%,30svh,195px);bottom:6px}
 .login-board-mobile .board-lineart{width:min(74%,30svh,190px);top:6px}
}
@media(max-width:790px) and (max-height:440px){.login-card .login-board-mobile{display:none}}

.password-control{display:flex;position:relative;align-items:center;width:100%;gap:0}.password-control input{padding-right:3rem!important;width:100%;min-width:0}.password-eye{position:absolute;right:.3rem;background:transparent;border:0;padding:.4rem .6rem;font-size:1.1rem;color:var(--muted,#69818b);line-height:1}.account-dialog{width:min(94vw,580px);max-height:88dvh;overflow:auto;padding:1.7rem;border:1px solid #c9dce2;border-radius:18px;box-shadow:0 25px 90px #052c3a35;color:#173b48;background:#fff}.account-dialog::backdrop{background:#082d42aa;backdrop-filter:blur(4px)}.account-dialog label{display:flex;flex-direction:column;gap:.4rem;margin:.8rem 0}.account-dialog input{box-sizing:border-box;width:100%;padding:.8rem;border:1px solid #bdd0d7;border-radius:8px}.account-dialog li{margin:.8rem 0;line-height:1.6}.help-fab{position:fixed;right:18px;bottom:18px;z-index:40;width:38px;height:38px;border-radius:50%;background:#0d7182;color:white;border:1px solid #8dc9d3;box-shadow:0 4px 16px #053a4c26;font-weight:bold}.text-button{border:0;background:transparent;color:#136f83;padding:.7rem;text-decoration:underline}.recovery-status{white-space:pre-wrap}#channelPolicies input[type=number]{max-width:110px}#channelPolicies input[type=checkbox]{width:20px;height:20px}.help-dialog{width:min(94vw,740px)}

.field-hint{display:inline-block;position:relative;color:#19798b;cursor:help;margin-left:.3rem;align-self:flex-start;font-size:.9rem}.field-hint-text{display:none;position:absolute;left:0;bottom:1.5rem;z-index:100;width:min(280px,70vw);padding:.7rem .9rem;background:#143d4d;color:#fff;border-radius:9px;box-shadow:0 6px 20px #082e4440;font-weight:normal;line-height:1.5}.field-hint:hover .field-hint-text,.field-hint:focus .field-hint-text{display:block}.field-hint:focus{outline:2px solid #3da2b7;outline-offset:3px}
