.editor-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:18px}.editor-toolbar select{flex:1;min-width:160px}.editor-intro{margin-bottom:18px}.editor-intro p{margin:8px 0}.editor-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:start}.editor-nav{padding:14px;background:#fff;border:1px solid var(--line);border-radius:18px}.editor-chars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.editor-char{padding:8px;border:2px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-size:2rem;min-height:66px}.editor-char[aria-current=true]{background:var(--pale);border-color:var(--green)}.editor-char small{display:block;font-size:14px;color:var(--muted)}.editor-nav>.btn{width:100%;padding:10px;font-size:1rem}.editor-form{min-width:0}.editor-form h2{margin-bottom:18px}.editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.editor-fields label,.lesson-title-label{display:block;font-weight:bold}.editor-fields input,.editor-fields textarea,.lesson-title-label input{display:block;width:100%;margin-top:7px;font-weight:normal}.editor-fields input[data-field=char]{font-size:2rem;min-height:68px}.editor-fields textarea{font:inherit;min-height:78px;border:1px solid #acc9c0;border-radius:10px;padding:10px;color:var(--ink);resize:vertical}.editor-wide{grid-column:1/-1}.editor-picture{display:flex;gap:16px;align-items:center;margin:16px 0}.editor-picture img,.editor-placeholder{width:150px;height:120px;object-fit:contain;background:#f4f8f3;border:1px solid var(--line);border-radius:14px;flex-shrink:0}.editor-placeholder{display:grid;place-items:center;color:var(--muted)}.editor-picture label{cursor:pointer}.editor-picture .btn{padding:10px 14px;min-height:46px}.editor-picture-actions{display:flex;flex-wrap:wrap;gap:8px}.editor-word{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.editor-word h3{font-size:1.1rem;margin-bottom:14px}.editor-saving{display:flex;align-items:center;gap:12px;flex-wrap:wrap;position:sticky;bottom:0;background:#fffefa;padding:16px;border:1px solid var(--line);border-radius:16px;margin:20px 0;box-shadow:0 -4px 15px #173f4210;z-index:2}.editor-saving p{margin:0;flex:1;min-width:180px}.editor-message{padding:14px 18px;background:var(--pale);border:1px solid var(--line);border-radius:14px;line-height:1.5;margin:16px 0}.editor-message:empty{display:none}.editor-message.error{background:#fff3ee;border-color:#d9a191}.editor-note{font-size:.9rem;color:var(--muted);margin:8px 0}.editor-remove{margin-top:22px}.editor-uploading{opacity:.65;pointer-events:none}.editor-heading-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.editor-form input::placeholder,.editor-form textarea::placeholder{font-size:1rem;color:#718078}.lesson-title-label{max-width:580px}.editor-nav-note{font-size:.85rem;line-height:1.5;color:var(--muted);margin-bottom:0}
@media(max-width:700px){.editor-layout{grid-template-columns:1fr}.editor-chars{display:flex;flex-wrap:wrap}.editor-char{min-width:58px;flex:0 0 58px}.editor-nav{padding:12px}.editor-nav>.btn{width:auto}.editor-nav-note{display:inline;margin-left:10px}.editor-picture{gap:10px}.editor-picture img,.editor-placeholder{width:112px;height:100px}.editor-fields{gap:12px}.editor-saving{padding:12px;gap:10px}.editor-saving .btn{flex:1}.editor-saving p{flex-basis:100%;font-size:.9rem}.editor-toolbar .btn{flex:1}.editor-form{padding:20px 14px}.editor-fields label{font-size:.95rem}}
@media(max-width:380px){.editor-fields{grid-template-columns:1fr}.editor-picture{align-items:flex-start}.editor-picture img,.editor-placeholder{width:92px;height:92px}.editor-picture-actions{flex-direction:column}.editor-picture-actions .btn{font-size:.9rem;padding:8px}.editor-char{min-width:52px;flex-basis:52px}}
