/* HOMESTAT — the Zennio Z50, Z70 v2 and Z100 screens, rebuilt in code (15 Oct 2026). See zennio.js.
   The device: one glossy front over the screen and its border, a thin body edge, two sensor dots, in the sizes of
   Zennio's datasheets (Z50 85.5 x 142.1 mm, Z70 v2 189 x 137 mm, Z100 248.9 x 174 mm). The screen is drawn at
   1280 x 800 (Z70 v2, Z100) or 480 x 854 (Z50) design pixels; spacing, type and colours measured off Zennio's own
   pictures (screens-dev/ref-zennio). Every rule inside the screen starts with .zn-ui, so the page's styles stay out. */

/* ---- on the page: as wide as the content, never taller than the window ---- */
.hsx-zennio{margin:8px auto 44px;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Roboto,"Segoe UI",Arial,sans-serif;--fin-hi:#F8F8F9;--fin:#EBEBEC;--fin-lo:#D2D2D4}
.hsx-zennio[data-variant="z50"]{max-width:min(440px,calc((100vh - 140px) * .6017));max-width:min(440px,calc((100dvh - 140px) * .6017))}
.hsx-zennio[data-variant="z70"]{max-width:min(1040px,calc((100vh - 120px) * 1.3796));max-width:min(1040px,calc((100dvh - 120px) * 1.3796))}
.hsx-zennio[data-variant="z100"]{max-width:min(1040px,calc((100vh - 120px) * 1.4305));max-width:min(1040px,calc((100dvh - 120px) * 1.4305))}
/* the finishes, measured on Zennio's photos: a light, a middle and a dark tone for the gradients */
.hsx-zennio[data-finish="zen-white"]{--fin-hi:#F8F8F9;--fin:#EBEBEC;--fin-lo:#D2D2D4}
.hsx-zennio[data-finish="zen-silver"]{--fin-hi:#CDCDCD;--fin:#B1B1B1;--fin-lo:#8C8C8C}
.hsx-zennio[data-finish="zen-black"]{--fin-hi:#38383A;--fin:#1E1E1F;--fin-lo:#0E0E0F}
.hsx-zennio[data-finish="zen-champagne"]{--fin-hi:#BEAB97;--fin:#A6927E;--fin-lo:#82705E}

.zn-device{position:relative;width:100%;aspect-ratio:85.5/142.1;border-radius:2.339%/1.407%;
  background:linear-gradient(160deg,var(--fin-hi) 0%,var(--fin) 30%,var(--fin) 68%,var(--fin-lo) 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),inset 0 -1px 0 1px rgba(0,0,0,.12),0 0 0 1px rgba(128,128,128,.28),0 30px 60px -28px rgba(0,0,0,.9),0 12px 24px -16px rgba(0,0,0,.6)}
.hsx-zennio[data-variant="z70"] .zn-device{aspect-ratio:189/137;border-radius:1.058%/1.46%}
.hsx-zennio[data-variant="z100"] .zn-device{aspect-ratio:248.9/174;border-radius:.804%/1.149%}
/* the screen under the glass, centred left and right */
.zn-glass{position:absolute;left:13.567%;top:10.858%;width:72.865%;height:78.002%;overflow:hidden}
.hsx-zennio[data-variant="z70"] .zn-glass{left:10.053%;top:15.557%;width:79.894%;height:68.887%}
.hsx-zennio[data-variant="z100"] .zn-glass{left:5.866%;top:9.824%;width:88.268%;height:78.915%}
/* two sensor dots, a little darker than the border: above the Z50's screen, under the wide panels' */
.zn-dot{position:absolute;left:46.43%;top:5.63%;width:2.047%;aspect-ratio:1/1;border-radius:50%;transform:translate(-50%,-50%);background:rgba(0,0,0,.27);box-shadow:inset 0 1px 1px rgba(0,0,0,.3),0 0 0 .6px rgba(255,255,255,.07)}
.zn-d2{left:53.57%}
.hsx-zennio[data-variant="z70"] .zn-dot{left:48.386%;top:95.474%;width:.794%}
.hsx-zennio[data-variant="z70"] .zn-d2{left:51.614%}
.hsx-zennio[data-variant="z100"] .zn-dot{left:48.775%;top:96.552%;width:.603%}
.hsx-zennio[data-variant="z100"] .zn-d2{left:51.225%}
/* the glass catches a little light, across the front and the screen */
.zn-sheen{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;pointer-events:none;background:linear-gradient(122deg,rgba(255,255,255,.06) 0%,rgba(255,255,255,0) 30%,rgba(255,255,255,0) 58%,rgba(255,255,255,.05) 58.2%,rgba(255,255,255,.02) 76%,rgba(255,255,255,0) 76.2%)}
/* the full size view (phones): the screen alone, as large as the window allows */
.hsx-zennio.full .zn-device{flex:none;aspect-ratio:1280/800;width:min(100%,calc((100vh - 24px) * 1.6));width:min(100%,calc((100dvh - 24px) * 1.6));border-radius:6px;background:#000;box-shadow:none}
.hsx-zennio.full .zn-glass{left:0;top:0;width:100%;height:100%;border-radius:6px}
.hsx-zennio.full .zn-dot,.hsx-zennio.full .zn-sheen{display:none}

/* ---- the screen ---- */
.zn-ui{width:1280px;height:800px;
  --zn-bg:#F5F5F5;--zn-mbg:#F6F6F6;--zn-hd1:#E4E3E8;--zn-hd2:#D8D7DC;--zn-hdl:#C5C4C9;--zn-b1:#F5F5F5;--zn-b2:#E7E7E7;--zn-line:#D3D3D3;
  --zn-card:#F8F8F8;--zn-csh:0 1px 2px rgba(0,0,0,.2),0 3px 10px rgba(0,0,0,.13);--zn-txt:#262626;--zn-sub:#9A9A9A;--zn-o:#1E1E1E;--zn-lit:#FFFFFF;
  --zn-rb1:#FDFDFD;--zn-rb2:#EFEFEF;--zn-rbg:#262626;--zn-rbsh:0 2px 3px rgba(0,0,0,.17),0 4px 11px rgba(0,0,0,.1);
  --zn-tr:#D7D7D7;--zn-fl:#A8A8A8;--zn-kn:#808080;--zn-sheet:#F3F3F3;--zn-bar1:#ECECEE;--zn-bar2:#DFDEE3;--zn-note:#2A2A2A;
  background:var(--zn-bg);color:var(--zn-txt);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Roboto,"Segoe UI",Arial,sans-serif;font-size:20px;line-height:1.2;font-weight:400;letter-spacing:0;text-align:left;-webkit-text-size-adjust:none;text-size-adjust:none}
.zn-ui[data-theme="dark"]{
  --zn-bg:#333333;--zn-mbg:#353535;--zn-hd1:#212025;--zn-hd2:#28272C;--zn-hdl:#141316;--zn-b1:#3B3B3B;--zn-b2:#303030;--zn-line:#1C1A1A;
  --zn-card:#3F3F44;--zn-csh:0 1px 2px rgba(0,0,0,.5),0 3px 10px rgba(0,0,0,.35);--zn-txt:#F2F2F2;--zn-sub:#A6A6A6;--zn-o:#ECECEC;
  --zn-rb1:#3A3A3A;--zn-rb2:#2C2C2C;--zn-rbg:#F2F2F2;--zn-rbsh:0 2px 3px rgba(0,0,0,.45),0 4px 11px rgba(0,0,0,.3);
  --zn-tr:#555555;--zn-fl:#7E7E7E;--zn-kn:#B8B8B8;--zn-sheet:#2E2E2E;--zn-bar1:#2A292E;--zn-bar2:#232227;--zn-note:#D2AC6C}
.zn-z50 .zn-ui{width:480px;height:854px}
/* in the dark theme the raised cards keep the light theme's pictures (dark outlines), as on Zennio's dark Menu */
.zn-ui[data-theme="dark"] .zn-card{--zn-o:#1E1E1E}
.zn-ui .zn-in{position:absolute;left:0;top:0;width:100%;height:100%}
.zn-ui p,.zn-ui h3{margin:0;padding:0;max-width:none;font:inherit;color:inherit}
.zn-ui b,.zn-ui strong{font-weight:inherit}
.zn-ui svg{max-width:none}
.zn-ui button{-webkit-user-select:none;user-select:none;touch-action:manipulation}
.zn-ui button:focus-visible,.zn-ui [tabindex]:focus-visible{outline:3px solid #FF8A1F;outline-offset:2px}
.zn-ui .zn-title:focus,.zn-ui .zn-title:focus-visible{outline:none}
.zn-ui [aria-disabled="true"]{cursor:default}

/* ---- glyphs and pictures. Pictures keep the same line weight at every size: --zs is the outline for a 100 unit
   picture drawn at that context's size, --zk corrects it for the pictures with their own view box ---- */
.zn-ui .zg{display:block;flex:none;width:24px;height:24px}
.zn-ui .zp{--zs:3px;display:block;flex:none;width:84px;height:84px;overflow:visible}
.zn-ui .zg-pa,.zn-ui .zp.zg-pa{display:none}
.zn-ui [aria-pressed="true"] > .zg-pl{display:none}
.zn-ui [aria-pressed="true"] > .zg-pa{display:block}
.zn-ui .zp .o{stroke:var(--zn-o);stroke-width:calc(var(--zs) * var(--zk,1));stroke-linecap:round;stroke-linejoin:round;fill:none}
.zn-ui .zp .t{stroke:var(--zn-o);stroke-width:calc(var(--zs) * var(--zk,1) * .64);stroke-linecap:round;stroke-linejoin:round;fill:none}
.zn-ui .zp .o4{stroke:var(--zn-o);stroke-width:calc(var(--zs) * var(--zk,1) * 1.4);stroke-linecap:round;fill:none}
.zn-ui .zp .tw{stroke:#FFFFFF;stroke-width:calc(var(--zs) * var(--zk,1) * .7);stroke-linecap:round;fill:none;opacity:.85}
.zn-ui .zp .w{fill:#FFFFFF}
.zn-ui .zp .l{fill:#CDCCDB}
.zn-ui .zp .y{fill:var(--zn-lit)}
.zn-ui .zp .b{fill:#93D2EE}
.zn-ui .zp .g{fill:#7EC47B}
.zn-ui .zp .r{fill:#DC4B3B}
.zn-ui .zp .k{fill:var(--zn-o)}
.zn-ui .zp .d{fill:#E2C39B}
.zn-ui .zp .n{fill:#E7C35C}
.zn-ui .zp .a{fill:#EBA53F}
.zn-ui .zp .c{fill:#F3E3C6}
.zn-ui .zp .s{fill:#D5EBF8}
.zn-ui .zp .p{fill:#D98F5F}
.zn-ui .zp .bk{fill:#B48557}
.zn-ui .zp .gy{fill:#6F6E7C}
.zn-ui .zp .gn{fill:#55B866}
.zn-ui .zp .op{opacity:.5}
.zn-ui .zp .ry{stroke:var(--zn-o);stroke-width:calc(var(--zs) * var(--zk,1) * .82);stroke-linecap:round;fill:none}
.zn-ui .zp .sk1{stroke:var(--zn-o);stroke-width:calc(var(--zs) * var(--zk,1) * 2.75);stroke-linecap:round;stroke-linejoin:round;fill:none}
.zn-ui .zp .sk2{stroke:#93D2EE;stroke-width:calc(var(--zs) * var(--zk,1) * 1.2);stroke-linecap:round;stroke-linejoin:round;fill:none}
.zn-ui .zp .ak1{stroke:var(--zn-o);stroke-width:calc(var(--zs) * var(--zk,1) * 4.1);stroke-linecap:butt;fill:none}
.zn-ui .zp .ak2{stroke-width:calc(var(--zs) * var(--zk,1) * 2.2);stroke-linecap:butt;fill:none}
.zn-ui .zp .ab{stroke:#8FCCEC}
.zn-ui .zp .abf{fill:#8FCCEC}
.zn-ui .zp .ao{stroke:#F5D23C}
.zn-ui .zp .aof{fill:#F5D23C}
.zn-ui .zp .pw{stroke:var(--zn-o);stroke-width:calc(var(--zs) * var(--zk,1) * 2.05);stroke-linecap:round;fill:none}
.zn-ui .zp .ck{stroke:#FFFFFF;stroke-width:calc(var(--zs) * var(--zk,1) * 1.25);stroke-linecap:round;stroke-linejoin:round;fill:none}
.zn-ui .zp .nt{fill:var(--zn-note)}
.zn-ui .zp .ns{stroke:var(--zn-note);stroke-width:calc(var(--zs) * var(--zk,1) * 1.4);stroke-linecap:round;fill:none}
.zn-ui .zp .wv{stroke:#7B79D6;stroke-width:calc(var(--zs) * var(--zk,1) * 1.12);stroke-linecap:round;fill:none}
.zn-ui .zp .s62 .o{stroke-width:calc(var(--zs) * var(--zk,1) * 1.66)}
.zn-ui .zp .zled{fill:#B9B9C2}
.zn-ui .zp .fb1,.zn-ui .zp .fb2,.zn-ui .zp .fb3{fill:#FFFFFF}
.zn-ui .zp .fa{fill:var(--zn-o);font-size:13px;font-weight:700;font-family:inherit}
.zn-ui .zp .swr{fill:#FFFFFF;stroke:rgba(0,0,0,.18);stroke-width:1.5;transition:fill .25s,opacity .25s}
.zn-ui .zp .shf{fill:#CDCCDB}
.zn-ui .zn-slash path{stroke:var(--zn-o);stroke-width:4.6;stroke-linecap:round;fill:none}
.zn-ui .zn-slash{position:absolute;left:0;top:0;width:100%;height:100%}
.zn-ui [data-onoff]{position:relative;display:block}
/* the lit parts and the rays follow the device; the cards show them lit */
.zn-ui .zn-card,.zn-ui .zn-sbox{--zn-lit:#F3E30B}
.zn-ui .zn-box[data-on="true"]{--zn-lit:#F3E30B}
.zn-ui .zn-box[data-on="false"] .ry{display:none}
.zn-ui .zn-box[data-on="false"] .wv{display:none}
.zn-ui .zn-box[data-on="true"] .zled{fill:#4FC665}
.zn-ui .zn-box[data-mode="heat"] .wv{stroke:#F08A3C}
.zn-ui .zn-box[data-mode="fan"] .wv{stroke:#9C9CAE}
.zn-ui .zn-box[data-mode="dry"] .wv{stroke:#4EB3CF}
.zn-ui .zn-box[data-mode="auto"] .wv{stroke:#4FB582}
.zn-ui .zn-box[data-on="false"] .zsw{opacity:.4}
.zn-ui .zn-box[data-fan="low"] .fb1,.zn-ui .zn-box[data-fan="mid"] .fb1,.zn-ui .zn-box[data-fan="mid"] .fb2,.zn-ui .zn-box[data-fan="high"] .fb1,.zn-ui .zn-box[data-fan="high"] .fb2,.zn-ui .zn-box[data-fan="high"] .fb3{fill:var(--zn-o)}
.zn-ui .zn-box:not([data-fan="auto"]) .fa{display:none}
.zn-ui .zn-box[data-on="false"] .zn-ic .zp{opacity:.62}
.zn-ui .zn-box.zn-k-light[data-on="false"] .zn-ic .zp,.zn-ui .zn-box.zn-k-lamp[data-on="false"] .zn-ic .zp,.zn-ui .zn-box.zn-k-led[data-on="false"] .zn-ic .zp{opacity:1}
.zn-ui .zn-in:not([data-alarm="disarmed"]) .zn-alarm .shf{fill:#EBA53F}
.zn-ui .zn-in[data-alarm="disarmed"] .zn-alarm .ck{display:none}

/* ---- the header bar: home (the Menu), the page title, the temperature and the time, the gear ---- */
.zn-ui .zn-hd{position:absolute;left:0;top:0;right:0;height:50px;z-index:3;background:linear-gradient(180deg,var(--zn-hd1),var(--zn-hd2));box-shadow:inset 0 -1px 0 var(--zn-hdl)}
.zn-ui .zn-home{position:absolute;left:6px;top:0;width:66px;height:50px;display:grid;place-items:center;color:var(--zn-txt)}
.zn-ui .zn-home .zg{width:44px;height:44px}
.zn-ui .zn-title{position:absolute;left:330px;right:330px;top:0;height:50px;font-size:29px;line-height:50px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--zn-txt)}
.zn-ui .zn-hr{position:absolute;right:78px;top:0;height:50px;display:flex;align-items:center;gap:13px;font-size:28px;line-height:50px;white-space:nowrap;color:var(--zn-txt);font-variant-numeric:tabular-nums}
.zn-ui .zn-sep{display:block;width:2px;height:21px;margin-top:2px;background:currentColor;opacity:.75}
.zn-ui .zn-gear{position:absolute;right:6px;top:0;width:66px;height:50px;display:grid;place-items:center;color:var(--zn-txt)}
.zn-ui .zn-gear .zg{width:44px;height:44px}

/* ---- pages ---- */
.zn-ui .zn-pg{position:absolute;left:0;top:50px;width:100%;height:750px;overflow:hidden}
.zn-ui .zn-grid{display:grid;gap:1px;background:var(--zn-bg)}
/* a cell: Zennio's box, a gentle gradient from top to bottom; the lines between the boxes */
.zn-ui .zn-cell{position:relative;min-width:0;min-height:0;overflow:hidden;background:linear-gradient(180deg,var(--zn-b1),var(--zn-b2));box-shadow:1px 0 0 var(--zn-line),0 1px 0 var(--zn-line),1px 1px 0 var(--zn-line);color:var(--zn-txt)}
.zn-ui button.zn-cell{display:block;width:100%;height:100%;text-align:center}

/* the Menu: raised cards, 4 x 3 */
.zn-ui .zn-menu{display:grid;grid-template-columns:repeat(4,280px);grid-template-rows:repeat(3,216px);gap:35px 40px;padding:18px 20px 0;background:var(--zn-mbg)}
.zn-ui .zn-card{position:relative;display:block;width:100%;height:100%;border-radius:8px;background:var(--zn-card);box-shadow:var(--zn-csh);color:var(--zn-txt);text-align:center;transition:box-shadow .15s,transform .15s}
.zn-ui .zn-card:active{transform:translateY(1px);box-shadow:0 1px 2px rgba(0,0,0,.2)}
.zn-ui .zn-card .zn-cp{--zs:2.4px;position:absolute;left:50%;top:32px;width:112px;height:112px;margin-left:-56px}
.zn-ui .zn-card .zn-cl{position:absolute;left:8px;right:8px;bottom:22px;font-size:24px;line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the links on a room page: smaller cards inside the cells */
.zn-ui .zn-lk{padding:11px 17px 12px 16px}
.zn-ui .zn-card.zn-sm .zn-cp{--zs:2.65px;top:20px;width:92px;height:92px;margin-left:-46px}
.zn-ui .zn-card.zn-sm .zn-cl{bottom:11px;font-size:18.5px;line-height:24px}

/* a room: 5 x 4, the links down the left and along the bottom */
.zn-ui .zn-room{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}
/* inside a box: the picture, a small grey value and the label; the controls down the right */
.zn-ui .zn-cc{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:0 6px 13px;text-align:center}
.zn-ui .zn-hc .zn-cc{right:56px}
.zn-ui [data-tap]{cursor:pointer}
.zn-ui .zn-ic{--is:96px;display:block;margin-bottom:2px}
.zn-ui .zn-ic .zp{--zs:2.95px;width:calc(var(--is) * var(--zw,1));height:calc(var(--is) * var(--zh,1))}
.zn-ui .zn-val{display:block;height:22px;font-size:19px;line-height:22px;color:var(--zn-sub);white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.zn-ui .zn-val i{font-style:normal}
.zn-ui .zn-val small{font-size:.8em;margin-left:1px}
.zn-ui .zn-lb{display:block;max-width:100%;font-size:21px;line-height:26px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zn-ui .zn-ctl{position:absolute;right:0;top:0;bottom:0;width:98px;display:flex;flex-direction:column;align-items:center;padding-top:11px;gap:29px}
.zn-ui .zn-rb{display:grid;place-items:center;flex:none;width:56px;height:56px;border-radius:50%;background:linear-gradient(160deg,var(--zn-rb1),var(--zn-rb2));box-shadow:var(--zn-rbsh);color:var(--zn-rbg);transition:background .2s,box-shadow .2s,transform .1s}
.zn-ui .zn-rb .zg{width:30px;height:30px}
.zn-ui .zn-rb:active{transform:scale(.95)}
.zn-ui .zn-rb[aria-pressed="true"]{background:linear-gradient(160deg,#E2E2E2,#D2D2D2);box-shadow:inset 0 2px 4px rgba(0,0,0,.18)}
.zn-ui[data-theme="dark"] .zn-rb[aria-pressed="true"]{background:linear-gradient(160deg,#1E1E1E,#161616);box-shadow:inset 0 2px 4px rgba(0,0,0,.5)}
/* a slider: a thin track, the part below the knob darker, a round grey knob */
.zn-ui .zn-cs{padding:13px 0 42px;gap:0}
.zn-ui .zn-sl{position:relative;flex:1 1 auto;width:56px;cursor:pointer;touch-action:none}
.zn-ui .zn-sl .zn-tr{position:absolute;left:50%;top:0;bottom:0;width:7px;margin-left:-3.5px;border-radius:4px;background:var(--zn-tr)}
.zn-ui .zn-sl .zn-fl{position:absolute;left:50%;bottom:0;width:7px;margin-left:-3.5px;height:calc(var(--v,0) * 1%);border-radius:4px;background:var(--zn-fl)}
.zn-ui .zn-sl .zn-kn{position:absolute;left:50%;bottom:calc(var(--v,0) * 1%);width:24px;height:24px;margin:0 0 -12px -12px;border-radius:50%;background:var(--zn-kn);box-shadow:0 1px 2px rgba(0,0,0,.28)}
.zn-ui .zn-sl:focus-visible{outline-offset:6px}
/* the set point's slider: red at the top, blue at the bottom */
.zn-ui .zn-spsl .zn-tr{width:10px;margin-left:-5px;border-radius:5px;background:linear-gradient(180deg,#E4553D 0%,#FA8461 36%,#DAB2B3 52%,#C5CFE6 64%,#9BBEEC 78%,#438BE4 100%)}
.zn-ui .zn-spsl .zn-fl{display:none}
.zn-ui .zn-spsl .zn-kn{width:30px;height:30px;margin:0 0 -15px -15px;background:#999999}

/* the set point (and the other big readings): a large number, a small decimal, the unit above it */
.zn-ui .zn-sp{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:0 8px 15px;text-align:center}
.zn-ui .zn-hc .zn-sp{right:56px}
.zn-ui .zn-num{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:start;margin:0 0 4px 22px;color:var(--zn-txt);font-variant-numeric:tabular-nums;white-space:nowrap}
.zn-ui .zn-num b{grid-row:1/span 2;font-size:84px;font-weight:300;line-height:.76;letter-spacing:-1px}
.zn-ui .zn-num sup{grid-column:2;grid-row:1;align-self:start;font-size:31px;font-weight:300;line-height:.75;margin:-2px 0 0 2px;vertical-align:baseline;position:static}
.zn-ui .zn-num small{grid-column:2;grid-row:2;align-self:end;font-size:34px;font-weight:300;line-height:.76;margin-left:-1px}
.zn-ui .zn-num small.pc{grid-row:1/span 2;font-size:40px;margin-left:6px}
.zn-ui .zn-rt{display:flex;align-items:baseline;gap:2px;margin-bottom:8px;font-size:30px;line-height:1;font-weight:300;color:var(--zn-sub);white-space:nowrap}
.zn-ui .zn-rt .zg{align-self:center;width:26px;height:26px;margin-right:4px}
.zn-ui .zn-rt small{font-size:20px}
.zn-ui .zn-rt sup{font-size:18px;position:static;vertical-align:baseline;align-self:flex-start;margin-left:2px}
.zn-ui .zn-big .zn-sp{right:88px;padding-bottom:18px}
.zn-ui .zn-big .zn-num{margin-bottom:24px}
.zn-ui .zn-big .zn-num b{font-size:124px;letter-spacing:-2px}
.zn-ui .zn-big .zn-num sup{font-size:42px;margin-top:-4px}
.zn-ui .zn-big .zn-num small{font-size:48px}
.zn-ui .zn-big .zn-rt{font-size:44px;margin-bottom:30px}
.zn-ui .zn-big .zn-rt .zg{width:38px;height:38px}
.zn-ui .zn-big .zn-rt small{font-size:28px}
.zn-ui .zn-big .zn-rt sup{font-size:24px}
.zn-ui .zn-big .zn-lb{font-size:29px;line-height:34px}
.zn-ui .zn-big .zn-ctl{width:244px;padding-top:36px;gap:64px}
.zn-ui .zn-big .zn-ctl .zn-rb{width:106px;height:106px}
.zn-ui .zn-big .zn-ctl .zn-rb .zg{width:52px;height:52px}
.zn-ui .zn-out .zn-rt,.zn-ui .zn-big.zn-k-outdoor .zn-rt{font-size:22px}
.zn-ui .zn-big.zn-k-outdoor .zn-sp{right:0}
/* tall boxes: a larger picture; the buttons in the middle of the right side */
.zn-ui .zn-tall .zn-cc{padding-bottom:22px}
.zn-ui .zn-tall .zn-ic{--is:132px}
.zn-ui .zn-tall .zn-ic .zp{--zs:2.35px}
.zn-ui .zn-tall .zn-ctl{justify-content:center;padding-top:0;gap:40px}
.zn-ui .zn-tall .zn-cs{padding:26px 0 70px}
.zn-ui .zn-tall .zn-val{margin-top:6px}
/* the big light (the garden): a large picture, a long slider */
.zn-ui .zn-big.zn-k-light .zn-cc{right:120px;padding-bottom:22px}
.zn-ui .zn-big.zn-k-light .zn-ic{--is:176px}
.zn-ui .zn-big.zn-k-light .zn-ic .zp{--zs:1.85px}
.zn-ui .zn-big.zn-k-light .zn-ctl{width:240px;padding:26px 0 60px}

/* ---- Scenes: 3, 2 and 3 boxes ---- */
.zn-ui .zn-scn{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
.zn-ui .zn-scn .zn-sbox{grid-column:span 2}
.zn-ui .zn-scn .zn-sbox:nth-child(4),.zn-ui .zn-scn .zn-sbox:nth-child(5){grid-column:span 3}
.zn-ui .zn-sbox{display:flex!important;flex-direction:column;align-items:center;justify-content:flex-end;padding:0 8px 22px;transition:background .2s}
.zn-ui .zn-sbox .zp{--zs:2.35px;width:128px;height:128px;margin-bottom:18px}
.zn-ui .zn-sbox:active{background:linear-gradient(180deg,var(--zn-b2),var(--zn-b1))}
.zn-ui .zn-sbox[aria-pressed="true"]:not(.zn-mb){background:linear-gradient(180deg,#E3EEF9,#D4E3F3)}
.zn-ui[data-theme="dark"] .zn-sbox[aria-pressed="true"]:not(.zn-mb){background:linear-gradient(180deg,#2F3C4B,#27313D)}
.zn-ui .zn-sbox[aria-pressed="true"]:not(.zn-mb)::after{content:"";position:absolute;left:50%;bottom:10px;width:46px;height:4px;margin-left:-23px;border-radius:2px;background:#3B82D9}

/* ---- Climate: a box for each room ---- */
.zn-ui .zn-clim{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
.zn-ui .zn-cl .zn-sp{right:76px;padding-bottom:16px}
.zn-ui .zn-clo .zn-sp{right:0}
.zn-ui .zn-cl .zn-num{margin-bottom:10px}
.zn-ui .zn-cl .zn-num b{font-size:88px}
.zn-ui .zn-cl .zn-rt{font-size:28px;margin-bottom:22px}
.zn-ui .zn-cl .zn-rt .zg{width:26px;height:26px}
.zn-ui .zn-cl .zn-lb{font-size:24px;line-height:30px}
.zn-ui .zn-cl .zn-ctl{width:84px;padding-top:16px;gap:22px}
.zn-ui .zn-cl[data-on="false"] .zn-num,.zn-ui .zn-cl[data-on="false"] .zn-chips{opacity:.45}
.zn-ui .zn-chips{display:flex;gap:10px;margin-bottom:16px}
.zn-ui .zn-chip{display:flex;align-items:center;gap:6px;height:48px;padding:0 13px 0 7px;border-radius:24px;background:linear-gradient(160deg,var(--zn-rb1),var(--zn-rb2));box-shadow:var(--zn-rbsh);font-size:17px;white-space:nowrap;color:var(--zn-txt)}
.zn-ui .zn-chip .zp{--zs:5.5px;width:calc(34px * var(--zw,1));height:calc(34px * var(--zh,1))}
.zn-ui .zn-cmf{display:block;margin-bottom:12px;font-size:18px;color:var(--zn-sub);white-space:nowrap}

/* ---- Access: the gate's camera, the alarm, calls ---- */
.zn-ui .zn-acc{grid-template-columns:repeat(20,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
.zn-ui .zn-acc .zn-gatebox{grid-column:1/span 10;grid-row:1/span 2}
.zn-ui .zn-acc .zn-alarm{grid-column:11/span 10;grid-row:1/span 2}
.zn-ui .zn-acc .zn-callbox{grid-column:span 4;grid-row:3}
.zn-ui .zn-camw{position:absolute;left:20px;top:20px;right:124px;bottom:62px;border-radius:6px;overflow:hidden;background:#0E1621;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.zn-ui .zn-camw .hs-cam > text,.zn-ui .zn-cview .hs-cam > text{display:none}
.zn-ui .zn-gatebox .zn-lb{position:absolute;left:20px;right:124px;bottom:18px;text-align:center}
.zn-ui .zn-gatebox .zn-ctl{width:124px;justify-content:center;padding:0 0 42px}
.zn-ui .zn-gatebox .zn-rb{width:76px;height:76px}
.zn-ui .zn-gatebox .zn-rb .zg{width:36px;height:36px}
.zn-ui .zn-alarm{display:flex;flex-direction:column;justify-content:center;padding:28px 44px}
.zn-ui .zn-alh{display:flex;align-items:center;gap:22px}
.zn-ui .zn-alh .zp{--zs:2.4px;width:120px;height:120px}
.zn-ui .zn-alh b{display:block;font-size:34px;line-height:42px}
.zn-ui .zn-alh small{display:block;margin-top:4px;font-size:19px;line-height:25px;color:var(--zn-sub)}
.zn-ui .zn-arm{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:34px}
.zn-ui .zn-pill{height:68px;border-radius:10px;background:var(--zn-card);box-shadow:var(--zn-csh);font-size:22px;text-align:center;color:var(--zn-txt);transition:background .2s,color .2s}
.zn-ui .zn-pill[aria-pressed="true"]{background:#EBA53F;color:#1E1E1E;box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}
.zn-ui .zn-in[data-alarm="disarmed"] .zn-pill[aria-pressed="true"]{background:#5F5F66;color:#FFFFFF}
.zn-ui .zn-last{display:block;margin-top:22px;font-size:17px;line-height:22px;color:var(--zn-sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zn-ui .zn-callbox .zn-ic{--is:92px}

/* ---- Multimedia ---- */
.zn-ui .zn-med{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
.zn-ui .zn-med > :nth-child(1){grid-area:1/1/2/2}
.zn-ui .zn-med > :nth-child(2){grid-area:1/2/2/3}
.zn-ui .zn-med > :nth-child(3){grid-area:2/1/3/2}
.zn-ui .zn-med > :nth-child(4){grid-area:2/2/3/3}
.zn-ui .zn-med > :nth-child(5){grid-area:1/3/4/5}
.zn-ui .zn-med > :nth-child(6){grid-area:3/1/4/2}
.zn-ui .zn-med > :nth-child(7){grid-area:3/2/4/3}
.zn-ui .zn-mb .zp{width:92px;height:92px;margin-bottom:26px}
.zn-ui .zn-title2{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 48px 26px;text-align:center}
.zn-ui .zn-trk{display:block;max-width:100%;font-size:62px;line-height:1.12;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zn-ui .zn-art{display:block;margin-top:16px;font-size:24px;color:var(--zn-sub);white-space:nowrap}
.zn-ui .zn-title2 .zn-lb{position:absolute;left:0;right:0;bottom:26px;font-size:32px;line-height:38px;color:var(--zn-sub)}
.zn-ui .zn-vol .zn-num b{font-size:64px}
.zn-ui .zn-vol .zn-num{margin:0 0 26px}
.zn-ui .zn-mroom b{display:block;max-width:100%;margin-bottom:28px;font-size:30px;line-height:36px;white-space:nowrap;overflow:hidden}

/* ---- sheets over the page ---- */
.zn-ui .zn-scrim{position:absolute;left:0;top:0;right:0;bottom:0;z-index:20;background:rgba(0,0,0,.42);opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s linear .2s}
.zn-ui .zn-scrim.on{opacity:1;visibility:visible;transition:opacity .2s}
.zn-ui .zn-sheet{display:none;position:absolute;z-index:21;left:50%;top:50%;transform:translate(-50%,-50%);overflow:hidden;border-radius:10px;background:var(--zn-sheet);color:var(--zn-txt);box-shadow:0 20px 60px -10px rgba(0,0,0,.55)}
.zn-ui .zn-sheet.on{display:block;animation:zn-in .2s ease}
@keyframes zn-in{from{opacity:0;transform:translate(-50%,-47%)}to{opacity:1;transform:translate(-50%,-50%)}}
.zn-ui .zn-bar{position:relative;height:64px;background:linear-gradient(180deg,var(--zn-bar1),var(--zn-bar2));box-shadow:inset 0 -1px 0 var(--zn-hdl)}
.zn-ui .zn-bar h3{position:absolute;left:80px;right:80px;top:0;font-size:29px;line-height:64px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zn-ui .zn-bsub{position:absolute;left:24px;top:0;font-size:20px;line-height:64px;color:var(--zn-sub);white-space:nowrap;font-variant-numeric:tabular-nums}
.zn-ui .zn-x{position:absolute;right:6px;top:4px;width:56px;height:56px;display:grid;place-items:center;border-radius:28px;color:var(--zn-txt)}
.zn-ui .zn-x .zg{width:44px;height:44px}
/* Settings */
.zn-ui .zn-sh-settings{width:560px}
.zn-ui .zn-set{padding:26px 34px 30px}
.zn-ui .zn-setl{font-size:20px;color:var(--zn-sub);margin-bottom:14px}
.zn-ui .zn-themes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.zn-ui .zn-theme{display:flex;flex-direction:column;align-items:center;gap:14px;padding:16px 0 14px;border-radius:10px;background:var(--zn-card);box-shadow:var(--zn-csh);font-size:22px;color:var(--zn-txt)}
.zn-ui .zn-theme[aria-pressed="true"]{box-shadow:var(--zn-csh),inset 0 0 0 3px #3B82D9}
.zn-ui .zn-tp{display:grid;grid-template-columns:repeat(2,1fr);gap:3px;width:150px;height:96px;padding:22px 6px 6px;border-radius:6px;position:relative}
.zn-ui .zn-tp::before{content:"";position:absolute;left:0;right:0;top:0;height:16px;border-radius:6px 6px 0 0}
.zn-ui .zn-tp i{display:block;border-radius:2px}
.zn-ui .zn-tp-light{background:#F0F0F0;box-shadow:inset 0 0 0 1px #D2D2D2}
.zn-ui .zn-tp-light::before{background:#DDDCE1}
.zn-ui .zn-tp-light i{background:linear-gradient(#F8F8F8,#E6E6E6);box-shadow:0 1px 1px rgba(0,0,0,.12)}
.zn-ui .zn-tp-dark{background:#333333;box-shadow:inset 0 0 0 1px #1E1E1E}
.zn-ui .zn-tp-dark::before{background:#232227}
.zn-ui .zn-tp-dark i{background:linear-gradient(#3E3E3E,#303030)}
.zn-ui .zn-setn{margin-top:18px;font-size:17px;color:var(--zn-sub)}
/* the alarm code */
.zn-ui .zn-sh-pin{width:520px}
.zn-ui .zn-pinp{padding:20px 34px 0;font-size:19px;line-height:1.35;color:var(--zn-sub);text-align:center}
.zn-ui .zn-code{display:flex;justify-content:center;gap:20px;margin:22px 0 22px}
.zn-ui .zn-code i{width:20px;height:20px;border-radius:50%;border:2px solid var(--zn-sub);transition:background .12s}
.zn-ui .zn-code i.f{background:var(--zn-txt);border-color:var(--zn-txt)}
.zn-ui .zn-code.err{animation:zn-shake .4s ease}
@keyframes zn-shake{20%,60%{transform:translateX(-10px)}40%,80%{transform:translateX(10px)}}
.zn-ui .zn-keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0 34px 30px}
.zn-ui .zn-key{display:grid;place-items:center;height:66px;border-radius:10px;background:var(--zn-card);box-shadow:var(--zn-csh);font-size:30px;color:var(--zn-txt)}
.zn-ui .zn-key .zg{width:32px;height:32px}
.zn-ui .zn-key:active{transform:translateY(1px)}
/* the LED strip's colour: presets, the wheel, the brightness, the colour chosen */
.zn-ui .zn-sh-rgbw{width:1256px;height:776px}
.zn-ui .zn-rgbw{position:absolute;left:0;top:64px;right:0;bottom:0}
.zn-ui .zn-pre{position:absolute;left:46px;top:110px;display:flex;flex-direction:column;gap:20px}
.zn-ui .zn-preb{width:66px;height:66px;border-radius:6px;box-shadow:0 1px 3px rgba(0,0,0,.3),inset 0 0 0 1px rgba(0,0,0,.08)}
.zn-ui .zn-preb[aria-pressed="true"]{box-shadow:0 0 0 3px var(--zn-sheet),0 0 0 6px var(--zn-txt)}
.zn-ui .zn-wheel{position:absolute;left:252px;top:38px;width:636px;height:636px;border-radius:50%;cursor:crosshair;touch-action:none;
  background:radial-gradient(circle closest-side,#FFFFFF 0%,rgba(255,255,255,.85) 18%,rgba(255,255,255,0) 100%),conic-gradient(from 90deg,#FF0000,#FFFF00,#00FF00,#00FFFF,#0000FF,#FF00FF,#FF0000);box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.zn-ui .zn-wheel:focus-visible{outline-offset:6px}
.zn-ui .zn-wm{position:absolute;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;border:2.5px solid #1E1E1E;box-shadow:0 0 0 1.5px rgba(255,255,255,.8);pointer-events:none}
.zn-ui .zn-lsl{position:absolute;left:922px;top:46px;height:618px;width:56px}
.zn-ui .zn-lsl .zn-tr{width:20px;margin-left:-10px;border-radius:10px;background:linear-gradient(0deg,#050505,var(--c,#FFB24A))}
.zn-ui .zn-lsl .zn-kn{width:34px;height:34px;margin:0 0 -17px -17px;background:#8F8F8F}
.zn-ui .zn-chosen{position:absolute;left:1084px;top:308px;width:100px;height:100px;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.25)}
/* the intercom: the camera on the left, the doors to open, volume, hang up and answer */
.zn-ui .zn-sh-call{width:1280px;height:800px;border-radius:0}
.zn-ui .zn-sh-call .zn-bar{height:94px}
.zn-ui .zn-sh-call .zn-bar h3{font-size:36px;line-height:94px}
.zn-ui .zn-sh-call .zn-bsub{left:28px;line-height:94px;font-size:22px}
.zn-ui .zn-sh-call .zn-x{top:19px;right:12px}
.zn-ui .zn-call{position:absolute;left:0;top:94px;right:0;bottom:0}
.zn-ui .zn-cview{position:absolute;left:0;top:0;width:926px;bottom:0;background:#0E1621;overflow:hidden}
.zn-ui .zn-cview .hs-cam{width:100%;height:100%}
.zn-ui .zn-cpanel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:linear-gradient(180deg,var(--zn-b1),var(--zn-b2));color:var(--zn-txt)}
.zn-ui .zn-cpanel .zp{--zs:1.5px;width:220px;height:220px}
.zn-ui .zn-cpanel b{font-size:44px;font-weight:300;font-variant-numeric:tabular-nums}
.zn-ui .zn-cside{position:absolute;left:926px;top:0;right:0;bottom:0}
.zn-ui .zn-doors{position:absolute;left:34px;right:20px;top:26px;display:flex;flex-direction:column;gap:16px}
.zn-ui .zn-door{display:flex;align-items:center;gap:22px;height:76px;padding-left:4px;padding-right:12px;border-radius:38px;font-size:28px;color:var(--zn-txt);text-align:left;white-space:nowrap}
.zn-ui .zn-door .zn-kc{display:grid;place-items:center;flex:none;width:68px;height:68px;border-radius:50%;background:#A9B8F5;color:#FFFFFF;box-shadow:0 2px 4px rgba(0,0,0,.2)}
.zn-ui .zn-door .zn-kc .zg{width:36px;height:36px}
.zn-ui .zn-door[data-done="true"] .zn-kc{background:#4FBF6A}
.zn-ui .zn-door[aria-disabled="true"][data-done="false"]{opacity:.5}
.zn-ui .zn-cvol{position:absolute;left:24px;right:16px;top:432px;display:flex;align-items:center;gap:12px}
.zn-ui .zn-rbs{width:62px;height:62px}
.zn-ui .zn-rbs .zg{width:32px;height:32px}
.zn-ui .zn-bars{display:flex;align-items:flex-end;gap:4px;height:30px;margin:0 2px}
.zn-ui .zn-bars i{display:block;width:5px;border-radius:2px;background:var(--zn-tr)}
.zn-ui .zn-bars i:nth-child(1){height:10px}.zn-ui .zn-bars i:nth-child(2){height:15px}.zn-ui .zn-bars i:nth-child(3){height:20px}.zn-ui .zn-bars i:nth-child(4){height:25px}.zn-ui .zn-bars i:nth-child(5){height:30px}
.zn-ui .zn-bars i.f{background:var(--zn-txt)}
.zn-ui .zn-mute{margin-left:auto}
.zn-ui .zn-mute .zg-off,.zn-ui .zn-mute[aria-pressed="true"] .zg-on{display:none}
.zn-ui .zn-mute[aria-pressed="true"] .zg-off{display:block}
.zn-ui .zn-cbtns{position:absolute;left:30px;right:20px;bottom:24px;display:flex;align-items:center;justify-content:space-between}
.zn-ui .zn-hang,.zn-ui .zn-answer{display:grid;place-items:center;width:100px;height:100px;border-radius:50%;color:#FFFFFF;box-shadow:0 3px 8px rgba(0,0,0,.3)}
.zn-ui .zn-hang{background:radial-gradient(circle at 40% 35%,#EF4A33,#C9281A)}
.zn-ui .zn-answer{background:radial-gradient(circle at 40% 35%,#7BC24F,#4E9A2C)}
.zn-ui .zn-answer[aria-disabled="true"]{background:#C9C9C9;box-shadow:none}
.zn-ui[data-theme="dark"] .zn-answer[aria-disabled="true"]{background:#555555}
.zn-ui .zn-hang .zg,.zn-ui .zn-answer .zg{width:46px;height:46px}
.zn-ringing .zn-ui .zn-answer{animation:zn-ring 1.4s ease-out infinite}
@keyframes zn-ring{0%{box-shadow:0 0 0 0 rgba(79,190,90,.6)}100%{box-shadow:0 0 0 26px rgba(79,190,90,0)}}

/* the toast: a short sentence after each change, at the bottom of the screen */
.zn-ui .zn-toastw{position:absolute;left:0;right:0;bottom:24px;z-index:30;text-align:center;pointer-events:none}
.zn-ui .zn-toast{display:inline-block;max-width:1000px;padding:14px 26px;border-radius:30px;background:rgba(40,40,42,.94);color:#FFFFFF;font-size:20px;line-height:1.35;opacity:0;transform:translateY(12px);transition:opacity .25s,transform .25s;box-shadow:0 10px 30px -10px rgba(0,0,0,.6)}
.zn-ui[data-theme="dark"] .zn-toast{background:rgba(245,245,245,.96);color:#1E1E1E}
.zn-ui .zn-toast.on{opacity:1;transform:none}

/* ---- the Z50: 480 x 854, two boxes to a row ---- */
.zn-z50 .zn-ui .zn-hd{height:48px}
.zn-z50 .zn-ui .zn-home{left:0;width:54px;height:48px}
.zn-z50 .zn-ui .zn-home .zg{width:42px;height:42px}
.zn-z50 .zn-ui .zn-htemp{position:absolute;left:55px;top:0;font-size:24px;line-height:48px;white-space:nowrap;color:var(--zn-txt)}
.zn-z50 .zn-ui .zn-title{left:126px;right:126px;height:48px;font-size:25px;line-height:48px}
.zn-z50 .zn-ui .zn-hr{right:56px;height:48px;font-size:24px;line-height:48px}
.zn-z50 .zn-ui .zn-gear{right:0;width:52px;height:48px}
.zn-z50 .zn-ui .zn-gear .zg{width:42px;height:42px}
.zn-z50 .zn-ui .zn-pg{top:48px;height:806px}
.zn-z50 .zn-ui .zn-menu{grid-template-columns:repeat(3,144px);grid-template-rows:repeat(4,184px);gap:18px 17px;padding:9px 7px 0}
.zn-z50 .zn-ui .zn-card .zn-cp{--zs:2.8px;top:30px;width:92px;height:92px;margin-left:-46px}
.zn-z50 .zn-ui .zn-card .zn-cl{left:4px;right:4px;bottom:15px;font-size:21px;line-height:26px}
.zn-z50 .zn-ui .zn-tgrid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row dense}
.zn-z50 .zn-ui .zn-r5{grid-template-rows:repeat(5,minmax(0,1fr))}
.zn-z50 .zn-ui .zn-r4{grid-template-rows:repeat(4,minmax(0,1fr))}
.zn-z50 .zn-ui .zn-hc .zn-cc,.zn-z50 .zn-ui .zn-hc .zn-sp{right:52px}
.zn-z50 .zn-ui .zn-cc{padding-bottom:9px}
.zn-z50 .zn-ui .zn-ic{--is:98px;margin-bottom:0}
.zn-z50 .zn-ui .zn-ic .zp{--zs:3px}
.zn-z50 .zn-ui .zn-val{height:20px;font-size:17px;line-height:20px}
.zn-z50 .zn-ui .zn-lb{font-size:20px;line-height:24px}
.zn-z50 .zn-ui .zn-ctl{width:90px;padding-top:12px;gap:14px}
.zn-z50 .zn-ui .zn-rb{width:54px;height:54px}
.zn-z50 .zn-ui .zn-rb .zg{width:29px;height:29px}
.zn-z50 .zn-ui .zn-cs{padding:12px 0 18px;gap:0}
.zn-z50 .zn-ui .zn-r4 .zn-cc{padding-bottom:14px}
.zn-z50 .zn-ui .zn-r4 .zn-ic{--is:112px}
.zn-z50 .zn-ui .zn-r4 .zn-ic .zp{--zs:2.8px}
.zn-z50 .zn-ui .zn-r4 .zn-ctl{padding-top:16px;gap:26px}
.zn-z50 .zn-ui .zn-r4 .zn-cs{padding:14px 0 30px}
.zn-z50 .zn-ui .zn-sp{padding-bottom:10px}
.zn-z50 .zn-ui .zn-num{margin:0 0 7px 16px}
.zn-z50 .zn-ui .zn-num b{font-size:66px}
.zn-z50 .zn-ui .zn-num sup{font-size:24px}
.zn-z50 .zn-ui .zn-num small{font-size:28px}
.zn-z50 .zn-ui .zn-num small.pc{font-size:32px}
.zn-z50 .zn-ui .zn-rt{font-size:21px;margin-bottom:5px}
.zn-z50 .zn-ui .zn-rt .zg{width:19px;height:19px;margin-right:2px}
.zn-z50 .zn-ui .zn-rt small{font-size:15px}
.zn-z50 .zn-ui .zn-rt sup{font-size:14px}
.zn-z50 .zn-ui .zn-r4 .zn-num b{font-size:80px}
.zn-z50 .zn-ui .zn-r4 .zn-num sup{font-size:28px}
.zn-z50 .zn-ui .zn-r4 .zn-num small{font-size:32px}
.zn-z50 .zn-ui .zn-r4 .zn-rt{font-size:23px;margin-bottom:8px}
.zn-z50 .zn-ui .zn-wide.zn-k-setpoint .zn-sp,.zn-z50 .zn-ui .zn-k-outdoor .zn-sp{right:90px}
.zn-z50 .zn-ui .zn-wide.zn-k-setpoint .zn-num b{font-size:96px}
.zn-z50 .zn-ui .zn-wide.zn-k-setpoint .zn-num sup{font-size:32px}
.zn-z50 .zn-ui .zn-wide.zn-k-setpoint .zn-num small{font-size:38px}
.zn-z50 .zn-ui .zn-k-outdoor .zn-sp{right:0}
/* the Z50's other pages */
.zn-z50 .zn-ui .zn-scn{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}
.zn-z50 .zn-ui .zn-scn .zn-sbox,.zn-z50 .zn-ui .zn-scn .zn-sbox:nth-child(4),.zn-z50 .zn-ui .zn-scn .zn-sbox:nth-child(5){grid-column:auto}
.zn-z50 .zn-ui .zn-sbox{padding-bottom:16px}
.zn-z50 .zn-ui .zn-sbox .zp{--zs:2.65px;width:110px;height:110px;margin-bottom:12px}
.zn-z50 .zn-ui .zn-clim{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}
.zn-z50 .zn-ui .zn-cl .zn-sp{right:64px;padding-bottom:12px}
.zn-z50 .zn-ui .zn-clo .zn-sp{right:0}
.zn-z50 .zn-ui .zn-cl .zn-num{margin-bottom:6px}
.zn-z50 .zn-ui .zn-cl .zn-num b{font-size:56px}
.zn-z50 .zn-ui .zn-cl .zn-num sup{font-size:20px}
.zn-z50 .zn-ui .zn-cl .zn-num small{font-size:24px}
.zn-z50 .zn-ui .zn-cl .zn-rt{font-size:19px;margin-bottom:10px}
.zn-z50 .zn-ui .zn-cl .zn-rt .zg{width:17px;height:17px}
.zn-z50 .zn-ui .zn-cl .zn-rt small{font-size:14px}
.zn-z50 .zn-ui .zn-cl .zn-rt sup{font-size:13px}
.zn-z50 .zn-ui .zn-cl .zn-lb{font-size:20px;line-height:24px}
.zn-z50 .zn-ui .zn-cl .zn-ctl{width:70px;padding-top:8px;gap:8px}
.zn-z50 .zn-ui .zn-cl .zn-rb{width:52px;height:52px}
.zn-z50 .zn-ui .zn-cmf{font-size:15px;margin-bottom:8px}
.zn-z50 .zn-ui .zn-acc{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr))}
.zn-z50 .zn-ui .zn-acc .zn-gatebox{grid-column:1/span 2;grid-row:1/span 2}
.zn-z50 .zn-ui .zn-acc .zn-alarm{grid-column:1/span 2;grid-row:3}
.zn-z50 .zn-ui .zn-acc .zn-callbox{grid-column:auto;grid-row:auto}
.zn-z50 .zn-ui .zn-camw{left:14px;top:14px;right:96px;bottom:46px}
.zn-z50 .zn-ui .zn-gatebox .zn-lb{left:14px;right:96px;bottom:12px}
.zn-z50 .zn-ui .zn-gatebox .zn-ctl{width:96px;padding-bottom:34px}
.zn-z50 .zn-ui .zn-gatebox .zn-rb{width:64px;height:64px}
.zn-z50 .zn-ui .zn-alarm{padding:12px 16px}
.zn-z50 .zn-ui .zn-alh{gap:10px}
.zn-z50 .zn-ui .zn-alh .zp{--zs:4px;width:54px;height:54px}
.zn-z50 .zn-ui .zn-alh b{font-size:23px;line-height:28px}
.zn-z50 .zn-ui .zn-alh small{margin-top:1px;font-size:16.5px;line-height:20px}
.zn-z50 .zn-ui .zn-arm{gap:9px;margin-top:12px}
.zn-z50 .zn-ui .zn-pill{height:50px;font-size:19px}
.zn-z50 .zn-ui .zn-last{display:none}
.zn-z50 .zn-ui .zn-callbox .zn-ic{--is:80px}
.zn-z50 .zn-ui .zn-med{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}
.zn-z50 .zn-ui .zn-med > :nth-child(1){grid-area:1/1/2/2}
.zn-z50 .zn-ui .zn-med > :nth-child(2){grid-area:1/2/2/3}
.zn-z50 .zn-ui .zn-med > :nth-child(3){grid-area:2/1/3/2}
.zn-z50 .zn-ui .zn-med > :nth-child(4){grid-area:2/2/3/3}
.zn-z50 .zn-ui .zn-med > :nth-child(5){grid-area:3/1/4/3}
.zn-z50 .zn-ui .zn-med > :nth-child(6){grid-area:4/1/5/2}
.zn-z50 .zn-ui .zn-med > :nth-child(7){grid-area:4/2/5/3}
.zn-z50 .zn-ui .zn-mb .zp{width:78px;height:78px;margin-bottom:20px}
.zn-z50 .zn-ui .zn-title2{padding:18px 20px 44px}
.zn-z50 .zn-ui .zn-trk{font-size:40px}
.zn-z50 .zn-ui .zn-art{margin-top:8px;font-size:19px}
.zn-z50 .zn-ui .zn-title2 .zn-lb{bottom:12px;font-size:22px;line-height:26px}
.zn-z50 .zn-ui .zn-vol .zn-num b{font-size:52px}
.zn-z50 .zn-ui .zn-vol .zn-num{margin-bottom:14px}
.zn-z50 .zn-ui .zn-mroom b{margin-bottom:18px;font-size:22px;line-height:28px}
/* the Z50's sheets: the colour sheet and the intercom fill the screen */
.zn-z50 .zn-ui .zn-sheet{max-width:456px}
.zn-z50 .zn-ui .zn-bar{height:56px}
.zn-z50 .zn-ui .zn-bar h3{left:60px;right:60px;font-size:24px;line-height:56px}
.zn-z50 .zn-ui .zn-x{top:2px;right:2px;width:52px;height:52px}
.zn-z50 .zn-ui .zn-x .zg{width:38px;height:38px}
.zn-z50 .zn-ui .zn-sh-settings{width:440px}
.zn-z50 .zn-ui .zn-set{padding:20px 22px 24px}
.zn-z50 .zn-ui .zn-tp{width:130px;height:84px}
.zn-z50 .zn-ui .zn-sh-pin{width:440px}
.zn-z50 .zn-ui .zn-pinp{padding:16px 22px 0;font-size:17px}
.zn-z50 .zn-ui .zn-keys{gap:10px;padding:0 22px 22px}
.zn-z50 .zn-ui .zn-key{height:62px}
.zn-z50 .zn-ui .zn-sh-rgbw{width:464px;height:838px;max-width:none}
.zn-z50 .zn-ui .zn-rgbw{top:56px}
.zn-z50 .zn-ui .zn-pre{left:24px;right:24px;top:24px;flex-direction:row;justify-content:space-between;gap:0}
.zn-z50 .zn-ui .zn-preb{width:54px;height:54px}
.zn-z50 .zn-ui .zn-wheel{left:39px;top:118px;width:386px;height:386px}
.zn-z50 .zn-ui .zn-lsl{left:40px;top:560px;width:384px;height:56px}
.zn-z50 .zn-ui .zn-lsl .zn-tr{left:0;right:0;top:50%;bottom:auto;width:auto;height:18px;margin:-9px 0 0;border-radius:9px;background:linear-gradient(90deg,#050505,var(--c,#FF8A5B))}
.zn-z50 .zn-ui .zn-lsl .zn-kn{left:calc(var(--v,0) * 1%);bottom:auto;top:50%;margin:-17px 0 0 -17px}
.zn-z50 .zn-ui .zn-chosen{left:194px;top:664px;width:76px;height:76px}
.zn-z50 .zn-ui .zn-sh-call{width:480px;height:854px;max-width:none}
.zn-z50 .zn-ui .zn-sh-call .zn-bar{height:80px}
.zn-z50 .zn-ui .zn-sh-call .zn-bar h3{font-size:30px;line-height:80px}
.zn-z50 .zn-ui .zn-sh-call .zn-bsub{left:14px;line-height:80px;font-size:16px}
.zn-z50 .zn-ui .zn-sh-call .zn-x{top:14px;right:6px}
.zn-z50 .zn-ui .zn-call{top:80px}
.zn-z50 .zn-ui .zn-cview{left:0;top:0;right:0;width:auto;height:340px;bottom:auto}
.zn-z50 .zn-ui .zn-cpanel .zp{--zs:2px;width:150px;height:150px}
.zn-z50 .zn-ui .zn-cside{left:0;top:340px}
.zn-z50 .zn-ui .zn-doors{left:30px;right:16px;top:22px;flex-direction:row;flex-wrap:wrap;gap:10px 18px}
.zn-z50 .zn-ui .zn-door{height:62px;gap:14px;font-size:22px}
.zn-z50 .zn-ui .zn-door .zn-kc{width:58px;height:58px}
.zn-z50 .zn-ui .zn-door .zn-kc .zg{width:30px;height:30px}
.zn-z50 .zn-ui .zn-cvol{left:0;right:0;top:auto;bottom:24px;justify-content:center;gap:10px}
.zn-z50 .zn-ui .zn-mute{margin-left:0}
.zn-z50 .zn-ui .zn-cbtns{left:60px;right:60px;bottom:116px}
.zn-z50 .zn-ui .zn-hang,.zn-z50 .zn-ui .zn-answer{width:88px;height:88px}
.zn-z50 .zn-ui .zn-hang .zg,.zn-z50 .zn-ui .zn-answer .zg{width:40px;height:40px}
.zn-z50 .zn-ui .zn-toast{max-width:440px;font-size:17px;padding:12px 18px;border-radius:24px}
.zn-z50 .zn-ui .zn-toastw{bottom:18px}

/* the parts of a box that only show: a tap on them reaches the box's own target */
.zn-ui .zn-cc .zn-ic,.zn-ui .zn-val,.zn-ui .zn-lb,.zn-ui .zn-sp,.zn-ui .zn-alh,.zn-ui .zn-last,.zn-ui .zn-chosen{pointer-events:none}
