:root{font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;color:#203049;background:#f3f6fa;font-size:16px}*{box-sizing:border-box}body{margin:0}main{max-width:1180px;margin:56px auto;padding:0 28px}header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.eyebrow{font-size:.875rem;color:#60718a}h1{font-size:2rem;letter-spacing:-.04em;margin:8px 0}.privacy{font-size:.875rem;color:#426253;background:#e8f3ed;padding:10px 16px;border-radius:24px}nav{display:flex;gap:8px;border-bottom:1px solid #dbe2ed;padding-bottom:14px}button{font:inherit;cursor:pointer;border-radius:9px;border:1px solid #d6dfec;background:white;color:#40536d;padding:12px 20px;line-height:1.4}button.active,.primary{background:#2563eb;color:white;border-color:#2563eb}button:hover{filter:brightness(.96)}button:focus-visible,textarea:focus-visible{outline:3px solid #8eb4ff;outline-offset:3px}#hint{color:#56677e;margin:22px 0}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{background:white;border:1px solid #dce4ee;border-radius:16px;padding:24px;box-shadow:0 6px 22px #18385705}.panel-head{display:flex;align-items:center;justify-content:space-between;min-height:42px;margin-bottom:12px;gap:12px}label{font-weight:650;font-size:1.0625rem}.text-button{border:0;padding:7px 0;color:#61728c;font-size:.875rem}textarea{display:block;width:100%;height:330px;resize:vertical;border:1px solid #d7e0ec;border-radius:10px;padding:16px;color:#24344b;background:#fbfcfe;font: .9375rem/1.8 ui-monospace,SFMono-Regular,Consolas,monospace}textarea::placeholder{color:#798697}#output{background:#f8fafc}#format-help,#status,#count{font-size:.875rem;color:#60718a}#status,#format-help{min-height:22px;margin:14px 0}.primary{width:100%;font-weight:600}button:disabled{opacity:.45;cursor:not-allowed}#errors{padding:16px;background:#fff5e3;color:#795215;border-radius:10px;overflow-wrap:anywhere}footer{font-size:.875rem;color:#66778c;margin-top:24px}@media(max-width:720px){main{margin:24px auto;padding:0 16px}header{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:24px}h1{font-size:1.7rem}.workspace{grid-template-columns:1fr}.panel{padding:18px}textarea{height:230px}nav button{flex:1;padding:12px 8px}}
[hidden]{display:none!important}#query-options{margin-bottom:14px;padding:12px;background:#f1f5fb;border-radius:10px}#query-options label{font-size:.875rem}select{font:inherit;margin:0 8px 8px;padding:7px;border:1px solid #cbd5e1;border-radius:6px;background:white}.check-label{display:block;font-weight:400!important}.check-label input{margin-right:7px}#summary{font-size:.875rem;margin:10px 0 0;color:#40536d}#stop{width:100%;margin-top:10px}nav{flex-wrap:wrap}.privacy{max-width:360px}footer{line-height:1.8}

#run,#copy{margin-bottom:14px}#stop{margin-top:0;margin-bottom:14px}

.match-toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between}.match-toolbar p,#match-status{font-size:.875rem;color:#60718a;line-height:1.7}.match-toolbar button{flex-shrink:0}.match-inputs textarea{height:210px}.match-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:18px}.match-results textarea{height:210px}.match-results .primary{margin-bottom:14px}.match-results .panel-head span{font-size:.875rem;color:#60718a;white-space:nowrap}#match-errors{padding:16px;background:#fff5e3;color:#795215;border-radius:10px;overflow-wrap:anywhere}@media(max-width:720px){.match-results{grid-template-columns:1fr}.match-toolbar{align-items:flex-start}.match-results .panel:first-child{grid-column:auto}}

.match-toolbar{display:block}.match-clear-button{font-weight:600;border:1px solid #dc6570;color:#b42336;background:#fff5f5;margin-bottom:4px}

.match-results>.panel:first-child{grid-column:1/-1}

#match-workspace textarea{white-space:pre;overflow-wrap:normal;overflow-x:auto}.match-inputs>.panel,.match-results>.panel{min-width:0}

nav{flex-wrap:wrap}
