
/* Consistent profile entry in desktop header. */
.flow-profile-menu{position:relative;flex:0 0 auto}
.flow-profile-trigger{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--surface)}
.flow-profile-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:2200;width:340px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 100px);overflow:auto;display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--text);box-shadow:0 16px 45px var(--shadow);backdrop-filter:blur(24px);text-align:left}
.flow-profile-panel button,.flow-profile-panel select{font:inherit;color:inherit}
.flow-profile-account{padding:10px 12px;border-radius:10px;background:var(--field);border:1px solid var(--line);text-align:left}
.flow-profile-group,.flow-profile-zone{display:flex;flex-direction:column;gap:8px;font-size:13px}
.flow-profile-toggle{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px}
.flow-profile-toggle input{width:18px;height:18px;accent-color:var(--blue)}
.flow-profile-zone select{width:100%;max-width:100%;background:var(--field);border:1px solid var(--line);border-radius:10px;padding:10px}
.flow-profile-zone option{background:var(--panel);color:var(--text)}
.flow-profile-note{font-size:11px;line-height:1.5;color:var(--muted)}
.flow-profile-clock{font-size:12px;color:var(--muted)}
.flow-profile-appearance summary{cursor:pointer;font-size:13px;padding:6px 0}
.flow-profile-appearance .appearance-settings{margin-top:12px}
.flow-profile-appearance .appearance-presets{grid-template-columns:repeat(2,minmax(0,1fr))}
.flow-profile-appearance .appearance-mode{flex-wrap:wrap}
.flow-profile-panel .flow-language-switch{display:flex;gap:8px}
.flow-profile-panel .flow-language-switch button{flex:1;min-width:0}
.flow-language-label{display:inline-flex;align-items:center;gap:7px}
.flow-language-flag{display:inline-block;position:relative;width:20px;height:14px;border-radius:2px;box-shadow:0 0 0 1px #0002;overflow:hidden;flex-shrink:0}
.flag-ru{background:linear-gradient(#fff 0 33.33%,#2458c8 33.33% 66.66%,#d52b38 66.66%)}
.flag-en{background:repeating-linear-gradient(#bc2639 0 1.08px,#fff 1.08px 2.16px)}
.flag-en:before{content:"";position:absolute;left:0;top:0;width:9px;height:7.5px;background:#224179}
@media(min-width:1000px){.rail-bottom>.flow-language-switch,.rail-bottom>button[title="Оформление"],.rail-bottom>button[title="Appearance"],.rail-bottom>.avatar{display:none}}
@media(max-width:600px){.flow-profile-panel{position:fixed;right:12px;top:64px}.rail-bottom .flow-language-label{font-size:0}.rail-bottom .flow-language-flag{margin:0}.top-brand .flow-language-label{font-size:0}}
