/* KGVA Admin Modern UI */
:root{--kgva-primary:#315f46;--kgva-primary-2:#4f8665;--kgva-accent:#d7a746;--kgva-bg:#f4f7f5;--kgva-surface:#fff;--kgva-border:#dde6e0;--kgva-muted:#6f7f75;--kgva-shadow:0 18px 55px rgba(31,62,44,.10);--kgva-radius:22px}
body{background:radial-gradient(circle at 85% 5%,rgba(91,148,109,.11),transparent 28%),var(--kgva-bg)!important;color:#26372d}
.main-content .container-fluid{max-width:1500px!important;padding-left:1.5rem!important;padding-right:1.5rem!important}
.card{border:1px solid var(--kgva-border)!important;border-radius:var(--kgva-radius)!important;box-shadow:var(--kgva-shadow)!important;background:var(--kgva-surface);overflow:hidden}
.card-header{background:transparent;border-bottom:0}.card-body{padding:1.5rem}.page-hero{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1.5rem 1.75rem;margin-bottom:1.5rem;border-radius:26px;background:linear-gradient(135deg,#244d37,#5e946f);color:#fff;box-shadow:0 22px 60px rgba(36,77,55,.25)}
.page-hero h1{color:#fff;margin:0;font-size:clamp(1.65rem,3vw,2.35rem)}.page-hero p{color:rgba(255,255,255,.78);margin:.4rem 0 0}.page-hero-icon{width:62px;height:62px;display:grid;place-items:center;border-radius:20px;background:rgba(255,255,255,.14);backdrop-filter:blur(8px)}.page-hero-icon .material-symbols-rounded{font-size:32px}
.kgva-tabs{display:inline-flex;gap:.4rem;padding:.4rem;border:1px solid var(--kgva-border);border-radius:18px;background:rgba(255,255,255,.72);box-shadow:0 10px 30px rgba(36,77,55,.06)}.kgva-tabs .nav-link{border:0!important;border-radius:14px;color:#516259;font-weight:700;padding:.8rem 1.15rem}.kgva-tabs .nav-link.active{background:linear-gradient(135deg,var(--kgva-primary),var(--kgva-primary-2));color:#fff;box-shadow:0 8px 20px rgba(49,95,70,.23)}
.document-toolbar{display:flex;gap:1rem;align-items:end;justify-content:space-between;flex-wrap:wrap;margin-bottom:1.25rem}.document-toolbar .form-select{min-width:260px}.document-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(245px,300px);gap:1rem;overflow-x:auto;padding:.35rem .2rem 1.2rem;scroll-snap-type:x mandatory;scrollbar-width:thin}.document-card{scroll-snap-align:start;border:1px solid var(--kgva-border);border-radius:20px;background:var(--kgva-surface);overflow:hidden;transition:.25s ease;min-height:390px;display:flex;flex-direction:column}.document-card:hover{transform:translateY(-5px);box-shadow:0 18px 45px rgba(31,62,44,.14);border-color:#b9cfc0}.document-preview{height:245px;position:relative;background:linear-gradient(145deg,#edf2ee,#dfe9e2);overflow:hidden}.document-preview embed,.document-preview iframe{width:100%;height:145%;border:0;pointer-events:none}.document-preview-placeholder{height:100%;display:grid;place-items:center;text-align:center;color:#607166}.document-preview-placeholder .material-symbols-rounded{font-size:70px;color:#9bb3a2}.document-badge{position:absolute;top:12px;left:12px;z-index:2;border-radius:999px;padding:.4rem .65rem;background:rgba(255,255,255,.92);font-size:.72rem;font-weight:800;box-shadow:0 5px 16px rgba(0,0,0,.1)}.document-card-body{padding:1rem;display:flex;flex:1;flex-direction:column}.document-card-title{font-size:1rem;font-weight:800;line-height:1.35;margin-bottom:.4rem}.document-card-meta{font-size:.78rem;color:var(--kgva-muted);min-height:34px}.document-card-actions{display:flex;gap:.55rem;margin-top:auto;padding-top:1rem}.document-card-actions .btn{flex:1;margin:0;border-radius:12px}
.position-group{border:1px solid var(--kgva-border);border-radius:20px;padding:1.2rem;background:linear-gradient(180deg,#fff,#fbfcfb);height:100%}.position-group-title{display:flex;align-items:center;gap:.7rem;margin-bottom:1rem}.position-group-title .material-symbols-rounded{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#e8f1eb;color:var(--kgva-primary)}.position-field{margin-bottom:1rem}.position-field:last-child{margin-bottom:0}.position-field label{font-size:.8rem;font-weight:800;color:#53645a;margin-bottom:.4rem}.position-field .input-group{border:1px solid var(--kgva-border);border-radius:14px;overflow:hidden;background:#fff}.position-field .form-control{border:0!important;padding:.78rem 1rem}.position-field .input-group-text{width:auto!important;min-width:52px!important;background:#edf3ef!important;color:var(--kgva-primary)!important;border:0!important;font-weight:800}
.dashboard-stat-card{transition:.25s ease}.dashboard-stat-card:hover{transform:translateY(-4px)}.dashboard-section-title{font-size:1.15rem;font-weight:800}.btn{border-radius:12px}.form-control,.form-select{border-radius:12px!important;border:1px solid var(--kgva-border)!important;padding:.72rem .85rem}.table>thead th{font-size:.72rem;letter-spacing:.045em;text-transform:uppercase;color:#78877e}.table>tbody td{vertical-align:middle}.sidenav{border:1px solid var(--kgva-border)!important;box-shadow:0 18px 55px rgba(31,62,44,.10)!important}.sidenav .nav-link{border-radius:13px!important;margin:.1rem .65rem}.sidenav .nav-link.active{background:linear-gradient(135deg,var(--kgva-primary),var(--kgva-primary-2))!important}.system-version{border-radius:12px;background:rgba(49,95,70,.08);color:var(--kgva-primary);font-weight:700;font-size:.78rem}
[data-bs-theme="dark"]{--kgva-bg:#111814;--kgva-surface:#19231d;--kgva-border:#2b3b31;--kgva-muted:#9cad9f;--kgva-shadow:0 18px 55px rgba(0,0,0,.28)}[data-bs-theme="dark"] body{background:radial-gradient(circle at 85% 5%,rgba(91,148,109,.12),transparent 28%),var(--kgva-bg)!important;color:#e5eee8}[data-bs-theme="dark"] .card,[data-bs-theme="dark"] .document-card,[data-bs-theme="dark"] .position-group{background:var(--kgva-surface)!important;color:#e5eee8}[data-bs-theme="dark"] .position-group{background:linear-gradient(180deg,#19231d,#151d18)!important}[data-bs-theme="dark"] .kgva-tabs{background:#172019}[data-bs-theme="dark"] .document-preview{background:linear-gradient(145deg,#202c24,#172019)}[data-bs-theme="dark"] .position-field .input-group,[data-bs-theme="dark"] .form-control,[data-bs-theme="dark"] .form-select{background:#121a15!important;color:#e5eee8!important}[data-bs-theme="dark"] .position-field .input-group-text{background:#233329!important;color:#a8d1b4!important}[data-bs-theme="dark"] .text-dark{color:#e5eee8!important}[data-bs-theme="dark"] .text-secondary{color:#9cad9f!important}[data-bs-theme="dark"] .table{--bs-table-bg:transparent;--bs-table-color:#dce7df;--bs-table-border-color:#2b3b31}[data-bs-theme="dark"] .sidenav{background:#172019!important}[data-bs-theme="dark"] .navbar{background:rgba(23,32,25,.88)!important}
@media(max-width:767.98px){.main-content .container-fluid{padding-left:1rem!important;padding-right:1rem!important}.page-hero{padding:1.25rem}.page-hero-icon{display:none}.document-carousel{grid-auto-columns:84vw}.document-toolbar .form-select{min-width:100%}.kgva-tabs{display:flex;width:100%}.kgva-tabs .nav-item{flex:1}.kgva-tabs .nav-link{width:100%;padding:.7rem .55rem;font-size:.85rem}}

/* Responsive document and privacy workspaces */
.document-carousel{display:flex!important;max-width:100%;overflow-x:scroll!important;overflow-y:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-x;overscroll-behavior-x:contain;scroll-behavior:smooth;cursor:grab}.document-carousel:active{cursor:grabbing}.document-carousel>.document-card{flex:0 0 min(300px,82vw);width:min(300px,82vw)}
.privacy-tabs-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding:0 0 .8rem;touch-action:pan-x}.privacy-tabs{min-width:max-content}.privacy-tabs .nav-link{display:flex;align-items:center;gap:.5rem;white-space:nowrap}.privacy-tabs .material-symbols-rounded{font-size:1.2rem}.privacy-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.7rem;height:1.7rem;padding:0 .45rem;border-radius:999px;background:rgba(49,95,70,.1);font-size:.72rem}.privacy-tabs .nav-link.active .privacy-tab-count{background:rgba(255,255,255,.18)}.privacy-tab-content{max-width:1400px}.privacy-section-card{margin-top:.6rem}.privacy-section-card .card-body{overflow:hidden}.privacy-section-card .table-responsive,.privacy-section-card .dataTables_wrapper{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.privacy-section-card table{width:100%!important;min-width:720px}.privacy-section-card .card-header>div{border-radius:18px!important}.privacy-section-card .dataTables_filter,.privacy-section-card .dataTables_length{margin-bottom:.75rem}.privacy-section-card .dataTables_filter label{display:flex;align-items:center;gap:.5rem}.privacy-section-card .dataTables_filter input{max-width:100%}
[data-bs-theme="dark"] .privacy-tab-count{background:rgba(168,209,180,.12)}[data-bs-theme="dark"] td.child{background:#202c24!important}
@media(max-width:767.98px){.document-carousel{margin-right:-1rem;padding-right:1rem;scroll-padding-left:.15rem}.document-carousel>.document-card{flex-basis:82vw;min-height:365px}.document-preview{height:220px}.document-card:hover{transform:none}.document-card-actions{flex-direction:column}.document-card-actions .btn{width:100%}.privacy-page-hero p{font-size:.88rem}.privacy-tabs-scroll{margin-right:-1rem;padding-right:1rem}.privacy-tabs{width:max-content!important}.privacy-tabs .nav-item{flex:0 0 auto!important}.privacy-tabs .nav-link{width:auto!important;padding:.72rem .9rem!important}.privacy-section-card{border-radius:18px!important}.privacy-section-card .card-header{margin-left:.75rem!important;margin-right:.75rem!important}.privacy-section-card .card-header>div{padding-top:1rem!important;padding-bottom:1rem!important}.privacy-section-card .card-body{padding:1rem}.privacy-section-card table{min-width:680px}.privacy-section-card .dataTables_filter label{display:block;width:100%}.privacy-section-card .dataTables_filter input{width:100%!important;margin:.35rem 0 0!important}.modal-dialog{margin:.75rem}.modal-content{max-height:calc(100dvh - 1.5rem);overflow-y:auto}}
@media(max-width:420px){.document-carousel>.document-card{flex-basis:88vw}.privacy-tabs .nav-link{padding:.68rem .78rem!important}.privacy-tabs .nav-link>span:nth-child(2){font-size:.8rem}.page-hero{border-radius:20px}}


/* KGVA Admin 1.1.2: global workspace, profile theme and compact mobile UI */
.profile-settings-card{overflow:visible}.profile-setting-icon{flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#e8f1eb;color:var(--kgva-primary)}.profile-setting-icon .material-symbols-rounded{font-size:26px}.theme-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.theme-choice-item{position:relative;display:flex;align-items:center;justify-content:center;gap:.55rem;min-height:52px;padding:.75rem 1rem;border:1px solid var(--kgva-border);border-radius:15px;background:var(--kgva-surface);font-weight:800;cursor:pointer;transition:.2s ease}.theme-choice-item input{position:absolute;opacity:0;pointer-events:none}.theme-choice-item:has(input:checked){color:#fff;border-color:transparent;background:linear-gradient(135deg,var(--kgva-primary),var(--kgva-primary-2));box-shadow:0 10px 25px rgba(49,95,70,.23)}
/* Give legacy workspaces the same visual language without changing their business logic. */
.main-content>.navbar+.container-fluid>.row>.col-12>.card,.main-content .container-fluid>.card{border-radius:var(--kgva-radius)!important}.main-content .card .card-header:not(.bg-gradient-dark):not(.bg-dark){padding:1.25rem 1.5rem}.main-content .card h3,.main-content .card h4{letter-spacing:-.02em}.table-responsive{border-radius:15px;-webkit-overflow-scrolling:touch}.table tbody tr{transition:background-color .18s ease}.table tbody tr:hover{background:rgba(49,95,70,.045)}.modal-content{border-radius:22px!important;border:1px solid var(--kgva-border)!important}.modal-header{border-bottom-color:var(--kgva-border)}.modal-footer{border-top-color:var(--kgva-border)}
[data-bs-theme="dark"] .theme-choice-item{background:#121a15;color:#dce7df}[data-bs-theme="dark"] .theme-choice-item:has(input:checked){color:#fff;background:linear-gradient(135deg,#315f46,#4f8665)}[data-bs-theme="dark"] .profile-setting-icon{background:#233329;color:#a8d1b4}[data-bs-theme="dark"] .table tbody tr:hover{background:rgba(168,209,180,.055)}[data-bs-theme="dark"] .page-header .mask{opacity:.72!important}[data-bs-theme="dark"] .bg-gray-100{background-color:var(--kgva-bg)!important}[data-bs-theme="dark"] .bg-white{background-color:var(--kgva-surface)!important}[data-bs-theme="dark"] .input-group-text{background:#233329!important;color:#dce7df!important;border-color:var(--kgva-border)!important}[data-bs-theme="dark"] .nav-pills .nav-link{color:#c7d4cb}[data-bs-theme="dark"] .edit-nav-link.active{background:#233329!important;color:#fff!important;border-color:#3e5948}
@media(max-width:767.98px){body{font-size:.94rem}.main-content .container-fluid{padding-left:.75rem!important;padding-right:.75rem!important}.page-hero{margin-bottom:1rem;padding:1rem 1.1rem;border-radius:18px}.page-hero h1{font-size:1.45rem}.page-hero p{font-size:.84rem;line-height:1.35}.card{border-radius:17px!important}.card-body{padding:1rem}.card-header{padding:1rem!important}.btn{min-height:42px}.form-control,.form-select{min-height:44px}.theme-choice{gap:.5rem}.theme-choice-item{min-height:46px;padding:.6rem .7rem}.profile-setting-icon{width:42px;height:42px;flex-basis:42px}.profile-page-hero{margin-top:.5rem!important}.page-header.min-height-300{min-height:180px!important;margin-top:1rem!important}.card-body.mt-n6,.card.mt-n6{margin-top:-3rem!important}.table-responsive{margin:0;max-width:100%;overflow-x:auto}.table{font-size:.82rem}.table>:not(caption)>*>*{padding:.65rem .55rem}.dataTables_wrapper .row{gap:.5rem}.dataTables_filter,.dataTables_length{width:100%!important;float:none!important}.dataTables_filter label,.dataTables_length label{display:block;width:100%}.dataTables_filter input,.dataTables_length select{margin:.35rem 0 0!important;max-width:100%}.modal-dialog{margin:.5rem}.modal-body{padding:1rem}.modal-footer{padding:.75rem;gap:.5rem}.modal-footer .btn{flex:1;margin:0}}
/* On phones, use a vertical document list. Embedded PDFs are intentionally replaced by a light preview tile because mobile PDF plugins intercept touch gestures. */
@media(max-width:767.98px){.document-toolbar{display:block;margin-bottom:.85rem}.document-toolbar>div+div{margin-top:.8rem}.document-toolbar .form-select{width:100%;min-width:0}.document-carousel{display:grid!important;grid-template-columns:1fr!important;gap:.7rem;overflow:visible!important;margin:0!important;padding:0!important;touch-action:auto!important;cursor:default!important}.document-carousel>.document-card{display:grid;grid-template-columns:92px minmax(0,1fr);width:100%!important;min-height:0!important;flex-basis:auto!important;border-radius:16px}.document-preview{height:100%;min-height:138px;border-radius:0}.document-preview embed,.document-preview iframe{display:none!important}.document-preview:has(embed)::after,.document-preview:has(iframe)::after{content:'PDF';position:absolute;inset:0;display:grid;place-items:center;color:#718077;font-weight:900;font-size:1.1rem;background:linear-gradient(145deg,#edf2ee,#dfe9e2)}[data-bs-theme="dark"] .document-preview:has(embed)::after,[data-bs-theme="dark"] .document-preview:has(iframe)::after{background:linear-gradient(145deg,#202c24,#172019);color:#a8b7ad}.document-preview-placeholder .material-symbols-rounded{font-size:42px}.document-badge{top:8px;left:7px;right:7px;padding:.3rem .4rem;font-size:.58rem;text-align:center;white-space:normal}.document-card-body{padding:.8rem}.document-card-title{font-size:.92rem;margin-bottom:.25rem}.document-card-meta{font-size:.7rem;min-height:0}.document-card-actions{padding-top:.6rem;display:block}.document-card-actions .btn{width:100%;min-height:38px;padding:.45rem .65rem;font-size:.78rem}.document-card:hover{transform:none}}
@media(max-width:420px){.document-carousel>.document-card{grid-template-columns:78px minmax(0,1fr)}.document-preview{min-height:126px}.page-hero h1{font-size:1.3rem}.theme-choice-item span:last-child{font-size:.82rem}}

/* KGVA 1.1.3 - einheitliches Verwaltungs-Layout */
.kgva-admin-page>.card,.kgva-admin-page>.row>.col-12>.card,.kgva-admin-page .legacy-admin-card{border:0!important;border-radius:24px!important;box-shadow:0 18px 50px rgba(28,55,39,.09)!important;background:var(--bs-body-bg)}
.kgva-admin-page .card-header.p-0.position-relative.mt-n4{margin:0!important;padding:0!important;position:static!important}
.kgva-admin-page .card-header.p-0.position-relative.mt-n4>div{background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:1.25rem 1.5rem!important;border-bottom:1px solid rgba(120,130,125,.16);color:var(--bs-body-color)!important}
.kgva-admin-page .card-header.p-0.position-relative.mt-n4 h6{color:var(--bs-body-color)!important;font-size:1.05rem!important;font-weight:750!important;padding-left:0!important;margin:0!important}
.kgva-admin-page .card-body{padding:1.35rem 1.5rem}
.kgva-admin-page .table-responsive{border-radius:16px;border:1px solid rgba(120,130,125,.14)}
.kgva-admin-page .table{margin-bottom:0;background:transparent}
.kgva-admin-page .table thead th{font-size:.72rem;letter-spacing:.055em;text-transform:uppercase;color:var(--bs-secondary-color);background:rgba(91,139,105,.07);border-bottom:0}
.kgva-admin-page .table tbody tr{transition:background-color .2s ease}.kgva-admin-page .table tbody tr:hover{background:rgba(91,139,105,.055)}
.kgva-admin-page .btn{border-radius:12px;font-weight:650}.kgva-admin-page .form-control,.kgva-admin-page .form-select{border-radius:12px}
[data-bs-theme="dark"] .kgva-admin-page>.card,[data-bs-theme="dark"] .kgva-admin-page>.row>.col-12>.card{background:#17221b!important}
[data-bs-theme="dark"] .kgva-admin-page .table-responsive{border-color:rgba(255,255,255,.1)}
[data-bs-theme="dark"] .kgva-admin-page .table thead th{background:rgba(126,184,143,.09)}
@media(max-width:767.98px){.kgva-admin-page{padding-top:1rem!important}.kgva-admin-page>.card,.kgva-admin-page>.row>.col-12>.card{border-radius:18px!important;margin-bottom:1rem!important}.kgva-admin-page .card-header.p-0.position-relative.mt-n4>div{padding:1rem!important;align-items:flex-start!important;gap:.75rem;flex-wrap:wrap}.kgva-admin-page .card-body{padding:1rem}.kgva-admin-page .table-responsive{border-radius:12px}.kgva-admin-page .table{min-width:680px}.kgva-admin-page .dataTables_wrapper{overflow:hidden}.kgva-admin-page .dataTables_paginate{overflow-x:auto;max-width:100%;padding-bottom:.25rem}.kgva-admin-page .btn{min-height:42px}}

/* KGVA 1.1.4: consistent dark-mode text and surfaces */
[data-bs-theme="dark"] body,
[data-bs-theme="dark"] .main-content,
[data-bs-theme="dark"] .card-body,
[data-bs-theme="dark"] .modal-body,
[data-bs-theme="dark"] .modal-footer,
[data-bs-theme="dark"] .offcanvas,
[data-bs-theme="dark"] .dropdown-item,
[data-bs-theme="dark"] .list-group-item,
[data-bs-theme="dark"] .accordion-body,
[data-bs-theme="dark"] .tab-content { color:#dce7df!important; }
[data-bs-theme="dark"] h1,[data-bs-theme="dark"] h2,[data-bs-theme="dark"] h3,[data-bs-theme="dark"] h4,[data-bs-theme="dark"] h5,[data-bs-theme="dark"] h6,
[data-bs-theme="dark"] .h1,[data-bs-theme="dark"] .h2,[data-bs-theme="dark"] .h3,[data-bs-theme="dark"] .h4,[data-bs-theme="dark"] .h5,[data-bs-theme="dark"] .h6,
[data-bs-theme="dark"] strong,[data-bs-theme="dark"] label:not(.badge):not(.btn) { color:#eef5f0; }
[data-bs-theme="dark"] .text-black,[data-bs-theme="dark"] .text-body,[data-bs-theme="dark"] .text-reset { color:#e5eee8!important; }
[data-bs-theme="dark"] .text-muted,[data-bs-theme="dark"] small,[data-bs-theme="dark"] .form-text,[data-bs-theme="dark"] .dataTables_info,[data-bs-theme="dark"] .dataTables_length,[data-bs-theme="dark"] .dataTables_filter { color:#a8b7ad!important; }
[data-bs-theme="dark"] .bg-light,[data-bs-theme="dark"] .bg-gray-100,[data-bs-theme="dark"] .bg-gray-200,[data-bs-theme="dark"] .bg-gray-300 { background-color:#202c24!important; }
[data-bs-theme="dark"] .border,[data-bs-theme="dark"] .border-top,[data-bs-theme="dark"] .border-bottom,[data-bs-theme="dark"] .border-start,[data-bs-theme="dark"] .border-end { border-color:#33463a!important; }
[data-bs-theme="dark"] .table-striped>tbody>tr:nth-of-type(odd)>* { --bs-table-accent-bg:rgba(168,209,180,.035);color:#dce7df; }
[data-bs-theme="dark"] .table-hover>tbody>tr:hover>* { --bs-table-accent-bg:rgba(168,209,180,.07);color:#f5faf6; }
[data-bs-theme="dark"] .table td a:not(.btn),[data-bs-theme="dark"] .card a:not(.btn):not(.nav-link) { color:#a8d1b4; }
[data-bs-theme="dark"] .dropdown-item:hover,[data-bs-theme="dark"] .dropdown-item:focus,[data-bs-theme="dark"] .list-group-item-action:hover { background:#26362c;color:#fff; }
[data-bs-theme="dark"] .pagination .page-link { background:#19231d;border-color:#33463a;color:#cbd8cf; }
[data-bs-theme="dark"] .pagination .page-item.active .page-link { background:#4f8665;border-color:#4f8665;color:#fff; }
[data-bs-theme="dark"] .pagination .page-item.disabled .page-link { background:#151d18;color:#68766d; }
[data-bs-theme="dark"] .dataTables_wrapper input,[data-bs-theme="dark"] .dataTables_wrapper select { background:#121a15!important;color:#eef5f0!important;border-color:#405548!important; }
[data-bs-theme="dark"] .btn-close { filter:invert(1) grayscale(100%) brightness(180%); }
[data-bs-theme="dark"] .form-check-label,[data-bs-theme="dark"] .form-switch span { color:#dce7df!important; }
[data-bs-theme="dark"] .select2-container--default .select2-selection--single,[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple,
[data-bs-theme="dark"] .bootstrap-select>.dropdown-toggle { background:#121a15!important;color:#eef5f0!important;border-color:#405548!important; }
[data-bs-theme="dark"] .select2-dropdown { background:#19231d;border-color:#405548;color:#eef5f0; }
[data-bs-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected] { background:#4f8665; }
[data-bs-theme="dark"] .alert:not(.alert-light) { color:#fff!important; }
[data-bs-theme="dark"] .alert-light { background:#26362c;color:#e5eee8;border-color:#405548; }
[data-bs-theme="dark"] code,[data-bs-theme="dark"] pre { color:#b8e0c3; }
.profile-section-heading h5,.profile-section-heading h6{margin-bottom:0}

/* Dokumentenkatalog als responsiver Splide-Slider */
.document-splide{visibility:visible;padding:0 2.75rem 2.2rem}.document-splide:not(.is-initialized) .splide__list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem}.document-splide .splide__track{padding:.35rem .2rem 1.1rem}.document-splide .splide__slide{height:auto}.document-splide .document-card{height:100%;min-height:390px}.document-splide .splide__arrow{width:42px;height:42px;background:var(--kgva-surface);border:1px solid var(--kgva-border);box-shadow:0 10px 28px rgba(31,62,44,.18);opacity:1}.document-splide .splide__arrow svg{fill:#315c40}.document-splide .splide__arrow--prev{left:.1rem}.document-splide .splide__arrow--next{right:.1rem}.document-splide .splide__arrow:disabled{opacity:.3}.document-splide .splide__pagination{bottom:.25rem}.document-splide .splide__pagination__page{width:9px;height:9px;background:#aac2b1;opacity:.65}.document-splide .splide__pagination__page.is-active{background:#315c40;opacity:1}.document-splide .document-preview embed,.document-splide .document-preview iframe{pointer-events:none}.document-splide .document-card-actions a{position:relative;z-index:3}[data-bs-theme="dark"] .document-splide .splide__arrow{background:#1c2820;border-color:#33473a}[data-bs-theme="dark"] .document-splide .splide__arrow svg{fill:#b8d6c0}[data-bs-theme="dark"] .document-splide .splide__pagination__page{background:#718a78}[data-bs-theme="dark"] .document-splide .splide__pagination__page.is-active{background:#b8d6c0}
@media(max-width:1399.98px){.document-splide:not(.is-initialized) .splide__list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1199.98px){.document-splide:not(.is-initialized) .splide__list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:991.98px){.document-splide:not(.is-initialized) .splide__list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575.98px){.document-splide{padding:0 0 2.15rem}.document-splide:not(.is-initialized) .splide__list{display:flex;overflow:hidden}.document-splide:not(.is-initialized) .splide__slide{flex:0 0 100%}.document-splide .splide__track{padding:.25rem .15rem 1rem;touch-action:pan-y pinch-zoom}.document-splide .document-card{display:flex!important;width:100%!important;min-height:370px!important;border-radius:18px;grid-template-columns:none!important}.document-splide .document-preview{height:215px;min-height:215px}.document-splide .document-preview embed,.document-splide .document-preview iframe{display:block!important;width:100%;height:145%}.document-splide .document-preview:has(embed)::after,.document-splide .document-preview:has(iframe)::after{display:none!important}.document-splide .document-card-body{padding:.9rem}.document-splide .document-card-title{font-size:1rem}.document-splide .document-card-meta{font-size:.76rem;min-height:32px}.document-splide .document-card-actions{display:flex;padding-top:.8rem}.document-splide .splide__arrows{display:none}.document-splide .splide__pagination{bottom:.15rem}.document-splide .splide__pagination__page{width:10px;height:10px;margin:4px}.document-toolbar p{font-size:.8rem!important}}

/* Redaktion: Aufforderungen und Abmahnungen */
.admonition-reason-picker{display:grid;gap:.65rem;max-height:330px;overflow:auto;padding-right:.25rem}.admonition-check{display:flex;align-items:flex-start;gap:.75rem;padding:.8rem .9rem;border:1px solid var(--kgva-border);border-radius:14px;background:var(--kgva-surface);cursor:pointer;transition:.2s ease}.admonition-check:hover{border-color:var(--kgva-primary-2);transform:translateY(-1px)}.admonition-check input{margin-top:.25rem;width:1.05rem;height:1.05rem;flex:0 0 auto}.admonition-check span{display:grid;gap:.15rem}.admonition-check small{color:var(--kgva-muted)}.admonition-admin-list{display:grid;gap:.75rem}.admonition-admin-item{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;border:1px solid var(--kgva-border);border-radius:16px;background:var(--kgva-surface)}.admonition-admin-item p{margin:.35rem 0;color:var(--kgva-muted);font-size:.9rem}.admonition-admin-item small{color:var(--kgva-muted)}
[data-bs-theme="dark"] .admonition-check,[data-bs-theme="dark"] .admonition-admin-item{background:#151f18;color:#e5eee8}[data-bs-theme="dark"] .admonition-check:hover{background:#1b2920}[data-bs-theme="dark"] .badge.text-bg-light{background:#28362d!important;color:#dce7df!important}
@media(max-width:767.98px){#redaktionTabs{display:flex;width:max-content;min-width:100%}#redaktionTabs .nav-item{flex:0 0 auto}#redaktionTabs .nav-link{width:auto}.admonition-admin-item{flex-direction:column}.admonition-admin-item>div:last-child{width:100%}.admonition-admin-item .btn{flex:1}.admonition-reason-picker{max-height:none}.admonition-check{padding:.72rem}.admonition-check:hover{transform:none}}

/* KGVA 1.1.10: E-Mail-Versand fuer Aufforderungsschreiben */
.admonition-response .alert{margin:1rem 0!important}.admonition-response:empty{display:none}.admonition-response:not(:empty){display:block}.admonition-response+.d-flex{margin-top:1rem}.admonition-response a{font-weight:700}.admonition-email-hint{margin:.75rem 0;color:var(--kgva-muted);font-size:.82rem}
@media(max-width:575.98px){#admonitionEmailButton,#admonitionPreviewButton,#admonitionCreateButton{width:100%}.admonition-response .alert{margin:.85rem 0!important}}


/* KGVA 1.1.11: Aufforderungsformular – Abstaende und responsive Aktionen */
#admonition-create-pane .position-group{min-width:0}
.admonition-reason-picker{gap:.7rem;padding:.1rem .35rem .15rem 0;scrollbar-gutter:stable}
.admonition-check{width:100%;min-width:0;align-items:flex-start;gap:.7rem;padding:.78rem .85rem;line-height:1.35}
.admonition-check-input{appearance:auto!important;-webkit-appearance:checkbox!important;width:1.1rem!important;height:1.1rem!important;min-width:1.1rem;min-height:1.1rem;margin:.15rem 0 0!important;position:static!important;opacity:1!important}
.admonition-check-content{display:flex!important;flex:1 1 auto;min-width:0;flex-direction:column;gap:.18rem}
.admonition-check-title{display:block;font-size:.9rem;line-height:1.35;color:inherit;overflow-wrap:anywhere}
.admonition-check-meta{display:block;font-size:.78rem;line-height:1.4;color:var(--kgva-muted);overflow-wrap:anywhere}
.admonition-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--kgva-border)}
.admonition-actions-primary{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.65rem;margin-left:auto}
.admonition-actions .btn{margin:0!important;min-height:42px;display:inline-flex;align-items:center;justify-content:center;white-space:normal;text-align:center}
#admonitionCreateButton{padding-left:1.15rem;padding-right:1.15rem}
[data-bs-theme="dark"] .admonition-actions{border-top-color:#33463a}
[data-bs-theme="dark"] .admonition-check-title{color:#eef5f0}
@media(max-width:767.98px){.admonition-actions{align-items:stretch}.admonition-actions-primary{width:100%;margin-left:0}.admonition-actions-primary .btn{flex:1 1 220px}}
@media(max-width:575.98px){.admonition-check{padding:.72rem .75rem}.admonition-check-title{font-size:.88rem}.admonition-check-meta{font-size:.75rem}.admonition-actions,.admonition-actions-primary{display:grid;grid-template-columns:1fr;width:100%}.admonition-actions .btn{width:100%}}

/* KGVA 1.1.12: mobile Adresslisten und kompakte Adressbearbeitung */
@media(max-width:767.98px){
  .kgva-address-list-page{padding-left:.5rem!important;padding-right:.5rem!important;padding-top:.65rem!important}
  .kgva-address-list-page .page-hero{padding:.85rem .95rem;margin-bottom:.7rem;border-radius:16px}
  .kgva-address-list-page .page-hero h1{font-size:1.28rem;margin-bottom:.15rem}
  .kgva-address-list-page .page-hero p{font-size:.78rem;margin:0}
  .kgva-address-list-page .page-hero-icon{display:none}
  .kgva-address-list-page .address-tabs{gap:.4rem;padding:0 0 .6rem}
  .kgva-address-list-page .address-tabs .nav-link{min-height:38px;padding:.5rem .72rem;font-size:.84rem;gap:.35rem}
  .kgva-address-list-page .address-tabs .material-symbols-rounded{font-size:1rem}
  .kgva-address-list-page .address-tabs .badge{font-size:.68rem;padding:.3rem .45rem}
  .kgva-address-list-page .address-tab-pane>.card{margin-top:0!important;margin-bottom:.65rem!important;border-radius:14px!important}
  .kgva-address-list-page .card-body{padding:.45rem!important}
  .kgva-address-list-page .table-responsive{padding:.4rem!important;border:0!important;overflow:visible!important}
  .kgva-address-list-page .dataTables_wrapper{overflow:visible!important}
  .kgva-address-list-page .dt-buttons{display:flex;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:0;margin-bottom:.55rem;padding-bottom:.1rem}
  .kgva-address-list-page .dt-buttons .btn{flex:0 0 auto;min-height:38px;padding:.45rem .8rem;border-radius:0!important;font-size:.8rem}
  .kgva-address-list-page .dt-buttons .btn:first-child{border-radius:9px 0 0 9px!important}
  .kgva-address-list-page .dt-buttons .btn:last-child{border-radius:0 9px 9px 0!important}
  .kgva-address-list-page .dataTables_filter{margin:.25rem 0 .55rem!important}
  .kgva-address-list-page .dataTables_filter label{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.45rem;font-size:.8rem}
  .kgva-address-list-page .dataTables_filter input{width:100%!important;min-height:38px!important;margin:0!important;padding:.4rem .55rem!important}
  .kgva-address-list-page table.address-data-table{min-width:0!important;width:100%!important;font-size:.8rem}
  .kgva-address-list-page table.address-data-table thead th{padding:.5rem .45rem!important}
  .kgva-address-list-page table.address-data-table tbody td{padding:.45rem!important}
  .kgva-address-list-page table.address-data-table tbody td:first-child .d-flex.px-2.py-1{padding:.15rem 0!important}
  .kgva-address-list-page table.address-data-table tbody td:first-child h6{font-size:.86rem!important;line-height:1.2}
  .kgva-address-list-page table.address-data-table tbody td:first-child p{font-size:.72rem!important;line-height:1.25}
  .kgva-address-list-page table.address-data-table>tbody>tr.child>td{padding:0!important;background:#e7e8e7!important;border:0!important}
  .kgva-address-list-page table.address-data-table>tbody>tr.child ul.dtr-details{display:block!important;width:100%!important;margin:0!important;padding:.2rem .55rem .45rem!important}
  .kgva-address-list-page table.address-data-table>tbody>tr.child ul.dtr-details>li{display:grid!important;grid-template-columns:minmax(7rem,42%) minmax(0,1fr);align-items:start;gap:.55rem;width:100%;padding:.48rem 0!important;border-bottom:1px solid rgba(255,255,255,.68)!important}
  .kgva-address-list-page table.address-data-table>tbody>tr.child ul.dtr-details>li:last-child{border-bottom:0!important}
  .kgva-address-list-page table.address-data-table>tbody>tr.child span.dtr-title{display:block!important;min-width:0!important;font-weight:700;color:#68716c;line-height:1.3}
  .kgva-address-list-page table.address-data-table>tbody>tr.child span.dtr-data{display:block!important;min-width:0!important;width:auto!important;color:#65706a!important;text-align:right;line-height:1.3;overflow-wrap:anywhere;word-break:break-word}
  .kgva-address-list-page table.address-data-table>tbody>tr.child span.dtr-data>*{max-width:100%}
  .kgva-address-list-page table.address-data-table>tbody>tr.child span.dtr-data a{display:inline!important;width:auto!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important}
  [data-bs-theme="dark"] .kgva-address-list-page table.address-data-table>tbody>tr.child>td{background:#202b24!important}
  [data-bs-theme="dark"] .kgva-address-list-page table.address-data-table>tbody>tr.child ul.dtr-details>li{border-bottom-color:rgba(255,255,255,.09)!important}
  [data-bs-theme="dark"] .kgva-address-list-page table.address-data-table>tbody>tr.child span.dtr-title{color:#c4d0c8!important}
  [data-bs-theme="dark"] .kgva-address-list-page table.address-data-table>tbody>tr.child span.dtr-data{color:#e6eee8!important}

  .kgva-address-edit-page>.navbar+.container-fluid{padding:.35rem!important}
  .kgva-address-edit-page>.container-fluid{padding:.35rem!important}
  .kgva-address-edit-page .container-fluid.px-2.px-md-4{padding:0!important}
  .kgva-address-edit-page .page-header.min-height-300{min-height:105px!important;margin-top:.35rem!important;border-radius:14px!important}
  .kgva-address-edit-page .card.card-body.mx-2.mx-md-2.mt-n6{margin-left:.3rem!important;margin-right:.3rem!important;margin-top:-2rem!important;padding:.7rem!important;border-radius:15px!important}
  .kgva-address-edit-page .row.gx-4.mb-2{--bs-gutter-x:.55rem;margin-bottom:.4rem!important;align-items:center}
  .kgva-address-edit-page .avatar.avatar-xl{width:46px!important;height:46px!important}
  .kgva-address-edit-page .avatar .badge{font-size:.85rem!important;padding:.45rem .55rem!important}
  .kgva-address-edit-page h5{font-size:1rem;margin:0!important}
  .kgva-address-edit-page .col-lg-8.col-md-8.my-sm-auto{margin-top:.55rem!important;width:100%}
  .kgva-address-edit-page .nav-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:.15rem}
  .kgva-address-edit-page .nav-pills{display:flex!important;flex-wrap:nowrap!important;width:max-content;min-width:100%;padding:.25rem!important}
  .kgva-address-edit-page .nav-pills .nav-item{flex:0 0 auto}
  .kgva-address-edit-page .nav-pills .nav-link{min-width:88px;padding:.42rem .55rem!important;font-size:.75rem;white-space:nowrap}
  .kgva-address-edit-page .nav-pills .material-symbols-rounded{font-size:1rem!important}
  .kgva-address-edit-page .card-plain .card-body{padding:.55rem!important}
  .kgva-address-edit-page .row.g-1{--bs-gutter-x:.45rem;--bs-gutter-y:.4rem}
  .kgva-address-edit-page .form-label{font-size:.74rem;margin-bottom:.18rem}
  .kgva-address-edit-page .form-control,.kgva-address-edit-page .form-select{min-height:38px!important;padding:.42rem .55rem!important;font-size:.82rem;border-radius:9px!important}
  .kgva-address-edit-page textarea.form-control{min-height:80px!important}
  .kgva-address-edit-page .form-check{min-height:34px;margin-bottom:0}
  .kgva-address-edit-page .row.g-1.pt-4{padding-top:.75rem!important;gap:.5rem}
  .kgva-address-edit-page #jsResponse{width:100%}
  .kgva-address-edit-page #jsResponse+.col-2{width:100%;text-align:stretch!important}
  .kgva-address-edit-page #adresseSubmit{width:100%;min-height:40px}
  .kgva-address-edit-page .edit-area h4{font-size:1rem}
  .kgva-address-edit-page .table-responsive{border-radius:10px}
}


/* KGVA 1.1.13: einheitliche mobile Tabellen und Formularaktionen */
.dataTables_wrapper{max-width:100%;min-width:0}.dataTables_wrapper .row{max-width:100%;margin-left:0;margin-right:0}.dataTables_wrapper table.dataTable{width:100%!important;max-width:100%!important}.dataTables_wrapper .dt-buttons{display:flex;flex-wrap:wrap;gap:.35rem}.dataTables_wrapper .dt-buttons .btn{margin:0!important}.kgva-table-scroll{max-width:100%;-webkit-overflow-scrolling:touch}.profile-form-actions{margin-left:0!important;margin-right:0!important}.profile-form-actions .btn{margin:0!important}
.kgva-address-list-page .dataTables_wrapper{width:100%;overflow:visible!important}
.kgva-address-list-page .dataTables_wrapper .dt-buttons{display:inline-flex!important;flex-wrap:wrap!important;width:auto!important;max-width:100%;gap:.35rem!important;margin:0 0 .75rem!important}
.kgva-address-list-page .dataTables_wrapper .dt-buttons .btn{flex:0 0 auto!important;width:auto!important;min-width:auto!important;border-radius:10px!important;padding:.55rem .9rem!important}
.kgva-address-list-page .dataTables_wrapper .dataTables_filter{float:right!important;width:auto!important;margin:0 0 .75rem!important;text-align:right!important}
.kgva-address-list-page .dataTables_wrapper .dataTables_filter label{display:inline-flex!important;align-items:center;gap:.5rem;width:auto!important}
.kgva-address-list-page .dataTables_wrapper .dataTables_filter input{width:13rem!important;max-width:100%!important;margin-left:.35rem!important}
.kgva-address-list-page .table-responsive{max-width:100%;overflow-x:auto}
@media(max-width:767.98px){
  .main-content .card{max-width:100%}.main-content .card-body{min-width:0}
  .dataTables_wrapper{width:100%;overflow:visible!important;font-size:.82rem}
  .dataTables_wrapper .dt-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:.35rem;margin:0 0 .65rem!important}
  .dataTables_wrapper .dt-buttons .btn{width:100%;min-width:0;min-height:40px;padding:.45rem .55rem!important;border-radius:10px!important;font-size:.8rem!important}
  .dataTables_wrapper .dataTables_filter{float:none!important;width:100%!important;margin:.2rem 0 .65rem!important;text-align:left!important}
  .dataTables_wrapper .dataTables_filter label{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.45rem;width:100%;font-size:.8rem}
  .dataTables_wrapper .dataTables_filter input{width:100%!important;max-width:none!important;min-width:0!important;min-height:40px;margin:0!important;padding:.45rem .6rem!important}
  .dataTables_wrapper .dataTables_info{padding-top:.7rem!important;text-align:center;font-size:.78rem;white-space:normal}
  .dataTables_wrapper .dataTables_paginate{float:none!important;display:flex;justify-content:center;max-width:100%;overflow-x:auto;padding-top:.45rem!important}
  .dataTables_wrapper .pagination{flex-wrap:nowrap;margin:0}
  .dataTables_wrapper table.dataTable{min-width:0!important;table-layout:auto!important;margin:0!important}
  .dataTables_wrapper table.dataTable thead th,.dataTables_wrapper table.dataTable tbody td{max-width:100%;padding:.58rem .45rem!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
  .dataTables_wrapper table.dataTable thead th{font-size:.67rem!important;line-height:1.2}
  table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before{position:static!important;display:inline-flex!important;align-items:center;justify-content:center;margin-right:.4rem;width:1.2rem;height:1.2rem;box-shadow:none!important;border:0!important;border-radius:50%;background:var(--kgva-primary)!important;color:#fff!important;vertical-align:middle;line-height:1!important}
  table.dataTable>tbody>tr.child>td{padding:0!important;border:0!important;background:#eef1ef!important}
  table.dataTable>tbody>tr.child ul.dtr-details.kgva-mobile-details{display:block!important;width:100%!important;margin:0!important;padding:.25rem .65rem!important}
  table.dataTable>tbody>tr.child ul.dtr-details.kgva-mobile-details>li{display:grid!important;grid-template-columns:minmax(6.5rem,40%) minmax(0,1fr);gap:.55rem;align-items:start;width:100%;padding:.5rem 0!important;border-bottom:1px solid rgba(100,115,105,.16)!important}
  table.dataTable>tbody>tr.child ul.dtr-details.kgva-mobile-details>li:last-child{border-bottom:0!important}
  table.dataTable>tbody>tr.child .dtr-title{display:block!important;min-width:0!important;font-weight:700;color:#69756d;line-height:1.35}
  table.dataTable>tbody>tr.child .dtr-data{display:block!important;min-width:0!important;text-align:right;color:#3e4b43;line-height:1.35;overflow-wrap:anywhere}
  table.dataTable>tbody>tr.child .dtr-data .btn,table.dataTable>tbody>tr.child .dtr-data a{max-width:100%;white-space:normal}
  .kgva-table-scroll{overflow-x:auto!important;border-radius:12px}.kgva-table-scroll>table{min-width:560px}
  .profile-form-actions{padding-top:.75rem!important}.profile-form-actions>div{width:100%!important}.profile-form-actions .btn{display:flex;width:100%;min-height:42px;align-items:center;justify-content:center}
  form .row.justify-content-end>div[class*="col-2"],form .row.justify-content-end>div[class*="col-3"]{width:100%;max-width:100%}
  form .row.justify-content-end .btn[type="submit"],form .row.justify-content-end .btn[id*="Submit"],form .row.justify-content-end .btn[id*="submit"]{width:100%;margin-left:0!important;margin-right:0!important}
}
[data-bs-theme="dark"] table.dataTable>tbody>tr.child>td{background:#202b24!important}[data-bs-theme="dark"] table.dataTable>tbody>tr.child ul.dtr-details.kgva-mobile-details>li{border-bottom-color:rgba(255,255,255,.09)!important}[data-bs-theme="dark"] table.dataTable>tbody>tr.child .dtr-title{color:#bdc9c1!important}[data-bs-theme="dark"] table.dataTable>tbody>tr.child .dtr-data{color:#eef5f0!important}

/* 1.1.14: gezielte mobile DataTables statt automatischer Detailansicht */
@media (max-width: 767.98px) {
    table.dataTable.kgva-mobile-focus.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
    table.dataTable.kgva-mobile-focus.dtr-inline.collapsed > tbody > tr > th.dtr-control:before,
    table.dataTable.kgva-mobile-focus > tbody > tr > td.dtr-control:before,
    table.dataTable.kgva-mobile-focus > tbody > tr > th.dtr-control:before {
        display: none !important;
        content: none !important;
    }
    table.dataTable.kgva-mobile-focus {
        width: 100% !important;
        table-layout: auto !important;
    }
    table.dataTable.kgva-mobile-focus thead th,
    table.dataTable.kgva-mobile-focus tbody td {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere;
        vertical-align: middle;
    }
    table.dataTable.kgva-mobile-focus tbody td:first-child,
    table.dataTable.kgva-mobile-focus tbody td:nth-child(2) {
        min-width: 0;
    }
    table.dataTable.kgva-mobile-focus .kgva-mobile-action {
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        padding-left: .35rem !important;
        padding-right: .35rem !important;
        text-align: center !important;
    }
    table.dataTable.kgva-mobile-focus .kgva-mobile-action a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    .kgva-address-list-page table.dataTable.kgva-mobile-focus tbody td:first-child {
        width: auto !important;
    }
    .kgva-address-list-page table.dataTable.kgva-mobile-focus tbody td:first-child .d-flex.px-2.py-1 {
        padding: .35rem 0 !important;
    }
    .kgva-address-list-page table.dataTable.kgva-mobile-focus tbody td:first-child h6 {
        font-size: .92rem !important;
        line-height: 1.25;
    }
    .kgva-address-list-page table.dataTable.kgva-mobile-focus tbody td:first-child p {
        font-size: .75rem !important;
        line-height: 1.3;
    }
}


/* KGVA 1.1.15: mobile Tabellen je Seite auf Kernspalten reduzieren */
@media(max-width:767.98px){
  table.dataTable.kgva-mobile-focus{width:100%!important;table-layout:fixed!important}
  table.dataTable.kgva-mobile-focus thead th,table.dataTable.kgva-mobile-focus tbody td{overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important}
  table.dataTable.kgva-mobile-focus .kgva-mobile-action{width:46px!important;min-width:46px!important;max-width:46px!important;text-align:center!important}
  table.dataTable.kgva-mobile-focus .kgva-mobile-action a{display:inline-flex!important;width:38px;height:38px;align-items:center;justify-content:center}
  table.dataTable.kgva-mobile-focus th.dtr-control:before,table.dataTable.kgva-mobile-focus td.dtr-control:before{display:none!important;content:none!important}
  .kgva-address-list-page table.address-data-table tbody td:first-child{width:auto!important}
  .kgva-address-list-page table.address-data-table tbody td:first-child .d-flex{min-width:0}
  .kgva-address-list-page table.address-data-table tbody td:first-child .flex-column{min-width:0}
  .kgva-address-list-page table.address-data-table tbody td:first-child h6,.kgva-address-list-page table.address-data-table tbody td:first-child p{overflow-wrap:anywhere!important}
}
