@import url("fonts/fonts.css");
@import url("contact-form.css?v=20261112-initialen-mittig");
@import url("headings.css");
@import url("postbox-upload.css");
@import url("document-view.css?v=20261112-actions");
/* Identical header and signet geometry in the workspace and all modules. */
.topbar,.navbar.navbar-custom,.navbar.navbar-dark{--hju-nav-inset:max(24px,calc((100vw - 1560px)/2));background:#351b49!important;min-height:50px!important;padding-block:8px!important;border:0!important;overflow:visible;box-shadow:none!important;position:relative}
.topbar{padding-inline:var(--hju-nav-inset)!important;display:flex;align-items:center;column-gap:28px}
.navbar.navbar-custom,.navbar.navbar-dark{padding-inline:0!important}
.navbar>.container-fluid,.navbar>.container-xl{max-width:none!important;width:100%;margin:0!important;padding-inline:var(--hju-nav-inset)!important}
.topbar .brand,.navbar .navbar-brand{position:relative;display:inline-flex!important;align-items:center;flex:0 0 auto;min-height:34px;height:34px;box-sizing:border-box;padding:0 0 0 80px!important;margin:0 24px 0 0!important;gap:0;font-family:"Carlito",sans-serif;font-size:1.02rem!important;font-weight:600;letter-spacing:-.02em!important;line-height:1.25;color:#fff;text-decoration:none;overflow:visible;isolation:isolate}
.topbar .brand img,.navbar .navbar-brand img{position:absolute;left:0;top:-7px;display:block;width:68px!important;height:68px!important;box-sizing:border-box;padding:0!important;margin:0!important;background:transparent;border:0;border-radius:0;box-shadow:none!important;object-fit:contain;image-rendering:auto;transform:none;transform-origin:center;z-index:1}
.topbar nav a,.navbar .nav-link{font-family:"Carlito",sans-serif;font-size:.81rem!important;font-weight:400;line-height:1.5;padding:6px 12px!important;border-radius:5px;color:#e7dfea!important;text-decoration:none}
.topbar nav a:hover,.navbar .nav-link:hover{background:#ffffff15;color:#fff!important}
.topbar .account .button,.navbar .btn-logout{display:inline-flex;align-items:center;justify-content:center;min-height:32px;height:32px;padding:5px 12px;border:1px solid #ffffff35;background:#ffffff0b;color:#fff;border-radius:4px;font-size:.76rem;font-weight:400;line-height:1.4}
@media(max-width:991px){.topbar,.navbar.navbar-custom,.navbar.navbar-dark{--hju-nav-inset:16px}.navbar-collapse{padding-top:17px}}
@media(max-width:600px){.topbar .brand,.navbar .navbar-brand{font-size:.92rem!important;margin-right:0!important}.topbar{row-gap:17px}.topbar nav{padding-left:80px}}
@media print{.topbar,.navbar{display:none!important}}









/* Scope new chrome against legacy module CSS, without changing CRUD layouts. */
body{padding-bottom:40px!important}
.hju-legacy-navbar{z-index:30;margin-bottom:24px!important}
.hju-legacy-navbar .navbar-collapse{font-family:"Carlito",sans-serif}
.hju-legacy-navbar .navbar-toggler{padding:4px 9px!important;min-width:42px;height:34px;line-height:1;border:1px solid #ffffff50!important;background:transparent!important;box-shadow:none;color:white}
.hju-legacy-navbar .btn-logout{background:#ffffff0b!important;border:1px solid #ffffff35!important;color:#fff!important;border-radius:4px!important;box-shadow:none!important;font-family:"Carlito",sans-serif;white-space:nowrap}
.hju-legacy-navbar .btn-logout:hover{background:#ffffff20!important}
.hju-legacy-navbar .nav-link,.hju-legacy-navbar .navbar-brand{white-space:nowrap}
.hju-legacy-navbar .dropdown-menu{font-family:"Carlito",sans-serif;font-size:13px;box-shadow:0 8px 24px #351b491c;border:1px solid #e7dfec}
.hju-legacy-navbar .dropdown-item:hover{background:#f1eaf7;color:#5a2574}
.hju-legacy-footer{position:fixed;inset:auto 0 0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:2px 16px;flex-wrap:wrap;box-sizing:border-box;padding:3px max(24px,calc((100vw - 1560px)/2));border-top:1px solid #e9e3ee;background:#fff;color:#6f6477;font:400 11px/14px "Carlito",sans-serif}
.hju-legacy-footer a{color:#5a2574!important;text-decoration:none!important;font:inherit}
.hju-legacy-footer a:hover{text-decoration:underline!important}
.hju-legacy-fallback{display:block;min-height:50px;padding:14px 24px;background:#351b49;color:#fff!important;text-decoration:none;font:600 14px "Carlito",sans-serif}
@media(max-width:991px){.hju-legacy-navbar .navbar-collapse{padding-top:17px}.hju-legacy-footer{padding-inline:16px}}
@media(max-width:575px){.hju-legacy-footer{font-size:10.5px;line-height:13px;padding-block:2px;gap:2px 8px}.hju-legacy-navbar .navbar-brand{font-size:.9rem!important}}
@media print{body{padding-bottom:0!important}.hju-legacy-navbar,.hju-legacy-footer,[data-hju-navbar],[data-hju-footer]{display:none!important}}
/* Explicit chrome dimensions also override the standalone modules' global
   button rules and root font size. */
.hju-legacy-navbar .navbar-brand{font-size:16.32px!important}
.hju-legacy-navbar .nav-link{font-size:13px!important}
.hju-legacy-navbar .btn-logout{height:32px!important;min-height:32px!important;min-width:0;padding:5px 12px!important;font-size:12px!important;line-height:1.4!important}
.hju-legacy-navbar .navbar-toggler{height:34px!important;min-height:34px!important}
@media(min-width:992px){.hju-legacy-navbar .navbar-toggler{display:none!important}}
@media(max-width:991px){.hju-legacy-navbar .navbar-collapse:not(.show):not(.collapsing){display:none!important}.hju-legacy-navbar .navbar-toggler{display:inline-flex!important;align-items:center;justify-content:center}}
@media(max-width:575px){.hju-legacy-navbar .navbar-brand{font-size:14.4px!important}}
/* Dashboard already has its own py-4 content spacing below the logo. */
body.hju-legacy-dashboard .hju-legacy-navbar{margin-bottom:0!important}


/* Clear, consistently sized navbar vectors. */
.hju-legacy-navbar .nav-link>svg,.hju-legacy-navbar .btn-logout>svg,.hju-legacy-navbar .fleet-nav-logout>svg{width:18px!important;height:18px!important;flex:0 0 18px;display:inline-block;vertical-align:-4px;color:#fff;opacity:1}
.hju-legacy-navbar .nav-link>.fa,.hju-legacy-navbar .fleet-nav-logout>.fa{font-size:16px!important;line-height:18px;vertical-align:-1px;color:#fff;opacity:1}

/* Cyan hover and keyboard focus for navigation symbols. */
.hju-legacy-navbar a:hover>svg,.hju-legacy-navbar a:focus-visible>svg,.hju-legacy-navbar a:hover>.fa,.hju-legacy-navbar a:focus-visible>.fa{color:#36d6ff!important}
.hju-legacy-navbar .hju-dashboard-icon{width:18px!important;height:18px!important;display:inline-block;flex-shrink:0;vertical-align:-4px}

/* Form actions follow Warteliste / Kürzungen; ticket and status controls are excluded. */
body :is(form,.xcrud-top-actions,.modal-footer) .btn:not(.btn-link):not(.btn-close){border-radius:6px!important;font-family:"Carlito",sans-serif;font-size:13px;font-weight:600;line-height:1.5;box-shadow:none;transition:background-color .12s,border-color .12s,color .12s}
body :is(form,.xcrud-top-actions,.modal-footer) :is(.btn-primary,[data-task="save"]){background:#1a9dd9!important;border:1px solid #1a9dd9!important;color:#fff!important;font-weight:700}
body :is(form,.xcrud-top-actions,.modal-footer) :is(.btn-primary,[data-task="save"]):is(:hover,:focus-visible):not(:disabled):not(.disabled){background:#1583b6!important;border-color:#1583b6!important;color:#fff!important}
body :is(form,.xcrud-top-actions,.modal-footer) :is(.btn-secondary,.btn-light,.btn-default,.btn-outline-primary,.btn-outline-secondary,.btn-outline-light,[data-task="list"]):not([data-task="save"]){background:#fff!important;border:1px solid #5a2574!important;color:#5a2574!important}
body :is(form,.xcrud-top-actions,.modal-footer) :is(.btn-secondary,.btn-light,.btn-default,.btn-outline-primary,.btn-outline-secondary,.btn-outline-light,[data-task="list"]):not([data-task="save"]):is(:hover,:focus-visible):not(:disabled):not(.disabled){background:#43195a!important;border-color:#43195a!important;color:#fff!important}
body :is(form,.xcrud-top-actions,.modal-footer) .btn-danger{background:#b42318!important;border-color:#b42318!important;color:#fff!important}
body :is(form,.xcrud-top-actions,.modal-footer) .btn-outline-danger{background:#fff!important;border-color:#b42318!important;color:#b42318!important}
body :is(form,.xcrud-top-actions,.modal-footer) :is(.btn-danger,.btn-outline-danger):is(:hover,:focus-visible):not(:disabled):not(.disabled){background:#921c13!important;border-color:#921c13!important;color:#fff!important}
body :is(form,.xcrud-top-actions,.modal-footer) .btn:focus-visible{outline:2px solid #1a9dd9!important;outline-offset:2px}
body :is(form,.xcrud-top-actions,.modal-footer) .btn:is(:disabled,.disabled){opacity:.45;box-shadow:none;cursor:not-allowed}

body :is(form,.xcrud-top-actions,.modal-footer) .btn:not(.btn-sm):not(.btn-close):not(.btn-link){padding:7px 14px}
body :is(form,.xcrud-top-actions,.modal-footer) .btn.btn-sm{padding:4px 10px}

/* Dashboard search is outside the form; camera/map links are actions, not status badges. */
body #btnPersonSearch{background:#1a9dd9!important;border:1px solid #1a9dd9!important;color:#fff!important;border-radius:6px!important;padding:7px 14px;font-size:13px;font-weight:700;line-height:1.5;box-shadow:none}
body #btnPersonSearch:is(:hover,:focus-visible):not(:disabled){background:#1583b6!important;border-color:#1583b6!important}
body #personSearch{border:1px solid #cfe6f3!important;border-radius:6px!important;background:#fff;color:#3a3f44;font-size:13px;min-height:35.5px;box-shadow:none}
body #personSearch:focus{border-color:#1a9dd9!important;outline:0;box-shadow:0 0 0 3px #1a9dd926!important}
body a.badge:is([title="Live-Kamera öffnen"],[title="Livetracking für den Bereich"]){display:inline-flex;align-items:center;justify-content:center;background:#5a2574!important;border:1px solid #5a2574!important;color:#fff!important;border-radius:6px!important;text-decoration:none!important;box-shadow:none}
body a.badge:is([title="Live-Kamera öffnen"],[title="Livetracking für den Bereich"]):is(:hover,:focus-visible){background:#43195a!important;border-color:#43195a!important;color:#fff!important}
body :is(#btnPersonSearch,a.badge[title="Live-Kamera öffnen"],a.badge[title="Livetracking für den Bereich"]):focus-visible{outline:2px solid #1a9dd9!important;outline-offset:2px}
body #btnPersonSearch:disabled{opacity:.45;cursor:not-allowed}

/* Cyan page navigation, consistent with Diakonie primary actions. */
body .pagination{--bs-pagination-color:#0f6a94;--bs-pagination-border-color:#cfe6f3;--bs-pagination-hover-color:#0f6a94;--bs-pagination-hover-bg:#eef6fb;--bs-pagination-hover-border-color:#1a9dd9;--bs-pagination-active-bg:#1a9dd9;--bs-pagination-active-border-color:#1a9dd9;--bs-pagination-active-color:#fff;--bs-pagination-focus-color:#0f6a94;--bs-pagination-focus-bg:#eef6fb;--bs-pagination-focus-box-shadow:0 0 0 3px #1a9dd926}
body .pagination .page-link{color:#0f6a94!important;background:#fff;border-color:#cfe6f3!important}
body .pagination .page-link:is(:hover,:focus-visible){color:#0f6a94!important;background:#eef6fb!important;border-color:#1a9dd9!important}
body .pagination :is(.active>.page-link,.page-link.active,[aria-current="page"]){background:#1a9dd9!important;border-color:#1a9dd9!important;color:#fff!important}
body .pagination .disabled>.page-link{background:#f6f8fa!important;color:#7a8790!important;border-color:#e1e6ea!important;pointer-events:none}
body .pagination .page-link:focus-visible{outline:2px solid #1a9dd9;outline-offset:2px}

/* One locally hosted text family; icon fonts keep their own font-family. */
:root{--bs-body-font-family:"Carlito",sans-serif;--bs-font-sans-serif:"Carlito",sans-serif}
body,body :is(button,input,select,textarea,.btn,.navbar-brand,.nav-link,.dropdown-menu,.xcrud,.hju-legacy-footer){font-family:"Carlito",sans-serif!important}

/* Approved compact table style, scoped to XCRUD list views. */
body .xcrud .xcrud-list-container{background:#fff;border:1px solid #cfe6f3;border-radius:9px;padding:0 0 10px;overflow-x:auto}
body .xcrud table.xcrud-list{width:100%;margin-bottom:0;border-collapse:collapse;border:0;--bs-table-striped-bg:#fbfdfe;--bs-table-hover-bg:#f1eaf7}
body .xcrud table.xcrud-list>thead>tr>th{background:#eef6fb!important;color:#5a2574!important;border:0!important;border-bottom:1px solid #bcdcec!important;padding:9px 10px!important;font-size:13px!important;font-weight:700;vertical-align:top;white-space:nowrap;box-shadow:none!important}
body .xcrud table.xcrud-list>thead>tr>th a{color:inherit!important;text-decoration:none}
body .xcrud table.xcrud-list>tbody>tr>td{background:transparent!important;border:0!important;border-bottom:1px solid #e3edf4!important;padding:5px 10px!important;font-size:14px!important;line-height:1.4!important;vertical-align:top!important;box-shadow:none!important}
body .xcrud table.xcrud-list>tbody>tr:nth-child(even){background:#fbfdfe}
body .xcrud table.xcrud-list>tbody>tr:hover{background:#f1eaf7!important}
body .xcrud table.xcrud-list>tbody>tr:hover>td{border-bottom-color:#e4d6ed!important}
body .xcrud table.xcrud-list>thead .xcrud-actions{font-size:0!important;color:transparent!important}
body .xcrud table.xcrud-list .xcrud-actions{width:1%;white-space:nowrap}
body .xcrud table.xcrud-list td.xcrud-actions :is(.btn,.xcrud-button):not(.hju-ticket):not([data-task="new_ticket"]):not([data-task="open_tickets"]):not([id^="nti"]):not([id^="oti"]){display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;min-height:27px;padding:4px!important;margin:0 2px!important;border:1px solid #5a2574!important;border-radius:5px!important;background:#5a2574!important;color:#fff!important;box-shadow:none!important}
body .xcrud table.xcrud-list td.xcrud-actions :is(.btn,.xcrud-button):not(.hju-ticket):not([data-task="new_ticket"]):not([data-task="open_tickets"]):is(:hover,:focus-visible){background:#43195a!important;border-color:#43195a!important;color:#fff!important}
body .xcrud .xcrud-top-actions .btn-group{display:inline-flex;gap:6px;flex-wrap:wrap}
body .xcrud .xcrud-top-actions .btn{border-radius:6px!important;white-space:nowrap}
body .xcrud .xcrud-nav{gap:8px;align-items:center;flex-wrap:wrap;font-size:13px}
body .xcrud .xcrud-searchdata{border:1px solid #c3dced!important;border-radius:6px!important;background:#fff;color:#3a3f44;font-size:14px;min-height:34px}
body .xcrud .xcrud-searchdata:focus{border-color:#1a9dd9!important;box-shadow:0 0 0 3px #1a9dd926!important}
body .xcrud .pagination{margin-block:8px 0;flex-wrap:wrap;gap:3px}
body .xcrud .pagination .page-link{border-radius:5px!important;font-size:13px;padding:5px 10px}
body .xcrud :is(.xcrud-limit,.xcrud-limit .btn){font-size:13px}
/* Ticket counts intentionally keep their own colors and compact dimensions. */
body .hju-ticket-group{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;vertical-align:top}
body .hju-ticket-group .hju-ticket{display:inline-flex!important;align-items:center;justify-content:center;gap:3px;min-width:36px;height:23px;min-height:23px;padding:3px 5px!important;margin:0!important;border:0!important;border-radius:5px!important;font:700 12px/1 "Carlito",sans-serif!important;font-variant-numeric:tabular-nums;text-decoration:none!important;color:#fff!important;box-shadow:none!important}
body .hju-ticket-group .hju-ticket-total{background:#198754!important}
body .hju-ticket-group .hju-ticket-open{background:#dc3545!important}
body .hju-ticket-group .hju-ticket-new{background:#6c757d!important;min-width:23px;width:23px;padding:3px!important;font-size:16px!important}
body .hju-ticket-group .hju-ticket>svg{display:inline-block!important;flex:0 0 13px;width:13px!important;height:11px!important;max-width:13px!important;margin:0!important}
body .hju-ticket-group a.hju-ticket:hover{filter:brightness(.9)}
body .hju-ticket-group .hju-ticket:focus-visible{outline:2px solid #1a9dd9;outline-offset:2px}
@media(max-width:575px){body .xcrud .xcrud-list-container{padding-inline:0}body .xcrud table.xcrud-list>tbody>tr>td{padding-inline:7px!important}}
@media print{body .xcrud .xcrud-list-container{border:0;overflow:visible}body .xcrud table.xcrud-list .xcrud-actions{display:none}body .xcrud table.xcrud-list>tbody>tr{background:#fff!important}}

body .xcrud .xcrud-limit-buttons>button[data-limit]{display:none!important}
body .xcrud .hju-limit-label{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:400;margin:0;color:#687a86;white-space:nowrap}
body .xcrud .hju-limit-choice{appearance:auto;display:inline-block;width:auto;min-width:64px;height:32px;padding:4px 8px;border:1px solid #c3dced;border-radius:6px;background:#fff;color:#3a3f44;font-size:13px}
body .xcrud .hju-limit-choice:focus-visible{outline:2px solid #1a9dd9;outline-offset:2px}
body .xcrud .xcrud-search .btn-primary{background:#1a9dd9!important;border-color:#1a9dd9!important;color:#fff!important;border-radius:6px!important}
body .xcrud .xcrud-search .btn-primary:hover{background:#1583b6!important;border-color:#1583b6!important}
body .xcrud .xcrud-search select{border:1px solid #c3dced!important;border-radius:6px!important}

/* Flush table head: the rounded outer frame clips the blue header at both corners. */
body .xcrud .xcrud-list-container>table.xcrud-list{margin-inline:0!important;border:0!important}
body .xcrud table.xcrud-list>thead>tr{border:0!important}

/* Readable Carlito sizing, while retaining compact rows and the narrow shell. */
body{font-size:16px}
body .xcrud{font-size:15px!important}
body .xcrud table.xcrud-list>thead>tr>th{font-size:14px!important}
body .xcrud table.xcrud-list>tbody>tr>td{font-size:15px!important}
body .xcrud :is(.xcrud-nav,.xcrud-searchdata,.xcrud-search select,.xcrud-search input,.hju-limit-label,.hju-limit-choice,.pagination .page-link){font-size:14px!important}
body .xcrud :is(.xcrud-top-actions,.xcrud-search,.xcrud-view,.xcrud-details) .btn{font-size:14px!important}
body :is(form,.modal-footer) :is(label,.form-control,.form-select){font-size:15px}
body :is(form,.modal-footer) .btn:not(.btn-close):not(.btn-link){font-size:14px}
body :is(#personSearch,#btnPersonSearch){font-size:15px}
/* Navigation/add/return actions from the original XCRUD templates.
   Restrict to controls outside table rows: green ticket/status actions stay intact. */
body .xcrud .btn-success:not(table *),
body form button[name="filter_value"][value="reset"]{
 display:inline-flex;align-items:center;justify-content:center;gap:6px;
 background:#5a2574!important;border:1px solid #5a2574!important;color:#fff!important;
 border-radius:6px!important;padding:7px 13px!important;font-size:14px!important;
 font-weight:700;line-height:1.4;text-decoration:none;white-space:nowrap;box-shadow:none!important;
 transition:background-color .12s,border-color .12s;
}
body .xcrud .btn-success:not(table *):is(:hover,:focus-visible),
body form button[name="filter_value"][value="reset"]:is(:hover,:focus-visible){background:#43195a!important;border-color:#43195a!important;color:#fff!important}
body .xcrud .btn-success:not(table *):focus-visible,
body form button[name="filter_value"][value="reset"]:focus-visible{outline:2px solid #1a9dd9;outline-offset:2px}
body .xcrud .btn-success:not(table *):is(:disabled,.disabled){opacity:.45;pointer-events:none}
