.app-topbar > .workspace-scope.workspace-with-rep { display:flex; align-items:stretch; flex:0 1 auto; gap:0; max-width:min(580px,55vw); border:1px solid var(--panel-line); border-radius:10px; background:var(--surface-subtle,var(--surface)); }
.workspace-with-rep .tenant-switch-trigger { flex:1 1 220px; width:auto; border:0; border-radius:9px 0 0 9px; max-width:340px; min-width:120px; background:var(--surface); }
.assigned-rep-trigger { display:flex; align-items:center; gap:9px; flex:0 1 210px; min-width:174px; max-width:260px; padding:7px 12px; border:0; border-left:1px solid var(--panel-line); border-radius:0 9px 9px 0; background:transparent; color:var(--ink); text-align:left; }
.assigned-rep-trigger:hover:not(:disabled) { background:var(--brand-soft); }
.assigned-rep-trigger:focus-visible { outline:2px solid var(--brand); outline-offset:3px; }
.assigned-rep-trigger:disabled { cursor:default; opacity:1; }
.assigned-rep-copy { display:grid; gap:4px; min-width:0; }
.assigned-rep-copy small { color:var(--muted); font-size:11px; line-height:1.3; white-space:nowrap; }
.assigned-rep-copy strong { color:var(--ink); font-size:13px; font-weight:650; line-height:1.35; overflow-wrap:anywhere; }
.assigned-rep-icon { display:inline-flex; align-items:center; justify-content:center; flex:none; }
.assigned-rep-icon svg { width:18px; height:18px; }
.assigned-rep-mark { width:30px; height:30px; border-radius:8px; background:var(--brand-soft); color:var(--brand-strong,var(--brand-dark)); }
.assigned-rep-arrow { margin-left:auto; color:var(--muted); }
.assigned-rep-arrow svg { width:14px; height:14px; }
.assigned-rep-card { position:fixed; z-index:90; width:min(340px,calc(100vw - 16px)); max-height:calc(100dvh - 16px); overflow:auto; padding:20px; border:1px solid var(--panel-line); border-radius:12px; background:var(--surface); color:var(--ink); }
.assigned-rep-card:focus { outline:none; }
.assigned-rep-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:12px; }
.assigned-rep-avatar { display:grid; place-items:center; width:48px; height:48px; flex:none; border-radius:12px; background:var(--brand-soft); color:var(--brand-strong,var(--brand-dark)); font-size:17px; font-weight:700; }
.assigned-rep-card h2 { font-size:19px; line-height:1.35; font-weight:700; overflow-wrap:anywhere; margin:0; }
.assigned-rep-title { font-size:13px; line-height:1.5; color:var(--muted); margin:4px 0 0; overflow-wrap:anywhere; }
.assigned-rep-contacts { display:grid; gap:12px; padding-top:16px; margin-top:16px; border-top:1px solid var(--line); }
.assigned-rep-contact { display:flex; gap:10px; align-items:center; min-width:0; min-height:28px; color:var(--brand-strong,var(--brand-dark)); font-size:13px; line-height:1.45; text-decoration:none; }
.assigned-rep-contact span:last-child { overflow-wrap:anywhere; min-width:0; }
a.assigned-rep-contact:hover span:last-child { text-decoration:underline; text-underline-offset:3px; }
.assigned-rep-contact:focus-visible { outline:2px solid var(--brand); outline-offset:3px; border-radius:3px; }
.assigned-rep-contacts p,.assigned-rep-empty,.assigned-rep-freshness { color:var(--muted); font-size:13px; line-height:1.55; margin:0; }
.assigned-rep-empty { margin:12px 0; }
.assigned-rep-freshness { margin-top:16px; font-size:12px; }
@media(max-width:1100px) { .assigned-rep-mark { display:none; } .app-topbar > .workspace-scope.workspace-with-rep { max-width:55vw; } .assigned-rep-trigger { min-width:112px; padding:7px 10px; } }
@media(max-width:820px) { .app-topbar > .workspace-scope.workspace-with-rep { max-width:none; } .workspace-with-rep .tenant-switch-trigger { max-width:260px; } }
@media(max-width:540px) { .app-topbar > .workspace-scope.workspace-with-rep { flex:1 0 100%; width:100%; max-width:none; } .workspace-with-rep .tenant-switch-trigger { flex:1 1 55%; max-width:none; min-width:0; } .workspace-with-rep .tenant-switch-initial { display:none; } .assigned-rep-trigger { flex:1 1 45%; min-width:0; max-width:none; } .assigned-rep-copy strong { font-size:12px; } .assigned-rep-arrow { display:none; } }
@media(pointer:coarse) { .assigned-rep-trigger { min-height:44px; } .assigned-rep-contact { min-height:44px; } }
