.locale-editor { display:grid; gap:.7rem; min-width:0; font-family:var(--font,system-ui,sans-serif); }
.locale-editor .locale-field { display:grid; align-content:start; gap:.26rem; min-width:0; margin:0; color:var(--muted,#abb4b1); font-size:.82rem; font-weight:500; line-height:1.4; }
.locale-editor .locale-field :is(input,select,textarea) { box-sizing:border-box; display:block; width:100%; min-width:0; background:var(--ds-deep,#101514); color:var(--ink,#f6f8f6); border:1px solid var(--control-line,#65726b); border-radius:.38rem; padding:.5rem .6rem; font:400 .93rem/1.4 var(--font,system-ui,sans-serif); }
.locale-editor .locale-field :is(input,select,textarea):focus-visible,.locale-editor summary:focus-visible { outline:2px solid var(--accent,#62e8b0); outline-offset:2px; }
.locale-editor .locale-field small { font-weight:400; }
.locale-editor .locale-field textarea { resize:vertical; }
.locale-editor .locale-field [aria-invalid=true] { border-color:#f3a59a; }
.locale-editor .locale-custom { display:grid; gap:.58rem; }
.locale-editor [hidden] {display:none!important;}
.locale-editor .locale-help,.locale-editor .locale-field small { color:var(--muted,#abb4b1); font-size:.78rem; line-height:1.45; margin:0; }
.locale-editor details { min-width:0; margin:0; }
.locale-editor .locale-wording { border:1px solid var(--line,#35423b); border-radius:.45rem; padding:0 .65rem; }
.locale-editor summary { display:flex; align-items:center; justify-content:space-between; gap:.4rem; cursor:pointer; min-height:40px; list-style:none; color:var(--ink,#f6f8f6); font-size:.83rem; font-weight:550; }
.locale-editor summary::-webkit-details-marker {display:none;}
.locale-editor details>summary::after { content:'+'; color:var(--muted,#abb4b1); }
.locale-editor details[open]>summary::after { content:'−'; }
.locale-editor .locale-wording[open] { padding-bottom:.28rem; }
.locale-editor .locale-group { border-top:1px solid var(--line,#35423b); margin:.35rem 0 0; }
.locale-editor .locale-group>summary { min-height:36px; }
.locale-editor .locale-group .locale-field { margin:.3rem 0 .72rem; }
@media(max-width:40rem){.locale-editor .locale-field :is(input,select,textarea) {font-size:1rem;}}
.design-page .settings-block .locale-editor details:not([open])>summary::after {content:'+';}
.design-page .settings-block .locale-editor details[open]>summary::after {content:'−';}
