:root{--ink:#173e35;--muted:#718078;--bg:#f3f5ef;--line:#e1e7dd;--green:#416e45;--green-bg:#e8f0df;--yellow:#8b681b;--yellow-bg:#fbf0cf;--red:#a1433a;--red-bg:#f9e9e5;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.55}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid transparent;border-radius:12px;min-height:46px;background:#eaf0e5;color:var(--ink);padding:11px 16px;font-weight:620;line-height:1.3}button:hover{filter:brightness(.97)}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #96b793;outline-offset:3px}a{color:inherit}input,select{width:100%;min-width:0;padding:13px;border:1px solid #ccd7c8;background:#fbfcf9;border-radius:11px;min-height:49px;color:var(--ink);font-size:16px}input[readonly]{background:#f0f3ec}input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:0 0 20px;accent-color:var(--ink);margin:0}label{display:block;margin:16px 0 7px;font-size:12px;font-weight:650}label input,label select{margin-top:6px}.check{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:500;margin:14px 0}.check small{margin-left:auto}.primary{background:var(--ink);color:white}.check input{margin:0}[hidden]{display:none!important}.top{max-width:1160px;margin:auto;padding:26px 28px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:22px;font-weight:720;letter-spacing:-.7px}.brand-icon{display:grid;place-items:center;background:var(--ink);border-radius:12px;color:#f4f8ed;width:40px;height:40px;font-size:28px}.pill{font-size:10px;letter-spacing:1.3px;background:#e5ecde;color:#55714e;border-radius:99px;padding:7px 12px;white-space:nowrap}main{max-width:1160px;margin:auto;padding:25px 28px 128px}.eyebrow{font-size:10px;letter-spacing:2.3px;font-weight:750;color:#71836d}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(33px,4.6vw,47px);line-height:1.12;letter-spacing:-1.7px;margin:10px 0 30px;font-weight:620}h2{font-size:19px;letter-spacing:-.4px;margin-bottom:17px;font-weight:650}h3{font-size:15px}.heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.small,small{font-size:11px;color:var(--muted)}.heading>.small{white-space:nowrap}.card{background:#fff;border:1px solid var(--line);border-radius:23px;padding:25px;box-shadow:0 6px 25px #12332303;min-width:0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.card-head h2{margin:0}.card-head p{font-size:12px;color:var(--muted);margin:5px 0 0}.card-head>.small{font-size:10px}.stack{display:flex;flex-direction:column;gap:22px;min-width:0}.layout{display:grid;grid-template-columns:.88fr 1.12fr;gap:24px;align-items:start}.hero{background:linear-gradient(125deg,#153c33,#29553e);border-radius:25px;padding:27px;color:#f2f7ed;min-height:300px;position:relative;overflow:hidden}.hero:after{content:'';position:absolute;right:-65px;bottom:-135px;border:1px solid #eef6e81a;border-radius:50%;width:350px;height:350px;pointer-events:none}.hero-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:10px}.hero-top span:last-child{font-size:9px;letter-spacing:1.2px;color:#c5d8bb}.hero-symbol{font-size:45px;line-height:1;margin:35px 0 18px;color:#c9dda9}.hero h2{font-size:38px;line-height:1.15;font-weight:560;letter-spacing:-1.1px;margin:0 0 11px}.hero p{font-size:13px;color:#d0dec9;margin:0}.hero.danger{background:linear-gradient(125deg,#6a302a,#8b483b)}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.stats>div{background:white;border:1px solid var(--line);padding:17px 13px;border-radius:18px}.stats strong{display:block;font-size:27px;font-weight:550;letter-spacing:-.8px}.stats small{font-size:10px;display:block}.room{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #eef1e9}.room:last-child{padding-bottom:0}.room-icon{width:39px;height:39px;flex:0 0 39px;border-radius:13px;display:grid;place-items:center;font-size:23px;background:#ecefeb;color:#788176}.room-copy{flex:1;min-width:0;overflow-wrap:anywhere}.room strong,.sensor-card strong{display:block;font-size:13px;font-weight:650;line-height:1.4}.room small,.sensor-card small{display:block;font-size:10px;line-height:1.7;margin-top:3px}.badge{font-size:10px;font-weight:650;line-height:1.2;max-width:115px;padding:7px 9px;border-radius:9px;background:#ecefeb;color:#788176}.green .room-icon,.green .badge,.hour.green{background:var(--green-bg);color:var(--green)}.yellow .room-icon,.yellow .badge,.hour.yellow{background:var(--yellow-bg);color:var(--yellow)}.danger .room-icon,.danger .badge{background:var(--red-bg);color:var(--red)}.sensor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.sensor-card{display:flex;align-items:center;gap:14px;background:white;border:1px solid var(--line);padding:23px;border-radius:21px}.sensor-card .room-icon{height:48px;width:48px;flex-basis:48px}.sensor-card .badge{margin-left:auto}.event{padding:19px 0;border-bottom:1px solid var(--line);display:flex;gap:16px;align-items:flex-start}.event:first-child{padding-top:0}.event:last-child{padding-bottom:0;border:0}.event strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.event small{display:block;margin-top:5px}.event-icon{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:11px;background:#edf2e7;color:#607d52;font-size:19px}.empty{color:var(--muted);padding:15px 0;margin:0}.notice{background:#e8eee1;border:1px solid #dbe5d3;border-radius:13px;padding:13px 16px;color:#456242;margin-bottom:20px;font-size:13px;overflow-wrap:anywhere}.notice.error{color:var(--red);background:var(--red-bg);border-color:#efd6ce}.notice.warning{color:var(--yellow);background:var(--yellow-bg);border-color:#efdeb0}.settings-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 23px}.settings-tabs button{background:white;border:1px solid var(--line);font-size:12px}.settings-tabs button.active,.days button.active{color:white;background:var(--ink)}.settings-content{max-width:100%}.hint{font-size:12px;color:var(--muted);line-height:1.7;margin:15px 0}.zone-edit{display:grid;grid-template-columns:32px minmax(0,1.25fr) minmax(0,1fr) 46px;align-items:end;gap:15px;border-top:1px solid var(--line);padding:13px 0}.zone-edit label{margin:0}.zone-edit button{margin-bottom:1px}.zone-number{font-size:12px;align-self:center;color:var(--muted)}.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.profile{padding:18px;border:1px solid var(--line);border-radius:17px;background:#fcfdf9}.profile>label:first-child{margin-top:0}.profile .check{font-size:11px;gap:8px;min-height:30px}.profile .check small{font-size:9px}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:18px}.card-head .actions{margin:0}.card-head .actions select{width:110px;font-size:13px}.actions button{font-size:12px}.profile .actions button{flex:1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:end}.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:22px 0 7px}.days button{padding:10px 4px}.hours{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:22px 0}.hour{padding:13px 9px;text-align:left;background:#f1f3ec;border:1px solid transparent;min-height:71px}.hour small{display:block;font-size:10px;color:inherit;opacity:.8}.hour strong{display:block;font-size:11px;margin-top:6px;overflow-wrap:anywhere}.exception-row{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr 46px;gap:10px;margin:15px 0;align-items:center}.exception-row input,.exception-row select{font-size:13px;padding:10px}.rule-editor{border:1px solid var(--line);border-radius:17px;padding:20px;margin:20px 0}.rule-editor>label:first-child{margin-top:0}.save-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:19px 3px;margin-top:8px}.save-bar span{font-size:11px;color:var(--muted)}.save-bar button{font-size:12px}.settings-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:12px;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.settings-facts span{color:var(--muted)}.settings-facts strong{text-align:right}.file-label{cursor:pointer;margin:0;background:#eaf0e5;padding:13px 16px;border-radius:12px;min-height:46px}.file-label input{display:block;font-size:12px;max-width:240px;padding:8px;margin-top:7px}.help p{font-size:13px;color:#64746a}details{border-top:1px solid var(--line);padding:18px 0;margin-top:15px}summary{cursor:pointer;font-weight:600;min-height:30px;font-size:13px}details[open]>summary{margin-bottom:14px}.login-card{max-width:530px;margin:24px auto;padding:35px}.login-card form>.primary{width:100%;margin-top:21px}.login-card h1{font-size:39px}.login-card p{font-size:13px}#login-error{color:var(--red)}nav{display:flex;position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#fffefaef;border:1px solid #dce5d6;box-shadow:0 7px 35px #23423114;border-radius:21px;padding:7px;gap:5px;z-index:20;backdrop-filter:blur(14px);width:430px;max-width:calc(100% - 24px)}nav button{flex:1;min-width:0;background:transparent;font-size:23px;padding:5px 6px;min-height:55px;color:#818b7b;line-height:1.35;font-weight:500}nav button span{display:block;font-size:10px}nav button.active{color:var(--ink);background:#e8efde}footer{text-align:center;font-size:10px;color:#8a9387;margin-top:34px;letter-spacing:.3px}dialog{width:min(480px,calc(100% - 30px));border:1px solid var(--line);border-radius:23px;padding:29px;color:var(--ink);box-shadow:0 15px 80px #10251b40}dialog::backdrop{background:#112f297a;backdrop-filter:blur(4px)}dialog p{font-size:14px;color:#5b6d5f}dialog .actions{justify-content:flex-end}#notice:empty{display:none}@media(max-width:850px){.profile-grid{grid-template-columns:1fr}.profile .check{font-size:13px}.profile .check small{font-size:11px}.hours{grid-template-columns:repeat(4,minmax(0,1fr))}.exception-row{grid-template-columns:1fr 1fr}.exception-row>input:first-child{grid-column:span 2}.exception-row>button{justify-self:end}.card-head{flex-wrap:wrap}}@media(max-width:680px){.top{padding:20px}.brand{font-size:21px}main{padding:14px 17px 120px}.layout{grid-template-columns:1fr;gap:22px}.hero{min-height:275px;padding:24px}.hero-symbol{margin-top:30px}.heading{align-items:flex-start;flex-wrap:wrap;gap:0;margin-bottom:23px}.heading h1{margin-bottom:10px}.heading>.small{display:block;width:100%;font-size:10px}.card{padding:21px;border-radius:21px}.room{gap:10px}.sensor-grid{grid-template-columns:1fr;gap:12px}.sensor-card{padding:20px}.room strong{font-size:13px}.badge{font-size:9px;padding:6px 8px;max-width:90px}.room small{font-size:10px}.form-grid{grid-template-columns:1fr;gap:0}.zone-edit{grid-template-columns:24px minmax(0,1fr) 42px;gap:9px;padding:16px 0}.zone-edit label:nth-child(3){grid-column:2;grid-row:auto}.zone-edit button,.zone-edit>span:last-child{grid-column:3;grid-row:1 / span 2;align-self:center;padding:10px}.zone-number{grid-row:1 / span 2}.zone-edit label{font-size:11px}.settings-tabs{gap:6px}.settings-tabs button{font-size:11px;padding:10px 12px;min-height:42px}.hours{gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}.save-bar{align-items:stretch;flex-direction:column}.save-bar button{width:100%}.settings-facts{grid-template-columns:1fr;gap:5px}.settings-facts strong{text-align:left;margin-bottom:9px}.login-card{padding:27px;margin-top:15px}.login-card h1{font-size:35px}nav{bottom:max(12px,env(safe-area-inset-bottom));gap:0;padding:6px}nav button span{font-size:9px}.pill{font-size:8px;padding:7px 9px}.check{font-size:12px}.card-head .actions{width:100%}.card-head .actions select{flex:1}.event{gap:11px}.event strong{font-size:12px}.hint{font-size:11px}.profile{padding:15px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.rule-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.notice p{margin:9px 0 0}.rule-editor .form-grid label{min-width:0}.rule-editor select{max-width:100%}

.protection .card-head{gap:8px;margin-bottom:16px}.text-button{background:transparent;padding:8px;font-size:11px;white-space:nowrap}.quick-profiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.quick-profile{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:14px 10px;background:#f3f6ef;border:1px solid var(--line);text-align:left;min-width:0}.quick-profile strong{font-size:13px;overflow-wrap:anywhere;max-width:100%}.quick-profile small{font-size:10px;color:#5d705e}.profile-symbol{font-size:24px;line-height:1.2}.quick-profile.selected{background:var(--ink);border-color:var(--ink);color:white}.quick-profile.selected small{color:#d0dec9}.disarm-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;background:white;border:1px solid var(--line);font-size:13px;min-height:49px;text-align:left}.disarm-button.selected{background:var(--green-bg);border-color:#d8e4cb}.disarm-button small{font-size:10px}.protection .hint{margin-bottom:0}@media(max-width:360px){.quick-profiles{grid-template-columns:repeat(2,minmax(0,1fr))}}

.panel-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.panel-action{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:17px;padding:20px;background:#fbfcf8}.panel-action h3{margin-bottom:10px}.panel-action p{font-size:12px;color:#5b6d5f;flex:1}.panel-action button{margin-top:14px}.capability-tag{font-size:10px;color:#68755f}.capability-list article{display:grid;grid-template-columns:1.2fr .8fr 1.3fr;gap:15px;border-top:1px solid var(--line);padding:15px 0;align-items:start}.capability-list strong{font-size:12px}.capability-list span{font-size:11px;color:#68755f}@media(max-width:680px){.panel-actions{grid-template-columns:1fr}.capability-list article{grid-template-columns:1fr;gap:5px}}

/* 2.5: compact overview and matching profile controls */
.status-banners{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.update-pill{background:#fff;border:1px solid var(--line);color:var(--muted);letter-spacing:0;font-size:10px}.quick-profiles{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr}.quick-profile{min-height:109px;padding:14px;gap:6px}.quick-profile .profile-symbol{display:flex;margin-bottom:2px}.profile-symbol svg{height:25px;width:25px}.disarm-profile.selected{color:var(--green);background:var(--green-bg);border-color:#d8e4cb}.disarm-profile.selected small{color:var(--green)}.icon-picker{border:0;padding:0;margin:17px 0 20px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.icon-picker legend{font-size:12px;font-weight:650;margin-bottom:8px}.icon-picker button{padding:10px;background:white;border:1px solid var(--line);display:grid;place-items:center;min-height:46px}.icon-picker svg{width:24px;height:24px}.icon-picker button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}
@media(max-width:680px){.top{padding:15px 17px 10px;flex-wrap:wrap;gap:10px}.brand{font-size:20px}.brand-icon{width:34px;height:34px;border-radius:10px;font-size:25px}.status-banners{width:100%;flex-wrap:nowrap}.status-banners .pill{font-size:9px}.status-banners .update-pill{font-size:10px}.top+main{padding-top:10px}#app[data-view=overview]>.heading{display:none}#app[data-view=overview] .stack{gap:14px}#app[data-view=overview] .hero{min-height:138px;padding:22px;display:grid;grid-template-columns:35px minmax(0,1fr);column-gap:14px;align-content:center}#app[data-view=overview] .hero-top{display:none}#app[data-view=overview] .hero-symbol{grid-row:1 / span 2;margin:0;align-self:center;font-size:38px}#app[data-view=overview] .hero h2{font-size:31px;margin:0 0 5px;overflow-wrap:anywhere}#app[data-view=overview] .hero p{grid-column:2;font-size:12px}.protection{padding:18px}.protection .card-head{margin-bottom:12px}.quick-profile{min-height:92px;padding:11px;gap:4px}.quick-profile strong{font-size:12px}.quick-profile small{font-size:10px}.quick-profiles{gap:8px}.profile-symbol svg{width:23px;height:23px}.protection h2{font-size:18px}}

.users-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.user-card{border:1px solid var(--line);border-radius:17px;padding:18px;min-width:0}.user-card .card-head{margin:0}.user-card strong{overflow-wrap:anywhere}.user-card details{margin:15px 0 0;padding-bottom:0}.user-card input{max-width:100%}#account-logout{min-height:34px;padding:6px 8px;font-size:10px;white-space:nowrap}@media(max-width:680px){.users-list{grid-template-columns:1fr}}

/* One vector icon family across desktop, iOS and Android. */
nav button svg{display:block;width:24px;height:24px;margin:0 auto 3px;flex-shrink:0}nav button{display:flex;flex-direction:column;align-items:center;justify-content:center}.brand-icon img{display:block;width:100%;height:100%}
.brand{white-space:nowrap}
