.bbvk-wrap{
    width:100%;
    max-width:100%!important;
    margin:0;
    padding:clamp(1rem,2.2vw,1.75rem);
    border:1px solid #ddd;
    border-radius:14px;
    background:#fff;
    box-sizing:border-box;
}
.bbvk-wrap *{box-sizing:border-box}
.bbvk-module{width:100%;max-width:100%!important}
.bbvk-wrap h1,.bbvk-wrap h3{margin-top:0;line-height:1.2}
.bbvk-hint{opacity:.8}
.bbvk-form{width:100%;max-width:100%}
.bbvk-form label{display:block;font-weight:600;margin:.75rem 0 .3rem;line-height:1.35}
.bbvk-form input[type=text],.bbvk-form input[type=email],.bbvk-form input[type=date],.bbvk-form input[type=number],.bbvk-form textarea,.bbvk-form select{
    width:100%;
    max-width:100%;
    min-height:44px;
    box-sizing:border-box;
    border:1px solid #bbb;
    border-radius:8px;
    padding:.72rem .8rem;
    font-size:1rem;
    line-height:1.35;
}
.bbvk-form textarea{min-height:120px;resize:vertical}
.bbvk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start;width:100%}
.bbvk-fieldset{border:1px solid #ddd;border-radius:10px;padding:1rem;margin:1rem 0;min-width:0}
.bbvk-fieldset legend{font-weight:700;padding:0 .35rem}
.bbvk-radio{font-weight:400!important;display:block;margin:.45rem 0!important}
.bbvk-radio input{margin-right:.35rem}
.bbvk-privacy{margin:1rem 0;padding:.85rem 1rem;background:#f7f7f7;border-radius:10px;line-height:1.45}
.bbvk-privacy label{margin:0;font-weight:500}
.bbvk-button{border:0;border-radius:10px;padding:.9rem 1.25rem;min-height:46px;font-weight:700;background:#1d4ed8;color:#fff;cursor:pointer;font-size:1rem}
.bbvk-button:focus,.bbvk-form input:focus,.bbvk-form textarea:focus{outline:2px solid rgba(29,78,216,.35);outline-offset:2px}
.bbvk-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.bbvk-admin-filter{display:flex;gap:.5rem;align-items:center;margin:0 0 1rem;flex-wrap:wrap}
.bbvk-inline-form textarea,.bbvk-inline-form input[type=text]{width:100%;min-width:160px;box-sizing:border-box}
.bbvk-table small{opacity:.8}
.bbvk-admin form{margin:.25rem 0}
.bbvk-processor{display:inline-block;margin:0 0 1rem 0;padding:.45rem .7rem;border-radius:.5rem;background:rgba(0,0,0,.05);font-weight:600;line-height:1.35}
.bbvk-notice{margin:1rem 0;padding:.85rem 1rem;border-left:4px solid #1d4ed8;background:#eef4ff;border-radius:10px;line-height:1.45}
.bbvk-security-block{margin:1rem 0}
.bbvk-security-hint{display:block;margin:.25rem 0 .45rem;opacity:.78;line-height:1.4}
@media(max-width:700px){
    .bbvk-grid{grid-template-columns:1fr;gap:.65rem}
    .bbvk-wrap{padding:.95rem;border-radius:10px}
    .bbvk-wrap h1{font-size:1.45rem}
    .bbvk-wrap h3{font-size:1.25rem}
    .bbvk-form label{margin:.65rem 0 .25rem}
    .bbvk-fieldset{padding:.85rem;margin:.85rem 0}
    .bbvk-privacy{padding:.8rem;margin:.85rem 0}
    .bbvk-privacy label{display:flex;gap:.55rem;align-items:flex-start}
    .bbvk-privacy input[type=checkbox]{margin-top:.22rem;flex:0 0 auto}
    .bbvk-button{width:100%;padding:1rem 1.1rem}
    .bbvk-admin{overflow-x:auto}
}
@media(max-width:420px){
    .bbvk-wrap{padding:.8rem;border-radius:8px}
    .bbvk-form input[type=text],.bbvk-form input[type=email],.bbvk-form input[type=date],.bbvk-form input[type=number],.bbvk-form textarea,.bbvk-form select{padding:.68rem .72rem}
    .bbvk-notice{padding:.75rem .85rem}
}


.bbvk-fixed-date-entry{
    display:grid;
    grid-template-columns:minmax(180px,.45fr) minmax(0,1fr);
    gap:.65rem 1rem;
    align-items:center;
    margin-bottom:.85rem;
}
.bbvk-fixed-date-entry label{
    margin:0!important;
    font-weight:800;
    color:#0f172a;
}
.bbvk-fixed-date-entry input[readonly]{
    width:100%;
    border:1px solid #93c5fd;
    background:#ffffff;
    color:#0f172a;
    font-weight:800;
    font-size:1.08rem;
    border-radius:10px;
    padding:.75rem .85rem;
    min-height:46px;
}
@media(max-width:700px){
    .bbvk-fixed-date-entry{grid-template-columns:1fr;gap:.35rem}
}

.bbvk-fixed-date {
    padding: 14px 16px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    border-radius: 12px;
    color: #1e3a8a;
    line-height: 1.5;
}
.bbvk-fixed-date strong {
    display: block;
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 4px;
}
.bbvk-fixed-date p {
    margin: 0;
}

.bbvk-deadline-notice {
    margin-top: .75rem;
    padding: .75rem .9rem;
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
    color: #7c2d12;
    border-radius: .5rem;
    line-height: 1.45;
}

.bbvk-deadline-expired {
    margin-top: .75rem;
    padding: .85rem 1rem;
    border-left: 4px solid #dc2626;
    background: #fef2f2;
    color: #7f1d1d;
    border-radius: .5rem;
    line-height: 1.45;
    font-weight: 650;
}


.bbvk-result-card {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(1.6rem, 4vw, 2.6rem);
    text-align: center;
    border: 1px solid #c7d2fe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .10);
}
.bbvk-result-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(22, 163, 74, .22);
}
.bbvk-result-card--warning .bbvk-result-icon {
    background: #f59e0b;
    box-shadow: 0 10px 24px rgba(245, 158, 11, .22);
}
.bbvk-result-card h1 {
    margin: 0 0 .75rem;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    line-height: 1.2;
    color: #0f172a;
}
.bbvk-result-lead {
    max-width: 620px;
    margin: 0 auto .85rem;
    font-size: 1.08rem;
    line-height: 1.55;
    color: #334155;
}
.bbvk-result-spam {
    max-width: 620px;
    margin: .85rem auto 1.4rem;
    padding: .9rem 1rem;
    border-radius: 12px;
    background: #f1f5f9;
    color: #334155;
    line-height: 1.45;
}
.bbvk-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: .35rem;
}
.bbvk-home-button:hover,
.bbvk-home-button:focus {
    color: #fff;
    text-decoration: none;
}
@media(max-width:700px){
    .bbvk-result-card{padding:1.35rem 1rem;border-radius:14px}
    .bbvk-result-icon{width:62px;height:62px;font-size:2rem}
    .bbvk-home-button{width:100%}
}

.bbvk-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.2rem;
    align-items: center;
    margin: 1rem 0;
}
.bbvk-admin-actions form {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    margin: 0;
}
.bbvk-admin-actions small {
    color: #64748b;
}

/* v1.0.16 – einfache, scrollarme Backend-Ansicht */
.bbvk-admin-simple{
    max-width:1200px;
    margin:0 auto;
    overflow-x:hidden;
}
.bbvk-admin-hero{
    display:flex;
    justify-content:space-between;
    gap:1rem;
    align-items:stretch;
    padding:1.25rem;
    border-radius:18px;
    background:linear-gradient(135deg,#0f172a,#1e3a8a);
    color:#fff;
    box-shadow:0 16px 40px rgba(15,23,42,.16);
    margin-bottom:1rem;
}
.bbvk-admin-hero h1{margin:.15rem 0 .35rem;font-size:clamp(1.45rem,2.5vw,2.1rem);line-height:1.15;color:#fff}
.bbvk-admin-hero p{margin:0;opacity:.88;line-height:1.45}
.bbvk-admin-kicker{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;font-weight:800;opacity:.75!important}
.bbvk-admin-hero-count{min-width:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.24);border-radius:16px;background:rgba(255,255,255,.11);padding:1rem;text-align:center}
.bbvk-admin-hero-count strong{font-size:2.2rem;line-height:1;color:#fff}
.bbvk-admin-hero-count span{font-size:.88rem;opacity:.85;margin-top:.25rem}
.bbvk-status-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin:1rem 0}
.bbvk-status-summary span{display:flex;align-items:center;gap:.55rem;padding:.85rem 1rem;border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.05);font-weight:700;color:#334155}
.bbvk-status-summary strong{display:inline-flex;align-items:center;justify-content:center;min-width:2.15rem;height:2.15rem;border-radius:999px;background:#eef2ff;color:#1e3a8a;font-size:1.05rem}
.bbvk-filter-simple{padding:.9rem 1rem;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px}
.bbvk-filter-simple label{font-weight:800;margin-right:.25rem}
.bbvk-filter-simple select{min-height:42px;border-radius:10px;border:1px solid #cbd5e1;padding:.4rem .7rem;min-width:220px}
.bbvk-admin-advanced{margin:1rem 0;border:1px dashed #cbd5e1;border-radius:14px;background:#fff}
.bbvk-admin-advanced summary{cursor:pointer;font-weight:800;padding:.9rem 1rem;color:#334155}
.bbvk-admin-advanced .bbvk-admin-actions{padding:0 1rem 1rem}
.bbvk-empty-state{padding:2rem;text-align:center;border:1px solid #e5e7eb;border-radius:16px;background:#fff;color:#64748b;font-weight:700}
.bbvk-card-list{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:1rem}
.bbvk-case-card{border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.07);overflow:hidden}
.bbvk-case-card--test{border-color:#facc15;background:linear-gradient(180deg,#fff,#fffbeb)}
.bbvk-print-content{padding:1.1rem 1.1rem .75rem}
.bbvk-case-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;border-bottom:1px solid #e5e7eb;padding-bottom:1rem;margin-bottom:1rem}
.bbvk-case-head h2{margin:.5rem 0 .2rem;font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.15;color:#0f172a}
.bbvk-case-head p{margin:0;color:#64748b;font-weight:600}
.bbvk-status-badge,.bbvk-test-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.35rem .65rem;font-size:.82rem;font-weight:800;line-height:1;white-space:nowrap}
.bbvk-status--new{background:#dbeafe;color:#1e40af}
.bbvk-status--work{background:#fef3c7;color:#92400e}
.bbvk-status--confirmed{background:#dcfce7;color:#166534}
.bbvk-status--done{background:#e0e7ff;color:#3730a3}
.bbvk-status--muted{background:#e5e7eb;color:#374151}
.bbvk-test-badge{background:#fde68a;color:#78350f;margin-left:.35rem}
.bbvk-reference-box{flex:0 0 auto;min-width:170px;border:1px solid #dbeafe;background:#eff6ff;border-radius:14px;padding:.8rem 1rem;text-align:right}
.bbvk-reference-box small{display:block;color:#475569;font-weight:800;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.2rem}
.bbvk-reference-box strong{font-size:1.1rem;color:#0f172a}
.bbvk-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}
.bbvk-case-grid div{min-width:0;border:1px solid #e5e7eb;background:#f8fafc;border-radius:12px;padding:.72rem .8rem}
.bbvk-case-grid span,.bbvk-case-message span{display:block;margin-bottom:.18rem;color:#64748b;font-size:.76rem;text-transform:uppercase;letter-spacing:.045em;font-weight:800}
.bbvk-case-grid strong{display:block;color:#0f172a;line-height:1.3;word-break:break-word}
.bbvk-case-message{margin-top:.75rem;border:1px solid #e5e7eb;border-radius:12px;padding:.78rem .9rem;background:#fff}
.bbvk-case-message--internal{background:#f8fafc;border-style:dashed}
.bbvk-case-message p{margin:0;line-height:1.45;color:#334155}
.bbvk-simple-edit{padding:1rem 1.1rem 1.1rem;border-top:1px solid #e5e7eb;background:#f8fafc}
.bbvk-edit-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:.75rem;align-items:end}
.bbvk-edit-grid label{min-width:0}
.bbvk-edit-grid input,.bbvk-edit-grid textarea{width:100%;box-sizing:border-box}
.bbvk-edit-grid small{display:block;margin-top:.25rem;color:#64748b;font-weight:700}
.bbvk-edit-note-wide{grid-column:1 / -1}

.bbvk-simple-edit label{display:block;font-weight:800;color:#334155;margin:0}
.bbvk-simple-edit input,.bbvk-simple-edit textarea{width:100%;margin-top:.35rem;border:1px solid #cbd5e1;border-radius:10px;padding:.65rem .75rem;box-sizing:border-box;min-height:42px;background:#fff}
.bbvk-simple-edit textarea{resize:vertical;min-height:62px}
.bbvk-quick-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.85rem}
.bbvk-big-control{min-height:44px;border-radius:10px!important;font-weight:800!important;padding:.65rem 1rem!important}
.bbvk-danger-zone{margin:.75rem 1.1rem 1.1rem;border:1px dashed #fecaca;border-radius:12px;background:#fff7f7}
.bbvk-danger-zone summary{cursor:pointer;padding:.65rem .85rem;font-weight:800;color:#991b1b}
.bbvk-danger-zone form{display:inline-block;margin:0 .4rem .75rem .85rem}
@media(max-width:900px){
    .bbvk-status-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
    .bbvk-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .bbvk-edit-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
    .bbvk-admin-hero{display:block;padding:1rem;border-radius:14px}
    .bbvk-admin-hero-count{margin-top:.85rem;min-width:0}
    .bbvk-status-summary{grid-template-columns:1fr;gap:.5rem}
    .bbvk-status-summary span{padding:.7rem .85rem}
    .bbvk-filter-simple{display:block}
    .bbvk-filter-simple select,.bbvk-filter-simple button{width:100%;margin-top:.45rem}
    .bbvk-case-head{display:block}
    .bbvk-reference-box{text-align:left;margin-top:.8rem;min-width:0}
    .bbvk-case-grid{grid-template-columns:1fr;gap:.5rem}
    .bbvk-print-content,.bbvk-simple-edit{padding:.9rem}
    .bbvk-quick-actions .btn{width:100%}
}
@media print{
    .bbvk-admin-hero,.bbvk-status-summary,.bbvk-admin-filter,.bbvk-admin-advanced,.bbvk-simple-edit,.bbvk-danger-zone,.subhead,.sidebar-wrapper,.navbar{display:none!important}
    .bbvk-case-card{break-inside:avoid;box-shadow:none;border:1px solid #ccc;margin-bottom:12px}
}

/* v1.0.17 – zusammengeklappte Zeilen + Bestätigungsformular */
.bbvk-collapse-list{display:grid;grid-template-columns:1fr;gap:.75rem;margin-top:1rem}
.bbvk-case-row{border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.06);overflow:hidden}
.bbvk-case-row[open]{box-shadow:0 16px 36px rgba(15,23,42,.10)}
.bbvk-case-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;cursor:pointer;list-style:none;min-height:56px}
.bbvk-case-summary::-webkit-details-marker{display:none}
.bbvk-case-summary:after{content:'+';flex:0 0 auto;width:30px;height:30px;border-radius:999px;background:#eef2ff;color:#1e3a8a;display:inline-flex;align-items:center;justify-content:center;font-size:1.35rem;font-weight:800;line-height:1}
.bbvk-case-row[open]>.bbvk-case-summary:after{content:'–'}
.bbvk-summary-main,.bbvk-summary-meta{display:flex;align-items:center;gap:.55rem;min-width:0}
.bbvk-summary-main strong{font-size:1.05rem;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}
.bbvk-summary-meta{flex-wrap:wrap;justify-content:flex-end;color:#475569;font-size:.92rem}
.bbvk-summary-meta strong{color:#0f172a}
.bbvk-sent-pill{display:inline-flex;align-items:center;border-radius:999px;background:#dcfce7;color:#166534;font-weight:800;padding:.28rem .6rem;font-size:.8rem;white-space:nowrap}
.bbvk-case-body{padding:0 1rem 1rem;border-top:1px solid #e5e7eb;background:#fbfdff}
.bbvk-case-grid-compact{margin:1rem 0}
.bbvk-confirmation-panel{border:1px solid #dbe3ec;border-radius:16px;background:#fff;overflow:hidden;margin:.8rem 0;box-shadow:0 10px 24px rgba(15,23,42,.05)}
.bbvk-panel-title{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;padding:1rem 1.1rem;background:linear-gradient(180deg,#f8fafc,#eef2ff);border-bottom:1px solid #e2e8f0}
.bbvk-panel-title h2{margin:0;color:#0f172a;font-size:1.25rem;line-height:1.2}
.bbvk-panel-title p{margin:.1rem 0 0;color:#475569;line-height:1.35}
.bbvk-confirmation-form{padding:1rem 1.1rem;margin:0}
.bbvk-confirmation-form label{display:block;font-weight:800;color:#334155;margin-bottom:.35rem}
.bbvk-confirmation-form textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:12px;background:#fff;padding:.85rem .95rem;font-size:1rem;line-height:1.5;min-height:190px;resize:none;overflow:hidden}
.bbvk-sent-note{display:inline-flex;align-items:center;color:#475569;background:#f1f5f9;border-radius:10px;padding:.65rem .8rem;font-weight:700;line-height:1.35}
.bbvk-confirmation-print{display:none}
.bbvk-print-letter-head{display:flex;justify-content:space-between;border-bottom:2px solid #111827;padding-bottom:12px;margin-bottom:18px}
.bbvk-print-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 24px}
.bbvk-print-meta div{border:1px solid #d1d5db;border-radius:8px;padding:9px}
.bbvk-print-meta span{display:block;font-size:11px;text-transform:uppercase;color:#6b7280;font-weight:700;margin-bottom:3px}
.bbvk-print-letter-text{font-size:16px;line-height:1.65;color:#111827}
@media(max-width:820px){
    .bbvk-case-summary{display:grid;grid-template-columns:1fr auto;align-items:start}
    .bbvk-summary-main,.bbvk-summary-meta{display:grid;grid-template-columns:1fr;gap:.35rem;justify-content:start}
    .bbvk-summary-main strong{max-width:100%}
    .bbvk-panel-title{display:block}
}
@media(max-width:650px){
    .bbvk-case-summary{padding:.75rem .85rem;gap:.65rem}
    .bbvk-case-body{padding:0 .8rem .8rem}
    .bbvk-confirmation-form,.bbvk-panel-title{padding:.85rem}
    .bbvk-confirmation-form textarea{min-height:230px;font-size:.98rem}
    .bbvk-sent-note{width:100%;box-sizing:border-box}
}
@media print{
    .bbvk-case-summary,.bbvk-case-grid,.bbvk-confirmation-form,.bbvk-panel-title,.bbvk-simple-edit,.bbvk-danger-zone{display:none!important}
    .bbvk-case-row{box-shadow:none;border:none}
    .bbvk-case-body{border:none;background:#fff;padding:0}
    .bbvk-confirmation-panel{border:none;box-shadow:none}
    .bbvk-confirmation-print{display:block!important}
}

/* v1.0.21 – Stammdaten direkt oben kompakt editieren */
.bbvk-inline-edit-form{
    margin:1rem 0 .9rem;
    padding:0;
}
.bbvk-case-grid-editable{
    align-items:stretch;
    margin:0;
}
.bbvk-case-grid .bbvk-info-card,
.bbvk-case-grid .bbvk-info-edit-card{
    min-width:0;
    border:1px solid #e5e7eb;
    background:#f8fafc;
    border-radius:12px;
    padding:.62rem .72rem;
    box-sizing:border-box;
}
.bbvk-case-grid .bbvk-info-edit-card{
    display:block;
    margin:0;
    cursor:default;
}
.bbvk-case-grid .bbvk-info-edit-card span{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.45rem;
    margin-bottom:.32rem;
    color:#64748b;
    font-size:.74rem;
    text-transform:uppercase;
    letter-spacing:.045em;
    font-weight:800;
}
.bbvk-case-grid .bbvk-info-edit-card em{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    background:#e0f2fe;
    color:#075985;
    font-size:.64rem;
    line-height:1;
    padding:.22rem .42rem;
    font-style:normal;
    letter-spacing:0;
    text-transform:none;
    white-space:nowrap;
}
.bbvk-case-grid .bbvk-info-edit-card input,
.bbvk-case-grid .bbvk-info-edit-card textarea{
    width:100%;
    box-sizing:border-box;
    border:1px solid #cbd5e1;
    border-radius:9px;
    background:#fff;
    color:#0f172a;
    font-size:.95rem;
    line-height:1.25;
    padding:.48rem .58rem;
    min-height:38px;
}
.bbvk-case-grid .bbvk-info-edit-card textarea{
    min-height:58px;
    resize:vertical;
}
.bbvk-case-grid .bbvk-info-edit-card small{
    display:block;
    margin-top:.22rem;
    color:#64748b;
    font-weight:700;
    font-size:.75rem;
}
.bbvk-info-edit-card-wide{
    grid-column:span 2;
}
.bbvk-inline-edit-actions{
    margin-top:.65rem;
    padding:.75rem .8rem;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:12px;
}
.bbvk-inline-edit-actions .bbvk-big-control{
    min-height:40px;
    padding:.55rem .9rem!important;
}
@media(max-width:900px){
    .bbvk-info-edit-card-wide{grid-column:1 / -1}
}
@media(max-width:650px){
    .bbvk-case-grid .bbvk-info-card,
    .bbvk-case-grid .bbvk-info-edit-card{padding:.58rem .65rem}
    .bbvk-inline-edit-actions .btn{width:100%}
}

/* v1.0.23 – Verwaltungslinks dezent oben bündeln */
.bbvk-admin-hero-side{
    flex:0 0 auto;
    min-width:220px;
    display:flex;
    flex-direction:column;
    gap:.65rem;
    align-items:stretch;
}
.bbvk-header-tools{
    display:flex;
    flex-direction:column;
    gap:.38rem;
    align-items:stretch;
}
.bbvk-header-details{
    position:relative;
    border:1px solid rgba(255,255,255,.22);
    border-radius:12px;
    background:rgba(255,255,255,.08);
    color:#fff;
}
.bbvk-header-details summary{
    cursor:pointer;
    list-style:none;
    padding:.48rem .65rem;
    font-size:.84rem;
    line-height:1.2;
    font-weight:800;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.5rem;
}
.bbvk-header-details summary::-webkit-details-marker{display:none}
.bbvk-header-details summary:after{
    content:'▾';
    font-size:.78rem;
    opacity:.9;
}
.bbvk-header-details[open] summary:after{content:'▴'}
.bbvk-header-details[open]{background:rgba(255,255,255,.14)}
.bbvk-header-filter,
.bbvk-header-admin-actions{
    margin:.15rem .55rem .65rem!important;
    padding:.65rem!important;
    background:#fff!important;
    color:#0f172a;
    border:0!important;
    border-radius:10px!important;
    box-shadow:0 10px 28px rgba(15,23,42,.18);
}
.bbvk-header-filter{
    display:grid!important;
    grid-template-columns:1fr;
    gap:.45rem!important;
}
.bbvk-header-filter label{margin:0!important;color:#334155}
.bbvk-header-filter select{width:100%;min-width:0!important}
.bbvk-header-filter button{width:100%}
.bbvk-header-admin-actions{
    display:grid!important;
    grid-template-columns:1fr;
    gap:.55rem!important;
}
.bbvk-header-admin-actions form{
    display:grid!important;
    grid-template-columns:1fr;
    gap:.35rem!important;
    margin:0!important;
}
.bbvk-header-admin-actions small{font-size:.78rem;color:#64748b;line-height:1.35}
.bbvk-case-top-tools{
    display:flex;
    justify-content:flex-end;
    padding:.7rem 0 0;
}
.bbvk-case-privacy-link{
    position:relative;
    max-width:100%;
}
.bbvk-case-privacy-link summary{
    cursor:pointer;
    list-style:none;
    color:#64748b;
    font-size:.82rem;
    font-weight:800;
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-underline-offset:3px;
}
.bbvk-case-privacy-link summary::-webkit-details-marker{display:none}
.bbvk-case-privacy-link summary:hover{color:#334155}
.bbvk-case-privacy-actions{
    margin-top:.45rem;
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:.45rem;
    padding:.6rem;
    border:1px dashed #fecaca;
    border-radius:12px;
    background:#fff7f7;
}
.bbvk-case-privacy-actions form{margin:0!important}
@media(max-width:650px){
    .bbvk-admin-hero-side{min-width:0;margin-top:.85rem}
    .bbvk-header-tools{gap:.45rem}
    .bbvk-case-top-tools{justify-content:flex-start}
    .bbvk-case-privacy-actions{justify-content:flex-start}
}
@media print{
    .bbvk-header-tools,.bbvk-case-top-tools{display:none!important}
}

/* v1.0.23 – kompakter Kopfbereich + volle Seitenbreite im Backend */
.bbvk-admin-simple{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
}
.bbvk-admin-confirmation{
    width:100%!important;
    max-width:none!important;
}
.bbvk-admin-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center!important;
    gap:.65rem!important;
    padding:.65rem .85rem!important;
    border-radius:12px!important;
    margin:0 0 .55rem!important;
    box-shadow:0 8px 22px rgba(15,23,42,.12)!important;
}
.bbvk-admin-hero h1{
    margin:.05rem 0 0!important;
    font-size:clamp(1.12rem,1.7vw,1.45rem)!important;
    line-height:1.12!important;
}
.bbvk-admin-hero p:not(.bbvk-admin-kicker){
    display:none!important;
}
.bbvk-admin-kicker{
    margin:0!important;
    font-size:.68rem!important;
    line-height:1!important;
    letter-spacing:.06em!important;
}
.bbvk-admin-hero-side{
    min-width:0!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:.5rem!important;
}
.bbvk-admin-hero-count{
    min-width:74px!important;
    padding:.42rem .55rem!important;
    border-radius:10px!important;
}
.bbvk-admin-hero-count strong{
    font-size:1.22rem!important;
}
.bbvk-admin-hero-count span{
    font-size:.68rem!important;
    line-height:1.1!important;
    margin-top:.08rem!important;
}
.bbvk-header-tools{
    flex-direction:row!important;
    flex-wrap:wrap!important;
    justify-content:flex-end!important;
    gap:.35rem!important;
}
.bbvk-header-details{
    border-radius:999px!important;
}
.bbvk-header-details summary{
    padding:.34rem .55rem!important;
    font-size:.76rem!important;
    min-height:30px!important;
}
.bbvk-header-details[open]{
    border-radius:12px!important;
}
.bbvk-header-filter,
.bbvk-header-admin-actions{
    position:absolute;
    right:0;
    z-index:20;
    min-width:230px;
    margin:.35rem 0 0!important;
}
.bbvk-status-summary{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:.4rem!important;
    margin:.45rem 0 .65rem!important;
}
.bbvk-status-summary span{
    padding:.45rem .6rem!important;
    border-radius:10px!important;
    box-shadow:none!important;
    font-size:.86rem!important;
}
.bbvk-status-summary strong{
    min-width:1.65rem!important;
    height:1.65rem!important;
    font-size:.85rem!important;
}
.bbvk-collapse-list{
    margin-top:.55rem!important;
    gap:.55rem!important;
}
.bbvk-case-summary{
    min-height:48px!important;
    padding:.62rem .75rem!important;
}
.bbvk-case-row{
    border-radius:12px!important;
}
.bbvk-case-body{
    padding:0 .75rem .75rem!important;
}
.bbvk-case-grid-compact{
    margin:.75rem 0!important;
}
.bbvk-confirmation-panel{
    margin:.6rem 0!important;
}
@media(max-width:900px){
    .bbvk-admin-hero{
        grid-template-columns:1fr!important;
    }
    .bbvk-admin-hero-side{
        justify-content:space-between!important;
        width:100%!important;
    }
    .bbvk-status-summary{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:650px){
    .bbvk-admin-hero{
        padding:.6rem .7rem!important;
    }
    .bbvk-admin-hero-side{
        margin-top:.45rem!important;
        align-items:flex-start!important;
        flex-direction:column!important;
    }
    .bbvk-header-tools{
        justify-content:flex-start!important;
    }
    .bbvk-header-filter,
    .bbvk-header-admin-actions{
        position:static!important;
        min-width:0!important;
        width:100%!important;
    }
    .bbvk-status-summary{
        grid-template-columns:1fr 1fr!important;
    }
    .bbvk-status-summary span{
        padding:.42rem .5rem!important;
        font-size:.8rem!important;
    }
}

/* v1.0.24 – einfache Druck-/Mail-Hinweise direkt neben den Aktionen */
.bbvk-action-status-row{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.55rem;
    margin:.85rem 0 .1rem;
}
.bbvk-action-status{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.65rem;
    border:1px solid #e2e8f0;
    border-radius:11px;
    background:#f8fafc;
    padding:.55rem .7rem;
    color:#334155;
}
.bbvk-action-status strong{
    color:#0f172a;
    font-size:.86rem;
    white-space:nowrap;
}
.bbvk-action-status span{
    text-align:right;
    font-size:.84rem;
    line-height:1.25;
    font-weight:700;
    color:#475569;
}
@media(max-width:700px){
    .bbvk-action-status-row{grid-template-columns:1fr;gap:.45rem}
    .bbvk-action-status{align-items:flex-start;flex-direction:column;gap:.18rem}
    .bbvk-action-status span{text-align:left}
}

/* v1.0.25 – Header-Elemente gleich groß und sauber in einer Reihe */
.bbvk-admin-hero-side{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:.42rem!important;
    flex-wrap:nowrap!important;
}
.bbvk-admin-hero-count,
.bbvk-header-details{
    height:34px!important;
    min-height:34px!important;
    border-radius:999px!important;
    border:1px solid rgba(255,255,255,.24)!important;
    background:rgba(255,255,255,.10)!important;
    box-shadow:none!important;
    color:#fff!important;
}
.bbvk-admin-hero-count{
    min-width:0!important;
    width:auto!important;
    display:inline-flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    gap:.38rem!important;
    padding:.34rem .65rem!important;
    white-space:nowrap!important;
    text-align:left!important;
}
.bbvk-admin-hero-count strong{
    font-size:.9rem!important;
    line-height:1!important;
    color:#fff!important;
}
.bbvk-admin-hero-count span{
    margin:0!important;
    font-size:.76rem!important;
    line-height:1!important;
    color:#fff!important;
    opacity:.92!important;
}
.bbvk-header-tools{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:.42rem!important;
    flex-wrap:nowrap!important;
}
.bbvk-header-details{
    display:inline-flex!important;
    align-items:center!important;
    margin:0!important;
}
.bbvk-header-details summary{
    height:32px!important;
    min-height:32px!important;
    padding:0 .65rem!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:.35rem!important;
    font-size:.76rem!important;
    line-height:1!important;
    white-space:nowrap!important;
}
.bbvk-header-details[open]{
    border-radius:13px!important;
}
.bbvk-header-details[open] summary{
    border-bottom-left-radius:0!important;
    border-bottom-right-radius:0!important;
}
.bbvk-header-filter,
.bbvk-header-admin-actions{
    top:100%!important;
    right:0!important;
}
@media(max-width:900px){
    .bbvk-admin-hero-side{
        justify-content:flex-start!important;
        flex-wrap:wrap!important;
    }
    .bbvk-header-tools{
        justify-content:flex-start!important;
        flex-wrap:wrap!important;
    }
}
@media(max-width:650px){
    .bbvk-admin-hero-side{
        flex-direction:row!important;
        align-items:center!important;
        gap:.35rem!important;
        margin-top:.45rem!important;
    }
    .bbvk-admin-hero-count,
    .bbvk-header-details{
        height:32px!important;
        min-height:32px!important;
    }
    .bbvk-admin-hero-count{
        padding:.28rem .55rem!important;
    }
    .bbvk-admin-hero-count span,
    .bbvk-header-details summary{
        font-size:.72rem!important;
    }
    .bbvk-header-details summary{
        height:30px!important;
        min-height:30px!important;
        padding:0 .55rem!important;
    }
}


/* v1.0.26 – Fokusmodus: beim Aufklappen nur einen Vorgang anzeigen */
.bbvk-focus-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.75rem;
    padding:.7rem .8rem;
    margin:.75rem 0 0;
    border:1px solid #e2e8f0;
    border-radius:12px;
    background:#f8fafc;
    color:#475569;
}
.bbvk-focus-toolbar span{
    font-size:.86rem;
    line-height:1.3;
    font-weight:700;
    text-align:right;
}
.bbvk-case-hidden-by-open{
    display:none!important;
}
.bbvk-single-open-list{
    gap:0!important;
}
.bbvk-case-active{
    border-color:#bfdbfe!important;
    box-shadow:0 14px 34px rgba(15,23,42,.10)!important;
}
.bbvk-has-open-case .bbvk-status-summary{
    display:none!important;
}
.bbvk-has-open-case .bbvk-collapse-list{
    margin-top:.3rem!important;
}
.bbvk-has-open-case .bbvk-case-active>.bbvk-case-summary{
    background:#eff6ff;
}
@media(max-width:700px){
    .bbvk-focus-toolbar{
        align-items:stretch;
        flex-direction:column;
        gap:.45rem;
        padding:.65rem;
    }
    .bbvk-focus-toolbar .btn{
        width:100%;
    }
    .bbvk-focus-toolbar span{
        text-align:left;
        font-size:.82rem;
    }
}
@media print{
    .bbvk-focus-toolbar{display:none!important}
}

/* v1.0.29 – optionaler Postversand ohne Speicherung der Adresse */
.bbvk-post-panel{
    margin:.8rem 1.1rem 1rem;
    border:1px solid #e2e8f0;
    border-radius:14px;
    background:#f8fafc;
    overflow:hidden;
}
.bbvk-post-panel summary{
    cursor:pointer;
    list-style:none;
    padding:.72rem .85rem;
    font-weight:800;
    color:#0f172a;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.75rem;
}
.bbvk-post-panel summary::-webkit-details-marker{display:none}
.bbvk-post-panel summary:after{
    content:'+';
    width:24px;
    height:24px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#e0f2fe;
    color:#075985;
    font-weight:900;
}
.bbvk-post-panel[open] summary:after{content:'–'}
.bbvk-post-inner{
    border-top:1px solid #e2e8f0;
    padding:.9rem;
    background:#fff;
}
.bbvk-post-hint{
    margin:0 0 .75rem;
    padding:.7rem .8rem;
    border-left:4px solid #2563eb;
    background:#eff6ff;
    color:#1e3a8a;
    border-radius:10px;
    line-height:1.4;
    font-weight:700;
}
.bbvk-post-grid{
    display:grid;
    grid-template-columns:1.2fr 1.2fr .55fr .6fr 1fr;
    gap:.55rem;
    align-items:end;
}
.bbvk-post-grid label{
    display:block;
    margin:0;
    min-width:0;
}
.bbvk-post-grid span{
    display:block;
    margin-bottom:.28rem;
    color:#64748b;
    font-size:.75rem;
    text-transform:uppercase;
    letter-spacing:.045em;
    font-weight:800;
}
.bbvk-post-grid input{
    width:100%;
    min-height:38px;
    border:1px solid #cbd5e1;
    border-radius:9px;
    background:#fff;
    padding:.48rem .58rem;
    box-sizing:border-box;
}
.bbvk-post-actions{
    display:flex;
    align-items:center;
    gap:.65rem;
    flex-wrap:wrap;
    margin-top:.75rem;
}
.bbvk-post-actions small{
    color:#64748b;
    font-weight:700;
    line-height:1.35;
}
@media(max-width:950px){
    .bbvk-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
    .bbvk-post-panel{margin:.75rem .85rem .9rem}
    .bbvk-post-grid{grid-template-columns:1fr}
    .bbvk-post-actions .btn{width:100%}
}
@media print{
    .bbvk-post-panel{display:none!important}
}

/* v1.0.30 – Monatsliste neben Eingegangen/Erledigt */
.bbvk-status-summary{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:stretch!important;
}
.bbvk-month-print-box{
    justify-content:flex-start!important;
    gap:.55rem!important;
}
.bbvk-month-print-content{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:.55rem!important;
    width:100%!important;
    min-width:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    font-weight:700!important;
}
.bbvk-month-print-content label{
    margin:0!important;
    color:#334155!important;
    font-weight:800!important;
    white-space:nowrap!important;
}
.bbvk-month-print-controls{
    display:flex!important;
    align-items:center!important;
    gap:.35rem!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
.bbvk-month-print-controls input[type="month"]{
    min-height:30px!important;
    height:30px!important;
    max-width:138px!important;
    border:1px solid #cbd5e1!important;
    border-radius:8px!important;
    background:#fff!important;
    color:#0f172a!important;
    padding:.15rem .35rem!important;
    font-size:.82rem!important;
    box-sizing:border-box!important;
}
.bbvk-month-print-controls .btn{
    min-height:30px!important;
    height:30px!important;
    border-radius:8px!important;
    padding:.18rem .55rem!important;
    line-height:1!important;
    font-size:.78rem!important;
    font-weight:800!important;
    white-space:nowrap!important;
}
@media(max-width:1050px){
    .bbvk-status-summary{grid-template-columns:1fr 1fr!important}
    .bbvk-month-print-box{grid-column:1 / -1!important}
}
@media(max-width:650px){
    .bbvk-status-summary{grid-template-columns:1fr!important}
    .bbvk-month-print-content{align-items:flex-start!important;flex-direction:column!important;gap:.4rem!important}
    .bbvk-month-print-controls{width:100%!important}
    .bbvk-month-print-controls input[type="month"]{max-width:none!important;flex:1 1 auto!important}
    .bbvk-month-print-controls .btn{flex:0 0 auto!important}
}
@media print{
    .bbvk-month-print-box{display:none!important}
}

/* v1.0.33 – Frist/Kulanz klar und unaufdringlich anzeigen */
.bbvk-deadline-pill{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:.16rem .5rem;
    border-radius:999px;
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.02em;
    white-space:nowrap;
}
.bbvk-deadline-pill--warn{
    color:#92400e;
    background:#fff7ed;
    border:1px solid #fed7aa;
}
.bbvk-deadline-pill--ok{
    color:#166534;
    background:#f0fdf4;
    border:1px solid #bbf7d0;
}
.bbvk-deadline-edit-box{
    margin:.8rem 0 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.8rem;
    padding:.8rem .9rem;
    border-radius:14px;
    border:1px solid #e2e8f0;
}
.bbvk-deadline-edit-box strong{
    display:block;
    font-size:.95rem;
    color:#0f172a;
}
.bbvk-deadline-edit-box p{
    margin:.18rem 0 0;
    color:#475569;
    font-size:.86rem;
    line-height:1.35;
}
.bbvk-deadline-edit-box--warn{
    background:#fff7ed;
    border-color:#fed7aa;
}
.bbvk-deadline-edit-box--ok{
    background:#f0fdf4;
    border-color:#bbf7d0;
}
.bbvk-courtesy-toggle{
    display:flex;
    align-items:center;
    gap:.45rem;
    padding:.5rem .65rem;
    border-radius:10px;
    background:#fff;
    border:1px solid #cbd5e1;
    font-weight:850;
    color:#0f172a;
    cursor:pointer;
    white-space:nowrap;
}
.bbvk-courtesy-toggle input{
    width:18px;
    height:18px;
    margin:0;
}
@media(max-width:800px){
    .bbvk-deadline-edit-box{align-items:flex-start;flex-direction:column}
    .bbvk-courtesy-toggle{width:100%;white-space:normal}
}
@media print{
    .bbvk-deadline-edit-box,.bbvk-deadline-pill{display:none!important}
}


/* v1.0.34 – Bestätigungstext wächst automatisch und Auto-Anonymisierung-Hinweis */
.bbvk-confirmation-form textarea.bbvk-auto-grow{
    resize:none!important;
    overflow:hidden!important;
}
.bbvk-auto-anonymize-note{
    margin:.45rem 0 .65rem;
    padding:.55rem .75rem;
    border-radius:10px;
    background:#f0fdf4;
    color:#166534;
    border:1px solid #bbf7d0;
    font-weight:800;
    line-height:1.35;
}


/* v1.0.38 – Bereiche optisch klarer trennen */
.bbvk-admin{
    color:#1e293b;
}
.bbvk-admin-hero{
    background:linear-gradient(180deg,#f8fbff 0%,#f1f6fb 100%)!important;
    border:1px solid #d9e4f0!important;
    box-shadow:0 10px 24px rgba(15,23,42,.05)!important;
}
.bbvk-admin-hero h1{
    color:#0f172a!important;
}
.bbvk-admin-hero p,
.bbvk-admin-kicker{
    color:#475569!important;
}
.bbvk-admin-hero-count{
    background:#ffffff!important;
    border:1px solid #d9e4f0!important;
    box-shadow:0 4px 12px rgba(15,23,42,.04)!important;
}
.bbvk-header-details{
    background:#fff!important;
    border:1px solid #d7e3ef!important;
    box-shadow:0 2px 8px rgba(15,23,42,.04)!important;
}
.bbvk-header-details summary{
    background:#fff!important;
    color:#334155!important;
    font-weight:800!important;
}
.bbvk-header-details[open] summary{
    border-bottom:1px solid #e2e8f0!important;
}
.bbvk-status-summary span{
    background:#f8fafc!important;
    border:1px solid #dbe3ec!important;
    box-shadow:0 6px 16px rgba(15,23,42,.04)!important;
}
.bbvk-status-summary span:nth-child(1){
    background:#f8fbff!important;
}
.bbvk-status-summary span:nth-child(2){
    background:#f8fcf9!important;
}
.bbvk-status-summary .bbvk-month-print-box{
    background:#fffdfa!important;
    border-color:#eadfc6!important;
}
.bbvk-case-row{
    border:1px solid #d9e4ef!important;
    background:#ffffff!important;
    box-shadow:0 8px 22px rgba(15,23,42,.05)!important;
}
.bbvk-case-summary{
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
}
.bbvk-case-row[open] > .bbvk-case-summary,
.bbvk-case-active > .bbvk-case-summary{
    background:linear-gradient(180deg,#f8fbff 0%,#eef4fa 100%)!important;
    border-bottom:1px solid #dbe4ee!important;
}
.bbvk-case-body{
    background:#fff!important;
}
.bbvk-focus-toolbar{
    background:#edf5ff!important;
    border:1px solid #cfe0f5!important;
    border-radius:12px!important;
}
.bbvk-focus-toolbar span{
    color:#35506b!important;
}
.bbvk-case-grid-compact,
.bbvk-confirmation-panel,
.bbvk-post-panel,
.bbvk-case-message{
    border:1px solid #dde6ef!important;
    border-radius:16px!important;
    box-shadow:0 6px 18px rgba(15,23,42,.035)!important;
}
.bbvk-case-grid-compact{
    background:#f8fafc!important;
    padding:.85rem!important;
}
.bbvk-info-card,
.bbvk-info-edit-card{
    background:#ffffff!important;
    border:1px solid #dbe4ee!important;
    box-shadow:0 2px 6px rgba(15,23,42,.03)!important;
}
.bbvk-info-card span,
.bbvk-info-edit-card span{
    color:#64748b!important;
}
.bbvk-info-edit-card em{
    color:#0b5ea8!important;
    font-style:normal!important;
    font-weight:800!important;
}
.bbvk-confirmation-panel{
    background:#f7fafc!important;
    padding:1rem 1.05rem 1.05rem!important;
}
.bbvk-panel-title{
    padding:0 0 .75rem!important;
    margin:0 0 .9rem!important;
    border-bottom:1px solid #dde6ef!important;
}
.bbvk-panel-title h2{
    color:#0f172a!important;
}
.bbvk-panel-title p,
.bbvk-confirmation-form label,
.bbvk-sent-note{
    color:#475569!important;
}
.bbvk-confirmation-form textarea.bbvk-auto-grow{
    background:#fff!important;
    border:1px solid #cfdbe8!important;
    border-radius:14px!important;
    box-shadow:inset 0 1px 2px rgba(15,23,42,.03)!important;
}
.bbvk-action-status{
    background:#ffffff!important;
    border:1px solid #d8e2ed!important;
}
.bbvk-post-panel{
    background:#fffdf8!important;
    border-style:dashed!important;
    border-color:#d9c8a6!important;
}
.bbvk-post-panel summary{
    background:#fff7e9!important;
    color:#6b4e16!important;
    border-radius:14px!important;
    font-weight:800!important;
}
.bbvk-post-inner{
    border-top:1px dashed #e7d7b7!important;
    margin-top:.8rem!important;
    padding-top:.85rem!important;
}
.bbvk-post-grid label{
    background:#fff!important;
    border:1px solid #e4dccb!important;
    border-radius:12px!important;
}
.bbvk-post-grid label span,
.bbvk-post-hint,
.bbvk-post-actions small{
    color:#6b7280!important;
}
.bbvk-case-message{
    background:#fffef7!important;
    border-color:#e9e0be!important;
}
.bbvk-case-message span{
    color:#7c5a10!important;
    font-weight:800!important;
}
.bbvk-deadline-edit-box{
    box-shadow:0 4px 12px rgba(15,23,42,.03)!important;
}
@media(max-width:650px){
    .bbvk-case-grid-compact,
    .bbvk-confirmation-panel,
    .bbvk-post-panel,
    .bbvk-case-message{
        border-radius:14px!important;
    }
}


/* v1.0.39 – Countdown für automatische Anonymisierung in zugeklappten Vorgängen */
.bbvk-summary-main{
    flex-wrap:wrap!important;
    align-items:flex-start!important;
}
.bbvk-summary-primary{
    display:flex;
    align-items:center;
    gap:.55rem;
    min-width:0;
}
.bbvk-summary-hints{
    display:flex;
    align-items:center;
    gap:.4rem;
    flex-wrap:wrap;
    width:100%;
    margin-top:.22rem;
    padding-left:.05rem;
}
.bbvk-anonymize-countdown{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:.16rem .55rem;
    border-radius:999px;
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.01em;
    white-space:nowrap;
    color:#475569;
    background:#f1f5f9;
    border:1px solid #cbd5e1;
}
.bbvk-status--done + strong,
.bbvk-summary-primary .bbvk-status--done + strong{
    color:#14532d!important;
}
@media(max-width:760px){
    .bbvk-summary-primary{
        width:100%;
    }
    .bbvk-anonymize-countdown{
        white-space:normal;
    }
}


/* v1.0.40 – Tooltip-Hilfen */
.bbvk-tip{position:relative;display:inline-grid;place-items:center;flex:0 0 1.1rem;width:1.1rem;height:1.1rem;min-width:1.1rem;min-height:1.1rem;margin-left:.18rem;padding:0;border-radius:999px;border:1px solid #b9c7d6;background:#eef3f8;color:#35506b;font-size:.68rem;font-weight:900;font-family:Arial,sans-serif;line-height:1;cursor:help;vertical-align:middle;transform:translateY(-1px);box-shadow:0 1px 2px rgba(15,23,42,.05);isolation:isolate;text-indent:0}
.bbvk-tip:hover,.bbvk-tip:focus-visible{background:#dfe9f4;border-color:#93acc6;color:#0b5ea8;outline:none}
.bbvk-tip::after,.bbvk-tip::before{position:absolute;left:50%;opacity:0;pointer-events:none;transition:opacity .14s ease,transform .14s ease;z-index:9999}
.bbvk-tip::after{content:attr(data-tip);bottom:calc(100% + 10px);transform:translateX(-50%) translateY(4px);width:max-content;min-width:210px;max-width:300px;padding:.55rem .7rem;border-radius:.7rem;background:#1f2937;color:#fff;font-size:.78rem;font-weight:600;line-height:1.35;text-align:left;white-space:normal;box-shadow:0 10px 24px rgba(15,23,42,.22)}
.bbvk-tip::before{content:'';bottom:calc(100% + 4px);transform:translateX(-50%) translateY(4px);border:6px solid transparent;border-top-color:#1f2937}
.bbvk-tip:hover::after,.bbvk-tip:hover::before,.bbvk-tip:focus-visible::after,.bbvk-tip:focus-visible::before{opacity:1;transform:translateX(-50%) translateY(0)}
.bbvk-panel-title h2 .bbvk-tip,.bbvk-header-details summary .bbvk-tip,.bbvk-post-panel summary .bbvk-tip,.bbvk-confirmation-form label .bbvk-tip,.bbvk-info-card span .bbvk-tip,.bbvk-info-edit-card span .bbvk-tip,.bbvk-action-status strong .bbvk-tip{margin-left:.14rem}
.bbvk-quick-actions .bbvk-tip{align-self:center;margin-left:.1rem;margin-right:.22rem}
.bbvk-action-status strong .bbvk-tip,.bbvk-status-summary .bbvk-tip,.bbvk-info-card .bbvk-tip,.bbvk-info-edit-card .bbvk-tip,.bbvk-case-message .bbvk-tip{margin-left:.18rem}
.bbvk-case-row,.bbvk-case-body,.bbvk-confirmation-panel,.bbvk-post-panel,.bbvk-status-summary,.bbvk-header-tools,.bbvk-header-details,.bbvk-header-details[open],.bbvk-action-status,.bbvk-action-status-row,.bbvk-quick-actions{overflow:visible!important}
@media (max-width: 760px){
  .bbvk-tip::after{left:auto;right:0;transform:translateY(4px);min-width:180px;max-width:240px}
  .bbvk-tip::before{left:auto;right:.45rem;transform:translateY(4px)}
  .bbvk-tip:hover::after,.bbvk-tip:hover::before,.bbvk-tip:focus-visible::after,.bbvk-tip:focus-visible::before{transform:translateY(0)}
}


/* v1.0.42 – einfache Browser-Info-Icons statt eigener Tooltip-Overlays */
.bbvk-tip{
    position:static!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:1rem!important;
    height:1rem!important;
    min-width:1rem!important;
    min-height:1rem!important;
    margin-left:.18rem!important;
    padding:0!important;
    border-radius:999px!important;
    border:1px solid #9fb2c7!important;
    background:#eef4fa!important;
    color:#31516d!important;
    font-size:.68rem!important;
    font-weight:900!important;
    font-family:Arial,sans-serif!important;
    line-height:1!important;
    cursor:help!important;
    vertical-align:middle!important;
    transform:none!important;
    box-shadow:none!important;
}
.bbvk-tip::before,
.bbvk-tip::after{
    display:none!important;
    content:none!important;
}
.bbvk-tip:hover,
.bbvk-tip:focus-visible{
    background:#dceaf6!important;
    border-color:#6f91b5!important;
    color:#0b5ea8!important;
    outline:2px solid rgba(11,94,168,.14)!important;
    outline-offset:1px!important;
}
.bbvk-header-details summary .bbvk-tip,
.bbvk-panel-title h2 .bbvk-tip,
.bbvk-post-panel summary .bbvk-tip,
.bbvk-confirmation-form label .bbvk-tip,
.bbvk-info-card span .bbvk-tip,
.bbvk-info-edit-card span .bbvk-tip,
.bbvk-action-status strong .bbvk-tip{
    margin-left:.16rem!important;
}


/* v1.0.43 – Tooltip wieder mit sauberem Icon und Overlay */
.bbvk-tip{
    position:relative!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    height:auto!important;
    min-width:auto!important;
    min-height:auto!important;
    margin-left:0!important;
    padding:0!important;
    border:none!important;
    border-radius:0!important;
    background:transparent!important;
    color:#0b5ea8!important;
    cursor:help!important;
    vertical-align:middle!important;
    box-shadow:none!important;
    outline:none!important;
    transform:none!important;
    text-decoration:none!important;
    overflow:visible!important;
}
.bbvk-tip-icon{
    display:inline-block;
    font-family:Arial,sans-serif;
    font-size:.88rem;
    font-weight:900;
    line-height:1;
    color:inherit;
    transform:translateY(-.02em);
}
.bbvk-tip:hover,
.bbvk-tip:focus-visible{
    color:#084b86!important;
}
.bbvk-tip::after,.bbvk-tip::before{
    position:absolute!important;
    left:50%!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:opacity .14s ease,transform .14s ease!important;
    z-index:9999!important;
    display:block!important;
}
.bbvk-tip::after{
    content:attr(data-tip)!important;
    bottom:calc(100% + 10px)!important;
    transform:translateX(-50%) translateY(4px)!important;
    width:max-content!important;
    min-width:210px!important;
    max-width:300px!important;
    padding:.55rem .7rem!important;
    border-radius:.7rem!important;
    background:#1f2937!important;
    color:#fff!important;
    font-size:.78rem!important;
    font-weight:600!important;
    line-height:1.35!important;
    text-align:left!important;
    white-space:normal!important;
    box-shadow:0 10px 24px rgba(15,23,42,.22)!important;
}
.bbvk-tip::before{
    content:''!important;
    bottom:calc(100% + 4px)!important;
    transform:translateX(-50%) translateY(4px)!important;
    border:6px solid transparent!important;
    border-top-color:#1f2937!important;
}
.bbvk-tip:hover::after,.bbvk-tip:hover::before,.bbvk-tip:focus-visible::after,.bbvk-tip:focus-visible::before{
    opacity:1!important;
    transform:translateX(-50%) translateY(0)!important;
}
.bbvk-case-row,.bbvk-case-body,.bbvk-confirmation-panel,.bbvk-post-panel,.bbvk-status-summary,.bbvk-header-tools,.bbvk-header-details,.bbvk-header-details[open],.bbvk-action-status,.bbvk-action-status-row,.bbvk-quick-actions,.bbvk-panel-title,.bbvk-panel-title h2,.bbvk-confirmation-form label,.bbvk-header-details summary,.bbvk-post-panel summary{
    overflow:visible!important;
}
@media (max-width: 760px){
  .bbvk-tip::after{left:auto!important;right:0!important;transform:translateY(4px)!important;min-width:180px!important;max-width:240px!important}
  .bbvk-tip::before{left:auto!important;right:.35rem!important;transform:translateY(4px)!important}
  .bbvk-tip:hover::after,.bbvk-tip:hover::before,.bbvk-tip:focus-visible::after,.bbvk-tip:focus-visible::before{transform:translateY(0)!important}
}

/* v1.0.44 – Header-Zähler lesbar + Stammdaten-Reihenfolge */
.bbvk-admin-hero-count{
    background:#ffffff!important;
    border:1px solid #cbd5e1!important;
    color:#0f172a!important;
    box-shadow:0 6px 16px rgba(15,23,42,.08)!important;
}
.bbvk-admin-hero-count strong{
    color:#0f172a!important;
}
.bbvk-admin-hero-count span{
    color:#334155!important;
    opacity:1!important;
    font-weight:800!important;
}
.bbvk-admin-hero-count .bbvk-tip{
    color:#0b5ea8!important;
}
.bbvk-case-grid-editable{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:stretch!important;
}
.bbvk-info-edit-card-processor{
    grid-column:1 / span 1!important;
}
.bbvk-info-edit-card-note{
    grid-column:2 / -1!important;
}
@media(max-width:1000px){
    .bbvk-case-grid-editable{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    .bbvk-info-edit-card-processor{grid-column:auto!important}
    .bbvk-info-edit-card-note{grid-column:1 / -1!important}
}
@media(max-width:650px){
    .bbvk-case-grid-editable{grid-template-columns:1fr!important}
    .bbvk-info-edit-card-note{grid-column:auto!important}
}


/* v1.0.45 – dunklere Bereichstrennung und Abschlussbereich unten */
.bbvk-admin-hero,
.bbvk-status-summary span,
.bbvk-case-row,
.bbvk-case-grid-compact,
.bbvk-confirmation-panel,
.bbvk-post-panel,
.bbvk-case-message,
.bbvk-final-save-panel,
.bbvk-action-status,
.bbvk-info-card,
.bbvk-info-edit-card{
    border-color:#b8c5d2!important;
}
.bbvk-admin-hero{
    background:linear-gradient(180deg,#eef4f9 0%,#e6eef6 100%)!important;
}
.bbvk-status-summary span{
    background:#eef3f7!important;
}
.bbvk-status-summary .bbvk-month-print-box{
    background:#f4eadb!important;
    border-color:#cbb58d!important;
}
.bbvk-case-row{
    background:#f7fafc!important;
    border-color:#aebdcc!important;
}
.bbvk-case-row[open] > .bbvk-case-summary,
.bbvk-case-active > .bbvk-case-summary{
    background:linear-gradient(180deg,#eaf2f9 0%,#dfeaf4 100%)!important;
    border-bottom-color:#aebdcc!important;
}
.bbvk-case-body{
    background:#f1f5f8!important;
}
.bbvk-case-grid-compact{
    background:#e9eff5!important;
    border-color:#b6c4d1!important;
}
.bbvk-confirmation-panel{
    background:#eaf0f5!important;
    border-color:#aebdcc!important;
}
.bbvk-panel-title{
    border-bottom-color:#b8c5d2!important;
}
.bbvk-info-card,
.bbvk-info-edit-card,
.bbvk-action-status{
    background:#f8fafc!important;
    border-color:#b8c5d2!important;
}
.bbvk-post-panel{
    background:#f1e7d6!important;
    border-color:#bfa976!important;
}
.bbvk-post-panel summary{
    background:#ead8b8!important;
}
.bbvk-case-message{
    background:#f2e8c8!important;
    border-color:#c2aa68!important;
    margin:.9rem 0!important;
}
.bbvk-final-workflow{
    margin-top:1rem;
}
.bbvk-final-save-panel{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    margin:1rem 0 0;
    padding:1rem;
    border:1px solid #aebdcc;
    border-radius:16px;
    background:#dfe8f1;
    box-shadow:0 8px 22px rgba(15,23,42,.06);
}
.bbvk-final-save-panel strong{
    display:block;
    color:#0f172a;
    font-size:1rem;
}
.bbvk-final-save-panel p{
    margin:.15rem 0 0;
    color:#475569;
    line-height:1.35;
    font-weight:700;
}
.bbvk-final-save-actions{
    margin-top:0!important;
    justify-content:flex-end;
    flex:0 0 auto;
}
@media(max-width:760px){
    .bbvk-final-save-panel{
        align-items:stretch;
        flex-direction:column;
    }
    .bbvk-final-save-actions{
        justify-content:stretch;
    }
    .bbvk-final-save-actions .btn{
        width:100%;
    }
}


/* v1.0.46 – professionelle kompakte Detailansicht */
.bbvk-admin-hero,
.bbvk-status-summary span,
.bbvk-case-row,
.bbvk-case-grid-compact,
.bbvk-confirmation-panel,
.bbvk-post-panel,
.bbvk-case-message,
.bbvk-final-save-panel,
.bbvk-action-status,
.bbvk-info-card,
.bbvk-info-edit-card,
.bbvk-deadline-edit-box,
.bbvk-focus-toolbar{
    border-radius:8px!important;
}
.bbvk-case-row{
    border-radius:9px!important;
}
.bbvk-case-summary{
    border-radius:0!important;
}
.bbvk-big-control,
.bbvk-confirmation-form textarea,
.bbvk-info-card input,
.bbvk-info-edit-card input,
.bbvk-info-edit-card textarea,
.bbvk-post-grid label,
.bbvk-post-grid input,
.bbvk-sent-note,
.bbvk-courtesy-toggle{
    border-radius:6px!important;
}
.bbvk-case-grid-compact{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:.55rem!important;
    padding:.75rem!important;
}
.bbvk-case-grid-compact .bbvk-info-card,
.bbvk-case-grid-compact .bbvk-info-edit-card{
    min-height:0!important;
    padding:.58rem .65rem!important;
}
.bbvk-case-grid-compact .bbvk-info-card span,
.bbvk-case-grid-compact .bbvk-info-edit-card span{
    display:flex!important;
    align-items:center!important;
    gap:.15rem!important;
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    line-height:1.15!important;
}
.bbvk-case-grid-compact .bbvk-info-card strong,
.bbvk-case-grid-compact .bbvk-info-edit-card input,
.bbvk-case-grid-compact .bbvk-info-edit-card small{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.bbvk-case-grid-compact .bbvk-info-edit-card textarea{
    min-height:42px!important;
    max-height:88px!important;
}
.bbvk-info-card-name strong{
    font-weight:900!important;
    color:#0f172a!important;
}
.bbvk-info-edit-card-processor{
    grid-column:auto!important;
}
.bbvk-info-edit-card-note{
    grid-column:span 3!important;
}
.bbvk-panel-title{
    padding:.85rem .95rem!important;
}
.bbvk-confirmation-form{
    padding:.9rem .95rem!important;
}
.bbvk-case-message{
    margin:.85rem 0!important;
    padding:.85rem .95rem!important;
}
.bbvk-case-message span{
    display:flex!important;
    align-items:center!important;
    gap:.15rem!important;
    white-space:nowrap!important;
}
.bbvk-case-message p{
    margin:.45rem 0 0!important;
}
.bbvk-final-save-panel{
    border-radius:8px!important;
    padding:.9rem .95rem!important;
    background:#d8e2ec!important;
    border-color:#9eafbf!important;
}
.bbvk-final-save-panel p{
    margin:.1rem 0 0!important;
}
.bbvk-post-panel{
    margin:.8rem 0!important;
}
@media(max-width:1150px){
    .bbvk-case-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    .bbvk-info-edit-card-note{grid-column:1 / -1!important}
}
@media(max-width:700px){
    .bbvk-case-grid-compact{grid-template-columns:1fr!important}
    .bbvk-info-edit-card-note{grid-column:auto!important}
    .bbvk-case-grid-compact .bbvk-info-card span,
    .bbvk-case-grid-compact .bbvk-info-edit-card span,
    .bbvk-case-message span{
        white-space:normal!important;
    }
}


/* v1.0.47 – klare Zweiteilung, schlichte Kontraste, einheitliche Rahmen */
.bbvk-case-body{
    background:#eef2f6!important;
}
.bbvk-work-section{
    margin:.95rem 0;
    padding:.9rem;
    border:1px solid #aeb9c6;
    border-radius:8px;
    background:#f7f9fb;
    box-shadow:0 4px 14px rgba(15,23,42,.04);
    overflow:visible!important;
}
.bbvk-work-section-title{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:1rem;
    margin:0 0 .75rem;
    padding:0;
    border:0!important;
}
.bbvk-work-section-title h2{
    margin:0;
    color:#0f172a;
    font-size:1.05rem;
    line-height:1.25;
    font-weight:900;
}
.bbvk-work-section-title p{
    margin:.12rem 0 0;
    color:#475569;
    font-size:.86rem;
    line-height:1.35;
    font-weight:650;
}
.bbvk-work-section-member{
    background:#f8fafc;
}
.bbvk-work-section-club{
    background:#f3f6f9;
}
.bbvk-work-section .bbvk-case-grid-compact{
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}
.bbvk-member-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.bbvk-club-grid{
    grid-template-columns:1fr 1fr 2fr!important;
}
.bbvk-info-card,
.bbvk-info-edit-card,
.bbvk-action-status{
    border-color:#b8c3cf!important;
    border-radius:7px!important;
    background:#fff!important;
}
.bbvk-info-card span,
.bbvk-info-edit-card span{
    display:flex!important;
    align-items:center!important;
    gap:.1rem!important;
    white-space:nowrap!important;
    min-width:0!important;
}
.bbvk-info-card strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.bbvk-info-edit-card input{
    white-space:nowrap;
}
.bbvk-info-edit-card-note textarea{
    min-height:44px!important;
}
.bbvk-case-message{
    margin:.85rem 0 0!important;
    padding:.75rem .85rem!important;
    border:1px solid #b8c3cf!important;
    border-radius:7px!important;
    background:#fff!important;
    box-shadow:none!important;
}
.bbvk-case-message span{
    display:flex!important;
    align-items:center!important;
    gap:.1rem!important;
    color:#334155!important;
    font-weight:900!important;
    white-space:nowrap!important;
}
.bbvk-case-message p{
    margin:.45rem 0 0!important;
    color:#1f2937!important;
}
.bbvk-confirmation-panel{
    margin:.85rem 0!important;
    border:1px solid #aeb9c6!important;
    border-radius:8px!important;
    background:#f8fafc!important;
    box-shadow:none!important;
    overflow:visible!important;
}
.bbvk-panel-title{
    display:block!important;
    padding:.85rem .9rem 0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
}
.bbvk-panel-title h2{
    display:flex;
    align-items:center;
    gap:.1rem;
    margin:0!important;
    color:#0f172a!important;
    font-size:1.02rem!important;
    font-weight:900!important;
}
.bbvk-panel-title p{
    color:#475569!important;
}
.bbvk-confirmation-form{
    padding:.8rem .9rem .9rem!important;
}
.bbvk-post-panel{
    margin:.85rem .9rem .9rem!important;
    border:1px solid #aeb9c6!important;
    border-radius:8px!important;
    background:#fff!important;
    box-shadow:none!important;
}
.bbvk-post-panel summary{
    border-radius:7px!important;
    background:#eef2f6!important;
    color:#1f2937!important;
}
.bbvk-final-save-panel{
    border-radius:8px!important;
    border-color:#9facba!important;
    background:#e7edf3!important;
    box-shadow:none!important;
}
.bbvk-deadline-edit-box{
    border-radius:8px!important;
}
.bbvk-tip{
    position:relative!important;
    display:inline-flex!important;
    vertical-align:baseline!important;
    line-height:1!important;
    transform:none!important;
}
.bbvk-tip::after{
    z-index:99999!important;
}
.bbvk-tip::before{
    z-index:99999!important;
}
.bbvk-admin,
.bbvk-admin *,
.bbvk-case-row,
.bbvk-case-body,
.bbvk-work-section,
.bbvk-confirmation-panel,
.bbvk-post-panel,
.bbvk-panel-title,
.bbvk-work-section-title{
    overflow:visible!important;
}
@media(max-width:1100px){
    .bbvk-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    .bbvk-club-grid{grid-template-columns:1fr 1fr!important}
    .bbvk-info-edit-card-note{grid-column:1 / -1!important}
}
@media(max-width:700px){
    .bbvk-member-grid,
    .bbvk-club-grid{
        grid-template-columns:1fr!important;
    }
    .bbvk-info-card span,
    .bbvk-info-edit-card span,
    .bbvk-case-message span{
        white-space:normal!important;
    }
}


/* v1.0.48 – Optionsschalter Ja/Nein und Kulanz-Text-Aktualisierung */
.bbvk-text-auto-updated{
    border-color:#198754!important;
    box-shadow:0 0 0 3px rgba(25,135,84,.16)!important;
    transition:border-color .2s ease, box-shadow .2s ease;
}
.bbvk-courtesy-toggle input{
    accent-color:#198754;
}

/* Wird über das Admin-Direktlink-Modul zusätzlich global ins Backend geladen. */
.bbvk-yesno-switch input[value="1"]:checked + label,
.btn-group-yesno input[value="1"]:checked + label,
.switcher input[value="1"]:checked + label,
fieldset.radio input[value="1"]:checked + label{
    background:#198754!important;
    border-color:#198754!important;
    color:#fff!important;
}
.bbvk-yesno-switch input[value="0"]:checked + label,
.btn-group-yesno input[value="0"]:checked + label,
.switcher input[value="0"]:checked + label,
fieldset.radio input[value="0"]:checked + label{
    background:#dc3545!important;
    border-color:#dc3545!important;
    color:#fff!important;
}


/* v3.0.0 – ruhige, einheitliche Verwaltungsoberfläche */
.bbvk-admin-confirmation{--bbvk-ink:#19324a;--bbvk-border:#b6c5d4;--bbvk-surface:#f2f6fa;--bbvk-paper:#fff;color:var(--bbvk-ink)}
.bbvk-admin-confirmation .bbvk-work-section,
.bbvk-admin-confirmation .bbvk-confirmation-panel,
.bbvk-admin-confirmation .bbvk-final-save-panel,
.bbvk-admin-confirmation .bbvk-post-panel,
.bbvk-admin-confirmation .bbvk-case-row{border-radius:6px!important;border:1px solid var(--bbvk-border)!important;box-shadow:none!important}
.bbvk-admin-confirmation .bbvk-work-section{background:var(--bbvk-paper)!important}
.bbvk-admin-confirmation .bbvk-work-section-title{display:block!important;margin-bottom:.75rem!important}
.bbvk-admin-confirmation .bbvk-work-section-title h2{color:var(--bbvk-ink)!important;font-size:1.05rem!important;font-weight:700!important}
.bbvk-admin-confirmation .bbvk-work-section-title p{color:#4d5f71!important;font-weight:400!important}
.bbvk-admin-confirmation .bbvk-info-card,
.bbvk-admin-confirmation .bbvk-info-edit-card{border-radius:4px!important;border-color:#cad4de!important;box-shadow:none!important}
.bbvk-admin-confirmation .bbvk-confirmation-panel{background:#f5f8fb!important}
.bbvk-admin-confirmation .bbvk-post-panel{background:#fff!important}
.bbvk-admin-confirmation .bbvk-final-save-panel{background:#e8f0f7!important}
.bbvk-admin-confirmation :is(button,input,textarea,select,summary):focus-visible{outline:2px solid #256ea7!important;outline-offset:2px!important}
@media(max-width:700px){.bbvk-admin-confirmation .bbvk-work-section{padding:.7rem!important}}

/* v3.0.2 – mobile Stabilisierung der Vorgangsübersicht */
@media(max-width:900px){
 .bbvk-case-summary{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:.6rem!important;min-height:0!important;position:relative!important;padding:.85rem .9rem 2.8rem!important}
 .bbvk-case-summary::after{position:absolute!important;left:.85rem!important;bottom:.55rem!important;right:auto!important;top:auto!important}
 .bbvk-summary-main{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:.45rem!important;width:100%!important;min-width:0!important}
 .bbvk-summary-primary{display:flex!important;flex-wrap:wrap!important;gap:.45rem!important;width:100%!important;align-items:center!important}
 .bbvk-summary-primary strong{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:1rem!important}
 .bbvk-summary-hints{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:.3rem!important;margin:0!important;padding:0!important;min-width:0!important}
 .bbvk-summary-meta{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:.35rem!important;width:100%!important;text-align:left!important;white-space:normal!important}
 .bbvk-summary-meta>span{display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;min-width:0!important}
 .bbvk-status-badge,.bbvk-test-badge,.bbvk-deadline-pill{flex:0 0 auto!important;white-space:normal!important}
 .bbvk-case-row,.bbvk-case-body{max-width:100%!important;min-width:0!important}
 .bbvk-member-grid,.bbvk-club-grid{grid-template-columns:1fr!important}
 .bbvk-work-section-title{display:block!important}
 .bbvk-work-section-title h2{overflow-wrap:anywhere!important}
 .bbvk-info-card strong,.bbvk-info-edit-card input{overflow-wrap:anywhere!important;max-width:100%!important}
 .bbvk-info-edit-card-note{grid-column:auto!important}
 .bbvk-final-save-panel{display:block!important}
}
/* Header & mobile buttons clean separation */
.bbvk-admin-hero-count,.bbvk-admin-hero-count span{color:#1f2937!important;background:#fff!important}
.bbvk-admin-hero-count strong{color:#14293f!important}
.bbvk-admin-hero{max-width:100%!important;min-width:0!important}
@media(max-width:700px){
 .bbvk-admin-hero-side,.bbvk-header-tools{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:.45rem!important;width:100%!important}
 .bbvk-header-details,.bbvk-header-details summary{max-width:100%!important;box-sizing:border-box!important}
 .bbvk-status-summary,.bbvk-status-summary>span{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .bbvk-month-print-box,.bbvk-month-print-content,.bbvk-month-print-controls{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
}
