:root{color-scheme:light;--bg:#f7f8fa;--panel:#fff;--stroke:#dde2e8;--muted:#616b79;--text:#202936;--blue:#285fba;--red:#b33232;--yellow:#926000;--green:#247047;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;--sans:system-ui,-apple-system,"Segoe UI",sans-serif;--control-size:12px;--control-line-height:1.4;--title-size:clamp(25px,3vw,32px);--title-line-height:1.5;--title-spacing:-.03em;--heading-weight:650;--section-size:15px;--section-line-height:1.5;--summary-size:16px;--summary-line-height:1.5;--action-weight:600}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 var(--sans)}button{font:inherit;cursor:pointer;border:1px solid var(--stroke);border-radius:6px;background-color:#fff;color:var(--text);padding:8px 11px;font-size:13px;line-height:1.4}button:hover:not(:disabled){background-color:#f1f4f8;border-color:#b6c0cd}button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.site-shell{width:min(1320px,calc(100% - 64px));margin:auto;padding:40px 0}.language-picker,.intro{display:flex;align-items:center;gap:8px}.language-picker{color:var(--muted)}.intro{flex-wrap:wrap;justify-content:space-between;margin-bottom:28px}h1{margin:0;font-size:var(--title-size);line-height:var(--title-line-height);font-weight:var(--heading-weight);letter-spacing:var(--title-spacing)}.workspace{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start}.pane{min-width:0;background:var(--panel);border:1px solid var(--stroke);border-radius:10px;overflow:hidden}.pane-header{min-height:62px;padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--stroke)}.primary-button,.pane-header .small-action{min-width:84px}h2{margin:0;font-size:var(--section-size);line-height:var(--section-line-height);font-weight:var(--heading-weight)}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:14px 20px}.primary-button{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:var(--action-weight)}.primary-button:hover:not(:disabled){background:#204f9d;border-color:transparent}.primary-button:not(:disabled){border-block-color:transparent;border-inline-width:0;padding-inline:12px;background-clip:padding-box}.primary-button:disabled{cursor:wait;background:#e3e9f2;border-color:#d5dce6;color:#5a687e}.code-region{position:relative;display:flex;height:clamp(320px,55vh,600px);margin:0 20px;overflow:hidden;border:1px solid var(--stroke);border-radius:6px}.code-region:focus-within{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}#editor{width:100%;min-width:0}#editor .cm-editor{height:100%}#editor .cm-focused{outline:none}#editor .cm-scroller{overflow:auto;font:13px/25px var(--mono)}#editor .cm-content{padding:14px 0 24px}#editor .cm-line{padding:0 14px}#editor .cm-gutters{background:#f8f9fb;color:#778291;border-right:1px solid #e9ecf0}#editor .cm-lineNumbers .cm-gutterElement{position:relative;min-width:4.5ch;padding:0 8px 0 18px}#editor .cm-placeholder{color:#798391}.cm-lineNumbers :is(.has-error,.has-warning):before{content:"";position:absolute;left:4px;top:50%;transform:translateY(-50%);width:9px;height:9px;border-radius:50%;background:var(--red)}.cm-lineNumbers .has-warning:before{background:#d49a00}body .cm-tooltip:has(.schema-hint){background:var(--panel);border:1px solid var(--stroke);border-radius:6px;box-shadow:0 3px 12px #2029361a}.schema-hint{max-width:min(360px,90vw);padding:7px 10px;font:13px/1.5 var(--sans)}.drop-overlay{display:none;position:absolute;inset:0;align-items:center;justify-content:center;background:#edf4fff0;pointer-events:none}.dragging .drop-overlay{display:flex}.drop-visual{padding:24px;border:1px dashed var(--blue);border-radius:6px;color:var(--blue)}.pane-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:13px 20px;color:var(--muted);font-size:11px}kbd{font:11px var(--mono)}#engine-note{color:var(--red);font-size:12px;overflow-wrap:anywhere}.summary-symbol.valid{color:var(--green);background:#eef8f1}.summary-symbol.warning{color:var(--yellow);background:#fff7e6}.summary-symbol.error{color:var(--red);background:#fff0f0}.results-body{padding:22px 20px}.summary{display:flex;gap:12px;align-items:center}.summary-symbol{flex:0 0 36px;height:36px;display:grid;place-items:center;border-radius:8px;background:#f0f3f7;color:var(--muted);font-size:22px}.summary-copy{min-width:0}h3{margin:0 0 4px;font-size:var(--summary-size);line-height:var(--summary-line-height);font-weight:600}.summary-copy p{margin:0;color:var(--muted);font-size:13px}.summary-copy p:empty{display:none}.diagnostics-header{margin-top:20px;display:flex;justify-content:space-between;margin-bottom:10px;color:var(--muted);font-size:12px}.issue-list:empty{display:none}.issue-list{max-height:420px;overflow:auto;padding:3px}.empty-issues{padding:28px 16px;border:1px dashed var(--stroke);border-radius:6px;color:var(--muted);text-align:center;font-size:13px}.issue{display:block;width:100%;text-align:left;padding:12px;margin-bottom:8px}.issue:focus-visible{outline-offset:-2px}.issue-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:6px;font:11px var(--mono)}.issue-kind{font-weight:600}.issue[data-severity=error] .issue-kind{color:var(--red)}.issue[data-severity=warning] .issue-kind{color:var(--yellow)}.issue-location{color:var(--muted)}.issue-message{font-size:13px;line-height:1.6;overflow-wrap:anywhere}@media(min-width:960px){.workspace{--action-row-height:64px}.pane-header{min-height:68px}.toolbar,.summary{min-height:var(--action-row-height)}.results-body{padding-top:0}}@media(max-width:959px){.workspace{grid-template-columns:1fr}.site-shell{width:min(720px,calc(100% - 32px));padding:28px 0}}@media(max-width:480px){.site-shell{width:calc(100% - 24px);padding:22px 0}.pane-header{padding:14px 12px}.schema-actions{gap:6px}.toolbar{gap:6px;padding:12px}.code-region,.editor-notices{margin:0 12px}.pane-footer{padding:13px 12px}.results-body{padding:18px 12px}#editor .cm-line{padding-left:10px}}.toolbar-group{display:flex;align-items:center;gap:8px}#migrate{margin-left:auto}@media(max-width:420px){.summary{gap:8px}:root{--summary-size:15px}}@media(max-width:360px){.summary-symbol{display:none}}#migration-note{color:var(--muted);font-size:13px}.editor-actions{margin-left:auto}.site-footer{padding:20px 2px 0;color:var(--muted);font-size:11px}.site-footer a{color:var(--blue);text-decoration:none}.site-footer a:hover{text-decoration:underline}.site-footer a:focus-visible{outline:2px solid var(--blue);outline-offset:3px}[hidden]{display:none!important}.editor-notices{margin:0 20px;color:var(--muted);font-size:12px}.editor-notices>:not([hidden]){margin:0 0 12px}#storage-note,#edit-note{color:var(--red)}button:disabled{cursor:default;opacity:.65}.editor-pane>.pane-header{flex-wrap:wrap}.schema-actions{display:flex;align-items:center;gap:8px;margin-left:auto;max-width:100%;flex-wrap:wrap}#schema-label{color:var(--muted);font-size:12px;white-space:nowrap}.primary-button,.toolbar button,.schema-actions>button,.picker-button{height:35px;padding:0 11px;font-size:var(--control-size);line-height:var(--control-line-height);flex-shrink:0}.picker{position:relative;flex-shrink:0}.picker-button{position:relative;width:122px;padding:0 30px 0 11px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.picker-button:after{content:"";position:absolute;right:11px;top:50%;width:10px;height:6px;margin-top:-3px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23616b79' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 10px 6px}.picker-menu{position:absolute;top:calc(100% + 6px);left:0;min-width:100%;margin:0;padding:4px;list-style:none;background:#fff;border:1px solid var(--stroke);border-radius:8px;box-shadow:0 10px 24px #2029361a;z-index:20}.picker-menu li{padding:7px 10px;border-radius:6px;font-size:var(--control-size);line-height:var(--menu-line-height,1.5);color:var(--text);white-space:nowrap;cursor:pointer}.picker-menu li:hover,.picker-menu li[data-active=true]{background:#f1f4f8}.picker-menu li[data-selected=true]{background:#edf2f9;font-weight:var(--action-weight)}html:lang(zh-CN){--sans:"PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans CJK SC",sans-serif;--control-size:14px;--control-line-height:22px;--menu-line-height:22px;--title-size:28px;--title-line-height:36px;--title-spacing:normal;--heading-weight:600;--section-size:16px;--section-line-height:24px;--summary-size:16px;--summary-line-height:24px;--action-weight:500}html:lang(zh-CN) :is(body,#schema-label,.summary-copy p,.issue-message,.schema-hint,#editor .cm-placeholder,.editor-notices,#migration-note,#engine-note){font-family:var(--sans);font-size:14px;line-height:22px}html:lang(zh-CN) :is(.pane-footer,.site-footer,.diagnostics-header,.issue-top){font:400 12px/18px var(--sans)}html:lang(zh-CN) .issue-location{font-variant-numeric:tabular-nums}@media(max-width:480px){html:lang(zh-CN){--title-size:24px;--title-line-height:32px}}body .cm-tooltip.cm-tooltip-autocomplete.cm-tooltip,body .cm-tooltip.cm-completionInfo.cm-tooltip{background:var(--panel);color:var(--text);border:1px solid var(--stroke);border-radius:6px;box-shadow:0 10px 24px #2029361a;font:13px/1.5 var(--sans)}body .cm-tooltip.cm-tooltip-autocomplete.cm-tooltip>ul{padding:4px;font:400 13px/25px var(--mono)}body .cm-tooltip.cm-tooltip-autocomplete.cm-tooltip>ul>li{padding:0 8px;border-radius:3px;line-height:25px}body .cm-tooltip.cm-tooltip-autocomplete.cm-tooltip>ul>li:hover{background:#f1f4f8}body .cm-tooltip.cm-tooltip-autocomplete.cm-tooltip>ul>li[aria-selected]{background:#edf2f9;color:var(--text)}body .cm-tooltip.cm-completionInfo.cm-tooltip{max-width:min(340px,80vw);padding:10px;white-space:pre-wrap;overflow-wrap:anywhere}html:lang(zh-CN) .cm-tooltip.cm-completionInfo{font:400 14px/22px var(--sans)}
