:root{font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;color:#1b2f36;background:#f3f6f6;font-synthesis:none}*{box-sizing:border-box}body{margin:0}main{max-width:1160px;margin:0 auto;padding:36px 24px}header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:10px 0 24px}.eyebrow{color:#17766d;font-size:13px;font-weight:700;letter-spacing:.05em}h1{font-size:32px;letter-spacing:-1px;margin:6px 0 10px}h2{font-size:18px;margin:0 0 16px}p{line-height:1.7;margin:6px 0;color:#536970}.muted,small{color:#6b7e84;font-size:13px;line-height:1.7}section,aside{background:#fff;border:1px solid #dfe7e7;border-radius:12px;padding:24px;margin:0 0 20px;box-shadow:0 3px 10px #17393a04}#login{max-width:480px;margin:60px auto}label{display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:14px;margin-bottom:20px}input,textarea,select{font:inherit;font-weight:400;border:1px solid #cbd7d8;border-radius:7px;padding:11px 12px;color:inherit;background:#fff;width:100%;line-height:1.65}textarea{resize:vertical;min-height:84px}input:focus,textarea:focus,select:focus{outline:3px solid #d5ece8;border-color:#218679}button{font:inherit;font-size:14px;border:1px solid transparent;border-radius:7px;background:#14796e;color:#fff;padding:10px 16px;cursor:pointer;white-space:nowrap;font-weight:650}button:hover{background:#0c655c}button:disabled{opacity:.5;cursor:wait}.secondary{background:#fff;color:#2e555a;border-color:#ccd9da}.secondary:hover{background:#edf4f3}.danger{color:#a53737;border-color:#e9c9c9}.hidden{display:none!important}.toolbar,.actions,.editor-top,.section-title{display:flex;align-items:center;justify-content:space-between;gap:14px}.toolbar{padding:18px 24px}.actions{justify-content:flex-end}.workspace{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start}.workspace aside{position:sticky;top:18px;padding:18px}.template-button{display:block;width:100%;text-align:left;background:transparent;color:#355a5e;border:1px solid #e0e8e7;margin-bottom:8px;white-space:normal}.template-button.active{background:#e3f2ed;color:#12685d;border-color:#8cc5b7}.check{flex-direction:row;align-items:center;margin:0;font-size:13px;white-space:nowrap}.check input{width:16px;height:16px}.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}#status:not(:empty){padding:12px 16px;background:#e4f1ed;color:#16594e;border-radius:8px;margin-bottom:18px;line-height:1.7}#status.error{background:#fff0e7;color:#99461d}.device,.version-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 0;border-top:1px solid #e7eeee}.device strong{display:block}.device p{font-size:13px;margin:3px 0}.badge{font-size:12px;background:#e8f4ef;color:#226550;padding:4px 8px;border-radius:5px}.badge.off{background:#f5eceb;color:#945450}footer{font-size:12px;color:#74878c;line-height:1.7;padding:8px 0 30px}#add-template{width:100%;margin-top:8px}@media(max-width:760px){main{padding:20px 14px}header,.toolbar{align-items:flex-start;flex-direction:column}.workspace,.two{grid-template-columns:1fr}.workspace aside{position:static}.editor-top{align-items:flex-start;flex-direction:column}.device{align-items:flex-start}h1{font-size:28px}section{padding:18px}}
:root .device-actions{display:flex;align-items:center;gap:10px;max-width:420px}.device-actions select{min-width:150px;max-width:270px}@media(max-width:760px){.device-actions{flex-direction:column;align-items:stretch!important}}
