:root{font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:#203243;background:#f3f6f9;font-size:14px}*{box-sizing:border-box}body{margin:0}header{padding:20px 28px;background:white;border-bottom:1px solid #dce4ec;display:flex;justify-content:space-between;align-items:center;gap:18px}.brand{font-size:22px;font-weight:750}.actions{display:flex;gap:10px;justify-content:flex-end}button,.button{font:inherit;padding:10px 16px;border:1px solid #cedbe3;background:white;border-radius:7px;cursor:pointer;white-space:nowrap}.button,.primary{background:#176e63;color:white;border-color:#176e63}button:disabled{opacity:.4;cursor:default}main{padding:22px 28px}.instructions{display:flex;flex-wrap:wrap;gap:18px;color:#536d7b;padding:0 0 20px}.instructions strong{color:#176e63}.info{display:flex;justify-content:space-between;padding:12px 0;gap:15px}#dirty{color:#a0671d}#selection{padding:10px 14px;background:#e8f2ef;color:#205f54;border:1px solid #cbded7;border-bottom:0}#grid-wrap{overflow:auto;max-height:calc(100vh - 265px);background:white;border:1px solid #cfdae3;min-height:340px}table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%}th,td{border-right:1px solid #dde5eb;border-bottom:1px solid #dde5eb;padding:10px;vertical-align:top;background:white}thead th{position:sticky;top:0;z-index:3;background:#eaf0f5;text-align:left;color:#567080;font-weight:600;height:38px}th.rowno{position:sticky;left:0;width:48px;text-align:center;z-index:2;background:#edf2f6;font-weight:400;color:#738594}thead th:first-child{left:0;z-index:4}td{cursor:pointer;width:65px;min-width:65px}td .cell-content{white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;overflow:auto;line-height:1.65;min-height:24px}td.ai,td.business{width:420px;min-width:420px}td.idcol{width:235px;min-width:235px}td.selected{outline:2px solid #148876;outline-offset:-2px;background:#f0faf6}td.selected .cell-content{background:#f0faf6}td[aria-selected=true]::after{content:'已选中 · 双击编辑';display:block;color:#147060;font-size:11px;margin-top:6px}td.header-cell{background:#f2f5f8;font-weight:600}#sheets{display:flex;gap:8px;margin:8px 0 14px}#sheets button.active{background:#176e63;color:white}.empty{text-align:center;padding:110px 20px;line-height:2;color:#748998}#float{position:fixed;right:28px;top:130px;width:430px;max-width:calc(100vw - 24px);z-index:20;background:white;border:1px solid #bfd5cf;border-radius:12px;box-shadow:0 15px 65px #173b3940}#handle{padding:13px 18px;background:#e8f3ef;display:flex;align-items:center;justify-content:space-between;cursor:move;touch-action:none;border-radius:12px 12px 0 0}#handle button{border:0;padding:0 8px;background:none;font-size:24px}.panel-body{padding:18px;max-height:calc(100vh - 230px);overflow:auto}.meta,.hint{font-size:12px;color:#67808e;line-height:1.65;overflow-wrap:anywhere}.search{display:flex;gap:8px;margin:8px 0 12px}input,textarea,select{font:inherit;border:1px solid #c6d6df;border-radius:6px;padding:10px;min-width:0}input{width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #73b8a9}.result-card{border-top:1px solid #dce6e9;padding-top:14px;margin-top:14px}.field{display:block;margin:12px 0}.field span{display:block;font-size:12px;color:#55707d;margin-bottom:6px}.field textarea{width:100%;resize:vertical;line-height:1.6;min-height:65px}.field textarea.data{min-height:140px}.field input,.field select{width:100%}.result-card .actions{flex-wrap:wrap}.error{color:#b33f33!important}dialog{border:1px solid #c9d9df;border-radius:12px;width:min(850px,94vw);padding:24px}dialog::backdrop{background:#102b4270}dialog h2{margin-top:0;font-size:19px}dialog textarea{width:100%;height:50vh;line-height:1.7;margin-bottom:16px;resize:vertical}#panel-status{font-size:13px;color:#176e63;line-height:1.6}@media(max-width:700px){header{padding:16px;align-items:start;flex-direction:column}.brand{font-size:19px}.actions{flex-wrap:wrap}main{padding:16px}.instructions{gap:8px;font-size:12px}#float{right:12px;top:100px}.panel-body{max-height:calc(100vh - 175px)}#grid-wrap{max-height:65vh}td.ai,td.business{width:320px;min-width:320px}}


.number-query{display:flex;align-items:center;gap:16px;background:#edf6f2;padding:14px;border-radius:8px}.number-query strong{font-size:30px;color:#176e63;flex:1}.number-query span{color:#55707d;font-size:13px}.number-query button{padding:7px 10px;font-size:12px}

.inline-search{margin-bottom:10px}.inline-search input{background:white;border:1px solid #75aa9e}.inline-output:empty{display:none}.inline-result{padding:10px;background:#f2f8f5;border-radius:7px;margin:8px 0}.inline-result textarea{background:white;resize:vertical}.inline-result .field textarea{min-height:40px}.inline-result strong{color:#176e63}details summary{cursor:pointer;color:#607b87;font-size:12px;padding:7px 0}.inline-output .field{margin:8px 0}

.json-result{display:block;width:100%;min-height:270px;margin:12px 0;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;background:white;font-family:Consolas,"Microsoft YaHei",monospace;font-size:13px}.inline-output .result-card{border-top:0;margin-top:0;padding:10px;background:#f1f8f5;border-radius:7px}.inline-output .json-result{min-height:260px}
