/* Dehullu: lokale Bootstrap-componenten met uitsluitend zwart, wit en grijs. */
:root {
    --bs-fg-body: #171717;
    --bs-bg-body: #fff;
    --bs-border-color: #dedede;
    --bs-link-color: #171717;
    --bs-link-hover-color: #555;
    --bs-radius-4: .375rem;
    --bs-focus-ring-color: #555;
    --bs-control-checked-bg: #171717;
    --bs-control-checked-border-color: #171717;
    --sidebar-width: 16rem;
}
body { min-height: 100vh; }
.workspace { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; }
.workspace-content { flex: 1; min-width: 0; padding: 1.5rem; }
.app-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--bs-border-color); }
.app-brand { color: #171717; font-size: 1.5rem; font-weight: 700; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.app-brand:hover { color: #171717; }
.brand-app { font-size: 1rem; font-weight: 400; letter-spacing: -.03em; }
.brand-dot { margin: 0 .03em; }
.app-sidebar { --bs-drawer-width: var(--sidebar-width); --bs-drawer-inset: 0; height: 100vh; height: 100dvh; background: #fafafa; border-radius: 0; box-shadow: none; }
.sidebar-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; background: #fafafa; }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; padding: 1rem; border-bottom: 1px solid var(--bs-border-color); }
.sidebar-navigation { flex: 1; min-height: 0; overflow-y: auto; padding: 1rem .75rem; }
.sidebar-navigation .nav > li { width: 100%; }
.sidebar-navigation .nav-link { width: 100%; }
.sidebar-navigation .nav-link, .sidebar-management summary { display: block; padding: .6rem .75rem; color: #333; font-size: .875rem; border-radius: .375rem; overflow-wrap: anywhere; }
.sidebar-navigation .nav-link:hover, .sidebar-management summary:hover { background: #eee; color: #171717; }
.sidebar-navigation .nav-link.active { color: #fff; background: #171717; font-weight: 600; }
.sidebar-navigation .nav-link.disabled { color: #777; cursor: default; }
.sidebar-navigation .nav-link.disabled:hover { background: transparent; }
.sidebar-management { margin-top: .5rem; padding-top: .5rem; border-top: 1px solid var(--bs-border-color); }
.sidebar-management summary { display: list-item; list-style-position: inside; cursor: pointer; }
.sidebar-management.active-group summary { font-weight: 600; }
.sidebar-management > ul { margin-top: .25rem; padding-left: .75rem; }
.sidebar-account { flex-shrink: 0; padding: 1rem; border-top: 1px solid var(--bs-border-color); }
.account-name { display: block; font-size: .875rem; font-weight: 600; overflow-wrap: anywhere; }
.account-link { display: inline-block; margin: .25rem 0 .75rem; font-size: .8rem; }
.account-link[aria-current="page"] { font-weight: 700; }
.mobile-header { display: flex; align-items: center; gap: 1rem; min-height: 3.5rem; padding: .75rem 1rem; border-bottom: 1px solid var(--bs-border-color); }
.mobile-header > button { flex-shrink: 0; }
.auth-header { padding: 1rem 1.5rem; border-bottom: 1px solid var(--bs-border-color); }
.auth-layout { display: flex; flex-direction: column; }
.auth-layout .workspace { flex: 1; min-height: 0; }
.auth-container { flex: 1; max-width: 620px; }
.narrow { max-width: 720px; }
.eyebrow { letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: #666; margin-bottom: .75rem; }
.card { box-shadow: none; }
.dashboard-link { color: inherit; text-decoration: none; }
.dashboard-link:hover { border-color: #171717; background: #fafafa; }
.table > :not(caption) > * > * { padding: .75rem; }
.table thead th { background: #f6f6f6; color: #555; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.table-responsive { min-width: 0; }
.form-control:focus, .check:focus { border-color: #555; box-shadow: 0 0 0 .2rem #0000001a; }
.check:checked { background-color: #171717; border-color: #171717; }
.btn-solid:focus-visible, .btn-outline:focus-visible, .btn-close:focus, a:focus-visible, summary:focus-visible { outline: 2px solid #171717; outline-offset: 3px; box-shadow: none; }
.app-error { color: #171717; border-color: #999; background: #f5f5f5; border-left: 4px solid #171717; }
.notes-cell { min-width: 180px; max-width: 350px; white-space: normal; overflow-wrap: anywhere; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 1100; background: #fff; color: #171717; padding: .75rem; }
/* De zijbalk opent direct, zonder decoratieve overgang of animatie. */
.app-sidebar { --bs-drawer-backdrop-blur: 0; --bs-drawer-transition-duration: 0s; }
.app-sidebar::backdrop { background: rgb(0 0 0 / 35%); backdrop-filter: none; transition: none; }
.card-body { display: block; }
.dashboard-link h2 { margin-bottom: .5rem; }
.theme-inverse { --bs-theme-bg: #171717; --bs-theme-fg: #171717; --bs-theme-border: #171717; --bs-theme-contrast: #fff; --bs-theme-focus-ring: #555; }
.btn-solid.theme-inverse:hover, .btn-solid.theme-inverse:active,
.btn-outline.theme-inverse:hover, .btn-outline.theme-inverse:active {
    --bs-btn-hover-bg: #333; --bs-btn-hover-border-color: #333; --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #171717; --bs-btn-active-border-color: #171717; --bs-btn-active-color: #fff;
}
@media (min-width: 1280px) {
    .mobile-header, .sidebar-heading .btn-close { display: none; }
    .app-sidebar { display: block; visibility: visible; transform: none; position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); height: 100vh; max-width: none; max-height: none; padding: 0; margin: 0; border-right: 1px solid var(--bs-border-color); }
    .app-layout .workspace { margin-left: var(--sidebar-width); }
}
@media (max-width: 575.98px) {
    .workspace-content { padding: 1rem; }
    .app-footer { padding: 1rem; }
    .dashboard-title { font-size: 1.8rem; }
    .table > :not(caption) > * > * { padding: .625rem; }
}
/* QR-bestellen: één compact openbaar formulier, dezelfde neutrale componenten. */
.filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; }
.filter-bar > div { flex: 1 1 12rem; min-width: 0; }
.article-thumb { display: block; width: 120px; height: 100px; object-fit: contain; border: 1px solid #dedede; background: #fff; }
.scan-layout .auth-container { max-width: 480px; }
.scan-layout .auth-header { padding: .75rem 1rem; }
.scan-layout .app-footer { font-size: .75rem; padding: .75rem 1rem; }
.scan-card h1 { overflow-wrap: anywhere; }
.scan-card .article-thumb { margin: 0 auto; }
.scan-card .form-control { min-height: 48px; }
.scan-card .btn-lg { min-height: 52px; }
.scan-card .form-field label { padding-block: .5rem; }
.qr-label { max-width: 34rem; }
#qr-symbol svg { display: block; width: 300px; max-width: 100%; height: auto; margin-block: .75rem; }
.new-request { font-weight: 600; }
.request-details { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: .5rem 1rem; }
.request-details dd { overflow-wrap: anywhere; margin: 0; }
@media(max-width:575.98px) { .request-details { grid-template-columns: 1fr; gap: .25rem; } .request-details dd { margin-bottom: .5rem; } }
@media print {
    .app-sidebar, .mobile-header, .app-footer, .skip-link, .no-print { display: none !important; }
    .app-layout .workspace { margin: 0; min-height: 0; }
    .workspace-content { padding: 0; }
    .qr-label { border: 0; break-inside: avoid; }
}
