:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;color:#17233b;background:#f3f6fb}*{box-sizing:border-box}body{--page-inset:clamp(16px,5vw,64px);margin:0;min-height:100vh;padding:var(--page-inset)}.shell{max-width:900px;margin:auto;background:#fff;border:1px solid #e1e8f3;border-radius:22px;box-shadow:0 16px 50px #26395d14;overflow:hidden}header{display:flex;align-items:flex-start;justify-content:space-between;padding:28px 32px 22px;border-bottom:1px solid #edf1f6}.eyebrow{font:11px ui-monospace,monospace;color:#5080df;letter-spacing:1.6px}h1{font-size:26px;margin:8px 0 0}.offline,.online,.connecting{font-size:12px;border-radius:99px;padding:7px 11px}.offline{background:#fff1f1;color:#c55b5b}.online{background:#eafaf3;color:#25825a}.connecting{background:#eef4ff;color:#4272ce}.pair{padding:20px 32px;border-bottom:1px solid #edf1f6;background:#f8fbff;color:#62718a;font-size:13px}.pair>p{margin:0 0 12px}.pair div{display:flex;gap:8px}.pair input{width:170px;border:1px solid #dce6f3;border-radius:8px;padding:10px;font:600 18px ui-monospace;letter-spacing:4px}.pair button{border:0;border-radius:8px;background:#2867e9;color:white;padding:0 16px;font-weight:600}.pair small{display:block;color:#c55b5b;margin-top:8px}.meta{display:flex;gap:12px;padding:14px 32px;color:#70809a;font-size:12px;background:#fbfcff}.meta span+span{border-left:1px solid #dde5f0;padding-left:12px}.history{padding:18px 32px 0}.history h2{font-size:14px;color:#6b7b93;margin:0 0 8px}.history details{border:1px solid #e7edf5;border-radius:10px;margin:7px 0;background:#fbfcff}.history summary{cursor:pointer;padding:11px 13px;color:#50627e;font-size:13px}.history-answer{padding:0 13px 13px;color:#5c6c83;line-height:1.7}.answer{min-height:360px;padding:28px 32px;font-size:16px;line-height:1.8;overflow-wrap:anywhere}.question{font-size:13px;color:#6d7e96;background:#f5f8fd;border-left:3px solid #6d9bff;padding:9px 12px;margin-bottom:18px}.answer-body{white-space:pre-wrap}.placeholder{color:#99a6b8}.answer p{margin:0 0 10px}.answer pre{background:#f5f7fb;padding:14px;border-radius:10px;overflow:auto;white-space:pre}.answer code{font:13px ui-monospace,monospace}footer{display:flex;justify-content:space-between;padding:14px 32px;color:#95a1b3;font-size:11px;border-top:1px solid #edf1f6}@media(max-width:600px){body{--page-inset:0px;padding:0}.shell{border-radius:0;min-height:100vh}header,.pair,.meta,.history,.answer,footer{padding-left:18px;padding-right:18px}.pair div{flex-wrap:wrap}.pair button{height:43px}.answer{min-height:calc(100vh - 250px);font-size:15px}footer{gap:10px;flex-wrap:wrap}}

.reasoning-debug{margin-top:24px;border:1px solid #e3e9f2;border-radius:10px;padding:12px 14px;background:#fafcff;color:#63728a;font-size:13px}.reasoning-debug summary{cursor:pointer;font-weight:600}.reasoning-debug pre{max-height:320px;white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere;font:12px/1.6 ui-monospace,monospace;color:#46536b}.reasoning-debug p{margin:8px 0 0}

.remote-capture{position:fixed;z-index:20;left:50%;bottom:0;transform:translateX(-50%);width:min(900px,calc(100vw - var(--page-inset) - var(--page-inset)));display:flex;align-items:center;gap:12px;padding:14px 32px calc(14px + env(safe-area-inset-bottom));border:1px solid #e1e8f3;border-bottom:0;border-radius:16px 16px 0 0;background:#f8fbfff2;box-shadow:0 -8px 28px #26395d18;backdrop-filter:blur(14px)}.shell.capture-dock-visible{padding-bottom:132px}.remote-capture button{border:0;border-radius:9px;background:#2867e9;color:#fff;padding:12px 18px;font-weight:700;cursor:pointer}.remote-capture button:disabled{opacity:.65;cursor:wait}.remote-capture small{color:#63728a}.remote-capture small:empty{display:none}@media(max-width:600px){.remote-capture{padding:12px 18px calc(12px + env(safe-area-inset-bottom));align-items:stretch;flex-direction:column;gap:6px}.remote-capture button{width:100%;min-height:44px}}
