/* Approved workspace tokens; only the shared source navigation is styled. */
.document-desk-sources { color:var(--ws-ink,#eef1f7); font:1rem/1.5 var(--ws-font,system-ui,sans-serif); border-bottom:1px solid var(--ws-line,#424e62); padding-block:0 1rem; margin-block:0 1rem; min-width:0; }
.document-desk-sources p { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; margin:0 0 .5rem; font-weight:600; overflow-wrap:anywhere; }
.document-desk-sources img { width:32px; height:32px; flex:0 0 32px; object-fit:contain; }
.document-desk-sources p span { color:var(--ws-muted,#b4bed0); font-size:.875rem; font-weight:400; }
.document-desk-sources > div { display:flex; flex-wrap:wrap; gap:.5rem; }
.document-desk-sources button { box-sizing:border-box; min-height:44px; min-width:0; max-width:100%; padding:.55rem .8rem; border:1px solid var(--ws-line,#424e62); border-radius:6px; color:var(--ws-ink,#eef1f7); background:var(--ws-surface,#191e28); font:inherit; line-height:1.4; white-space:normal; overflow-wrap:anywhere; cursor:pointer; }
.document-desk-sources button:hover:not(:disabled) { background:var(--ws-soft,#222937); }
.document-desk-sources button:focus-visible { outline:3px solid var(--ws-accent,#b9bdff); outline-offset:3px; scroll-margin-block:6rem; }
.document-desk-sources button[aria-current="page"] { color:var(--ws-accent,#b9bdff); border-color:var(--ws-accent,#b9bdff); background:var(--ws-accent-soft,#343b59); opacity:1; cursor:default; }
/* The current source is disabled navigation, not an unavailable action. This
   selector must also outrank the later advisor-shell disabled rule. */
body.workspace-shell #fibu-berater-view .document-desk-sources button[aria-current="page"]:disabled { color:var(--ws-accent); border-color:var(--ws-accent); background:var(--ws-accent-soft); opacity:1; cursor:default; }
.document-desk-sources button:disabled:not([aria-current]) { opacity:.65; cursor:wait; }
@media(max-width:400px) { .document-desk-sources > div { flex-direction:column; } .document-desk-sources button { text-align:start; width:100%; } }
