@charset "UTF-8";
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #222; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 1.7; }
main { width: min(720px, calc(100% - 48px)); margin: 72px auto 40px; }
h1 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 25px; line-height: 1.4; font-weight: 600; }
.description { margin: 0 0 32px; color: #666; }
label { display: block; margin-bottom: 8px; font-size: 14px; }
textarea, input { width: 100%; border: 1px solid #ccc; border-radius: 3px; background: #fff; color: #222; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 11px 12px; }
textarea { display: block; resize: vertical; min-height: 94px; max-height: 280px; }
textarea::placeholder { color: #999; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; }
textarea:focus, input:focus { outline: 2px solid #777; outline-offset: 1px; }
button { cursor: pointer; border: 1px solid #ccc; border-radius: 3px; padding: 7px 17px; background: #fff; color: #333; font: inherit; }
button:hover { border-color: #888; }
button:focus-visible { outline: 2px solid #777; outline-offset: 3px; }
.actions { display: flex; align-items: center; gap: 22px; margin-top: 14px; }
.primary { min-width: 88px; border-color: #222; background: #222; color: #fff; }
.primary:hover { background: #444; }
.examples { color: #888; font-size: 12px; }
.examples button { color: #666; border: 0; padding: 0; margin-left: 10px; text-decoration: underline; text-underline-offset: 3px; }
#status { color: #888; font-size: 12px; margin: 12px 0 0; min-height: 21px; }
#status.error { color: #b42318; }
#result { margin-top: 22px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { min-width: 0; }
.copy-row button { white-space: nowrap; }
section { border-top: 1px solid #eee; margin-top: 34px; padding-top: 22px; color: #666; font-size: 13px; }
h2 { margin: 0 0 10px; color: #333; font-size: 14px; font-weight: 600; }
ul { padding-left: 19px; margin: 0 0 18px; }
li { margin: 5px 0; }
section p { margin: 8px 0; }
code, pre { font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre { padding: 10px 12px; margin: 10px 0 0; border: 1px solid #e5e5e5; border-radius: 3px; white-space: pre-wrap; overflow-wrap: anywhere; background: #fff; }
.sources { margin-top: 24px; }
footer { margin-top: 30px; color: #999; font-size: 12px; }
@media (max-width: 520px) { main { margin-top: 36px; width: calc(100% - 36px); } h1 { font-size: 23px; } .actions { gap: 14px; flex-wrap: wrap; } .description { margin-bottom: 26px; } }
