html,body{margin:0;background:var(--surface-0)}
[hidden]{display:none!important}
.page{max-width:720px;margin:0 auto;padding:var(--space-4);display:flex;flex-direction:column;gap:14px}
.top{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-3)}
.top h1,.meb-card h1,.meb-card p{margin:0}
.rows .meb-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.rows .meb-row span:last-child{text-align:right}
.alarm{color:var(--ink);font-weight:600}
/* README, princípio 5: alvos de toque com 44 px (o bundle tem 36 px no seletor) */
.meb-seg button{min-height:44px}
.legend{display:flex;flex-wrap:wrap;gap:var(--space-3);font-size:12px;color:var(--ink-muted)}
.key::before{content:"";display:inline-block;width:12px;height:2px;margin-right:var(--space-2);vertical-align:middle}
.key--lwt::before{background:var(--daikin)}
.key--ewt::before{background:var(--eta)}
.key--oat::before{background:var(--exterior)}
#chart{width:100%;height:auto;display:block}
#chart polyline{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#chart .s-lwt{stroke:var(--daikin)}
#chart .s-ewt{stroke:var(--eta)}
#chart .s-oat{stroke:var(--exterior);stroke-dasharray:4 4}
#chart line{stroke:var(--grid);stroke-width:1}
#chart text{fill:var(--ink-muted);font-size:12px;font-variant-numeric:tabular-nums}
.login{max-width:360px;margin:12vh auto 0;padding:var(--space-4)}
.form{display:flex;flex-direction:column;gap:var(--space-3)}
.field{display:flex;flex-direction:column;gap:var(--space-1)}
.field input{min-height:44px;padding:0 var(--space-3);border:1px solid var(--ink-muted);border-radius:var(--radius-sm);font:inherit;background:var(--surface-0);color:var(--ink)}
.field input:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.frost{color:var(--alarm)}
.frost .meb-answer{color:var(--alarm)}
.warn{color:var(--warn-text)}
