.auto-translation-settings{padding:15px 17px;border:1px solid #dce6ce;border-radius:11px;background:#f2f7e9;margin:21px 0 5px}
.translation-consent-inline{padding:12px 14px;border:1px solid #dce1f0;background:#f0f1fa;border-radius:9px;margin:0 0 14px}
.translation-consent-inline>strong{font-size:11px;color:#616584}
.translation-consent-inline>p{font-size:10px;line-height:1.8;color:#777b92;margin:5px 0 10px}
.translation-consent-inline a{text-decoration:underline;text-underline-offset:2px}
.translation-consent-inline .button{min-height:36px;font-size:10px;padding:9px 13px}
html[data-theme="dark"] .translation-consent-inline{background:#292b46;border-color:#424467}
html[data-theme="dark"] .translation-consent-inline>strong{color:#ddd8ee}
html[data-theme="dark"] .translation-consent-inline>p{color:#b8bad5}
.auto-translation-settings label,.bulk-auto-translate{display:flex;align-items:flex-start;gap:10px;cursor:pointer}
.auto-translation-settings input,.bulk-auto-translate input{accent-color:#91b65e;margin-top:3px;flex-shrink:0;width:15px;height:15px}
.auto-translation-settings strong,.bulk-auto-translate strong{display:block;font-size:11px;line-height:1.8;color:#4f6b3c}
.auto-translation-settings small,.bulk-auto-translate small{display:block;font-size:10px;line-height:1.8;color:#738365;margin-top:3px}
#editor-translation-progress{display:block;font-size:10px;color:#6e825c;margin-top:5px}
.row-translation-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:31px}
.translation-status{font-size:9px;line-height:1.8;margin:0;color:#778769}
.translation-button{display:inline-flex;gap:5px;align-items:center;white-space:nowrap;font-size:10px;min-height:32px;color:#5c7e43;padding:0 7px;border-radius:6px;flex-shrink:0}
.translation-button:hover{background:#eaf2de}
.translation-button .icon{width:13px;height:13px}
.translation-button:disabled{opacity:.65;cursor:wait}
[data-translation-state="error"] .translation-status{color:#a36842}
[data-translation-state="loading"] .translation-status{color:#7c7298}
.bulk-auto-translate{border:1px solid #dce6ce;border-radius:10px;padding:13px;background:#f2f7e9;margin-top:15px}
.bulk-auto-translate strong{font-size:10px}
.bulk-auto-translate small{font-size:9px}
.bulk-translation-progress{font-size:11px;line-height:1.8;color:#6e825c;margin:10px 0}
.bulk-translation-progress:empty{display:none}
.library-translation-tools{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 17px;border:1px solid #dde6d4;background:#f0f5e9;border-radius:11px;margin:0 0 20px}
.library-translation-tools>span{display:flex;align-items:center;gap:7px;color:#6b8059;font-size:11px}
.library-translation-tools>span .icon{width:17px;height:17px;flex-shrink:0}
.library-translation-tools .button{font-size:10px;min-height:36px;padding:9px 13px}
.translation-notice{display:flex;align-items:center;gap:12px;padding:17px 18px;margin-bottom:23px;border:1px solid #d8e3ca;border-radius:12px;background:#f1f6ea;color:#557341}
.translation-notice-icon{width:34px;height:34px;background:#e1edcf;border-radius:10px;display:grid;place-items:center;flex-shrink:0}
.translation-notice-icon .icon{width:18px;height:18px}
.translation-notice>div{flex:1;min-width:0}
.translation-notice strong{font-size:12px;line-height:1.8}
.translation-notice p{font-size:10px;line-height:1.8;margin:4px 0 0;color:#77876a}
.translation-notice .text-link{font-size:10px;white-space:nowrap;min-height:35px}
.translation-notice.has-errors{background:#faf3e8;border-color:#e8dac2;color:#876540}
.translation-notice.has-errors p{color:#907758}
.translation-notice.has-errors .translation-notice-icon{background:#f0e1ca}
#translation-notice:empty{display:none}
html[data-theme="dark"] :is(.auto-translation-settings,.bulk-auto-translate,.library-translation-tools,.translation-notice){background:#1e1f33;border-color:#3a3c51;color:#d8f1a1}
html[data-theme="dark"] :is(.auto-translation-settings strong,.bulk-auto-translate strong){color:#dcf3ab}
html[data-theme="dark"] :is(.auto-translation-settings small,.bulk-auto-translate small,#editor-translation-progress,.bulk-translation-progress,.library-translation-tools>span,.translation-status,.translation-notice p){color:#c8ec79}
html[data-theme="dark"] .translation-button{color:#d5f099}
html[data-theme="dark"] .translation-button:hover{background:#303247}
html[data-theme="dark"] [data-translation-state="error"] .translation-status{color:#edbd97}
html[data-theme="dark"] [data-translation-state="loading"] .translation-status{color:#c9b8e8}
html[data-theme="dark"] .translation-notice-icon{background:#35374e;color:#def4af}
html[data-theme="dark"] .translation-notice.has-errors{background:#3c3029;border-color:#66513c;color:#f0cc9e}
html[data-theme="dark"] .translation-notice.has-errors p{color:#d6bea2}
html[data-theme="dark"] .translation-notice.has-errors .translation-notice-icon{background:#574331}
@media(max-width:760px){
 .auto-translation-settings{padding:13px;margin-top:18px}
 .auto-translation-settings strong{font-size:10px}
 .auto-translation-settings small{font-size:9px}
 .row-translation-controls{align-items:flex-start;gap:8px;flex-wrap:wrap}
 .translation-status{font-size:9px;flex:1;min-width:130px}
 .translation-button{min-height:38px;font-size:10px}
 .library-translation-tools{flex-wrap:wrap;padding:13px 14px;gap:10px}
 .library-translation-tools>span{font-size:10px}
 .library-translation-tools .button{min-height:40px}
 .translation-notice{padding:14px 13px;flex-wrap:wrap;gap:9px}
 .translation-notice strong{font-size:11px}
 .translation-notice p{font-size:9px}
 .translation-notice .text-link{margin-left:42px;min-height:38px}
 .translation-notice .icon-button{margin-left:auto}
}
