:root{color:#193a33;font-synthesis:none;--forest:#123c37;--green:#17634f;--ink:#193a33;--muted:#718178;--line:#dce5df;--paper:#fff;--amber:#946c21;--red:#a7473e;background:#f2f5f1;font-family:Segoe UI,Microsoft YaHei UI,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{background:#f2f5f1;min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}h1,h2,p{margin:0}.auth-shell{background:radial-gradient(circle at 75% 12%,#dfeae3 0,#0000 34%),#f3f6f2;grid-template-rows:auto 1fr auto;min-height:100vh;padding:34px clamp(20px,6vw,80px);display:grid}.auth-brand,.brand{align-items:center;gap:13px;display:flex}.auth-brand svg,.brand svg{fill:none;stroke:currentColor;stroke-width:1.6px;border:1px solid #7ba093;border-radius:13px;width:44px;height:44px;padding:9px}.auth-brand strong,.brand strong{letter-spacing:.08em;font-size:22px;display:block}.auth-brand span,.brand span{letter-spacing:.16em;color:#779087;margin-top:4px;font-size:10px;display:block}.auth-card{border:1px solid var(--line);background:#fffffff0;border-radius:22px;align-self:center;width:min(480px,100%);padding:clamp(28px,5vw,48px);box-shadow:0 28px 70px #193a331a}.auth-card h1{letter-spacing:.02em;margin-top:8px;font-size:clamp(26px,5vw,34px);font-weight:650}.auth-card .muted{color:var(--muted);margin:16px 0 24px;font-size:14px;line-height:1.85}.auth-card form{gap:17px;display:grid}.auth-card label{color:#4c655d;gap:8px;font-size:13px;font-weight:600;display:grid}.auth-card input{height:48px;color:var(--ink);background:#fbfcfb;border:1px solid #cddbd4;border-radius:9px;outline:none;padding:0 14px}.auth-card input:focus{border-color:#4a8b76;box-shadow:0 0 0 3px #d9ebe4}.primary,.refresh{cursor:pointer;border:0;border-radius:9px}.primary{color:#fff;background:var(--green);min-height:48px;padding:0 19px;font-weight:650}.primary:disabled{opacity:.65;cursor:progress}.auth-shell footer{color:#8b9a93;font-size:11px}.form-error{color:var(--red);font-size:13px}.boundary-note{color:#63776e;background:#eef3ef;border:1px solid #dce7df;border-radius:10px;padding:15px 17px;font-size:12px;line-height:1.7}.eyebrow{color:#688478;letter-spacing:.18em;font-size:10px;font-weight:700}.app-shell{min-height:100vh;display:flex}.sidebar{color:#edf5ef;background:var(--forest);flex-direction:column;width:238px;padding:34px 22px 25px;display:flex;position:fixed;inset:0 auto 0 0}.brand span{color:#a9c2b8}.workspace{color:#96b5aa;letter-spacing:.08em;margin:46px 8px 15px;font-size:11px}.sidebar nav{gap:7px;display:grid}.sidebar nav button{color:#bed0ca;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;height:46px;padding:0 16px}.sidebar nav button:hover{color:#fff;background:#28564b}.sidebar nav button.active{color:#163d34;background:#e7eee9;font-weight:650}.safety-lock{border-top:1px solid #3c5e56;margin-top:auto;padding:21px 10px 0}.safety-lock>span{text-align:center;border:1px solid #6f9187;border-radius:50%;width:32px;height:32px;margin-bottom:12px;padding-top:4px;display:block}.safety-lock strong{font-size:13px}.safety-lock p{color:#a9c1b8;margin-top:7px;font-size:11px}.main-column{flex:1;min-width:0;margin-left:238px}.topbar{color:#60736b;border-bottom:1px solid var(--line);background:#ffffffdb;justify-content:space-between;align-items:center;height:74px;padding:0 clamp(22px,4vw,48px);font-size:12px;display:flex}.live-dot{background:#b88e37;border-radius:50%;width:7px;height:7px;margin-right:9px;display:inline-block}.account{align-items:center;gap:13px;display:flex}.account button{color:#667970;cursor:pointer;background:0 0;border:0}.account button:hover{color:var(--green)}.content{width:min(1260px,100%);margin:0 auto;padding:36px clamp(18px,4vw,48px) 48px}.hero,.device-overview,.panel-title{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.hero h1,.page-panel h1{letter-spacing:.02em;margin-top:9px;font-size:clamp(27px,4vw,38px);font-weight:650}.hero p:not(.eyebrow),.panel-title p{color:var(--muted);margin-top:10px;font-size:13px}.refresh{color:#fff;background:var(--green);white-space:nowrap;min-height:40px;padding:0 17px}.refresh:disabled{cursor:not-allowed;opacity:.45}.status-strip{background:var(--line);border:1px solid var(--line);border-radius:13px;grid-template-columns:repeat(3,1fr);gap:1px;margin:27px 0 20px;display:grid;overflow:hidden}.status-strip>div{background:#fff;min-height:77px;padding:17px 19px}.status-strip span{color:#87968f;margin-bottom:8px;font-size:10px;display:block}.status-strip strong{font-size:13px;font-weight:650}.status-strip [data-tone=connected] strong,.status-strip [data-tone=online] strong{color:var(--green)}.status-strip [data-tone=error] strong,.status-strip [data-tone=offline] strong{color:var(--red)}.status-strip [data-tone=unconfigured] strong,.status-strip [data-tone=checking] strong{color:var(--amber)}.notice,.error-banner{border-radius:9px;margin:0 0 18px;padding:13px 16px;font-size:12px}.notice{color:#496b5e;background:#e7f0ea;border:1px solid #d5e5da}.error-banner{color:#8e453e;background:#fff1ef;border:1px solid #efd4d1}.device-overview{border:1px solid var(--line);background:#fff;border-radius:14px 14px 0 0;padding:22px 24px}.device-overview h2{margin-top:7px;font-size:20px}.device-overview>div>p:last-child{color:#7b8d85;margin-top:7px;font-size:11px}.query-time{text-align:right;gap:3px;display:grid}.query-time span,.query-time small{color:#87958f;font-size:10px}.query-time strong{font-size:12px;font-weight:600}.control-grid{grid-template-columns:repeat(2,1fr);gap:18px;margin-top:18px;display:grid}.device-card{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:clamp(20px,3vw,29px);box-shadow:0 10px 28px #1f43390b}.device-heading{justify-content:space-between;gap:15px;display:flex}.device-heading h2{margin-top:6px;font-size:21px}.locked-pill{color:#7d8d86;background:#f0f3f1;border-radius:6px;align-self:flex-start;padding:5px 8px;font-size:10px}.reported-state{text-align:center;background:linear-gradient(145deg,#edf3ef,#f6f8f6);border-radius:12px;place-items:center;min-height:168px;margin:21px 0 12px;padding:20px;display:grid}.reported-state span{color:#84958d;font-size:10px}.reported-state strong{color:#2f6654;margin:7px 0 10px;font-size:clamp(21px,3vw,28px);font-weight:550}.reported-state time{color:#8c9a94;font-size:10px}.warning-line{color:#876525;background:#fbf5e6;border-radius:7px;margin-bottom:12px;padding:9px 11px;font-size:11px}.action-row{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.action-row button{color:#8f9c96;cursor:not-allowed;background:#f5f7f5;border:1px solid #e0e5e1;border-radius:10px;place-items:center;gap:3px;min-height:72px;font-size:11px;display:grid}.action-row button span{font-size:17px}.action-row button:not(:disabled){color:#17634f;cursor:pointer;background:#e8f3eb;border-color:#6c9d89}.action-row button[data-action=stop]:not(:disabled){color:#923629;background:#fff0e9;border-color:#cc8c7f}.lock-note{color:#8b9791;text-align:center;margin-top:12px;font-size:10px}.verification-panel{border:1px solid var(--line);background:#fff;border-radius:13px;justify-content:space-between;align-items:center;gap:25px;margin-top:18px;padding:20px 23px;display:flex}.verification-panel h2{margin-top:6px;font-size:17px}.flags{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.flags span{color:#895b27;background:#fbf2df;border:1px solid #eee0bd;border-radius:7px;padding:7px 9px;font-size:10px}.page-panel{border:1px solid var(--line);background:#fff;border-radius:16px;padding:clamp(22px,4vw,38px)}.log-list{margin-top:28px}.log-list article{border-top:1px solid #edf1ee;grid-template-columns:160px 80px 1fr;align-items:center;gap:14px;padding:17px 0;display:grid}.log-list time{color:#829189;font-size:11px}.log-list strong{font-size:12px}.log-list p{color:#65776f;overflow-wrap:anywhere;font-size:12px}.empty{color:#85948d;padding:35px 0;font-size:13px}.settings .lead{color:#6f8179;max-width:720px;margin-top:15px;line-height:1.8}.settings ol{counter-reset:steps;gap:12px;margin:28px 0;padding:0;list-style:none;display:grid}.settings li{counter-increment:steps;background:#f5f7f5;border-radius:10px;grid-template-columns:40px 130px 1fr;align-items:center;gap:10px;padding:18px;display:grid}.settings li:before{content:counter(steps);color:#fff;background:var(--green);border-radius:50%;place-items:center;width:29px;height:29px;font-size:11px;display:grid}.settings li strong{font-size:13px}.settings li span{color:#6f8078;font-size:12px;line-height:1.6}@media (width<=780px){.app-shell{display:block}.sidebar{width:auto;padding:17px;position:static}.sidebar .workspace,.safety-lock{display:none}.brand svg{width:38px;height:38px}.brand strong{font-size:19px}.sidebar nav{grid-template-columns:repeat(3,1fr);margin-top:17px}.sidebar nav button{text-align:center;padding:0 8px;font-size:12px}.main-column{margin-left:0}.topbar{height:58px}.content{padding-top:25px}.control-grid,.status-strip{grid-template-columns:1fr}.hero,.device-overview,.verification-panel,.panel-title{align-items:flex-start}.query-time{text-align:left}.verification-panel{flex-direction:column}.flags{justify-content:flex-start}.log-list article{grid-template-columns:1fr;gap:5px}}@media (width<=520px){.auth-shell{padding:22px 16px}.topbar{padding:0 16px}.topbar>div:first-child{display:none}.account{margin-left:auto}.hero,.device-overview,.panel-title{flex-direction:column}.refresh{width:100%}.settings li{grid-template-columns:38px 1fr}.settings li span{grid-column:2}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.manual-panel{background:#fff;border:1px solid #d4dbe3;border-radius:16px;margin:20px 0;padding:22px}.manual-panel h2{margin-top:0}.manual-panel label{align-items:flex-start;gap:10px;margin:14px 0;line-height:1.65;display:flex}.manual-panel input[type=checkbox]{accent-color:#126452;flex:0 0 18px;width:18px;height:18px;margin-top:4px}.manual-panel button{color:#183b31;cursor:pointer;background:#f1f6f4;border:1px solid #adb9c7;border-radius:8px;padding:10px 16px}.manual-panel button:disabled{opacity:.45;cursor:not-allowed}.manual-actions{flex-wrap:wrap;gap:12px;margin:14px 0;display:flex}.manual-confirm{background:#fff9ec;border:2px solid #a76a16;border-radius:10px;margin-top:16px;padding:18px}.manual-confirm button{margin-right:12px}.portal-hero{margin-bottom:26px}.portal-tag{color:var(--green);white-space:nowrap;border:1px solid #d0e0d6;border-radius:20px;padding:8px 13px;font-size:12px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px;display:grid}.product-card{text-align:left;min-width:0;min-height:226px;color:var(--ink);background:var(--paper);border:1px solid var(--line);cursor:pointer;border-radius:15px;flex-direction:column;align-items:stretch;padding:23px 19px;display:flex;box-shadow:0 8px 24px #1f433906}.product-card:hover{background:#fbfdfb;border-color:#85ad9e}button:focus-visible{outline-offset:3px;outline:3px solid #b48b32}.product-card.connected-product{background:#f7fcf8;border-color:#8eb9a4}.product-card-top{justify-content:space-between;align-items:center;gap:6px;margin-bottom:20px;display:flex}.product-card svg{fill:none;stroke:#457866;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:36px;height:36px}.product-badge{color:#737e76;white-space:nowrap;background:#eef1ee;border-radius:6px;padding:5px 8px;font-size:11px;display:inline-block}.connected-product .product-badge{color:var(--green);background:#e0efe5}.product-card>strong{font-size:18px;font-weight:650}.product-description{color:#687d72;margin:10px 0 16px;font-size:12px;line-height:1.75}.product-device{color:#61796c;overflow-wrap:anywhere;border-top:1px solid #dfebe3;gap:6px;margin-top:auto;padding-top:12px;font-size:11px;display:grid}.product-device [data-tone=online]{color:var(--green)}.product-device [data-tone=offline]{color:var(--red)}.product-device [data-tone=unknown]{color:var(--amber)}.product-footnote{color:#728479;justify-content:space-between;gap:8px;margin-top:auto;font-size:11px;display:flex}.back-button{min-height:44px;color:var(--green);cursor:pointer;background:#fff;border:1px solid #cddfd3;border-radius:8px;margin-bottom:18px;padding:8px 16px}.pending-product>.product-badge{margin-top:18px}.pending-product .lead{color:#63796e;max-width:700px;margin:22px 0;font-size:15px;line-height:1.9}.global-safety{color:#775418;overflow-wrap:anywhere;background:#fff8e7;border:1px solid #dec388;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px;padding:18px 20px;display:flex}.global-safety h2{margin-bottom:9px;font-size:16px}.global-safety p{margin-top:6px;font-size:12px;line-height:1.7}.global-safety button{color:#704d15;cursor:pointer;background:#fffdf6;border:1px solid #c7a465;border-radius:8px;flex-shrink:0;min-height:44px;padding:8px 15px}.account{min-width:0}.account span{overflow-wrap:anywhere}.account button{flex-shrink:0;min-width:44px;min-height:44px}.topbar{gap:16px;height:auto;min-height:74px;padding-top:10px;padding-bottom:10px}@media (width<=1180px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=780px){.sidebar nav{z-index:10;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));color:#eaf3ed;background:var(--forest);border-top:1px solid #42675b;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0;display:grid;position:fixed;inset:auto 0 0}.sidebar nav button{height:auto;min-height:48px;padding:8px 3px}.content{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}.topbar{min-height:58px}.global-safety{flex-direction:column;align-items:flex-start}.global-safety button{width:100%}}@media (width<=520px){.product-grid{gap:12px}.product-card{min-height:225px;padding:18px 14px}.product-card>strong{font-size:17px}.product-card-top{flex-wrap:wrap;margin-bottom:16px}.product-card svg{width:32px;height:32px}.portal-hero{gap:15px}.portal-tag{display:none}}.manual-fieldset{border:0;min-width:0;margin:0;padding:0}.compact-controls>button{color:#174332;cursor:pointer;background:#e8f3ed;border:1px solid #a8c9b9;border-radius:10px;min-height:48px;padding:12px 18px;font-size:16px}.compact-controls>button:disabled{opacity:.5;cursor:not-allowed}.compact-controls .compact-lock{background:#fff;margin-left:12px}.compact-grid .device-card{padding:22px}.compact-grid .action-row button{min-height:58px;font-size:18px}.compact-grid{margin-top:16px}.compact-grid .device-heading{margin-bottom:12px}.compact-grid .device-heading h2{font-size:21px}.compact-grid .action-row{margin-top:10px}.compact-report{color:#60776a;justify-content:space-between;gap:12px;padding:10px 0;font-size:13px;display:flex}.compact-report strong{color:#17634f;font-size:16px}.compact-connection{color:#526e60;margin:14px 0;font-size:13px;line-height:1.7}.compact-connection summary{cursor:pointer}.hero.compact-hero{flex-direction:row;align-items:center;gap:12px;margin-bottom:12px}.compact-hero h1{font-size:25px}.compact-hero .refresh{flex-shrink:0;width:auto;padding:10px 14px}@media (width<=680px){.compact-controls>button{width:100%;margin:8px 0}.compact-controls .compact-lock{margin-left:0}}.password-card{width:min(100%,460px)}.password-card>p:not(.eyebrow){margin:16px 0 24px;line-height:1.7}.environment-switch{z-index:30;background:#fff;border:1px solid #dbe4e0;border-radius:16px;width:min(340px,100vw - 32px);padding:18px;position:fixed;bottom:16px;right:16px;box-shadow:0 8px 40px #10271f25}.environment-switch h2{margin-top:0;font-size:18px}.environment-switch button{color:#174332;background:#edf6f1;border:1px solid #cadbd3;border-radius:8px;width:100%;min-height:44px;margin-top:12px;padding:10px;display:block}.environment-switch label{align-items:flex-start;gap:10px;line-height:1.6;display:flex}.environment-switch input{flex:none;margin-top:6px}.switch-dialog{max-height:calc(100dvh - 32px);inset:50% auto auto 50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax #11251dcc}.product-card:disabled{cursor:default;opacity:.65}.phone-login .muted{margin-bottom:20px}.phone-login form{gap:12px}.phone-login input{width:100%;min-width:0;font-size:16px}.phone-login button{width:100%;min-height:46px}.phone-send,.phone-secondary{color:#205d48;cursor:pointer;background:#edf5ef;border:1px solid #b8cfc2;border-radius:9px;padding:10px 14px}.phone-secondary{background:#fff}.phone-login button:disabled{cursor:not-allowed;opacity:.6}.phone-recipient{border:1px solid var(--line);background:#f0f5f1;border-radius:10px;gap:6px;padding:12px 14px;display:grid}.phone-recipient span{color:#60776a;font-size:12px}.phone-recipient strong{letter-spacing:.03em;font-size:20px;font-weight:600}.phone-notice,.phone-hint{color:#61776c;overflow-wrap:anywhere;font-size:12px;line-height:1.7}.phone-login>.phone-hint{margin-top:18px}.phone-timer{color:#496c5c;font-variant-numeric:tabular-nums;font-size:13px}.phone-login .form-error{line-height:1.7}@media (width<=520px){.auth-shell{gap:24px;padding:24px 20px}.auth-card:has(.phone-login){padding:24px}.auth-shell:has(.phone-login){min-height:100dvh}body:has(.environment-switch:not(.switch-dialog)) .auth-shell{padding-bottom:210px}}
