.py-app{--py-poly:#7c4a03;--py-edited:#17602f;--py-active:#fdf0c2;--py-active-line:#e8c95a;--py-err:#9f1c14;--py-han:"PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", sans-serif;--py-latin:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif}html[data-theme=dark] .py-app{--lc-bg:#0f1115;--lc-surface:#181b21;--lc-surface-2:#1d212a;--lc-sunken:#262b35;--lc-ink:#eef0f3;--lc-ink-2:#b6bcc7;--lc-ink-3:#a2a9b5;--lc-label:#dfe3e9;--lc-line:#ffffff21;--lc-line-2:#ffffff12;--lc-line-strong:#ffffff52;--lc-accent:#7f9cf5;--lc-accent-hover:#93aaf7;--lc-accent-ink:#c7d4fb;--lc-accent-soft:#7f9cf529;--lc-accent-line:#7f9cf56b;--py-poly:#f3cf7a;--py-edited:#8fd6a4;--py-active:#e6c85038;--py-active-line:#e6c85099;--py-err:#f4aaa2;color:var(--lc-ink)}html[data-theme=dark]:has(.py-app){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-theme=dark] body:has(.py-app){color:#eef0f3;background-color:#0f1115}html[data-theme=dark] body:has(.py-app) .site-wrapper{--site-bg:#0f1115;--site-ink:#eef0f3;--site-ink-2:#b6bcc7;--site-line:#ffffff21;--site-mark-bg:#181b21;--site-accent:#7f9cf5}html[data-theme=dark] .py-app .lc-btn:hover{border-color:#ffffff73}html[data-theme=dark] .py-app .lc-btn--primary{color:#0f1115}html[data-theme=dark] .py-app .lc-input::placeholder{color:#8d94a0}html[data-theme=dark] .py-app .lc-seg label:has(input:checked){box-shadow:0 0 0 1px var(--lc-line-strong)}html[data-theme=dark] .py-toast{color:#15181d;background:#eef0f3}.py-toast{text-align:center;overflow-wrap:anywhere;width:max-content;max-width:calc(100vw - 32px)}.py-sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.py-head>.py-head-tools{grid-area:1/2;align-self:center;gap:.5rem;margin-bottom:.5rem;display:flex}.py-head-tools .lc-help{height:40px;margin:0}@media (width<=560px){.py-head>.py-head-tools{align-self:start}.py-head>.lc-desc{grid-column:1/-1}}@media (width<=359px){.py-head>.py-head-tools{grid-area:auto/1/auto/-1;margin:.75rem 0 0}}html[lang=zh-cn] .py-head .lc-title{word-break:keep-all}.py-app .lc-desc,.py-app .lc-note,.py-app .lc-hint,.py-app .lc-label,.py-app .lc-check span{word-break:auto-phrase}.py-icon-btn{border:1px solid var(--lc-line-strong);background:var(--lc-surface);width:40px;height:40px;color:var(--lc-ink-2);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.py-icon-btn:hover{background:var(--lc-surface-2);color:var(--lc-ink)}.py-icon-btn:focus-visible{outline:2px solid var(--lc-accent);outline-offset:2px}.py-icon-btn .py-i-sun{display:none}html[data-theme=dark] .py-icon-btn .py-i-sun{display:block}html[data-theme=dark] .py-icon-btn .py-i-moon{display:none}.py-panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;margin-bottom:.6rem;display:flex}.py-panel-head .lc-panel-title{margin:0}.py-panel-head .lc-panel-title label{cursor:inherit}.py-tools{flex-wrap:wrap;gap:.4rem;display:flex}.py-app .lc-btn--sm{min-height:34px}.py-app .py-input,.py-app .py-output{border-color:#80858f;transition:box-shadow .15s}html[data-theme=dark] .py-app .py-input,html[data-theme=dark] .py-app .py-output{border-color:#7a818d}.py-app textarea.py-input:hover,.py-app textarea.py-output:hover{border-color:#5f646e}html[data-theme=dark] .py-app textarea.py-input:hover,html[data-theme=dark] .py-app textarea.py-output:hover{border-color:#9aa1ad}.py-app textarea.py-input:focus{border-color:var(--lc-accent)}.py-input{resize:vertical;width:100%;min-height:7rem;font-family:var(--py-han);font-size:1.05rem;line-height:1.7;display:block}.py-status{color:var(--lc-ink-2);margin:0 0 .6rem;font-size:.88rem;font-weight:600;line-height:1.6}.py-status[data-state=ok]{color:var(--lc-ink)}.py-status[data-state=error]{color:var(--py-err)}.py-dict{color:var(--lc-ink-2);flex-wrap:wrap;align-items:center;gap:.5rem;margin:.6rem 0 0;font-size:.86rem;display:flex}.py-dict.py-dict--err{color:var(--py-err)}.py-app .py-dict[hidden]{display:none}.py-tones label{flex-direction:column;align-items:flex-start;gap:0;padding-top:.35rem;padding-bottom:.35rem;line-height:1.3}.py-tone-ex{font-family:var(--py-latin);color:var(--lc-ink-2);font-size:.78rem;font-weight:400}.py-checks{margin-top:.8rem}.py-checks .lc-check{align-items:flex-start;min-height:40px;padding-top:.55rem;line-height:1.45}.py-checks .lc-check input{flex:none;margin-top:.12rem}.py-check-hint{margin:0 0 .3rem 1.6rem}.py-app .lc-check[hidden]{display:none}.py-preview{font-family:var(--py-han);border:1px solid var(--lc-line);background:var(--lc-surface-2);overflow-wrap:anywhere;line-break:strict;border-radius:10px;min-height:6rem;max-height:32rem;padding:.6rem .9rem;font-size:1.45rem;line-height:1.2;overflow:auto}.py-preview:focus-visible{outline:2px solid var(--lc-accent);outline-offset:2px}.py-empty{color:var(--lc-ink-3);margin:0;font-family:inherit;font-size:.95rem;line-height:1.7}.py-c{vertical-align:bottom;flex-direction:column-reverse;align-items:center;margin:.15rem 0;line-height:1.2;display:inline-flex}.py-k{white-space:nowrap}.py-h{font-size:1em}.py-p{font-family:var(--py-latin);color:var(--lc-accent-ink);white-space:nowrap;padding:0 .25em;font-size:.5em;line-height:1.3}.py-w{font:inherit;color:inherit;cursor:pointer;border:0;border-bottom:2px dotted var(--py-poly);background:0 0;border-radius:3px 3px 0 0;margin:0;padding:.1em .15em 0;line-height:1.2}.py-w:hover{background:var(--lc-accent-soft)}.py-w:focus-visible{outline:2px solid var(--lc-accent);outline-offset:1px}.py-w.is-active{background:var(--py-active);box-shadow:0 0 0 1px var(--py-active-line)}.py-w.is-edited .py-p{color:var(--py-edited);font-weight:700}.py-accuracy{margin-top:.5rem}.py-edit{background:var(--lc-surface);border:1px solid var(--lc-accent-line);border-radius:12px;margin-top:.8rem;padding:.8rem .9rem;box-shadow:0 8px 24px #15181d24}.py-app .py-edit[hidden]{display:none}.py-edit-title{color:var(--lc-label);margin:0 0 .5rem;font-weight:700}.py-edit-opts{flex-wrap:wrap;gap:.4rem;display:flex}.py-opt{font-family:var(--py-latin);min-width:4.2rem;font-size:1rem}.py-opt[aria-pressed=true]{background:var(--lc-accent-soft);border-color:var(--lc-accent);color:var(--lc-accent-ink);font-weight:700}.py-edit-actions{flex-wrap:wrap;gap:.4rem;margin-top:.6rem;display:flex}.py-edits{color:var(--lc-ink-2);flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:.7rem;font-size:.86rem;display:flex}.py-app .py-edits[hidden]{display:none}.py-output{resize:vertical;width:100%;margin-top:.8rem;font-size:.95rem;line-height:1.6;display:block;background:var(--lc-surface-2)!important}.py-actions{flex-wrap:wrap;gap:.5rem;margin-top:.8rem;display:flex}html .py-app .lc-btn.lc-btn[aria-disabled=true],html .py-app .lc-btn.lc-btn[aria-disabled=true]:hover{background:var(--lc-surface-2);border-color:var(--lc-line-strong);color:var(--lc-ink-2);cursor:not-allowed;border-style:dashed;transform:none}.py-actions .lc-btn,.py-edit-actions .lc-btn{transition:none}#py-print-root{display:none}@media print{@page{margin:15mm}body:has(>#py-print-root:not(:empty))>:not(#py-print-root){display:none!important}html,body{background:#fff!important}#py-print-root{color:#000;overflow-wrap:anywhere;font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,Noto Sans SC,Noto Sans CJK SC,serif;font-size:20pt;line-height:1.2;display:block}#py-print-root .py-c{vertical-align:bottom;flex-direction:column-reverse;align-items:center;margin:.25em .08em;display:inline-flex}#py-print-root .py-p{white-space:nowrap;padding:0 .15em;font-family:system-ui,Arial,sans-serif;font-size:.5em;line-height:1.3}#py-print-root .py-print-wait{margin:0;font-family:system-ui,sans-serif;font-size:12pt;line-height:1.6}}.py-unk .py-p{color:var(--lc-ink-2)}
