/* contactID page languages (doc 83): the language menu, the first-time picker, the suggestion bar, the legal note,
   fonts per script. Loaded by every user page (app pages: by their head; public pages: added by the server). */

/* Montserrat's Cyrillic and Vietnamese letters (OFL, @fontsource-variable/montserrat 5.3.0), downloaded only when shown */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/montserrat-var-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/montserrat-var-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/montserrat-var-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}

/* public pages: Poppins has no Cyrillic, Greek or Vietnamese, the headings use Montserrat there */
html[data-cid-lang="ru"],html[data-cid-lang="uk"],html[data-cid-lang="bg"],html[data-cid-lang="sr"],html[data-cid-lang="vi"]{--head:"Montserrat","Montserrat Fallback",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
html[data-cid-lang="el"]{--head:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Arial,sans-serif;--body:var(--head)}
/* scripts the brand fonts lack: the system's fonts for them, the brand fonts still draw the Latin words inside */
html[data-cid-lang="ar"],html[data-cid-lang="fa"],html[data-cid-lang="ur"]{--cid-script:"Segoe UI","Noto Sans Arabic","Geeza Pro",Tahoma}
html[data-cid-lang="he"]{--cid-script:"Segoe UI","Noto Sans Hebrew","Arial Hebrew",Arial}
html[data-cid-lang="hi"]{--cid-script:"Nirmala UI","Noto Sans Devanagari","Kohinoor Devanagari"}
html[data-cid-lang="bn"]{--cid-script:"Nirmala UI","Noto Sans Bengali","Kohinoor Bangla"}
html[data-cid-lang="th"]{--cid-script:"Leelawadee UI","Noto Sans Thai",Thonburi,Tahoma}
html[data-cid-lang="ja"]{--cid-script:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic UI",Meiryo,"Noto Sans JP"}
html[data-cid-lang="ko"]{--cid-script:"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR"}
html[data-cid-lang="zh-cn"]{--cid-script:"PingFang SC","Microsoft YaHei","Noto Sans SC","Hiragino Sans GB"}
html[data-cid-lang="zh-tw"]{--cid-script:"PingFang TC","Microsoft JhengHei","Noto Sans TC"}
html[data-cid-lang="ar"],html[data-cid-lang="fa"],html[data-cid-lang="ur"],html[data-cid-lang="he"],html[data-cid-lang="hi"],html[data-cid-lang="bn"],html[data-cid-lang="th"],html[data-cid-lang="ja"],html[data-cid-lang="ko"],html[data-cid-lang="zh-cn"],html[data-cid-lang="zh-tw"]{
  --body:"Montserrat",var(--cid-script),-apple-system,BlinkMacSystemFont,sans-serif;--head:var(--body)}
html[data-cid-lang="ar"] body,html[data-cid-lang="fa"] body,html[data-cid-lang="ur"] body,html[data-cid-lang="he"] body,html[data-cid-lang="hi"] body,html[data-cid-lang="bn"] body,html[data-cid-lang="th"] body,html[data-cid-lang="ja"] body,html[data-cid-lang="ko"] body,html[data-cid-lang="zh-cn"] body,html[data-cid-lang="zh-tw"] body{font-family:"Montserrat",var(--cid-script),-apple-system,BlinkMacSystemFont,sans-serif}
/* longer words (German, Finnish, Hungarian) break inside a box instead of overflowing it */
html:not([data-cid-lang="en"]) body{overflow-wrap:break-word}
html:not([data-cid-lang="en"]) button,html:not([data-cid-lang="en"]) .btn{overflow-wrap:anywhere;hyphens:auto}

/* ── the language menu (a <details> with plain links on public pages, buttons on app pages) ── */
.cid-ls-host{display:inline-flex;align-items:center;flex:none;position:relative}
.cid-ls{position:relative;font-family:"Montserrat",var(--cid-script,sans-serif),-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.cid-ls>summary{list-style:none}
.cid-ls>summary::-webkit-details-marker{display:none}
.cid-ls-btn{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 11px;border:1px solid #EAE6E3;border-radius:999px;background:#fff;color:#34373E;font-size:13px;font-weight:600;line-height:1;cursor:pointer;white-space:nowrap;user-select:none;transition:border-color .15s,color .15s,box-shadow .15s}
.cid-ls-btn:hover{border-color:#EE6055;color:#B83A33}
.cid-ls-btn:focus-visible{outline:none;border-color:#EE6055;box-shadow:0 0 0 3px #FDEEEC}
.cid-ls[open]>.cid-ls-btn{border-color:#EE6055;box-shadow:0 0 0 3px #FDEEEC}
.cid-ls-btn svg{flex:none}
.cid-ls-code{display:none;font-size:11.5px;letter-spacing:.03em}
@media (max-width:640px){.cid-ls-name{display:none}.cid-ls-code{display:inline}}
.cid-ls-panel{position:absolute;top:calc(100% + 8px);inset-inline-end:0;z-index:1000;width:300px;max-width:calc(100vw - 24px);max-height:min(70vh,520px);display:flex;flex-direction:column;padding:10px;background:#fff;border:1px solid #EAE6E3;border-radius:16px;box-shadow:0 30px 60px -28px rgba(22,24,29,.28),0 10px 24px -14px rgba(22,24,29,.12);text-align:start}
.cid-ls-list,.cid-ll-list{list-style:none;margin:0;padding:0;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0}
.cid-ls-list li[hidden]{display:none}
.cid-ls-list a,.cid-ll-item{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;color:#16181D;text-decoration:none;cursor:pointer;font-size:14px;line-height:1.3}
.cid-ls-list a:hover,.cid-ll-item:hover,.cid-ll-item:focus{background:#FAF8F7;text-decoration:none;outline:none}
.cid-ls-list a:focus-visible,.cid-ll-item:focus-visible{outline:2px solid #EE6055;outline-offset:-2px}
.cid-ls-list a.on,.cid-ll-item.on{background:#FDEEEC}
.cid-ls-list .n,.cid-ll-item .n{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cid-ls-list .e,.cid-ll-item .e{margin-inline-start:auto;font-size:12px;font-weight:500;color:#6A717D;white-space:nowrap}
.cid-ll-item .ck{color:#EE6055;font-weight:700}
.cid-ll-search{flex:none;width:100%;height:40px;margin:0 0 8px;padding:0 12px;border:1px solid #EAE6E3;border-radius:12px;background:#FAFAF8;font:inherit;font-size:14px;color:#16181D;outline:none}
.cid-ll-search:focus{border-color:#EE6055;box-shadow:0 0 0 3px #FDEEEC;background:#fff}
.cid-ll{display:flex;flex-direction:column;min-height:0;flex:1}
.cid-ll-empty{margin:14px 0 6px;text-align:center;color:#6A717D;font-size:13px}
.cid-ls-panel .cid-ll{max-height:min(64vh,470px)}

/* pages without a header place: the menu in the top corner */
.cid-ls-float{position:fixed;top:14px;inset-inline-end:14px;z-index:9000}
.cid-ls-float .cid-ls-btn{box-shadow:0 6px 18px -10px rgba(22,24,29,.35)}
@media (max-width:640px){.cid-ls-float{top:10px;inset-inline-end:10px}.cid-ls-float .cid-ls-btn{height:32px;padding:0 9px}}
@media print{.cid-ls-float,.cid-ls-host,.cid-ls-mount,.cid-sb{display:none!important}}

/* ── the first-time picker ── */
html.cid-lp-open{overflow:hidden}
.cid-lp{position:fixed;inset:0;z-index:100000;display:flex;justify-content:center;align-items:flex-start;padding:24px 14px;overflow-y:auto;background:rgba(22,24,29,.45);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);font-family:"Montserrat",var(--cid-script,sans-serif),-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;animation:cid-lp-in .18s ease-out}
@media (min-height:700px){.cid-lp{align-items:center}}
.cid-lp-box{width:100%;max-width:480px;max-height:calc(100vh - 48px);display:flex;flex-direction:column;background:#fff;border-radius:20px;box-shadow:0 40px 80px -30px rgba(22,24,29,.45);padding:24px 20px 14px;text-align:start}
.cid-lp-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#FDEEEC;color:#B83A33}
.cid-lp-icon svg{width:22px;height:22px}
.cid-lp-head h2{margin:12px 0 2px;font-size:21px;line-height:1.25;font-weight:700;color:#16181D}
.cid-lp-en{margin:0;font-size:12.5px;color:#6A717D}
.cid-lp-sub{margin:4px 0 14px;font-size:13px;line-height:1.45;color:#5A616D}
.cid-lp .cid-ll-list{max-height:none}
@media (max-width:380px){.cid-lp{padding:12px 8px}.cid-lp-box{padding:18px 12px 10px;border-radius:16px}.cid-lp-head h2{font-size:18px}}
@keyframes cid-lp-in{from{opacity:0}to{opacity:1}}

/* ── the suggestion bar (public pages, English, a visitor whose language we have) ── */
.cid-sb{position:relative;z-index:60;background:#16181D;color:#fff;font-family:"Montserrat",var(--cid-script,sans-serif),-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.cid-sb-in{max-width:1180px;margin:0 auto;padding:10px 52px 10px 24px;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;position:relative;font-size:14px;line-height:1.4}
.cid-sb-go{display:inline-flex;align-items:center;height:34px;padding:0 16px;border-radius:999px;background:#EE6055;color:#fff!important;font-weight:700;text-decoration:none!important;white-space:nowrap}
.cid-sb-go:hover{background:#D0463C}
.cid-sb-x{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:#C9CDD6;font-size:22px;line-height:1;cursor:pointer}
.cid-sb-x:hover{background:rgba(255,255,255,.1);color:#fff}
@media (max-width:560px){.cid-sb-in{justify-content:flex-start;padding:10px 48px 10px 16px;gap:8px 12px;font-size:13.5px}}

/* ── a translated legal page says which version binds ── */
.cid-legal-note{margin:12px 0 18px;padding:12px 14px;border:1px solid #F0E2B8;border-radius:12px;background:#FFFBF0;color:#6B540B;font-size:14px;line-height:1.5}
.cid-legal-note a{font-weight:700}

@media (prefers-reduced-motion:reduce){.cid-lp{animation:none}.cid-ls-btn{transition:none}}
