
/*
 * Copyright (c) 2026 Lernen Leben Retten. Alle Rechte vorbehalten.
 */
.admin-delete-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid var(--line)}.admin-delete-row:last-child{border-bottom:0}.admin-delete-row>div{min-width:0;overflow-wrap:anywhere}.admin-delete-row .hint{margin:5px 0 0;font-size:12px}.delete-target{padding:16px 18px;background:var(--green-soft);border-radius:12px;margin-bottom:18px}.delete-target h3{margin:6px 0 0}.delete-scope{list-style:none;padding:0;margin:12px 0 20px;max-height:180px;overflow:auto}.delete-scope li{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:7px 0;font-size:13px}.component-actions{justify-content:flex-end}.component-history{border-top:1px solid var(--line);padding-top:15px;margin-top:10px}.component-history summary{cursor:pointer;font-size:13px;font-weight:650}.admin-device-delete{margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}.mpb-document-cover{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;margin-bottom:18px;box-shadow:var(--shadow)}.mpb-letterhead{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:24px}.mpb-letterhead img{width:155px;height:75px;object-fit:contain}.mpb-letterhead .eyebrow{text-align:right;max-width:230px}.mpb-cover-title{display:flex;align-items:center;justify-content:space-between;gap:22px}.mpb-cover-title h2{font-size:29px;line-height:1.2;margin:10px 0}.mpb-cover-title p{font-size:14px;color:var(--muted)}.mpb-cover-facts{display:grid;grid-template-columns:1.2fr 1.5fr .6fr;gap:20px;background:#f4f7f0;border-radius:12px;margin-top:25px;padding:18px 20px}.mpb-cover-facts span,.mpb-cover-facts strong{display:block;font-size:13px;overflow-wrap:anywhere}.mpb-cover-facts span{font-size:11px;color:var(--muted);margin-bottom:5px}.mpb-profile-details{margin-bottom:20px}.mpb-profile-details>summary{cursor:pointer;font-size:14px;font-weight:650;color:var(--ink);padding:18px 24px}.mpb-profile-details .mpb-summary{box-shadow:none;border:0;margin:0}.mpb-records{display:grid;gap:22px}.mpb-record{overflow:hidden}.mpb-record-head{display:flex;align-items:flex-start;gap:15px;padding:23px 25px;background:#f6f9f3;border-bottom:1px solid var(--line)}.mpb-record-head>div{flex:1;min-width:0}.mpb-record-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:12px;background:#e8efe2;color:var(--green)}.mpb-record-head h3{font-size:19px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}.mpb-record-head p{font-size:12px;color:var(--muted)}.mpb-record-body{padding:25px}.mpb-record-facts{margin:0;display:grid;gap:0}.mpb-record-facts>div{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,2.4fr);gap:22px;border-bottom:1px solid var(--line);padding:14px 0}.mpb-record-facts>div:first-child{padding-top:0}.mpb-record-facts dt{font-size:12px;color:var(--muted);font-weight:650}.mpb-record-facts dd{margin:0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}.mpb-legacy-body{white-space:pre-wrap;line-height:1.85;font-size:14px}.mpb-evidence{padding:17px;background:var(--green-soft);border-radius:12px;margin-top:20px}.mpb-evidence h4{margin-bottom:12px;font-size:13px}.mpb-evidence .button{margin:4px 5px 4px 0;white-space:normal}.mpb-signatures{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:22px}.mpb-signatures:empty{display:none}.signature-card{border:1px solid var(--line);border-radius:12px;padding:18px;background:#fafcf8}.signature-card strong{font-size:14px;display:block}.signature-card>p{font-size:12px;color:var(--muted);margin:4px 0 10px}.signature-paper{background:#fff;border:1px solid #e1e5dd;border-radius:8px;margin:12px 0;padding:8px}.signature-paper img,.signature-box img{background:#fff;object-fit:contain;max-width:100%;width:260px;height:90px;mix-blend-mode:normal}.mpb-record-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 25px;border-top:1px solid var(--line);background:#fcfdfb;flex-wrap:wrap}.mpb-record-footer>small{font-size:12px;color:var(--muted)}.participant-list{margin-top:22px}.participant-list h3{font-size:15px;margin-bottom:12px}.signature-canvas{background:#fff!important}.mpb-profile-details .mpb-summary h2{font-size:19px}
@media(max-width:750px){.admin-delete-row{align-items:flex-start;flex-wrap:wrap;gap:10px}.admin-delete-row>.button{margin-left:auto}.component-actions{justify-content:flex-start}.component{flex-wrap:wrap}.mpb-document-cover{padding:20px}.mpb-letterhead{align-items:flex-start;gap:15px}.mpb-letterhead img{width:120px;height:65px}.mpb-letterhead .eyebrow{font-size:8px;max-width:130px;padding-top:15px}.mpb-cover-title{align-items:flex-start;flex-direction:column}.mpb-cover-title h2{font-size:25px}.mpb-cover-title>.button{width:100%}.mpb-cover-facts{grid-template-columns:1fr;gap:14px;padding:17px}.mpb-profile-details>summary{padding:17px 20px;line-height:1.6}.mpb-record-head{padding:20px;flex-wrap:wrap}.mpb-record-head>.badge{margin-left:55px}.mpb-record-body{padding:20px}.mpb-record-facts>div{grid-template-columns:1fr;gap:6px;padding:15px 0}.mpb-record-footer{padding:17px 20px}.mpb-record-head h3{font-size:17px}.mpb-record-icon{width:36px;height:36px}.mpb-signatures{grid-template-columns:minmax(0,1fr)}}
@media print{.admin-device-delete,.mpb-record-footer .actions{display:none!important}.mpb-document-cover,.mpb-record{break-inside:avoid}.mpb-record-body{padding:18px}.mpb-document-cover{border-radius:0;box-shadow:none}.mpb-letterhead img{width:150px}.mpb-record-head{background:#f4f7f0}.signature-paper{background:#fff!important}}

.admin-delete-modal .delete-target{padding:11px 15px;margin-bottom:12px}.admin-delete-modal .delete-target .hint{margin:3px 0 0}.admin-delete-modal .delete-target h3{margin:5px 0 0}.admin-delete-modal .delete-scope{margin:7px 0 12px;max-height:130px}.admin-delete-modal .delete-scope li{padding:5px 0}.admin-delete-modal .notice{padding:10px 13px;font-size:12px;margin:12px 0}.admin-delete-modal textarea{min-height:66px!important;height:66px}.admin-delete-modal .modal-content{padding:20px 24px}.admin-delete-modal .modal-footer{bottom:-20px;padding-block:12px}.admin-delete-modal label{margin-bottom:12px!important}

.participant-list .data-table{min-width:560px}.participant-list .data-table td{overflow-wrap:normal;word-break:normal}.participant-list .data-table th,.participant-list .data-table td{padding:13px 16px;min-width:140px}.participant-list .data-table td:first-child{min-width:160px}@media print{.participant-list .data-table{min-width:0;width:100%}}

.mpb-entry-delete{display:flex;align-items:center}.mpb-stk-actions{white-space:nowrap}@media(max-width:750px){.mpb-entry-delete{margin-left:auto}}@media print{.mpb-entry-delete,.mpb-stk-actions{display:none!important}}

/* Individual people in commissioning and training records. */
.mpb-participant-editor h3{margin:0 0 8px;font-size:17px}.mpb-participant-row{border:1px solid var(--line);border-radius:12px;padding:16px;margin:14px 0;background:#fafcf8;min-width:0}.mpb-participant-row legend{font-weight:650;padding:0 6px}.mpb-participant-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mpb-participant-inputs>label:first-child{grid-column:1/-1}.mpb-participant-row>[data-mpb-person-remove]{justify-self:end}.mpb-participant-inputs input{width:100%;min-width:0}@media(max-width:560px){.mpb-participant-inputs{grid-template-columns:minmax(0,1fr)}}
