.ruimte-knop { display:inline-flex; gap:6px; align-items:center; min-height:44px; max-width:180px; padding:8px 10px; border:1px solid #ddd6ee; border-radius:10px; background:white; color:#2d2145; font:600 13px system-ui,sans-serif; cursor:pointer; }
.ruimte-knop svg { width:20px; height:20px; flex-shrink:0; fill:none; stroke:#6042c8; stroke-width:1.8; }
.ruimte-knop span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ruimte-knop:disabled { cursor:default; opacity:1; background:#f0eafe; }
.ruimte-vast::after { content:'🔒'; font-size:11px; }
.ruimte-dialog { width:min(460px,calc(100vw - 24px)); padding:20px; border:1px solid #ddd6ee; border-radius:16px; color:#2d2145; background:#fff8ed; max-height:80dvh; overflow:auto; }
.ruimte-dialog::backdrop { background:#2d214566; }
.ruimte-dialog h2 { font-size:24px; }
.ruimte-opties { display:flex; flex-direction:column; gap:8px; margin:16px 0; }
.ruimte-dialog button { min-height:44px; padding:10px; border:1px solid #ddd6ee; border-radius:10px; background:white; color:#2d2145; font:inherit; cursor:pointer; }
.ruimte-dialog button[aria-pressed=true] { background:#6042c8; color:white; }
@media(max-width:760px) { .ruimte-knop { max-width:110px; font-size:12px; padding:8px 6px; } .ruimte-knop svg { width:18px; } }

/* Shared app navigation: scanner and editor use the same component styles. */
.werkplek-keuze{position:fixed;inset:0 0 auto;height:56px;z-index:35;display:flex;align-items:center;gap:8px;padding:6px 16px;background:var(--grond,#fff8ed);border-bottom:1px solid var(--rand,#ddd6ee);font:14px "DM Sans",system-ui,sans-serif}
.werkplek-keuze>a,.werkplek-keuze>span{padding:10px 12px;border-radius:8px;text-decoration:none;color:var(--tekst,#2d2145);white-space:nowrap}
.werkplek-keuze [aria-current]{background:var(--violet,#6042c8);color:white}
.werkplek-keuze>a:last-child{margin-left:auto}
.werkplek-keuze>a:focus-visible,.werkplek-keuze>a:hover{background:#eee8fb}
.werkplek-keuze .werkplek-ruimte{padding:0;min-width:0}
.werkplek-keuze .ruimte-knop span{padding:0}
.werkplek-keuze .werkplek-instellingen{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;padding:0;font-size:30px;line-height:1;border:1px solid var(--rand,#ddd6ee);background:white}
.werkplek-keuze .werkplek-instellingen:hover,.werkplek-keuze .werkplek-instellingen:focus-visible{background:#eee8fb}
@media(max-width:760px){.werkplek-keuze{gap:2px;padding:4px;font-size:12px}.werkplek-keuze>a,.werkplek-keuze>span{padding:12px 6px}}

@font-face{font-family:"DM Sans";src:url("/scan/app-font.ttf") format("truetype");font-weight:100 1000;font-display:swap}@font-face{font-family:"Bricolage Grotesque";src:url("/scan/app-heading.ttf") format("truetype");font-weight:100 1000;font-display:swap}

@media(max-width:600px){.werkplek-keuze{gap:2px;overflow-x:auto}.werkplek-keuze>a{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;box-sizing:border-box;padding:8px 4px;flex-shrink:0}.werkplek-keuze .werkplek-instellingen{width:44px;flex-basis:44px;height:44px;font-size:26px}.werkplek-keuze .ruimte-knop{width:44px;min-width:44px;justify-content:center;padding:8px}.werkplek-keuze .ruimte-knop span,.werkplek-keuze .ruimte-vast::after{display:none}.werkplek-keuze .ruimte-knop svg{width:20px}}

.werkplek-keuze>a[aria-current]:hover,.werkplek-keuze>a[aria-current]:focus-visible{background:#48318e;color:white}
