/* Avocado Config · общий слой стиля холдинга (по ХОЛДИНГ_Стиль/avocado-holding.css v1).
   Светлая основа, Geist, зелёный Loxone, пилюли, белые карточки, одна кривая движения. */
@font-face{font-family:'Geist';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/geist-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Geist';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/geist-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Geist';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/geist-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Geist';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/geist-extra.woff2') format('woff2');unicode-range:U+2009,U+2011,U+202F,U+2082,U+20B8,U+2192}

:root{
  --white:#fff; --paper:#F5F5F7; --paper-2:#EDEDF0; --ink:#1D1D1F; --dim:#6E6E73; --mute:#6B6B70; --line:#D2D2D7; --line-soft:#E5E5EA;
  --night:#0B0D0C; --night-2:#161A17;
  --green:#69BC46; --green-hi:#5AAE3A; --green-br:#86DE5B; --green-soft:#EAF5E3; --on-green:#08120A; --green-ink:#387F27;
  --heat:#E2683C; --heat-soft:#FCEBE3; --cool:#2C6A9E; --cool-soft:#E4EEF7; --warn:#D1902A; --danger:#D14A3A;
  --sans:'Geist',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --r-s:12px; --r-m:18px; --r:24px; --pill:100px;
  --ease:cubic-bezier(.16,1,.3,1);
  --sh-card:0 1px 2px rgba(0,0,0,.04),0 16px 36px -26px rgba(20,40,20,.3);
  --sh-pop:0 1px 2px rgba(0,0,0,.05),0 24px 60px -20px rgba(0,0,0,.28);
  color-scheme:light;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{height:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:400 15px/1.45 var(--sans);-webkit-font-smoothing:antialiased}
button,input,select{font:inherit;color:inherit}
button{background:none;border:0;padding:0;cursor:pointer}
:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:8px}
.num{font-variant-numeric:tabular-nums}
.i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.i-s{width:16px;height:16px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 18px;border-radius:var(--pill);font-size:14px;font-weight:500;white-space:nowrap;transition:background .25s var(--ease),scale .3s var(--ease),opacity .25s}
.btn:active{scale:.97}
.btn:disabled{opacity:.45;cursor:default}
.btn-green{background:var(--green);color:var(--on-green)}
.btn-green:hover{background:var(--green-hi)}
.btn-ink{background:var(--ink);color:#fff}
.btn-line{box-shadow:inset 0 0 0 1px var(--line);background:#fff}
.btn-line:hover{box-shadow:inset 0 0 0 1px var(--ink)}
.btn-ghost{color:var(--dim)} .btn-ghost:hover{color:var(--ink);background:var(--paper)}
.btn-sm{height:32px;padding:0 13px;font-size:13px}
.btn-icon{width:40px;padding:0}
.btn-icon.btn-sm{width:32px}

.seg{position:relative;display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;padding:3px;border-radius:var(--pill);background:var(--paper-2)}
.seg button{position:relative;z-index:1;height:32px;padding:0 14px;border-radius:var(--pill);font-size:13px;font-weight:500;color:var(--dim);transition:color .3s var(--ease),background .3s var(--ease),box-shadow .3s}
.seg button[aria-pressed="true"]{color:var(--ink);background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08),0 0 0 .5px rgba(0,0,0,.04)}

.chip{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:var(--pill);background:var(--paper);font-size:12px;font-weight:500;color:var(--dim);white-space:nowrap}
.chip.ok{background:var(--green-soft);color:var(--green-ink)}
.chip.heat{background:var(--heat-soft);color:#A3431D}
.chip.cool{background:var(--cool-soft);color:var(--cool)}
.chip.warn{background:#FBF0DC;color:#7A520E}
.chip.err{background:#FBE5E2;color:#9C2F22}
.dot{width:8px;height:8px;border-radius:50%;background:var(--line);flex:none}
.dot.on{background:var(--green);box-shadow:0 0 0 3px rgba(105,188,70,.2)}
.dot.err{background:var(--danger);min-height:0}

.field{display:grid;gap:6px}
.field>span{font-size:12px;color:var(--dim);font-weight:500}
.input,select.input{height:38px;width:100%;padding:0 12px;border-radius:var(--r-s);border:0;background:var(--paper);box-shadow:inset 0 0 0 1px transparent;transition:box-shadow .2s}
.input:focus{outline:0;box-shadow:inset 0 0 0 1.5px var(--green)}
select.input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px}

.logo{height:22px;width:auto;display:block}
.sb{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:7px;background:var(--ink);color:#fff;font-size:12px;font-weight:600;letter-spacing:.01em}
.sb.green{background:var(--green);color:var(--on-green)}
.pw-help{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:-2px;font-size:12px}
.pw-ru{color:#7A520E;background:#FBF0DC;padding:3px 8px;border-radius:8px}
.pw-eye{margin-left:auto;color:var(--green-ink);font-weight:500;font-size:12.5px}
