.bk-langbar{box-sizing:border-box;width:100%;min-height:36px;background:var(--blsa-page-bg,#f8f8f6);border-bottom:1px solid rgba(30,40,35,.1);color:var(--blsa-ink,#233c33);font:600 12px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif}
.bk-langbar-inner{max-width:1600px;margin:auto;min-height:36px;padding:2px clamp(12px,3vw,48px);display:flex;align-items:center;justify-content:flex-end;gap:4px}
.bk-langbar svg{width:15px;height:15px;margin-right:5px;fill:none;stroke:currentColor;stroke-width:1.5}
.bk-langbar button{appearance:none;font:inherit;border:0;background:transparent;color:inherit;padding:8px 10px;border-radius:5px;cursor:pointer;min-height:30px;box-shadow:none;letter-spacing:.04em}
.bk-langbar button[aria-pressed=true]{background:var(--blsa-ink,#173c30);color:#fff}
.bk-langbar button:focus-visible,.bk-lang-editor button:focus-visible{outline:2px solid #467d69;outline-offset:2px}
.bk-langbar button[data-bk-edit]{font-size:11px;letter-spacing:0;margin-right:8px;border-right:1px solid #d9deda;border-radius:0}
body:has(>.blsa-gate) .bk-langbar{position:absolute;top:0;left:0}
body:has(>.blsa-gate){padding-top:60px}
.bk-lang-editor{position:fixed;inset:0;z-index:2147483000;background:#16251eb8;display:grid;place-items:center;padding:18px;box-sizing:border-box;font:14px/1.5 system-ui,sans-serif;color:#1e332b}
.bk-lang-editor[hidden]{display:none}
.bk-lang-dialog{box-sizing:border-box;width:min(920px,100%);max-height:90dvh;display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 20px 70px #0004;overflow:hidden}
.bk-lang-dialog header{padding:20px 24px 12px;display:flex;align-items:flex-start;gap:20px;justify-content:space-between;border-bottom:1px solid #e5e9e6}
.bk-lang-dialog h2{font:700 20px/1.3 system-ui,sans-serif;margin:0 0 5px;color:inherit}
.bk-lang-dialog p{font:400 12px/1.6 system-ui,sans-serif;margin:0;color:#66746d;max-width:70ch}
.bk-lang-dialog button{appearance:none;border:1px solid #d6ded9;border-radius:7px;background:#fff;color:inherit;padding:8px 13px;cursor:pointer;font:600 13px/1.4 system-ui,sans-serif}
.bk-lang-dialog button:disabled{opacity:.55;cursor:wait}
.bk-lang-toolbar{padding:12px 24px;display:flex;gap:10px;flex-wrap:wrap}
.bk-lang-dialog input,.bk-lang-dialog textarea,.bk-lang-dialog select{box-sizing:border-box;max-width:100%;border:1px solid #cfd9d2;border-radius:7px;padding:10px;background:#fff;color:#253b30;font:400 13px/1.45 system-ui,sans-serif}
.bk-lang-toolbar input{flex:1;min-width:160px}
.bk-lang-rows{overflow:auto;padding:0 24px;flex:1;min-height:100px;overscroll-behavior:contain}
.bk-lang-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:14px 0;border-top:1px solid #e7ece9}
.bk-lang-row>div{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}
.bk-lang-row textarea{width:100%;resize:vertical;min-height:68px}
.bk-lang-dialog footer{border-top:1px solid #e4eae6;padding:14px 24px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.bk-lang-dialog footer button{background:#1d4938;color:#fff;border-color:#1d4938}
.bk-lang-status{font-size:12px;max-width:70%;color:#52675a}
@media(max-width:650px){.bk-langbar-inner{min-height:40px;padding-right:12px}.bk-langbar button{min-height:36px}.bk-lang-editor{padding:8px}.bk-lang-dialog{max-height:94dvh}.bk-lang-dialog header,.bk-lang-toolbar,.bk-lang-dialog footer{padding:12px}.bk-lang-rows{padding:0 12px}.bk-lang-row{grid-template-columns:1fr;gap:6px}.bk-lang-status{max-width:100%}}

/* Inline in the existing strip; the old bar remains a fallback for older B2B builds. */
#bk-language-bar.bk-langbar-embedded{width:auto;min-height:0;background:transparent;border:0;color:inherit;flex:none}
.bk-langbar-embedded .bk-langbar-inner{padding:0;min-height:30px;gap:2px;flex-wrap:nowrap}
.bk-langbar-embedded button{padding:6px 8px;min-height:30px}
.bk-langbar-embedded button[aria-pressed=true]{background:transparent;color:inherit;box-shadow:inset 0 0 0 1px currentColor}
.bk-langbar-embedded svg{margin-right:3px}
@media(max-width:600px){.bk-langbar-embedded [data-bk-edit]{font-size:0;width:28px;padding:4px}.bk-langbar-embedded [data-bk-edit]::after{content:'✎';font-size:17px}.bk-langbar-embedded svg{display:none}.bk-langbar-embedded button{padding:7px;min-height:32px}.bk-langbar-embedded .bk-langbar-inner{min-height:32px}}
