*{box-sizing:border-box}body{margin:0;background:#f4f3ee;color:#18352c;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}main{max-width:650px;margin:auto;padding:24px 22px 40px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:44px}.brand{font-family:Georgia,serif;font-size:32px;text-decoration:none;color:inherit;display:flex;gap:12px;align-items:center}.brand span{font:11px -apple-system,sans-serif;letter-spacing:.5px;color:#55685f}.tag{font-size:10px;border:1px solid #ccd5cd;border-radius:20px;padding:7px 10px}.eyebrow{font-size:10px;letter-spacing:2.2px;color:#6b7f72}h1{font-size:clamp(32px,7vw,45px);font-weight:550;line-height:1.4;letter-spacing:-1px;margin:16px 0}.sub{font-size:13px;color:#6d7f72;margin:14px 0 28px}.card{background:#fffefb;border:1px solid #e0e4dc;border-radius:20px;padding:23px;margin:15px 0;box-shadow:0 5px 18px #234a3210}.section-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}h2{font-size:16px;margin:0;font-weight:600}.badge{font-size:11px;border-radius:20px;padding:6px 10px;background:#edf0e9;color:#627362}.badge.on{background:#dcebd9;color:#255d33}.connection p{font-size:13px;line-height:1.7;color:#617066}button,input{font:inherit}button{min-height:48px;border-radius:12px;cursor:pointer;border:0;font-size:14px;font-weight:550;width:100%;touch-action:manipulation}button:disabled{opacity:.45;cursor:default}.secondary{background:#eaf0e5;color:#254a31}.primary{background:#193e30;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 18px}.primary span{font-size:23px}.stop{background:transparent;color:#955847;border:1px solid #e4cec3;margin-top:10px}label{font-size:12px;font-weight:550;display:block;margin-bottom:9px}input{width:100%;border:1px solid #dbe2d8;background:#fcfcf8;min-height:48px;border-radius:11px;padding:12px;color:#18352c;font-size:16px;outline:none}input:focus{border-color:#71976a;box-shadow:0 0 0 3px #739d6818}input:disabled{opacity:.65}.hint{font-size:11px;line-height:1.7;color:#788176;margin:8px 0 19px}.priority{display:flex;gap:13px;align-items:center;margin:21px 0}.priority>div{flex:1;min-width:0}.number{font-size:18px;letter-spacing:1px;font-family:Georgia,serif;color:#446c40;background:#edf1e5;border-radius:50%;width:37px;height:37px;display:grid;place-content:center;flex-shrink:0}.number.second{background:#f3eee0;color:#948351}.rule-note{background:#f4f4ec;padding:13px 14px;font-size:12px;line-height:1.8;border-radius:12px;margin:22px 0}.live-dot{width:7px;height:7px;border-radius:50%;background:#adbf9a}#events{padding:0;margin:0;list-style:none;max-height:320px;overflow:auto}#events li{padding:13px 0;border-top:1px solid #edf0e8;font-size:12px;line-height:1.7;overflow-wrap:anywhere}#events time{font-size:10px;color:#86917f;display:block;margin-bottom:4px}#events .error{color:#a15840}.empty{color:#7d8977}footer{font-size:11px;line-height:1.9;color:#7d8879;margin:22px 3px}#notice{padding:14px;background:#f9e9da;color:#8a4e2e;border-radius:12px;font-size:13px;line-height:1.6;margin-bottom:15px}#qrBox{text-align:center}#qr{max-width:100%;width:280px;margin-top:18px}#qrBox p{text-align:left;font-size:12px}button:focus-visible,a:focus-visible{outline:3px solid #a2ba75;outline-offset:3px}@media(min-width:650px){main{padding-top:36px}.card{padding:27px}.intro{padding:5px 5px 10px}}

#pairBox{margin-top:20px;border-top:1px solid #e0e4dc;padding-top:20px}#pairBox button{margin-top:10px}#pairBox p{font-size:12px}#pairCode{display:block;font-size:30px;letter-spacing:5px;text-align:center;font-family:monospace;margin-top:20px}

.chat-picker{border-bottom:1px solid #e5e9de;margin-bottom:22px;padding-bottom:6px}.chat-picker>button{margin-bottom:0}select{width:100%;font:inherit;font-size:16px;min-height:48px;border:1px solid #dbe2d8;background:#fcfcf8;border-radius:11px;padding:12px;color:#18352c}select:focus{outline:2px solid #71976a}#selectedHint{color:#406b3a}#chatListBox label{margin-top:14px}

#diagnose{font-size:12px;margin:10px 0}#diagnosticResult{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto;background:#f3f4ec;padding:14px;border-radius:12px;font:11px/1.8 monospace;color:#3c5141}
