/* Melhorias Claude 106/107 · Ar-condicionado (Tuya). Rodada 107: botão no topo + painel em liquid glass.
   O que está ativo fica colorido; a cor do cartão segue o modo (frio azul, quente laranja…).
   Vidro com brilho que segue o mouse (--mx/--my) e animações suaves. */
.cl-topbtn{position:relative;width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(255,255,255,.16);background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.03));color:inherit;cursor:pointer;-webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 22px -14px rgba(0,0,0,.8);transition:transform .35s cubic-bezier(.2,.9,.25,1.2),box-shadow .3s,border-color .3s,background .3s}
.cl-topbtn[hidden]{display:none!important}
.cl-topbtn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cl-topbtn:hover{transform:translateY(-2px) scale(1.06);border-color:rgba(124,200,255,.55);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 0 0 4px rgba(124,200,255,.12),0 14px 28px -14px rgba(60,160,255,.7)}
.cl-topbtn:active{transform:scale(.96)}
.cl-badge{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:linear-gradient(180deg,#7cc8ff,#3d8cff);color:#04122b;font-size:11px;font-weight:800;display:grid;place-items:center;box-shadow:0 0 0 2px rgba(10,14,20,.85)}
.cl-badge[hidden]{display:none}
@keyframes clBreath{50%{opacity:.45}}
html.cl-lock,html.cl-lock body{overflow:hidden!important}

/* painel */
.cl-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:3vh 2vw;color:#eef3f8;font-family:inherit}
.cl-overlay[hidden]{display:none}
.cl-backdrop{position:absolute;inset:0;background:radial-gradient(1200px 600px at 70% -10%,rgba(60,140,255,.18),transparent 60%),rgba(4,8,14,.55);-webkit-backdrop-filter:blur(10px) saturate(120%);backdrop-filter:blur(10px) saturate(120%);opacity:0;transition:opacity .28s ease}
.cl-sheet{position:relative;width:min(1120px,100%);max-height:94vh;display:flex;flex-direction:column;border-radius:30px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(165deg,rgba(40,48,62,.78),rgba(14,18,26,.86));-webkit-backdrop-filter:blur(30px) saturate(160%);backdrop-filter:blur(30px) saturate(160%);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 40px 90px -30px rgba(0,0,0,.9);overflow:hidden;opacity:0;transform:translateY(18px) scale(.97);transition:opacity .3s ease,transform .45s cubic-bezier(.2,.9,.25,1.1)}
.cl-overlay.show .cl-backdrop{opacity:1}
.cl-overlay.show .cl-sheet{opacity:1;transform:none}
.cl-sheet-h{display:flex;align-items:center;gap:12px;padding:16px 18px 14px;border-bottom:1px solid rgba(255,255,255,.08)}
.cl-sheet-h>div:nth-child(2){flex:1;min-width:0}
.cl-sheet-h small{display:block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#7cc8ff;font-weight:700}
.cl-sheet-h h2{margin:0;font-size:22px;line-height:1.15}
.cl-sheet-ic{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(160deg,rgba(124,200,255,.3),rgba(61,140,255,.08));border:1px solid rgba(124,200,255,.35)}
.cl-sheet-ic svg,.cl-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cl-sheet-a{display:flex;gap:6px}
.cl-icon{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:inherit;display:grid;place-items:center;cursor:pointer;transition:transform .3s cubic-bezier(.2,.9,.25,1.2),background .2s}
.cl-icon:hover{background:rgba(255,255,255,.14);transform:rotate(-8deg) scale(1.06)}
.cl-body{overflow-y:auto;overflow-x:hidden;padding:16px 18px 22px;overscroll-behavior:contain}
.cl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:16px;align-items:start}
.cl-grid>*,.cl-hero>*,.cl-modes>*{min-width:0}
.cl-modes button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* vidro: brilho seguindo o mouse */
.cl-overlay .cl-g,.cl-card{position:relative;isolation:isolate}
.cl-overlay .cl-g::after,.cl-card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;opacity:0;transition:opacity .35s;background:radial-gradient(180px circle at var(--mx,50%) var(--my,0%),rgba(255,255,255,.16),transparent 65%)}
.cl-card::after{background:radial-gradient(420px circle at var(--mx,50%) var(--my,0%),rgba(255,255,255,.07),transparent 60%)}
.cl-overlay .cl-g:hover::after,.cl-card:hover::after{opacity:1}

/* cartão */
.cl-card{--acc:#7cc8ff;padding:18px;border-radius:26px;display:flex;flex-direction:column;gap:14px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.02) 45%,rgba(255,255,255,.04));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 20px 40px -28px rgba(0,0,0,.9);transition:border-color .4s,box-shadow .4s,transform .45s cubic-bezier(.2,.9,.25,1.1);animation:clIn .5s cubic-bezier(.2,.9,.25,1.1) both}
.cl-card:nth-child(2){animation-delay:.06s}.cl-card:nth-child(3){animation-delay:.12s}
@keyframes clIn{from{opacity:0;transform:translateY(12px)}}
.cl-card:hover{transform:translateY(-2px)}
.cl-card.on{border-color:color-mix(in srgb,var(--acc) 55%,transparent);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 0 1px color-mix(in srgb,var(--acc) 22%,transparent),0 24px 50px -26px color-mix(in srgb,var(--acc) 70%,transparent)}
.cl-card.offline{opacity:.55}
.cl-card.busy .cl-power{animation:clPulse 1s infinite}
@keyframes clPulse{50%{box-shadow:0 0 0 8px color-mix(in srgb,var(--acc) 15%,transparent)}}
.cl-head{display:flex;align-items:center;gap:12px}
.cl-head>div{flex:1;min-width:0}
.cl-head h3{margin:0;font-size:21px;letter-spacing:-.01em}
.cl-head small{display:flex;align-items:center;gap:7px;color:rgba(238,243,248,.66);font-size:13px;margin-top:2px}
.cl-dot{width:8px;height:8px;border-radius:50%;background:#8a94a6;flex:none}
.cl-card.on .cl-dot{background:#5fe3ab;box-shadow:0 0 10px #5fe3ab}
.cl-overlay svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.cl-power{width:58px;height:58px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.03));color:inherit;display:grid;place-items:center;cursor:pointer;touch-action:manipulation;transition:background .35s,transform .35s cubic-bezier(.2,.9,.25,1.3),box-shadow .35s,color .35s}
.cl-power svg{width:26px;height:26px;stroke-width:2.3}
.cl-power:hover:not(:disabled){transform:scale(1.07)}
.cl-power:active:not(:disabled){transform:scale(.94)}
.cl-power[aria-pressed=true]{background:radial-gradient(circle at 35% 30%,#fff 0,color-mix(in srgb,var(--acc) 70%,#fff) 18%,var(--acc) 70%);color:#06121f;border-color:transparent;box-shadow:0 0 0 6px color-mix(in srgb,var(--acc) 18%,transparent),0 12px 30px -8px var(--acc)}
.cl-alert{margin:0;padding:8px 12px;border-radius:12px;background:rgba(255,190,80,.14);border:1px solid rgba(255,190,80,.4);color:#ffd79a;font-size:13px;font-weight:700}
.cl-last{margin:-6px 0 0;font-size:12px;color:rgba(238,243,248,.55)}

/* temperatura: dentro x ajustado */
.cl-hero{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cl-in,.cl-set{border-radius:22px;border:1px solid rgba(255,255,255,.12);padding:14px;min-height:150px;display:flex;flex-direction:column;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.cl-in{background:linear-gradient(160deg,rgba(255,255,255,.1),rgba(255,255,255,.02));justify-content:space-between}
.cl-in small,.cl-set>small{display:flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;color:rgba(238,243,248,.66);text-transform:uppercase;letter-spacing:.08em}
.cl-in small svg{width:16px;height:16px}
.cl-in b{font-size:52px;line-height:1;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.cl-in b em{font-style:normal;font-size:.36em;opacity:.65;margin-left:3px;letter-spacing:0;vertical-align:top;position:relative;top:.35em}
.cl-in span{font-size:12.5px;color:rgba(238,243,248,.7);min-height:1em}
.cl-in.hot{background:linear-gradient(160deg,rgba(255,120,70,.28),rgba(255,120,70,.05))}.cl-in.hot b{color:#ffb08a}
.cl-in.warm{background:linear-gradient(160deg,rgba(255,190,90,.22),rgba(255,190,90,.04))}.cl-in.warm b{color:#ffd59a}
.cl-in.cold{background:linear-gradient(160deg,rgba(90,180,255,.26),rgba(90,180,255,.05))}.cl-in.cold b{color:#a9dcff}
.cl-in.ok{background:linear-gradient(160deg,rgba(95,227,171,.2),rgba(95,227,171,.04))}.cl-in.ok b{color:#aef0cf}
.cl-set{background:linear-gradient(160deg,color-mix(in srgb,var(--acc) 22%,transparent),rgba(255,255,255,.02));align-items:stretch;gap:6px;padding:12px 10px}
.cl-set-r{flex:1;display:flex;align-items:center;justify-content:center;gap:6px}
.cl-set>small{align-self:flex-start}
.cl-dial{position:relative;width:104px;height:104px;flex:none}
.cl-dial svg{width:104px;height:104px;transform:rotate(135deg);overflow:visible;display:block}
.cl-dial circle{fill:none;stroke-width:9;stroke-linecap:round}
.cl-dial .trk{stroke:rgba(255,255,255,.12)}
.cl-dial .val{stroke:var(--acc);filter:drop-shadow(0 0 6px color-mix(in srgb,var(--acc) 70%,transparent));transition:stroke-dasharray .5s cubic-bezier(.2,.9,.25,1),stroke .4s}
.cl-dial b{position:absolute;inset:0;display:grid;place-items:center;font-size:32px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.cl-dial b span{display:inline-block;white-space:nowrap}
.cl-dial b sup{font-size:.36em;font-weight:700;opacity:.7;margin-left:1px;vertical-align:1.1em;line-height:0;letter-spacing:0}
.cl-round{flex:none;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:inherit;display:grid;place-items:center;cursor:pointer;touch-action:manipulation;transition:transform .3s cubic-bezier(.2,.9,.25,1.3),background .2s,border-color .2s}
.cl-round svg{width:18px;height:18px;stroke-width:2.6}
.cl-round:hover:not(:disabled){background:color-mix(in srgb,var(--acc) 28%,transparent);border-color:color-mix(in srgb,var(--acc) 60%,transparent);transform:scale(1.08)}
.cl-round:active:not(:disabled){transform:scale(.92)}
.cl-round:disabled{opacity:.3;cursor:default}

/* escolhas: o ativo fica colorido */
.cl-row{display:flex;flex-direction:column;gap:7px}
.cl-lab{font-size:12.5px;font-weight:700;color:rgba(238,243,248,.7)}
.cl-lab i{font-style:normal;color:var(--acc)}
.cl-seg{display:flex;flex-wrap:wrap;gap:6px}
.cl-seg button,.cl-days button{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:inherit;border-radius:999px;padding:8px 13px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:7px;min-height:38px;touch-action:manipulation;transition:background .25s,border-color .25s,box-shadow .3s,transform .3s cubic-bezier(.2,.9,.25,1.3),color .25s}
.cl-seg button svg{width:17px;height:17px}
.cl-seg button:hover{background:rgba(255,255,255,.12);transform:translateY(-1px)}
.cl-seg button:active{transform:scale(.95)}
.cl-seg button[aria-checked=true]{--c:var(--acc);background:linear-gradient(160deg,color-mix(in srgb,var(--c) 55%,transparent),color-mix(in srgb,var(--c) 22%,transparent));border-color:color-mix(in srgb,var(--c) 85%,#fff 0%);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 6px 18px -8px var(--c)}
.cl-modes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.cl-modes button{flex-direction:column;gap:4px;border-radius:16px;padding:10px 4px;min-height:64px;font-size:12px}
.cl-modes button svg{width:22px;height:22px;color:var(--c)}
.cl-modes button[aria-checked=true] svg{color:#fff}
.cl-togs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.cl-tog{display:flex;align-items:center;gap:9px;padding:9px 12px;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:inherit;font:inherit;font-size:13px;font-weight:650;text-align:left;cursor:pointer;min-height:46px;touch-action:manipulation;transition:background .25s,border-color .25s,box-shadow .3s,transform .3s cubic-bezier(.2,.9,.25,1.2)}
.cl-tog span{flex:1;min-width:0;line-height:1.2}
.cl-tog .ti{width:18px;height:18px;flex:none;opacity:.75}
.cl-tog:hover{background:rgba(255,255,255,.09);transform:translateY(-1px)}
.cl-tog i{flex:none;width:36px;height:21px;border-radius:999px;background:rgba(255,255,255,.18);position:relative;transition:background .3s}
.cl-tog i::after{content:"";position:absolute;top:2px;left:2px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.35);transition:transform .35s cubic-bezier(.2,.9,.25,1.4)}
.cl-tog[aria-checked=true]{background:linear-gradient(160deg,color-mix(in srgb,var(--acc) 30%,transparent),color-mix(in srgb,var(--acc) 8%,transparent));border-color:color-mix(in srgb,var(--acc) 60%,transparent)}
.cl-tog[aria-checked=true] .ti{opacity:1;color:var(--acc)}
.cl-tog[aria-checked=true] i{background:var(--acc)}
.cl-tog[aria-checked=true] i::after{transform:translateX(15px)}
.cl-tog.sm{padding:0;border:0;background:none;min-height:0;box-shadow:none}
.cl-tog.sm:hover{transform:none;background:none}
.cl-int input{width:100%;accent-color:var(--acc)}
.cl-more{border-radius:18px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03)}
.cl-more summary{list-style:none;cursor:pointer;padding:11px 14px;font-size:13px;font-weight:700;border-radius:18px;display:flex;align-items:center;gap:8px}
.cl-more summary::-webkit-details-marker{display:none}
.cl-more summary::before{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .3s;opacity:.7}
.cl-more[open] summary::before{transform:rotate(45deg)}
.cl-more summary i,.cl-sh b i{font-style:normal;font-size:11px;padding:1px 7px;border-radius:999px;background:rgba(255,255,255,.12)}
.cl-more-b{padding:0 12px 12px;display:flex;flex-direction:column;gap:10px;animation:clIn .35s ease both}
.cl-note{margin:0;font-size:12.5px;color:rgba(238,243,248,.62)}
.cl-err{margin:0;color:#ffb4bc;font-size:13px}
.cl-msg{margin-bottom:12px;padding:10px 14px;border-radius:14px;background:rgba(255,90,110,.12);border:1px solid rgba(255,90,110,.35)}
.cl-setup{padding:18px;border-radius:22px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05)}
.cl-loading{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:16px}
.cl-loading i{height:420px;border-radius:26px;background:linear-gradient(100deg,rgba(255,255,255,.04) 30%,rgba(255,255,255,.1) 50%,rgba(255,255,255,.04) 70%);background-size:300% 100%;animation:clShine 1.4s linear infinite}
@keyframes clShine{to{background-position:-150% 0}}
.cl-ghost{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:inherit;border-radius:999px;padding:8px 14px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;min-height:38px;display:inline-flex;align-items:center;gap:6px;transition:background .25s,transform .3s cubic-bezier(.2,.9,.25,1.3)}
.cl-ghost svg{width:16px;height:16px;stroke-width:2.4}
.cl-ghost:hover{background:rgba(255,255,255,.14);transform:translateY(-1px)}
.cl-ghost.sm{padding:6px 12px;min-height:34px}
.cl-primary{border:0;border-radius:999px;padding:10px 18px;font:inherit;font-weight:800;cursor:pointer;background:linear-gradient(180deg,#8fd2ff,#3d8cff);color:#04122b;min-height:42px;box-shadow:0 10px 24px -12px #3d8cff;transition:transform .3s cubic-bezier(.2,.9,.25,1.3),box-shadow .3s}
.cl-primary:hover{transform:translateY(-1px);box-shadow:0 14px 28px -12px #3d8cff}
.cl-primary:disabled{opacity:.6}

/* horários */
.cl-scheds{border-top:1px solid rgba(255,255,255,.09);padding-top:14px;display:flex;flex-direction:column;gap:10px}
.cl-sh{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cl-sh b{display:flex;align-items:center;gap:7px;font-size:15px}
.cl-sh b svg{width:18px;height:18px;color:var(--acc)}
.cl-scheds ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.cl-sched{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:18px;border:1px solid rgba(255,255,255,.1);background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02));transition:opacity .3s,transform .3s cubic-bezier(.2,.9,.25,1.2),border-color .3s}
.cl-sched:hover{transform:translateX(2px);border-color:rgba(255,255,255,.2)}
.cl-sched.off{opacity:.5}
.cl-sched-t{font-size:24px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.02em;min-width:70px}
.cl-sched-i{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px}
.cl-sched-i small{width:100%;font-size:11px;color:rgba(238,243,248,.5)}
.cl-sched-x{font-size:12.5px;font-weight:700;color:rgba(238,243,248,.8)}
.cl-pill{font-size:11.5px;font-weight:800;padding:3px 9px;border-radius:999px;text-transform:uppercase;letter-spacing:.05em}
.cl-pill.on{background:rgba(95,227,171,.18);color:#8ff0c4;border:1px solid rgba(95,227,171,.4)}
.cl-pill.off{background:rgba(255,110,130,.16);color:#ffb0bc;border:1px solid rgba(255,110,130,.4)}
.cl-dots{display:flex;gap:3px;width:100%}
.cl-dots i{font-style:normal;width:20px;height:20px;border-radius:7px;display:grid;place-items:center;font-size:10.5px;font-weight:800;color:rgba(238,243,248,.35);background:rgba(255,255,255,.05)}
.cl-dots i.y{color:#06121f;background:var(--acc)}
.cl-x{border:0;background:rgba(255,255,255,.06);color:inherit;cursor:pointer;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;opacity:.75;transition:background .25s,opacity .25s,width .3s}
.cl-x svg{width:17px;height:17px}
.cl-x:hover{opacity:1;background:rgba(255,90,110,.22)}
.cl-x.sure{width:auto;padding:0 12px;border-radius:999px;background:rgba(255,90,110,.3);color:#fff;font:inherit;font-size:12px;font-weight:800;opacity:1}
.cl-form{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:20px;border:1px solid color-mix(in srgb,var(--acc) 45%,transparent);background:linear-gradient(160deg,color-mix(in srgb,var(--acc) 14%,transparent),rgba(255,255,255,.02));animation:clIn .35s ease both}
.cl-act{display:grid;grid-template-columns:1fr 1fr}
.cl-act button{justify-content:center}
.cl-act button svg{width:16px;height:16px}
.cl-time{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:700}
.cl-time :is(input,select){font:inherit;font-size:16px;padding:8px 12px;border-radius:14px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:inherit;color-scheme:dark;min-height:44px}
.cl-time select option{color:#111}
.cl-days{display:flex;gap:5px}
.cl-days button{flex:1;padding:8px 0;justify-content:center;border-radius:12px;min-height:40px}
.cl-days button[aria-pressed=true]{background:linear-gradient(160deg,color-mix(in srgb,var(--acc) 60%,transparent),color-mix(in srgb,var(--acc) 25%,transparent));border-color:var(--acc);color:#fff}
.cl-quick{display:flex;gap:6px;flex-wrap:wrap}
.cl-quick button{border:0;background:none;color:var(--acc);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;padding:2px 4px;text-decoration:underline;text-underline-offset:3px}
.cl-form-a{display:flex;justify-content:flex-end;gap:8px}

/* tema claro */
html.tema-claro .cl-overlay{color:#13202e}
html.tema-claro .cl-backdrop{background:rgba(200,215,235,.45)}
html.tema-claro .cl-sheet{background:linear-gradient(165deg,rgba(255,255,255,.88),rgba(236,242,250,.92));border-color:rgba(20,40,80,.12)}
html.tema-claro .cl-overlay :is(.cl-card,.cl-tog,.cl-sched,.cl-seg button,.cl-days button,.cl-ghost,.cl-round,.cl-power,.cl-icon,.cl-more,.cl-in,.cl-x,.cl-setup){border-color:rgba(20,40,80,.12)}
html.tema-claro .cl-overlay :is(.cl-card,.cl-tog:not([aria-checked=true]),.cl-sched,.cl-seg button:not([aria-checked=true]),.cl-days button:not([aria-pressed=true]),.cl-ghost,.cl-round,.cl-icon,.cl-more,.cl-x:not(.sure)){background:rgba(255,255,255,.66)}
html.tema-claro .cl-overlay .cl-tog.sm{background:none}
html.tema-claro .cl-overlay :is(.cl-head small,.cl-lab,.cl-in small,.cl-set>small,.cl-note,.cl-last,.cl-in span,.cl-sched-x,.cl-sched-i small){color:#4d5c6e}
html.tema-claro .cl-overlay .cl-seg button[aria-checked=true],html.tema-claro .cl-overlay .cl-days button[aria-pressed=true]{color:#06121f}
html.tema-claro .cl-overlay .cl-dial .trk{stroke:rgba(20,40,80,.12)}
html.tema-claro .cl-overlay .cl-dots i{background:rgba(20,40,80,.07);color:#8090a2}
html.tema-claro .cl-overlay .cl-dots i.y{color:#fff;background:var(--acc)}
html.tema-claro .cl-overlay .cl-time :is(input,select){color-scheme:light;background:#fff;border-color:rgba(20,40,80,.18)}
html.tema-claro .cl-overlay .cl-in b{color:#13202e}
html.tema-claro .cl-overlay .cl-pill.on{color:#0d7a4f}html.tema-claro .cl-overlay .cl-pill.off{color:#b4233f}
html.tema-claro .cl-overlay .cl-err{color:#b4232f}
html.tema-claro .cl-topbtn{border-color:rgba(20,40,80,.14);background:rgba(255,255,255,.7)}

/* celular: painel em tela cheia vindo de baixo */
@media(max-width:760px){
 .cl-overlay{padding:0;align-items:flex-end}
 .cl-sheet{max-height:100dvh;height:100dvh;border-radius:0;transform:translateY(30px)}
 .cl-sheet-h{padding:12px 12px 10px;flex-wrap:wrap;padding-top:max(12px,env(safe-area-inset-top))}
 .cl-sheet-h h2{font-size:19px}
 .cl-sheet-a{order:5;width:100%}
 .cl-sheet-a .cl-ghost{flex:1;justify-content:center}
 .cl-body{padding:12px 12px calc(24px + env(safe-area-inset-bottom))}
 .cl-grid,.cl-loading{grid-template-columns:1fr}
 .cl-card{padding:14px;border-radius:22px}
 .cl-in b{font-size:42px}
 .cl-modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .cl-modes button{font-size:12px;padding:8px 2px}
 .cl-grid{grid-template-columns:minmax(0,1fr)}
 .cl-hero{gap:8px}
 .cl-in,.cl-set{padding:12px 8px}
 .cl-set-r{gap:3px}
 .cl-dial,.cl-dial svg{width:84px;height:84px}
 .cl-dial b{font-size:26px}
 .cl-round{width:34px;height:34px}
 .cl-round svg{width:15px;height:15px}
 .cl-power{width:52px;height:52px}
 .cl-topbtn{width:40px;height:40px}
}
@media(prefers-reduced-motion:reduce){.cl-overlay *,.cl-topbtn{animation:none!important;transition:none!important}}

/* ===== Melhorias Claude 108 ===== */
/* celular: botão ao lado do "Bom dia, Juan"; no topo do celular ele some (no Pessoal continua no topo) */
.cl-mbtn{display:none}
@media(max-width:760px){
 html body #ownerPortal:not(.personal-mode) .topbar .cl-topbtn{display:none!important}
 html body #ownerPortal:not(.personal-mode) .v2-mhead.cl-has-ac{position:relative;padding-right:60px!important;min-height:58px}
 html body #ownerPortal:not(.personal-mode) .v2-mhead .cl-mbtn:not([hidden]){display:inline-flex}
 .cl-mbtn{position:absolute;right:0;top:12px;align-items:center;justify-content:center;width:46px;height:46px;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.16);background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.03));color:#eef3f8;font:inherit;font-size:13px;font-weight:800;-webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 10px 24px -14px rgba(0,0,0,.8);touch-action:manipulation;transition:transform .3s cubic-bezier(.2,.9,.25,1.3)}
 .cl-mbtn:active{transform:scale(.94)}
 .cl-mbtn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .cl-mbtn .cl-badge{display:none!important}
 html.tema-claro .cl-mbtn{color:#13202e;background:rgba(255,255,255,.75);border-color:rgba(20,40,80,.14)}
}
@keyframes clRipple{from{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.7)}}
/* cartão ligado: faixa de ar soprando, selo LIGADO pulsando e botão de energia com ondas */
.cl-live{display:inline-flex;align-items:center;gap:6px;padding:2px 9px 2px 7px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.1em;color:#06121f;background:var(--acc);box-shadow:0 0 14px -2px var(--acc)}
.cl-live::before{content:"";width:7px;height:7px;border-radius:50%;background:#fff;animation:clBeat 1s ease-in-out infinite}
@keyframes clBeat{50%{transform:scale(.5);opacity:.5}}
.cl-flow{position:relative;height:30px;margin:-6px -4px -4px;overflow:hidden;border-radius:14px;-webkit-mask:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.cl-flow i{position:absolute;left:-50%;width:200%;height:2px;border-radius:2px;background:repeating-linear-gradient(90deg,transparent 0 18px,color-mix(in srgb,var(--acc) 85%,#fff) 18px 52px,transparent 52px 80px);opacity:.85;animation:clWind 1.6s linear infinite}
.cl-flow i:nth-child(1){top:4px;animation-duration:1.4s}
.cl-flow i:nth-child(2){top:10px;animation-duration:1.9s;animation-delay:-.6s;opacity:.6}
.cl-flow i:nth-child(3){top:16px;animation-duration:1.2s;animation-delay:-.3s}
.cl-flow i:nth-child(4){top:22px;animation-duration:2.1s;animation-delay:-1s;opacity:.5}
.cl-flow i:nth-child(5){top:27px;animation-duration:1.6s;animation-delay:-.8s;opacity:.35}
@keyframes clWind{from{transform:translateX(0)}to{transform:translateX(25%)}}
.cl-card.on .cl-power::before,.cl-card.on .cl-power::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--acc);animation:clRipple 2s ease-out infinite;pointer-events:none}
.cl-card.on .cl-power::after{animation-delay:1s}
.cl-card.on .cl-dial .val{animation:clGlow 2.4s ease-in-out infinite}
@keyframes clGlow{50%{filter:drop-shadow(0 0 12px var(--acc))}}
.cl-card.on{background:linear-gradient(160deg,color-mix(in srgb,var(--acc) 16%,transparent),rgba(255,255,255,.02) 50%,color-mix(in srgb,var(--acc) 8%,transparent))}
.cl-card:not(.on) .cl-hero,.cl-card:not(.on) .cl-modes{filter:saturate(.55)}
/* na hora de ligar: clarão de energia */
.cl-card.burst{animation:clBurst 1.1s cubic-bezier(.2,.9,.25,1) both}
@keyframes clBurst{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--acc) 70%,transparent)}35%{transform:scale(1.015);box-shadow:0 0 0 14px color-mix(in srgb,var(--acc) 0%,transparent),0 0 60px -10px var(--acc)}100%{transform:none}}
html.tema-claro .cl-card.on{background:linear-gradient(160deg,color-mix(in srgb,var(--acc) 18%,#fff),rgba(255,255,255,.8) 50%,color-mix(in srgb,var(--acc) 10%,#fff))}

/* ===== Melhorias Claude 109 ===== */
/* vento saindo do símbolo do ar quando está ligado (botão do topo/celular e cartão) */
.cl-unit{width:46px;height:46px;flex:none;border-radius:15px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:rgba(238,243,248,.5);transition:background .4s,color .4s,border-color .4s}
.cl-unit svg{width:28px;height:28px;overflow:visible}
.cl-unit.blow{color:#fff;border-color:color-mix(in srgb,var(--acc) 60%,transparent);background:linear-gradient(160deg,color-mix(in srgb,var(--acc) 45%,transparent),color-mix(in srgb,var(--acc) 12%,transparent));box-shadow:0 0 18px -4px var(--acc)}
.cl-unit.blow svg path.w,.cl-topbtn.on svg path.w,.cl-mbtn.on svg path.w{stroke-dasharray:3 4;animation:clGust .7s linear infinite}
@keyframes clGust{to{stroke-dashoffset:-7}}
.cl-topbtn.on,.cl-mbtn.on{--acc:#7cc8ff;color:var(--acc);border-color:color-mix(in srgb,var(--acc) 60%,transparent);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 0 0 3px color-mix(in srgb,var(--acc) 16%,transparent),0 0 20px -4px var(--acc)}
.cl-topbtn.on::after,.cl-mbtn.on::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--acc);animation:clRipple 2.2s ease-out infinite;pointer-events:none}
/* vento maior atravessando o cartão ligado */
.cl-card.on .cl-flow{height:38px}
.cl-card.on .cl-flow i{height:3px}
/* Limpar e Oídio: mostra quando está fazendo e quando terminou */
.cl-procs{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px}
.cl-proc{position:relative;overflow:hidden;display:flex;align-items:center;gap:10px;padding:12px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:inherit;font:inherit;text-align:left;cursor:pointer;min-height:64px;touch-action:manipulation;transition:background .3s,border-color .3s,transform .3s cubic-bezier(.2,.9,.25,1.2),box-shadow .3s}
.cl-proc:hover{transform:translateY(-1px);background:rgba(255,255,255,.09)}
.cl-proc .pi{width:24px;height:24px;flex:none;opacity:.8}
.cl-proc span{display:flex;flex-direction:column;gap:2px;min-width:0}
.cl-proc b{font-size:14px}
.cl-proc small{font-size:12px;color:rgba(238,243,248,.62);line-height:1.25}
.cl-proc.run{border-color:#5cd1ff;background:linear-gradient(160deg,rgba(92,209,255,.3),rgba(92,209,255,.07));box-shadow:0 0 22px -8px #5cd1ff}
.cl-proc.run small{color:#bfeaff;font-weight:700}
.cl-proc.run .pi{opacity:1;color:#8fe0ff;animation:clWobble 1.2s ease-in-out infinite}
@keyframes clWobble{25%{transform:rotate(-10deg)}75%{transform:rotate(10deg)}}
.cl-prog{position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,transparent,#8fe0ff,transparent);background-size:50% 100%;background-repeat:no-repeat;animation:clProg 1.3s linear infinite}
@keyframes clProg{from{background-position:-50% 0}to{background-position:150% 0}}
.cl-proc.done{border-color:rgba(95,227,171,.5);background:linear-gradient(160deg,rgba(95,227,171,.2),rgba(95,227,171,.04))}
.cl-proc.done small{color:#9ff0cb;font-weight:700}
.cl-ok-msg{margin:0 0 12px;padding:10px 14px;border-radius:14px;background:rgba(95,227,171,.14);border:1px solid rgba(95,227,171,.4);color:#aef0cf;font-weight:700;font-size:13px;animation:clIn .4s ease both}
html.tema-claro .cl-overlay :is(.cl-unit,.cl-proc){border-color:rgba(20,40,80,.12);background:rgba(255,255,255,.66)}
html.tema-claro .cl-overlay .cl-proc.run{background:linear-gradient(160deg,rgba(92,209,255,.35),rgba(255,255,255,.7))}
html.tema-claro .cl-overlay .cl-proc.run small{color:#0b5f86}
html.tema-claro .cl-overlay .cl-proc.done small,html.tema-claro .cl-ok-msg{color:#0d7a4f}
html.tema-claro .cl-overlay .cl-proc small{color:#4d5c6e}
@media(max-width:760px){.cl-unit{width:40px;height:40px;border-radius:13px}.cl-unit svg{width:24px;height:24px}}
