.pinyin-editor-section{background:#f2f7f5;border-block:1px solid var(--line);padding:3.5rem 0}.editor-heading{display:grid;grid-template-columns:1fr auto;align-items:end;gap:2rem;margin-bottom:1.75rem}.editor-heading h2{max-width:760px;font-size:clamp(2rem,4vw,2.7rem)}.editor-heading p:not(.eyebrow){max-width:760px;margin-bottom:0}.editor-heading>a{font-size:.95rem;max-width:190px;margin-bottom:.3rem}.pinyin-editor{background:white;border:1px solid #c8d8d1;border-radius:12px;padding:2rem;box-shadow:0 10px 32px #143c2910}.pinyin-editor label{font-size:1.1rem;font-weight:700}.editor-hint{font-size:.95rem;color:var(--muted);margin:.35rem 0 .85rem}.pinyin-editor textarea{display:block;width:100%;min-height:180px;padding:1rem 1.15rem;font:1.35rem/1.7 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);border:1.5px solid #9db5ac;border-radius:7px;resize:vertical;scroll-margin-top:1rem}.pinyin-editor textarea:focus-visible{outline:3px solid #14634f55;outline-offset:3px;border-color:var(--green)}.editor-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:1rem}.editor-example{background:none;border:0;text-decoration:underline;text-underline-offset:.2em;color:var(--green);padding:.6rem;cursor:pointer;font:inherit}.editor-status{min-height:1.7em;margin:.6rem 0;color:var(--green);font-size:.95rem}.editor-symbols{border-top:1px solid var(--line);padding-top:1rem}.editor-symbols summary{font-weight:600;cursor:pointer}.tone-keyboard{display:flex;gap:.8rem;flex-wrap:wrap;margin:1rem 0}.tone-vowel-group{display:flex;gap:.35rem}.tone-keyboard button{min-width:44px;min-height:46px;border:1px solid #b7ccc2;background:#f3f8f5;color:#134e3f;border-radius:6px;cursor:pointer;font:1.35rem/1.2 inherit;font-family:inherit;font-size:1.35rem}.tone-keyboard button:hover{background:var(--lime);border-color:var(--green)}.tone-keyboard button:active{transform:translateY(1px)}.editor-bottom{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;border-top:1px solid var(--line);padding-top:1rem}.editor-bottom p{margin:0}.pinyin-editor-section code{background:#e4eee8;border-radius:3px;padding:.1rem .25rem;font-size:1em}.hero .editor-hero-link{display:inline-block;margin-top:.4rem;font-weight:650}@media(max-width:700px){.editor-heading{grid-template-columns:1fr;gap:1rem}.editor-heading>a{max-width:none}.pinyin-editor{padding:1.15rem}.editor-bottom{grid-template-columns:1fr;gap:.6rem}.pinyin-editor-section{padding:2.5rem 0}.tone-keyboard{gap:.65rem}.tone-keyboard button{min-width:44px}.editor-actions .button{padding:.65rem 1rem}}
