/* Shared client / staff header controls. Company identity remains authoritative. */
.topbar .top-actions{--tool-accent:var(--brand-accent,var(--brand));display:flex;align-items:center;gap:10px}
.topbar .top-actions>.care-language,.topbar .top-actions>#theme,.topbar .top-actions>.logout-button{border:1px solid var(--line);background:var(--panel);color:var(--ink);box-shadow:0 2px 5px #00000006,inset 0 1px 0 #ffffff06;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;min-height:44px;border-radius:13px;flex-shrink:0}
.topbar .top-actions>.care-language{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;padding:10px 13px;font-size:13px;font-weight:650;line-height:1.4}
.topbar .top-actions>.care-language::before{content:"";width:19px;height:19px;flex:none;background:currentColor;opacity:.8;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 6 6M4 14l6-6 2-3M2 5h12M7 2h1m14 20-5-10-5 10M14 18h6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 6 6M4 14l6-6 2-3M2 5h12M7 2h1m14 20-5-10-5 10M14 18h6'/%3E%3C/svg%3E") center/contain no-repeat}
.topbar .top-actions>#theme{display:grid;place-items:center;width:44px;height:44px;padding:0;color:var(--ink)}
.topbar .top-actions>#theme svg{width:20px;height:20px;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}
.topbar .top-actions>.session-tag{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:8px 11px;border:1px solid var(--line);border-radius:11px;background:color-mix(in srgb,var(--soft) 45%,var(--panel));font-size:11px;font-weight:550;color:var(--muted);white-space:nowrap}
.topbar .top-actions>.session-tag::before{content:"";width:16px;height:16px;flex:none;background:currentColor;opacity:.8;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E") center/contain no-repeat}
.topbar .top-actions>.session-tag i{width:5px;height:5px;flex:none;margin:0}
.topbar .top-actions>.logout-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:5px 14px 5px 5px!important;font-size:13px!important;font-weight:650;line-height:1.4;white-space:nowrap;border-color:color-mix(in srgb,var(--tool-accent) 25%,var(--line));background:linear-gradient(130deg,color-mix(in srgb,var(--tool-accent) 8%,var(--panel)),var(--panel))}
.topbar .logout-symbol{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:9px;background:color-mix(in srgb,var(--tool-accent) 12%,var(--panel));color:var(--tool-accent)}
.topbar .logout-symbol svg{width:19px;height:19px;flex:none}
.topbar .top-actions>button:hover{background:var(--soft);border-color:color-mix(in srgb,var(--tool-accent) 60%,var(--line));box-shadow:0 3px 10px #0000000b}
.topbar .top-actions>.logout-button:hover{background:color-mix(in srgb,var(--tool-accent) 12%,var(--panel));transform:translateY(-1px)}
.topbar .top-actions>button:active{transform:translateY(0);box-shadow:inset 0 1px 3px #00000012}
.topbar .top-actions>button:focus-visible{outline:2px solid var(--tool-accent);outline-offset:3px}
[dir=rtl] .topbar .top-actions>.logout-button{padding:5px 5px 5px 14px!important}
[dir=rtl] .topbar .logout-symbol svg{transform:scaleX(-1)}
@media(max-width:900px){
 .topbar .top-actions{gap:7px;flex-wrap:nowrap}
 .topbar .top-actions>.session-tag{display:none}
 .topbar .top-actions>.care-language{padding:9px 10px;gap:6px;font-size:12px}
 .topbar .top-actions>.logout-button{position:relative;width:44px;height:44px;min-width:44px;padding:5px!important;gap:0}
 .topbar .logout-button>care-text{display:block;position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 [dir=rtl] .topbar .top-actions>.logout-button{padding:5px!important}
}
@media(prefers-reduced-motion:reduce){.topbar .top-actions>button{transition:none!important}.topbar .top-actions>.logout-button:hover{transform:none}}