:root{--navy:#0a1b33;--navy-2:#12315c;--accent:#ffb020;--accent-ink:#1a1200;--bg:#f3f6fa;--card:#fff;--ink:#0e1a2b;--muted:#5d6b7e;--line:#dbe3ee;--good:#3ddc84;--mid:#ffc23d;--bad:#ff5a5f;--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{background:var(--navy);height:100%;color:var(--ink);overscroll-behavior:none;margin:0;overflow:hidden}#app,.screen{position:fixed;top:0;bottom:0;left:0;right:0}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:0}button:disabled{opacity:.45}.hidden{display:none!important}.row{align-items:center;gap:10px;display:flex}.ico{flex:none;width:26px;height:26px}.camera{background:#000}.viewfinder{object-fit:cover;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.top{padding:calc(var(--safe-t) + 12px) 14px 0;justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;left:0;right:0}.round{color:#fff;-webkit-backdrop-filter:blur(10px);background:#0a1b33c7;border-radius:50%;place-items:center;width:48px;height:48px;display:grid}.round.on{background:var(--accent);color:var(--accent-ink)}.round.dark{background:#ffffff1f}.chip{color:#fff;-webkit-backdrop-filter:blur(10px);background:#0a1b339e;border-radius:20px;align-items:center;gap:8px;height:40px;padding:0 14px;font-size:14px;font-weight:600;display:inline-flex}.chip i{background:var(--bad);border-radius:50%;width:10px;height:10px}.chip.good i{background:var(--good)}.chip.mid i{background:var(--mid)}.chip.bad i{background:var(--bad)}.bottom{padding-bottom:var(--safe-b);position:absolute;bottom:0;left:0;right:0}.controls{background:linear-gradient(#0a1b338c,#0a1b33eb);grid-template-columns:1fr auto 1fr;place-items:center;padding:18px 20px 22px;display:grid}.shutter{border:5px solid #fff;border-radius:50%;place-items:center;width:88px;height:88px;padding:5px;display:grid}.shutter span{background:#fff;border-radius:50%;width:100%;height:100%;transition:transform 80ms}.shutter:active span{background:var(--accent);transform:scale(.88)}.side-btn{color:#fff;background:#ffffff29;border-radius:50%;place-items:center;width:64px;height:64px;display:grid}.side-btn .ico{width:30px;height:30px}.side-btn.rec{background:#cb0936;animation:1.2s infinite pulse}@keyframes pulse{50%{box-shadow:0 0 0 12px #ff5a5f00}0%{box-shadow:0 0 #ff5a5f99}}.latest{color:#fff;-webkit-backdrop-filter:blur(12px);background:#0a1b33eb;border-radius:18px;align-items:center;gap:8px;margin:0 12px 10px;padding:8px 8px 8px 14px;display:flex}.latest-info{flex-direction:column;flex:1;min-width:0;font-size:14px;display:flex}.latest-info b{color:var(--accent);font-size:16px}.latest-info small{color:#c5d2e6;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.latest-info span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pill{color:#fff;background:#ffffff29;border-radius:24px;align-items:center;gap:6px;height:48px;padding:0 14px;font-size:15px;font-weight:600;display:inline-flex}.pill .ico{width:20px;height:20px}.interim{left:16px;right:16px;top:calc(var(--safe-t) + 110px);color:#fff;text-align:center;opacity:0;pointer-events:none;background:#0a1b33d9;border-radius:16px;padding:12px 16px;font-size:17px;transition:opacity .2s;position:absolute}.interim.show{opacity:1}.shutter-flash{opacity:0;pointer-events:none;background:#fff;position:absolute;top:0;bottom:0;left:0;right:0}.shutter-flash.go{animation:.25s ease-out flash}@keyframes flash{0%{opacity:.75}to{opacity:0}}.gate{background:var(--navy);color:#fff;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:32px;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.gate p{color:#c5d2e6;max-width:320px}.page{background:var(--bg);flex-direction:column;display:flex}.bar{padding:calc(var(--safe-t) + 10px) 14px 12px;background:var(--navy);color:#fff;align-items:center;gap:12px;display:flex}.bar h1{flex:1;margin:0;font-size:20px}.bar .count{color:var(--accent);text-align:right;min-width:48px;font-weight:700}.bar .spacer{width:48px}.page main{-webkit-overflow-scrolling:touch;padding:16px 16px calc(var(--safe-b) + 40px);flex:1;overflow-y:auto}.actions{gap:10px;margin-bottom:16px;display:grid}.primary,.secondary,.danger{border-radius:16px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:56px;padding:0 18px;font-size:17px;font-weight:700;display:flex}.primary{background:var(--accent);color:var(--accent-ink)}.secondary{background:var(--navy);color:#fff}.danger{color:#c92a2a;background:#fff;border:1.5px solid #f0c4c4;margin-top:20px}.link-danger{color:#c92a2a;margin:28px auto 0;padding:14px;font-size:15px;display:block}.empty{text-align:center;color:var(--muted);margin-top:48px}.cards{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.card{text-align:left;background:var(--card);border-radius:16px;gap:12px;width:100%;min-height:88px;padding:10px;display:flex;box-shadow:0 1px 3px #0a1b3314}.card-img{background:var(--line);border-radius:12px;flex:none;width:76px;height:76px;overflow:hidden}.card-img img{object-fit:cover;width:100%;height:100%;display:block}.ph{width:100%;height:100%;color:var(--muted);place-items:center;display:grid}.card-body{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.card-title{white-space:nowrap;text-overflow:ellipsis;align-items:baseline;gap:8px;font-size:16px;display:flex;overflow:hidden}.card-title b{color:var(--navy-2)}.card-sub{color:var(--muted);font-size:13px}.card-note{color:var(--ink);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;display:-webkit-box;overflow:hidden}.status{margin-top:auto;font-size:12px;font-weight:700}.status.local{color:var(--muted)}.status.ok{color:#1b7a3d}.status.err{color:#c92a2a}.status.wait{color:#8a5a00}.field{margin-bottom:14px;display:block}.field span{color:var(--muted);margin-bottom:6px;font-size:13px;font-weight:600;display:block}.field input,.field textarea,.field select{width:100%;font:inherit;border:1.5px solid var(--line);color:var(--ink);-webkit-appearance:none;appearance:none;background:#fff;border-radius:14px;min-height:54px;padding:14px;font-size:17px}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--navy-2);outline:0;box-shadow:0 0 0 3px #12315c26}.grid2{grid-template-columns:1fr 1fr;gap:0 12px;display:grid}.mic-big{background:var(--navy);color:#fff;border-radius:16px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:60px;margin:-4px 0 18px;font-size:17px;font-weight:700;display:flex}.mic-big.rec{background:var(--bad);animation:1.2s infinite pulse}.thumbs{gap:8px;margin-bottom:10px;padding-bottom:4px;display:flex;overflow-x:auto}.thumb{flex:none;position:relative}.thumb img{border-radius:12px;width:auto;height:120px;display:block}.thumb .x{color:#fff;background:#0a1b33bf;border-radius:50%;width:34px;height:34px;font-size:22px;line-height:1;position:absolute;top:6px;right:6px}.meta{color:var(--muted);align-items:center;gap:6px;margin:0 0 14px;font-size:14px;display:flex}.meta .ico{width:18px;height:18px}.hint{color:var(--muted);font-size:13px;line-height:1.5}.about{color:var(--muted);align-items:center;gap:14px;margin-top:28px;font-size:14px;display:flex}.about img{border-radius:12px}#toast{left:50%;top:calc(var(--safe-t) + 70px);background:var(--navy);color:#fff;opacity:0;pointer-events:none;z-index:50;text-align:center;border-radius:14px;max-width:calc(100% - 32px);padding:12px 18px;font-size:15px;font-weight:600;transition:opacity .2s,transform .2s;position:fixed;transform:translate(-50%,-12px);box-shadow:0 8px 24px #0000004d}#toast.show{opacity:1;transform:translate(-50%)}.install-wrap{z-index:60;align-items:flex-end;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.install-backdrop{background:#050e1c9e;position:absolute;top:0;bottom:0;left:0;right:0}.install{width:100%;color:var(--ink);padding:22px 20px calc(var(--safe-b) + 20px);background:#fff;border-radius:24px 24px 0 0;flex-direction:column;gap:16px;animation:.3s ease-out rise;display:flex;position:relative;box-shadow:0 -12px 40px #00000059}.install-head{align-items:center;gap:14px;display:flex}.install-icon{border-radius:16px;flex:none;width:64px;height:64px;box-shadow:0 2px 8px #00000040}.install-head b{color:var(--navy);font-size:20px;line-height:1.2;display:block}.install-head small{color:var(--muted);margin-top:2px;font-size:14px;display:block}.install-benefits{flex-direction:column;gap:10px;margin:0;padding:0;font-size:16px;line-height:1.35;list-style:none;display:flex}.install-benefits li{padding-left:28px;position:relative}.install-benefits li:before{content:"";border:3px solid #1b8849;border-width:0 3px 3px 0;width:8px;height:14px;position:absolute;top:5px;left:4px;transform:rotate(45deg)}.install-text{color:var(--ink);flex-direction:column;gap:6px;font-size:16px;line-height:1.45;display:flex}.install-actions{flex-direction:column;gap:8px;display:flex}.install-actions .primary{min-height:56px;font-size:18px}.install-actions .later{min-height:48px;color:var(--muted);background:0 0;border-radius:16px;padding:0 18px;font-weight:600}@keyframes rise{0%{opacity:0;transform:translateY(30px)}}.top .col{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.top .row{gap:8px}.round{width:46px;height:46px}.ico.xs{width:16px;height:16px}.chip.pend{gap:6px;height:34px;padding:0 12px;font-size:13px}.chip.pend.warn{background:var(--accent);color:var(--accent-ink)}.thumb-btn{color:#fff;background:#ffffff29;border:2px solid #ffffffb3;border-radius:16px;place-items:center;width:64px;height:64px;padding:0;display:grid;overflow:hidden}.thumb-btn img{object-fit:cover;width:100%;height:100%;display:block}.undo{color:#fff;background:#0a1b33e6;border-radius:16px;justify-content:space-between;align-items:center;margin:0 12px 8px;padding:6px 6px 6px 14px;font-size:15px;font-weight:600;animation:.2s ease-out rise;display:flex}.undo span{align-items:center;gap:8px;display:flex}.undo .ico{color:var(--good);width:20px;height:20px}.undo button{background:var(--accent);min-height:44px;color:var(--accent-ink);border-radius:12px;padding:0 18px;font-weight:700}.sheet{z-index:20;max-height:86%;padding:16px 16px calc(var(--safe-b) + 18px);background:#fff;border-radius:24px 24px 0 0;animation:.25s ease-out rise;position:absolute;bottom:0;left:0;right:0;overflow-y:auto;box-shadow:0 -10px 40px #0006}.sheet-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.sheet-head b{color:var(--navy);font-size:20px}.primary.slim{width:auto;min-height:48px;padding:0 26px}.sheet-note{color:var(--muted);max-height:3.6em;margin:0 0 8px;font-size:14px;line-height:1.4;overflow:hidden}.chips{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.chipbtn{background:var(--bg);border:1.5px solid var(--line);min-height:52px;color:var(--navy);border-radius:22px;padding:0 14px;font-size:14px;font-weight:600}.chipbtn:active{background:var(--accent)}.sheet .mic-big{margin:0 0 6px}.link{width:100%;color:var(--navy-2);text-align:center;padding:14px;font-weight:600;display:block}.suggest{border:1.5px solid var(--accent);text-align:left;width:100%;min-height:54px;color:var(--ink);background:#fff7e0;border-radius:14px;align-items:center;gap:8px;margin-bottom:12px;padding:8px 14px;font-size:15px;display:flex}.suggest span{flex:1;min-width:0}.suggest b{color:#8a5a00}.sheet-open .interim{bottom:auto;top:calc(var(--safe-t) + 110px)}.sheet-open .top,.sheet-open .bottom{pointer-events:none;opacity:0}.clearable{position:relative}.clearable input{padding-right:56px}.clear{background:var(--bg);width:46px;height:46px;color:var(--navy);border-radius:50%;place-items:center;font-size:28px;line-height:1;display:grid;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.auto-note{color:#8a5a00;align-items:center;gap:6px;margin-top:6px;font-size:13px;font-weight:600;display:flex}.field .suggest{margin:8px 0 0}.field .suggest span{color:inherit;flex:1;margin:0;font-size:15px;font-weight:400;display:block}.gap{height:16px}.help-hero{background:var(--navy);color:#fff;border-radius:18px;align-items:center;gap:14px;margin-bottom:14px;padding:16px;font-size:15px;line-height:1.4;display:flex}.help-hero img{border-radius:14px;flex:none}.help-card{background:#fff;border-radius:18px;margin-bottom:12px;padding:16px 16px 8px;box-shadow:0 1px 3px #0a1b3314}.help-card h2{color:var(--navy);align-items:center;gap:10px;margin:0 0 10px;font-size:18px;display:flex}.help-card h2 .ico{color:#b7791f;width:22px;height:22px}.help-card p,.help-card li{color:var(--ink);font-size:15.5px;line-height:1.5}.help-card p{margin:0 0 10px}.help-card ul{margin:0 0 10px;padding-left:20px}.help-card li{margin-bottom:6px}.steps{counter-reset:s;margin:0 0 10px;padding:0;list-style:none}.steps li{counter-increment:s;min-height:32px;margin-bottom:10px;padding-left:42px;position:relative}.steps li:before{content:counter(s);background:var(--accent);width:30px;height:30px;color:var(--accent-ink);border-radius:50%;place-items:center;font-weight:800;display:grid;position:absolute;top:-1px;left:0}.help .primary{margin-top:8px}.help main{padding-bottom:calc(var(--safe-b) + 110px)}.help-foot{padding:12px 16px calc(var(--safe-b) + 12px);background:linear-gradient(to top, var(--bg) 70%, transparent);position:absolute;bottom:0;left:0;right:0}.help-foot .primary{margin:0}.help-card summary{color:var(--navy);cursor:pointer;align-items:center;gap:10px;min-height:40px;font-size:17px;font-weight:700;list-style:none;display:flex}.help-card summary::-webkit-details-marker{display:none}.help-card summary .ico{color:#b7791f;width:22px;height:22px}.help-card.more[open] summary{margin-bottom:8px}.ico.sm{width:22px;height:22px}.help-card{padding:14px 16px 6px}.help-card.more{padding-bottom:10px}.help-card p,.help-card li{font-size:15px}.chipbtn.big{min-height:52px;padding:0 20px;font-size:16px}.chipbtn.sel{background:var(--navy);color:#fff;border-color:var(--navy)}.check{color:var(--ink);align-items:flex-start;gap:12px;margin:0 0 16px;font-size:14.5px;line-height:1.4;display:flex}.check input{width:24px;height:24px;accent-color:var(--navy);flex:none}.stack{gap:12px;margin-bottom:20px;display:grid}.locbar{left:14px;right:14px;top:calc(var(--safe-t) + 118px);z-index:5;color:#5a3b00;background:#fff3d6;border-radius:16px;align-items:center;gap:10px;padding:8px 8px 8px 14px;font-size:14px;font-weight:600;line-height:1.3;display:flex;position:absolute;box-shadow:0 6px 20px #00000059}.locbar .ico{color:#b7791f;width:22px;height:22px}.locbar span{flex:1}.locbar button{background:var(--accent);min-height:44px;color:var(--accent-ink);border-radius:12px;flex:none;padding:0 18px;font-weight:800}.gate{padding-top:calc(var(--safe-t) + 70px);justify-content:flex-start;overflow-y:auto}.gate .gate-ico{width:56px;height:56px;color:var(--accent)}.gate .steps{text-align:left;max-width:340px;margin:8px 0 14px}.gate .steps li{color:#fff;font-size:15px}.gate .primary{max-width:340px}.modal{z-index:90;background:#0009;align-items:flex-end;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.modal-card{width:100%;max-height:90%;padding:20px 18px calc(var(--safe-b) + 18px);background:#fff;border-radius:24px 24px 0 0;animation:.25s ease-out rise;overflow-y:auto}.modal-card h2{color:var(--navy);align-items:center;gap:10px;margin:0 0 8px;font-size:20px;display:flex}.modal-card h2 .ico{color:#b7791f}.modal-card p{color:var(--muted);margin:0 0 12px;font-size:15px;line-height:1.45}.modal-card .steps li{color:var(--ink);font-size:15px}.gate .ghost{color:#c5d2e6;min-height:52px;margin-top:8px;padding:0 18px;font-size:16px;font-weight:600}.gate{z-index:10}.gate h2{margin:14px 0 6px}.gate .code-input{color:#fff;text-align:center;letter-spacing:.06em;text-transform:uppercase;background:#0f2747;border:2px solid #2d4a77;border-radius:12px;width:100%;max-width:340px;min-height:56px;margin-top:8px;font:600 18px ui-monospace,SFMono-Regular,Menlo,monospace}.gate .code-input:focus{border-color:var(--accent);outline:0}.gate .gate-msg{color:#ffb4b4;min-height:1.4em;margin:4px 0 6px;font-size:14px}.gate .gate-field{text-align:left;width:100%;max-width:340px;margin:8px 0 14px;display:block}.gate .gate-field span{color:#c5d2e6;margin-bottom:6px;font-size:13px;font-weight:600;display:block}.gate .gate-field select{border-radius:12px;width:100%;min-height:52px;padding:0 12px;font-size:16px}.account{border:1px solid var(--line,#d7deea);background:#fff;border-radius:12px;gap:2px;margin-bottom:14px;padding:12px 14px;display:grid}.account span{color:var(--muted);font-size:14px}.gate .or{margin:10px 0 0;font-size:14px}.scan{z-index:20;padding:24px 24px calc(var(--safe-b,0px) + 28px);background:#000;flex-direction:column;justify-content:flex-end;align-items:center;gap:14px;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.scan-video{object-fit:cover;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.scan-frame{aspect-ratio:1;border:3px solid var(--accent);border-radius:18px;width:min(70vw,280px);position:absolute;top:50%;left:50%;transform:translate(-50%,-60%);box-shadow:0 0 0 100vmax #00000073}.scan-hint{color:#fff;text-align:center;max-width:320px;margin:0;font-size:15px;position:relative}.scan-cancel{width:100%;max-width:340px;position:relative}.latest.next{flex-direction:column;align-items:stretch;gap:10px;padding:12px 12px 12px 14px}.latest.next .latest-info{gap:2px}.latest-hint{color:#fff;font-size:15px;font-weight:500;line-height:1.35;white-space:normal!important;overflow:visible!important}.latest-actions{gap:8px;display:flex}.latest-actions .pill{white-space:nowrap;flex:1;justify-content:center}.pill.go{background:var(--accent);color:var(--accent-ink);font-weight:700}.latest.done{padding:8px 8px 8px 14px}.primary .ico,.primary.slim .ico{vertical-align:-4px;width:20px;height:20px;margin-left:6px}.sheet{flex-direction:column;padding:16px 16px 0;display:flex;overflow:hidden}.sheet-body{-webkit-overflow-scrolling:touch;flex:1;min-height:0;padding-bottom:8px;overflow-y:auto}.sheet-foot{padding:10px 0 calc(var(--safe-b) + 14px);border-top:1px solid var(--line);text-align:center;background:#fff;flex:none}.sheet-foot p{color:var(--muted);margin:8px 0 0;font-size:13px}.primary.big{justify-content:center;align-items:center;gap:6px;width:100%;min-height:58px;font-size:18px;display:flex}.textbtn{background:var(--bg);min-height:46px;color:var(--navy);border-radius:23px;padding:0 18px;font-size:16px;font-weight:600}.backdrop{z-index:19;background:#0a1b338c;position:absolute;top:0;bottom:0;left:0;right:0}.thumb-btn.invisible{visibility:hidden}.field-label{color:var(--muted);margin:4px 0 6px;font-size:14px;font-weight:600}.link.danger-link{color:#c92a2a}.field span{font-size:14px}.card-addr{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.chip.msg{color:#0a1b33;background:#91d62b;border:2px solid #fff;font-weight:700}.round.msg-btn{position:relative}.round.msg-btn.has-unread:after{content:"";background:#91d62b;border:2px solid #fff;border-radius:50%;width:12px;height:12px;position:absolute;top:6px;right:6px}.chat-main{flex-direction:column;gap:12px;display:flex}.chat{flex-direction:column;gap:8px;max-height:52vh;padding:4px 2px;display:flex;overflow-y:auto}.bubble{background:#fff;border:1px solid #7896bf;border-radius:12px;max-width:88%;padding:10px 12px}.bubble.walker{background:#e4edfa;align-self:flex-end}.bubble.coordinator{align-self:flex-start}.bubble.quality{border-left:5px solid #b3122e}.bubble small{color:#4b5a6e;margin-bottom:2px;font-size:12px;display:block}.bubble strong{color:#b3122e;font-size:13px;display:block}.bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:2px 0 0}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.page :focus-visible{outline-color:var(--navy-2)}.install :focus-visible{outline-color:var(--navy-2)}.confirm :focus-visible{outline-color:var(--navy-2)}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.confirm-wrap{z-index:80;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.confirm-backdrop{background:#050e1cb3;position:absolute;top:0;bottom:0;left:0;right:0}.confirm{width:100%;max-width:380px;color:var(--ink);background:#fff;border-radius:20px;flex-direction:column;gap:10px;padding:22px 20px 18px;display:flex;position:relative}.confirm b{color:var(--navy);font-size:20px}.confirm p{margin:0 0 6px;font-size:16px;line-height:1.45}.confirm-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.confirm-actions .danger{color:#fff;background:#c92a2a;border-color:#c92a2a;margin-top:0}
