html[data-remote=true]:not([data-remote-ready=true]) #app{visibility:hidden}.remote-gate{position:fixed;inset:0;z-index:100;background:var(--surface,#fff);display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:28px 24px;padding-top:max(28px,env(safe-area-inset-top));padding-bottom:max(28px,env(safe-area-inset-bottom));color:var(--text,#202b3d)}.remote-gate[hidden]{display:none}.remote-gate-box{max-width:440px;width:100%;line-height:1.8;margin:auto}.remote-brand{font-weight:600;font-size:16px;color:var(--muted,#7a89a3);margin:0 0 32px}.remote-gate h1{font-size:25px;line-height:1.5;margin:0 0 18px}.remote-state{font-size:15px;margin:0 0 10px}.remote-detail{font-size:13px;color:var(--muted,#7a89a3);margin:0 0 22px}.remote-code{font:600 28px/1.5 ui-monospace,monospace;letter-spacing:5px;color:var(--blue,#0965ff);padding:12px 0}.remote-primary,.remote-secondary{display:block;width:100%;min-height:46px;border-radius:9px;margin:10px 0;padding:10px 14px;font:inherit;cursor:pointer}.remote-primary{background:var(--blue,#0965ff);color:white}.remote-secondary{background:var(--soft,#f4f6fa);color:inherit}.remote-foot{font-size:11px;color:var(--muted,#7a89a3);margin:32px 0 0}.remote-gate button[hidden]{display:none}@media(prefers-color-scheme:dark){.remote-gate{color:#e1e8f4;background:#171d27}}

.remote-pair-form{margin:14px 0 18px}.remote-pair-form label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.remote-pair-input{display:block;width:100%;min-height:82px;max-height:150px;resize:vertical;padding:10px 12px;border:1px solid var(--line,#dce3ef);border-radius:9px;background:var(--soft,#f4f6fa);color:inherit;font-size:16px;line-height:1.5;overflow-wrap:anywhere}.remote-pair-input:focus{outline:2px solid var(--blue,#0965ff);outline-offset:1px}.remote-pair-hint{font-size:12px;color:var(--muted,#7a89a3);margin:8px 0}.remote-pair-error{font-size:13px;color:var(--red,#ef404b);margin:8px 0}.remote-pair-form .remote-primary{font-size:15px}

.push-probe{border-bottom:1px solid var(--line,#8884);padding:8px 0 16px;margin-bottom:12px}.push-probe h3{font-size:15px;margin:4px 0}.push-probe p{font-size:12px;line-height:1.5}.push-probe select{display:block;max-width:100%;width:100%;min-height:36px}.push-probe-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.push-probe-actions button{min-height:36px;font-size:12px}

#remote-startup .remote-brand{margin-bottom:20px}#remote-startup h1{font-size:20px;font-weight:500;margin-bottom:10px}#remote-startup .remote-state{min-height:48px;color:var(--muted,#7a89a3);font-size:13px}#remote-startup-retry[hidden]{display:none}

#remote-startup{background:#fff;padding:0;overflow:hidden}
#remote-startup-icon{position:absolute;width:60px;height:60px;left:50%;top:50%;transform:translate(-50%,-50%);color:#454543}
.remote-startup-notice{position:absolute;top:calc(50% + 74px);left:24px;right:24px;max-width:360px;margin:0 auto;text-align:center}
#remote-startup .remote-startup-notice h1{font-size:16px;line-height:1.5}#remote-startup .remote-startup-notice .remote-state{font-size:13px;line-height:1.6;min-height:0}
#remote-startup [hidden]{display:none}
@media(prefers-color-scheme:dark){#remote-startup{background:#171d27}#remote-startup-icon{color:#d4dae3}}
