/* easyVerein official OIDC example login-button design, scoped to the portal. */
.svk-helper .svk-easyverein-login{
  display:flex;align-items:center;width:max-content;max-width:100%;
  min-height:35px;padding:0;margin:0 auto 14px;
  border:1px solid #23985D;border-radius:10px;
  background:#fff;color:#23985D;
  text-decoration:none!important;overflow:hidden;
  font-family:inherit;cursor:pointer;
}
.svk-helper .svk-easyverein-login-logo{
  width:35px;height:35px;flex-shrink:0;margin-right:10px;
  border-radius:7px 0 0 7px;object-fit:cover;
}
.svk-helper .svk-easyverein-login-text{
  padding:0 10px 0 0;font-size:16px;font-weight:400;
  line-height:1.25;color:#23985D;
}
.svk-helper .svk-easyverein-login:hover{background:#f0f0f0;color:#23985D}
.svk-helper .svk-easyverein-login:focus-visible{
  outline:3px solid #8CB0DF;outline-offset:3px;
}

.svk-helper{--svk-primary:#164B9D;--svk-primary-dark:#123B7D;--svk-forest:var(--svk-primary);--svk-forest-dark:var(--svk-primary-dark);--svk-muted:#596B80;--svk-soft:#F3F7FC;--svk-border:#D9E3F0;--svk-red:#D3293F;--svk-blue-soft:#EAF2FC;max-width:1060px;margin:1rem auto 3rem;color:#273447;font:inherit;line-height:1.5;box-sizing:border-box}
.svk-helper *{box-sizing:border-box}
.svk-helper h2,.svk-helper h3,.svk-helper h4{color:var(--svk-forest-dark);line-height:1.25;margin:0}
.svk-helper h2{font-size:clamp(1.55rem,3.5vw,2.2rem)}
.svk-helper h3{font-size:clamp(1.3rem,2.7vw,1.65rem)}
.svk-helper h4{font-size:1.13rem}
.svk-helper .svk-card{padding:clamp(1rem,3vw,1.5rem);background:#fff;border:1px solid var(--svk-border);border-radius:14px;box-shadow:0 2px 12px rgba(22,75,157,.035)}
.svk-helper .svk-login{max-width:560px;margin:auto}
.svk-helper .svk-section-heading{margin-bottom:1.05rem}
.svk-helper .svk-section-heading p{color:var(--svk-muted);margin:.35rem 0 0}
.svk-helper .svk-kicker{display:block;color:#4F6887;letter-spacing:.09em;text-transform:uppercase;font-size:.76rem;font-weight:750;margin-bottom:.3rem}
.svk-helper .svk-section{margin-top:2.2rem}
.svk-helper form{display:grid;gap:12px}
.svk-helper label{display:block;font-weight:650;color:#273447;font-size:.92rem}
.svk-helper input:not([type="checkbox"]),.svk-helper select{display:block;width:100%;min-height:44px;padding:10px 12px;border:1px solid #BDCEE4;border-radius:8px;background:#fff;color:#273447;font:inherit;margin-top:5px}
.svk-helper input:focus-visible,.svk-helper select:focus-visible,.svk-helper button:focus-visible{outline:3px solid #8CB0DF;outline-offset:2px}
.svk-helper button{cursor:pointer;font:inherit}
.svk-helper .svk-btn{display:inline-flex;justify-content:center;align-items:center;gap:.35rem;padding:11px 16px;border-radius:9px;border:1px solid transparent;font-size:.94rem;font-weight:700;min-height:44px;text-align:center;transition:background .15s ease}
.svk-helper .svk-btn-primary{background:var(--svk-forest);color:#fff}
.svk-helper .svk-btn-primary:hover{background:var(--svk-forest-dark);color:#fff}
.svk-helper .svk-btn-soft{background:#EAF2FC;color:var(--svk-forest-dark)}
.svk-helper .svk-btn-soft:hover{background:#DAE7F8}
.svk-helper .svk-btn-outline{background:#fff;color:var(--svk-forest);border-color:#B9CBE4}
.svk-helper .svk-btn-outline:hover{background:#F5F8FD}
.svk-helper button:disabled{background:#E5E9F0!important;color:#637287!important;border-color:#D3DEEB!important;cursor:not-allowed}
.svk-helper .svk-error{color:#9d2531!important;background:#fff4f4!important;border-color:#eec6c8!important}
.svk-helper .svk-ok{color:#155438!important;background:#f0f9f2!important}
.svk-helper .svk-muted{color:var(--svk-muted)}
.svk-helper .svk-divider{display:flex;align-items:center;gap:12px;color:#62758D;text-align:center;margin:1.25rem 0}
.svk-helper .svk-divider:before,.svk-helper .svk-divider:after{content:"";height:1px;background:var(--svk-border);flex:1}
.svk-helper #svk-google{display:flex;justify-content:center;margin:12px auto 10px}
.svk-helper #svk-message{margin:1rem 0;padding:.75rem .9rem;min-height:1.4em;font-size:.94rem;color:var(--svk-muted);border:1px solid var(--svk-border);background:var(--svk-soft);border-radius:10px}
.svk-helper .svk-profile{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:linear-gradient(105deg,#F5F8FE,#fff)}
.svk-helper .svk-person{display:flex;align-items:center;gap:12px;min-width:0}
.svk-helper .svk-avatar{display:grid;place-items:center;flex-shrink:0;border-radius:50%;width:46px;height:46px;color:#fff;background:var(--svk-forest);font-weight:750;font-size:1.2rem}
.svk-helper .svk-person strong{display:block;color:var(--svk-forest-dark)}
.svk-helper .svk-hello{font-size:.79rem;color:var(--svk-muted)}
.svk-helper .svk-email{font-size:.85rem;overflow-wrap:anywhere}
.svk-helper .svk-profile-actions{display:flex;flex-wrap:wrap;gap:8px}
.svk-helper .svk-duty-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.svk-helper .svk-duty{display:flex;flex-direction:column;gap:8px;padding:1.1rem;border:1px solid var(--svk-border);border-radius:13px;background:#fff;min-width:0;box-shadow:0 2px 10px rgba(22,75,157,.025)}
.svk-helper .svk-duty-own{border-left:4px solid var(--svk-forest);background:#F8FBFF}
.svk-helper .svk-duty-top{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap}
.svk-helper .svk-date{font-weight:700;font-size:.88rem;color:#3E526D}
.svk-helper .svk-tag{font-size:.76rem;border-radius:999px;padding:3px 9px;font-weight:700;white-space:nowrap}
.svk-helper .svk-tag-free,.svk-helper .svk-tag-own{color:#12633a;background:#e2f3e8}
.svk-helper .svk-tag-full{color:#5f6661;background:#ecefee}
.svk-helper .svk-event{font-size:.87rem;color:var(--svk-muted)}
.svk-helper .svk-time{font-size:.9rem;color:#52617A}
.svk-helper .svk-capacity{font-size:.88rem;color:#52617A;margin-top:4px}
.svk-helper .svk-track{height:6px;background:#E8EEF8;border-radius:99px;overflow:hidden;margin-top:5px}
.svk-helper .svk-track>span{display:block;height:100%;background:#315F9C;border-radius:99px}
.svk-helper .svk-duty .svk-btn{margin-top:auto;width:100%}
.svk-helper .svk-empty{padding:1.45rem;margin:0;border:1px dashed #BFD0E6;border-radius:12px;color:#5D6F85;background:#F8FBFF}
.svk-helper .svk-filters{margin-bottom:1rem}
.svk-helper .svk-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.svk-helper .svk-filter-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px}
.svk-helper .svk-check{display:flex;align-items:center;gap:8px;font-size:.89rem;cursor:pointer}
.svk-helper .svk-check input{width:17px;height:17px;accent-color:var(--svk-forest);margin:0}
.svk-helper .svk-count{font-size:.83rem;color:var(--svk-muted)}
@media(max-width:700px){.svk-helper{margin:.5rem auto 2rem}.svk-helper .svk-duty-grid{grid-template-columns:1fr}.svk-helper .svk-filter-grid{grid-template-columns:1fr}.svk-helper .svk-profile-actions{width:100%}.svk-helper .svk-profile-actions .svk-btn{flex:1}.svk-helper .svk-duty{padding:1rem}}
@media(prefers-reduced-motion:reduce){.svk-helper .svk-btn{transition:none}}

.svk-helper .svk-brand{display:flex;align-items:center;gap:16px;padding:clamp(1rem,3vw,1.45rem);background:linear-gradient(120deg,#EAF2FC,#F7FAFF);border:1px solid var(--svk-border);border-radius:14px}
.svk-helper .svk-brand-logo{width:72px;height:72px;object-fit:contain;flex-shrink:0}
.svk-helper .svk-brand-monogram{display:grid;place-items:center;width:67px;height:67px;flex-shrink:0;border-radius:15px;background:var(--svk-forest);color:#fff;font-weight:800;font-size:1.1rem;letter-spacing:.02em}
.svk-helper .svk-brand-eyebrow{color:#47617F;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
@media(max-width:480px){.svk-helper .svk-brand{gap:10px}.svk-helper .svk-brand-logo,.svk-helper .svk-brand-monogram{width:50px;height:50px}.svk-helper .svk-brand h2{font-size:1.25rem}}

/* Kuchenanmeldungen: eigener Bereich, unabhängig von Helferschichten */
.svk-helper .svk-cake-panel{max-width:760px}
.svk-helper .svk-cake-lead{font-size:1.05rem;margin:0 0 1.1rem}
.svk-helper .svk-cake-own{background:#F3F7FC;border:1px solid var(--svk-border);border-radius:10px;padding:12px;margin-bottom:18px}
.svk-helper .svk-cake-own ul{margin:.5rem 0 0;padding-left:1.2rem}
.svk-helper .svk-cake-panel form{max-width:600px}
.svk-helper .svk-cake-panel form button{justify-self:start}
@media(max-width:700px){.svk-helper .svk-cake-panel form button{width:100%}}

/* Admin-Dashboard */
.svk-helper .svk-admin-area{margin-top:2rem}
.svk-helper .svk-admin-area .svk-card{display:grid;gap:12px}
.svk-helper .svk-admin-stats{display:flex;gap:10px;align-items:center}
.svk-helper .svk-admin-stats strong{font-size:1.7rem;color:var(--svk-forest)}
.svk-helper .svk-admin-depts{font-size:.91rem;color:var(--svk-muted)}
.svk-helper .svk-admin-help{margin:0}
.svk-helper .svk-admin-result{margin:0;font-weight:650}
.svk-helper [hidden]{display:none!important}

/* easyVerein: Treffer direkt unter dem Suchfeld statt zweitem Select */
.svk-helper .svk-admin-member-search{position:relative;min-width:0}
.svk-helper .svk-admin-member-search>label{display:block;margin-bottom:6px}
.svk-helper .svk-admin-autocomplete{position:relative}
.svk-helper .svk-admin-autocomplete>input{width:100%}
.svk-helper .svk-admin-member-suggestions{
 position:absolute;top:calc(100% + 3px);left:0;right:0;z-index:30;
 max-height:280px;overflow-y:auto;background:#fff;
 border:1px solid var(--svk-border);border-radius:10px;
 box-shadow:0 12px 26px rgba(22,75,157,.15);padding:4px;
}
.svk-helper .svk-admin-suggestion{
 display:block;width:100%;padding:11px 13px;text-align:left;cursor:pointer;
 border:0;border-radius:7px;background:transparent;color:#273447;
 font:inherit;line-height:1.4;
}
.svk-helper .svk-admin-suggestion:hover,
.svk-helper .svk-admin-suggestion[aria-selected="true"]{
 background:#E4EFFB;color:#164B9D;
}
.svk-helper .svk-admin-suggestion:focus-visible{
 outline:2px solid var(--svk-forest);outline-offset:-2px;
}

/* Gesamtübersicht: auf Desktop tabellarisch wie der Word-Dienstplan,
   auf Mobilgeräten innerhalb der einzelnen Schichten horizontal scrollbar. */
.svk-helper .svk-roster-container{margin-bottom:1.3rem}
.svk-helper .svk-roster-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}
.svk-helper .svk-roster-header h4{margin:0 0 .25rem}
.svk-helper .svk-roster-header p{margin:0}
.svk-helper .svk-roster-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.svk-helper .svk-roster-day{margin-top:1.6rem;break-inside:avoid-page}
.svk-helper .svk-roster-day h4{font-size:1.1rem;border-bottom:2px solid var(--svk-forest);padding-bottom:.4rem;margin-bottom:.8rem}
.svk-helper .svk-roster-shift{margin:1rem 0;border:1px solid var(--svk-border);border-radius:11px;overflow:hidden;break-inside:avoid-page}
.svk-helper .svk-roster-shift-heading{display:flex;justify-content:space-between;gap:.8rem;align-items:center;background:#EEF4FC;padding:10px 12px}
.svk-helper .svk-roster-shift-heading>div{display:flex;flex-wrap:wrap;gap:.5rem 1rem}
.svk-helper .svk-roster-shift-heading span{font-size:.85rem;color:var(--svk-muted)}
.svk-helper .svk-roster-scroll{overflow-x:auto;max-width:100%}
.svk-helper .svk-roster-table{width:100%;min-width:340px;border-collapse:collapse;font-size:.91rem;table-layout:auto}
.svk-helper .svk-roster-table th,.svk-helper .svk-roster-table td{text-align:left;padding:8px 12px;border-bottom:1px solid #DEE8F6;vertical-align:middle}
.svk-helper .svk-roster-table th{font-size:.8rem;background:#F5F8FC;color:#334C71}
.svk-helper .svk-roster-table tbody tr:last-child td{border-bottom:0}
.svk-helper .svk-roster-table td:first-child{width:65px;color:#5E6F85;font-variant-numeric:tabular-nums}
.svk-helper .svk-roster-open{background:#F8FBFF}
.svk-helper .svk-roster-vacant{color:#748498;font-style:italic}
.svk-helper .svk-roster-unreleased{font-size:.83rem;color:#9a5220;margin:7px 12px}
@media(max-width:700px){
 .svk-helper .svk-roster-filter{grid-template-columns:1fr}
 .svk-helper .svk-roster-header .svk-btn{width:100%}
 .svk-helper .svk-roster-table th,.svk-helper .svk-roster-table td{padding:8px}
}
@media print{
 .svk-helper .svk-roster-header button,.svk-helper .svk-roster-filter,.svk-helper #svk-admin-form{display:none!important}
 .svk-helper .svk-roster-shift{break-inside:avoid}
 .svk-helper .svk-roster-scroll{overflow:visible}
}

/* Dienstplan: standardmäßig eingeklappt, mit dauerhaftem Check-in pro Buchung. */
.svk-helper .svk-roster-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:.75rem 0}
.svk-helper .svk-attendance-select{min-width:116px!important;width:auto!important;max-width:100%;margin:0!important;padding:6px!important;min-height:34px!important;font-size:.88rem!important}
.svk-helper .svk-attendance-print{display:none}
.svk-helper .svk-roster-header button{white-space:nowrap}
.svk-helper .svk-roster-table{min-width:480px}
@media print{
 body.svk-print-roster *{visibility:hidden!important}
 body.svk-print-roster .svk-roster-container,body.svk-print-roster .svk-roster-container *{visibility:visible!important}
 body.svk-print-roster .svk-roster-container{position:absolute!important;left:0!important;top:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
 body.svk-print-roster .svk-roster-container #svk-roster-body{display:block!important}
 body.svk-print-roster .svk-roster-container .svk-roster-toolbar,
 body.svk-print-roster .svk-roster-container .svk-roster-filter,
 body.svk-print-roster .svk-roster-container #svk-roster-toggle,
 body.svk-print-roster .svk-roster-container .svk-attendance-select{display:none!important}
 body.svk-print-roster .svk-roster-container .svk-attendance-print{display:inline!important}
 body.svk-print-roster .svk-roster-scroll{overflow:visible!important}
 body.svk-print-roster .svk-roster-table{min-width:0!important;width:100%!important;font-size:9pt!important}
 body.svk-print-roster .svk-roster-day{break-inside:auto!important}
 body.svk-print-roster .svk-roster-shift{break-inside:avoid-page!important}
}

/* Cancellation actions remain visible in the portal but not on printed duty rosters. */
.svk-helper .svk-roster-table .svk-attendance-select,
.svk-helper .svk-roster-table .svk-roster-cancel{
  box-sizing:border-box;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  vertical-align:middle;
}
.svk-helper .svk-roster-table .svk-attendance-select{padding:6px 10px!important}
.svk-helper .svk-roster-cancel{padding:6px 10px;min-height:40px;font-size:.8rem}
.svk-helper .svk-audit-container{margin-top:16px}
@media print{.svk-helper .svk-roster-cancel,.svk-helper .svk-audit-container{display:none!important}}

/* Always make the account-switch control visible in the header, not after long admin lists. */
.svk-helper [hidden]{display:none!important}
.svk-helper .svk-brand{flex-wrap:wrap}
.svk-helper #svk-top-logout{margin-left:auto;flex-shrink:0;white-space:nowrap}
.svk-helper #svk-identity-switch{margin:12px 0;padding:12px;border:1px solid var(--svk-border);border-radius:8px;background:var(--svk-soft)}
.svk-helper #svk-identity-switch p{margin:0}
@media(max-width:620px){.svk-helper #svk-top-logout{width:100%;margin-left:0}}


/* Mobile roster: stacked, fully visible rows instead of an off-screen five-column table.
   Scope to on-screen presentation so printing retains the existing full table. */
@media screen and (max-width:760px){
  .svk-helper{font-size:16px;line-height:1.55;min-width:0}
  .svk-helper .svk-card{padding:16px}
  .svk-helper .svk-section-heading p,
  .svk-helper #svk-message,
  .svk-helper .svk-muted,
  .svk-helper .svk-admin-help,
  .svk-helper .svk-roster-header p,
  .svk-helper .svk-roster-status,
  .svk-helper .svk-roster-unreleased{font-size:1rem}
  .svk-helper label,.svk-helper .svk-btn,
  .svk-helper .svk-date,.svk-helper .svk-event,
  .svk-helper .svk-time,.svk-helper .svk-capacity,
  .svk-helper .svk-roster-shift-heading span{font-size:1rem}
  .svk-helper .svk-tag{font-size:.9rem}
  .svk-helper .svk-admin-area,.svk-helper .svk-roster-container,
  .svk-helper .svk-admin-area .svk-card,
  .svk-helper #svk-roster-body,.svk-helper #svk-roster-data,
  .svk-helper .svk-roster-day,.svk-helper .svk-roster-shift,
  .svk-helper .svk-roster-scroll{min-width:0;max-width:100%;width:100%}
  .svk-helper .svk-admin-area .svk-card{grid-template-columns:minmax(0,1fr)}
  .svk-helper .svk-roster-day h4{font-size:1.2rem;overflow-wrap:anywhere}
  .svk-helper .svk-roster-shift-heading{
    display:flex;flex-wrap:wrap;align-items:flex-start;
    padding:12px;gap:10px
  }
  .svk-helper .svk-roster-shift-heading>div{min-width:0;flex:1 1 160px}
  .svk-helper .svk-roster-shift-heading strong{
    font-size:1.08rem;overflow-wrap:anywhere
  }
  .svk-helper .svk-roster-scroll{overflow-x:visible}
  .svk-helper .svk-roster-table.svk-roster-responsive{
    display:block;width:100%;min-width:0;max-width:100%;
    table-layout:auto;font-size:1rem
  }
  .svk-helper .svk-roster-responsive thead{display:none}
  .svk-helper .svk-roster-responsive tbody{display:grid;gap:10px;padding:10px}
  .svk-helper .svk-roster-responsive tr{
    display:grid;min-width:0;grid-template-columns:minmax(0,1fr);
    padding:8px 12px;border:1px solid var(--svk-border);
    border-radius:10px;background:#fff
  }
  .svk-helper .svk-roster-responsive tr.svk-roster-open{background:#F8FBFF}
  .svk-helper .svk-roster-responsive td{
    display:grid;grid-template-columns:minmax(88px,34%) minmax(0,1fr);
    align-items:center;column-gap:12px;
    width:100%!important;min-width:0;
    padding:10px 0!important;vertical-align:middle;
    font-size:1rem;line-height:1.45;
    overflow-wrap:anywhere
  }
  .svk-helper .svk-roster-responsive td::before{
    content:attr(data-label);
    display:block;align-self:center;
    color:var(--svk-muted);font-weight:700;
    font-size:.94rem;line-height:1.35
  }
  .svk-helper .svk-roster-responsive td:last-child{border-bottom:0}
  .svk-helper .svk-roster-responsive .svk-attendance-select,
  .svk-helper .svk-roster-responsive .svk-roster-cancel{
    width:100%!important;min-width:0!important;max-width:100%;
    min-height:44px!important;height:44px!important;
    font-size:1rem!important
  }
  .svk-helper .svk-roster-responsive .svk-attendance-print{display:none}
  .svk-helper .svk-roster-toolbar{gap:10px}
  .svk-helper .svk-roster-toolbar .svk-btn{flex:1 1 145px}
  .svk-helper .svk-roster-filter label,
  .svk-helper .svk-roster-filter select{font-size:1rem}
  .svk-helper .svk-roster-filter select{min-height:46px}
  .svk-helper .svk-roster-table:not(.svk-roster-responsive){font-size:1rem}
  .svk-helper .svk-roster-table:not(.svk-roster-responsive) th{font-size:.95rem}
}

/* Accessible smartphone typography: explicit pixel values override small theme root rem. */
@media screen and (max-width:760px) {
  .svk-helper {font-size:18px!important;line-height:1.55!important}
  .svk-helper h2 {font-size:26px!important;line-height:1.3}
  .svk-helper h3 {font-size:24px!important;line-height:1.3}
  .svk-helper h4,
  .svk-helper .svk-roster-day h4 {font-size:21px!important;line-height:1.35}
  .svk-helper .svk-roster-shift-heading strong {font-size:20px!important;line-height:1.4}
  .svk-helper p,
  .svk-helper label,
  .svk-helper #svk-message,
  .svk-helper .svk-muted,
  .svk-helper .svk-admin-help,
  .svk-helper .svk-roster-header p,
  .svk-helper #svk-roster-status,
  .svk-helper .svk-roster-unreleased,
  .svk-helper .svk-section-heading p,
  .svk-helper .svk-roster-shift-heading span,
  .svk-helper .svk-duty .svk-date,
  .svk-helper .svk-duty .svk-event,
  .svk-helper .svk-duty .svk-time,
  .svk-helper .svk-duty .svk-capacity,
  .svk-helper .svk-roster-responsive td,
  .svk-helper .svk-roster-responsive td::before,
  .svk-helper .svk-roster-responsive .svk-roster-vacant,
  .svk-helper .svk-roster-filter label {
    font-size:18px!important;
    line-height:1.5;
  }
  .svk-helper .svk-kicker,
  .svk-helper .svk-tag,
  .svk-helper .svk-count,
  .svk-helper .svk-hello,
  .svk-helper .svk-email {font-size:16px!important;line-height:1.4}
  .svk-helper .svk-btn,
  .svk-helper input:not([type="checkbox"]),
  .svk-helper select,
  .svk-helper textarea,
  .svk-helper .svk-roster-responsive .svk-attendance-select,
  .svk-helper .svk-roster-responsive .svk-roster-cancel {
    font-size:18px!important;
    line-height:1.4;
  }
  .svk-helper .svk-roster-responsive td{
    grid-template-columns:minmax(92px,34%) minmax(0,1fr);
  }
  .svk-helper .svk-roster-responsive .svk-roster-empty td{
    display:block!important;
    font-size:18px!important;
    text-align:left;
  }
  .svk-helper .svk-roster-responsive .svk-roster-empty td::before{display:none}
  .svk-helper .svk-roster-responsive .svk-roster-empty{
    background:#F5F8FC;border-style:dashed;
  }
}

/* ASA administration: event and shift lifecycle editing. */
.svk-helper .svk-events-container{margin-bottom:20px}
.svk-helper .svk-events-container #svk-events-body{min-width:0}
.svk-helper .svk-management-event{border:1px solid var(--svk-border);border-radius:12px;margin:12px 0;padding:12px;background:#F9FBFE}
.svk-helper .svk-management-event-head,.svk-helper .svk-management-shift{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.svk-helper .svk-management-event-head>div,.svk-helper .svk-management-shift>div{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.svk-helper .svk-management-event-head strong{font-size:1.08rem}
.svk-helper .svk-management-event-head span,.svk-helper .svk-management-shift span{color:var(--svk-muted)}
.svk-helper .svk-management-shifts{margin-top:10px}
.svk-helper .svk-management-shift{padding:10px 0;border-top:1px solid var(--svk-border)}
.svk-helper .svk-management-status{min-height:44px;min-width:145px;max-width:100%;margin:4px 0}
.svk-helper .svk-management-form{display:grid;gap:10px;padding:16px;margin:16px 0;border:1px solid var(--svk-border);border-radius:12px;background:var(--svk-soft)}
.svk-helper .svk-management-form h5{font-size:1.1rem;margin:0;color:var(--svk-forest)}
.svk-helper .svk-management-form input,.svk-helper .svk-management-form select{width:100%;max-width:100%}
.svk-helper .svk-management-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media screen and (max-width:760px){
 .svk-helper .svk-management-grid{grid-template-columns:1fr}
 .svk-helper .svk-management-event-head>div,.svk-helper .svk-management-shift>div{flex-basis:100%}
 .svk-helper .svk-management-event-head label,.svk-helper .svk-management-shift label{width:100%;font-size:18px!important}
 .svk-helper .svk-management-status{width:100%!important;font-size:18px!important}
 .svk-helper .svk-management-form h5{font-size:21px}
}

/* Unreleased duties must explain their missing required fields, on all screen sizes. */
.svk-helper .svk-management-warning {
  display:block;
  color:#8f341e;
  background:#fff6ec;
  border-left:3px solid #d68b2d;
  border-radius:3px;
  padding:8px 10px;
  margin:6px 0;
  font-size:15px;
  font-weight:600;
  line-height:1.5;
}
.svk-helper .svk-events-container #svk-events-status {
  font-size:16px;
  line-height:1.5;
  font-weight:600;
  white-space:normal;
  overflow-wrap:anywhere;
}
.svk-helper .svk-management-status option:disabled{color:#757575}
@media screen and (max-width:760px){
  .svk-helper .svk-management-warning,
  .svk-helper .svk-events-container #svk-events-status{font-size:18px!important}
}

/* Explicit edit/delete controls for the event administration. */
.svk-helper .svk-management-actions{
 display:flex;flex-wrap:wrap;align-items:center;gap:10px;
 width:100%;padding:8px 0;
}
.svk-helper .svk-management-actions .svk-btn{min-height:44px}
.svk-helper .svk-shift-delete{border-color:#ac4c42;color:#92342b}
.svk-helper .svk-shift-delete:hover{background:#fff1f0}
.svk-helper .svk-management-shift-edit[hidden]{display:none!important}
.svk-helper .svk-management-shift-edit{width:100%;min-width:0}
.svk-helper .svk-end-open-label{
 display:flex;align-items:center;gap:9px;min-height:44px;
 font-size:16px;font-weight:600
}
.svk-helper .svk-end-open-label input[type="checkbox"]{
 width:20px;height:20px;flex:none
}
@media screen and (max-width:760px){
 .svk-helper .svk-management-actions{display:grid;grid-template-columns:minmax(0,1fr)}
 .svk-helper .svk-management-actions .svk-btn{width:100%;font-size:18px!important}
 .svk-helper .svk-end-open-label{font-size:18px!important}
}

/* Event-first dashboard: account controls above one clear event selection. */
.svk-helper .svk-dashboard>.svk-profile{margin-top:8px}
.svk-helper .svk-event-choice{margin-top:16px}
.svk-helper .svk-event-choice .svk-section-heading{margin-bottom:10px}
.svk-helper .svk-event-choice select{font-size:18px;font-weight:700;min-height:52px}
.svk-helper #svk-selected-event-title{font-weight:750}
.svk-helper #svk-cakes-section[hidden]{display:none!important}
.svk-helper .svk-roster-filter label:has(#svk-roster-event){display:none}
@media screen and (max-width:760px){
 .svk-helper .svk-dashboard>.svk-profile{align-items:stretch}
 .svk-helper .svk-profile-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}
 .svk-helper .svk-profile-actions .svk-btn{width:100%;min-height:48px}
 .svk-helper .svk-event-choice{padding:16px}
 .svk-helper .svk-event-choice select{font-size:18px!important;line-height:1.4}
 .svk-helper .svk-dashboard>.svk-section{margin-top:22px}
}


/* Signed-in identity is the first element, above the event-switching header. */
.svk-helper #svk-identity-top:empty{display:none}
.svk-helper #svk-identity-top .svk-profile{
 margin-bottom:14px;padding:12px 18px;box-shadow:none
}
.svk-helper .svk-brand-copy{flex:1;min-width:0;position:relative}
.svk-helper .svk-event-switcher{position:relative;min-width:0}
.svk-helper .svk-event-switcher[hidden],
.svk-helper #svk-brand-heading[hidden],
.svk-helper #svk-event-menu[hidden]{display:none!important}
.svk-helper .svk-event-switch{
 display:inline-flex;gap:14px;align-items:center;text-align:left;
 max-width:100%;min-height:48px;padding:6px 10px 6px 0;
 background:transparent;border:0;color:var(--svk-forest-dark);
 font-size:clamp(22px,2.8vw,32px);font-weight:800;line-height:1.2;
 cursor:pointer;
}
.svk-helper .svk-event-switch span:first-child{overflow-wrap:anywhere}
.svk-helper .svk-event-switch span:last-child{flex:none;font-size:28px;font-weight:600}
.svk-helper .svk-event-switch:focus-visible,
.svk-helper .svk-event-option:focus-visible{
 outline:3px solid #8CB0DF;outline-offset:2px;border-radius:6px
}
.svk-helper .svk-event-switch:disabled{opacity:.75;cursor:default}
.svk-helper .svk-event-menu{
 display:grid;gap:5px;position:absolute;z-index:30;
 top:calc(100% + 8px);left:0;width:min(420px,90vw);
 max-width:100%;padding:12px;background:#fff;
 border:1px solid #BACDE5;border-radius:14px;
 box-shadow:0 14px 35px rgba(22,75,157,.18);
}
.svk-helper .svk-event-menu-label{
 padding:4px 8px 6px;color:var(--svk-muted);
 font-size:14px;font-weight:700;letter-spacing:.04em
}
.svk-helper .svk-event-option{
 display:flex;flex-direction:column;gap:3px;
 width:100%;padding:12px;border:1px solid transparent;
 border-radius:9px;background:#fff;text-align:left;color:var(--svk-forest-dark);
 font-size:18px;line-height:1.35;cursor:pointer
}
.svk-helper .svk-event-option:hover{background:#EAF2FC}
.svk-helper .svk-event-option[aria-current=true]{
 background:#E3ECFA;border-color:#BED2EE
}
.svk-helper .svk-event-option small{
 color:var(--svk-muted);font-size:14px
}
.svk-helper #svk-event-copy{width:100%;min-height:44px;margin-top:4px}
.svk-helper #svk-event-copy-status{
 margin:0;padding:0 7px;font-size:14px;
 color:var(--svk-forest-dark);overflow-wrap:anywhere
}
.svk-helper .svk-event-menu [hidden]{display:none!important}
@media screen and (max-width:760px){
 .svk-helper #svk-identity-top .svk-profile{padding:14px}
 .svk-helper .svk-event-switch{font-size:24px!important;line-height:1.25}
 .svk-helper .svk-event-menu{width:min(420px,calc(100vw - 56px));max-width:none}
 .svk-helper .svk-event-option{font-size:18px!important}
 .svk-helper .svk-event-option small{font-size:16px!important}
 .svk-helper #svk-event-copy-status{font-size:16px!important}
}


/* Compact duties: no duplicate event title, date listbox or filter card. */
.svk-helper .svk-duties-section{margin-top:22px}
.svk-helper .svk-duties-toolbar{
 display:flex;justify-content:space-between;align-items:center;
 flex-wrap:wrap;gap:12px;margin-bottom:14px
}
.svk-helper .svk-duties-toolbar h3{
 margin:0;font-size:clamp(20px,2vw,25px);line-height:1.35
}
.svk-helper .svk-free-only-toggle{
 min-height:44px;padding:10px 16px;flex:none
}
.svk-helper .svk-free-only-toggle[aria-pressed="true"]{
 background:var(--svk-forest);color:#fff;border-color:var(--svk-forest)
}
/* Share link is immediately to the right of the selected event name. */
.svk-helper .svk-event-switch-row{
 display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0
}
.svk-helper .svk-event-switch-row .svk-event-switch{
 flex:0 1 auto;min-width:0
}
.svk-helper #svk-event-copy{
 width:auto!important;min-height:44px;flex:none;
 margin:0!important;padding:9px 14px
}
.svk-helper #svk-event-copy:disabled{opacity:.55}
.svk-helper #svk-event-copy-status:empty{display:none}
.svk-helper #svk-event-copy-status:not(:empty){
 margin-top:5px;padding:0;font-size:15px
}
@media screen and (max-width:760px){
 .svk-helper .svk-duties-toolbar{align-items:stretch}
 .svk-helper .svk-duties-toolbar h3{font-size:22px!important}
 .svk-helper .svk-free-only-toggle{font-size:18px!important;width:100%}
 .svk-helper .svk-event-switch-row{gap:8px}
 .svk-helper #svk-event-copy{font-size:16px!important;min-height:44px}
}


/* Manual admin assignment directly beneath the selected event header. */
.svk-helper #svk-manual-assignment-slot:empty{display:none}
.svk-helper #svk-manual-assignment-slot{margin-top:14px}
.svk-helper #svk-manual-assignment-slot .svk-manual-assignment{
 border-color:var(--svk-border);
 padding:clamp(15px,2.5vw,22px);
}
.svk-helper #svk-manual-assignment-slot .svk-admin-stats strong{
 font-size:clamp(19px,2.1vw,23px);line-height:1.3
}
.svk-helper #svk-manual-assignment-slot .svk-admin-help{
 margin-top:8px;
}
@media screen and (max-width:760px){
 .svk-helper #svk-manual-assignment-slot .svk-admin-stats strong{
  font-size:21px!important;
 }
 .svk-helper #svk-manual-assignment-slot .svk-admin-help{
  font-size:18px!important;
 }
}


/* Compact member search on desktop; full-width on narrow screens. */
.svk-helper #svk-manual-assignment-slot .svk-admin-member-search{
 width:100%;
 max-width:560px;
 min-width:0;
}
.svk-helper #svk-manual-assignment-slot .svk-admin-autocomplete,
.svk-helper #svk-manual-assignment-slot #svk-admin-member-query{
 width:100%;
 max-width:100%;
 min-width:0;
 box-sizing:border-box;
}
.svk-helper #svk-manual-assignment-slot .svk-admin-member-suggestions{
 max-width:100%;
 box-sizing:border-box;
}
@media screen and (max-width:760px){
 .svk-helper #svk-manual-assignment-slot .svk-admin-member-search{
  max-width:100%;
 }
}

/* Schichtverwaltung: ausgeklappte Bearbeitung immer in voller Zeilenbreite.
   WordPress-Themes dürfen Zeitfelder und Ende-offen nicht auseinanderziehen. */
.svk-helper .svk-management-shift{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(150px,190px);
  align-items:start;
  justify-content:stretch;
  column-gap:16px;
  row-gap:8px;
}
.svk-helper .svk-management-shift>div:first-child{min-width:0;overflow-wrap:anywhere}
.svk-helper .svk-management-shift>.svk-management-actions,
.svk-helper .svk-management-shift>.svk-management-shift-edit{
  grid-column:1/-1;
  width:100%;
  min-width:0;
}
.svk-helper .svk-management-shift>.svk-management-actions{
  padding:0;
}
.svk-helper .svk-management-shift>.svk-management-actions .svk-btn{
  width:auto;
}
.svk-helper .svk-management-shift-edit>.svk-management-form{
  width:100%;
  margin:4px 0 6px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
}
.svk-helper .svk-management-shift-edit>.svk-management-form>input[type="hidden"]{
  display:none;
}
.svk-helper .svk-management-shift-edit>.svk-management-form>.svk-management-grid{
  grid-column:1/-1;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:end;
}
.svk-helper .svk-management-shift-edit input[type="time"]{
  min-width:0;
  width:100%;
  font-variant-numeric:tabular-nums;
}
.svk-helper .svk-management-shift-edit .svk-end-open-label{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  white-space:nowrap;
  min-width:0;
  margin:0;
  padding-bottom:9px;
}
.svk-helper .svk-management-shift-edit .svk-end-open-label input[type="checkbox"]{
  flex:0 0 20px;
  width:20px;
  height:20px;
  margin:0;
}
.svk-helper .svk-management-shift-edit>.svk-management-form>button[type="submit"]{
  justify-self:start;
  grid-column:1/-1;
}
@media screen and (max-width:900px){
  .svk-helper .svk-management-shift-edit>.svk-management-form>.svk-management-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media screen and (max-width:760px){
  .svk-helper .svk-management-shift{grid-template-columns:minmax(0,1fr)}
  .svk-helper .svk-management-shift>.svk-management-actions,
  .svk-helper .svk-management-shift>.svk-management-shift-edit{grid-column:1}
  .svk-helper .svk-management-shift-edit>.svk-management-form{
    grid-template-columns:minmax(0,1fr);
  }
  .svk-helper .svk-management-shift-edit>.svk-management-form>.svk-management-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .svk-helper .svk-management-shift-edit .svk-end-open-label{padding-bottom:0}
}

/* Kompakte Schichtkopfzeile: Status und Icon-Aktionen direkt beim Dienst. */
.svk-helper .svk-management-shift{
  grid-template-columns:minmax(0,1fr) minmax(150px,190px) auto;
  column-gap:12px;
  row-gap:8px;
  align-items:center;
}
.svk-helper .svk-management-shift>div:first-child{
  align-self:center;
}
.svk-helper .svk-management-shift>.svk-management-actions{
  grid-column:3;
  grid-row:1;
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  justify-content:flex-end;
  align-items:center;
  width:auto;
  padding:0;
  gap:6px;
  min-width:0;
}
.svk-helper .svk-management-shift>.svk-management-shift-edit{
  grid-column:1/-1;
  grid-row:2;
}
.svk-helper .svk-shift-icon-button{
  display:inline-flex;
  flex:0 0 40px;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  min-width:40px;
  min-height:40px;
  padding:8px;
  margin:0;
  border:1px solid var(--svk-border);
  border-radius:9px;
  background:#EDF3FC;
  color:var(--svk-forest-dark);
  cursor:pointer;
  line-height:1;
}
.svk-helper .svk-shift-icon-button svg{
  display:block;
  width:20px;
  height:20px;
  pointer-events:none;
}
.svk-helper .svk-shift-icon-button:hover,
.svk-helper .svk-shift-icon-button[aria-expanded="true"]{
  background:#E4EDFA;
}
.svk-helper .svk-shift-icon-button.svk-shift-delete{
  border-color:#ecc4c0;
  background:#fff;
  color:#a53e34;
}
.svk-helper .svk-shift-icon-button.svk-shift-delete:hover{
  background:#fff1f0;
}

/* Desktop: bewusst lesbarere Schrift, ohne bereits optimierte Mobilansicht anzufassen. */
@media screen and (min-width:761px){
  .svk-helper{font-size:18px;line-height:1.55}
  .svk-helper :is(p,li,td,th,summary){font-size:18px}
  .svk-helper :is(label,input:not([type="checkbox"]),select,textarea,.svk-btn){
    font-size:18px;
  }
  .svk-helper :is(.svk-kicker,.svk-hello,.svk-email,.svk-date,.svk-tag,.svk-event,.svk-time,.svk-capacity,.svk-count,.svk-event-menu-label,.svk-event-option small,.svk-admin-help,.svk-management-warning,.svk-roster-unreleased){
    font-size:17px;
  }
  .svk-helper :is(.svk-management-event-head strong,.svk-management-shift strong){
    font-size:21px;
    line-height:1.35;
  }
  .svk-helper .svk-management-shift>div:first-child>span{font-size:19px;line-height:1.45}
  .svk-helper .svk-management-shift>label{font-size:17px}
  .svk-helper .svk-management-status{font-size:17px;min-height:44px}
  .svk-helper .svk-shift-icon-button{font-size:inherit}
  .svk-helper .svk-event-switch span:last-child{font-size:28px}
}
@media screen and (max-width:760px){
  .svk-helper .svk-management-shift{
    grid-template-columns:minmax(0,1fr) auto;
    column-gap:10px;
  }
  .svk-helper .svk-management-shift>div:first-child{
    grid-column:1/-1;
    grid-row:1;
  }
  .svk-helper .svk-management-shift>label{
    grid-column:1;
    grid-row:2;
    min-width:0;
  }
  .svk-helper .svk-management-shift>.svk-management-actions{
    grid-column:2;
    grid-row:2;
    display:flex;
    grid-template-columns:none;
    width:auto;
    padding:0;
  }
  .svk-helper .svk-management-shift>.svk-management-shift-edit{
    grid-column:1/-1;
    grid-row:3;
  }
  .svk-helper .svk-shift-icon-button{
    flex-basis:44px;
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
  }
}

/* Kleine Verwaltungskacheln: alle drei Erstellaktionen stehen in einer Reihe. */
.svk-helper .svk-admin-quick-tiles{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:16px 0 10px;
}
.svk-helper .svk-admin-quick-trigger,
.svk-helper .svk-admin-manual-trigger,
.svk-helper .svk-admin-report-trigger{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  min-width:0;
  min-height:66px;
  margin:0;
  padding:14px 16px;
  text-align:left;
  border:1px solid var(--svk-border);
  border-radius:12px;
  color:var(--svk-forest-dark);
  background:#F3F7FC;
  font-size:17px;
  font-weight:700;
  line-height:1.35;
  cursor:pointer;
  overflow-wrap:anywhere;
}
.svk-helper .svk-admin-quick-trigger:hover,
.svk-helper .svk-admin-manual-trigger:hover,
.svk-helper .svk-admin-report-trigger:hover,
.svk-helper .svk-admin-quick-trigger[aria-expanded="true"],
.svk-helper .svk-admin-manual-trigger[aria-expanded="true"],
.svk-helper .svk-admin-report-trigger[aria-expanded="true"]{
  border-color:#BACFEB;
  background:#E8F1FB;
}
.svk-helper .svk-admin-tile-symbol{
  flex:0 0 28px;
  display:grid;
  place-items:center;
  font-size:24px;
  line-height:1;
}
.svk-helper .svk-admin-tile-chevron{
  margin-left:auto;
  flex:0 0 auto;
  transition:transform .15s ease;
  font-size:22px;
}
.svk-helper [aria-expanded="true"]>.svk-admin-tile-chevron{transform:rotate(180deg)}
.svk-helper .svk-admin-quick-panels{min-width:0}
.svk-helper .svk-admin-quick-panel{
  min-width:0;
  padding:0;
}
.svk-helper .svk-admin-quick-panel>.svk-management-form{margin:8px 0 16px}

/* Mitgliederverwaltung bleibt direkt unter der Veranstaltungsüberschrift. */
.svk-helper #svk-manual-assignment-slot .svk-admin-manual-tile{width:100%;min-width:0}
.svk-helper #svk-manual-assignment-slot .svk-admin-manual-trigger{min-height:64px}
.svk-helper #svk-manual-assignment-slot .svk-manual-assignment{
  margin-top:8px;
  border-radius:12px;
  min-width:0;
}

/* Gesamtliste und Protokoll: zwei kompakte Kacheln, geöffneter Inhalt volle Breite. */
.svk-helper .svk-admin-report-tiles{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:12px;
  margin-top:16px;
}
.svk-helper .svk-admin-report-tile{
  min-width:0;
  width:100%;
  margin:0!important;
  padding:0!important;
  overflow:hidden;
}
.svk-helper .svk-admin-report-tile.is-open{grid-column:1/-1}
.svk-helper .svk-admin-report-trigger{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  row-gap:3px;
  min-height:76px;
  border:0;
  border-radius:12px;
  background:transparent;
}
.svk-helper .svk-admin-report-title{font-size:19px;font-weight:750}
.svk-helper .svk-admin-report-description{
  display:block;
  grid-column:1;
  font-size:15px;
  font-weight:450;
  color:var(--svk-muted);
}
.svk-helper .svk-admin-report-trigger .svk-admin-tile-chevron{
  grid-column:2;
  grid-row:1/3;
  align-self:center;
}
.svk-helper .svk-admin-report-tile>div[id$="-body"]{
  padding:0 16px 16px;
  min-width:0;
  width:100%;
}

/* Protokoll bleibt innerhalb der Kachel; breite Spalten werden im eigenen
   horizontal scrollbaren Bereich angezeigt, nicht über die Seite verteilt. */
.svk-helper .svk-audit-scroll{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto!important;
  overflow-y:auto;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
}
.svk-helper .svk-audit-table{
  width:100%;
  min-width:1040px;
  table-layout:fixed;
  border-collapse:collapse;
}
.svk-helper .svk-audit-table th,
.svk-helper .svk-audit-table td{
  padding:10px 9px;
  text-align:left;
  font-size:15px;
  line-height:1.45;
  vertical-align:top;
  overflow-wrap:anywhere;
  word-break:normal;
}
.svk-helper .svk-audit-table th:nth-child(1){width:145px}
.svk-helper .svk-audit-table th:nth-child(2){width:105px}
.svk-helper .svk-audit-table th:nth-child(3){width:200px}
.svk-helper .svk-audit-table th:nth-child(4){width:170px}
.svk-helper .svk-audit-table th:nth-child(5){width:145px}
.svk-helper .svk-audit-table th:nth-child(6){width:150px}
.svk-helper .svk-audit-table th:nth-child(7){width:150px}
.svk-helper .svk-audit-table td:first-child{width:auto}
.svk-helper .svk-audit-table td:nth-child(3),
.svk-helper .svk-audit-table td:nth-child(4){overflow-wrap:anywhere}

@media screen and (max-width:900px){
  .svk-helper .svk-admin-quick-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .svk-helper .svk-admin-quick-trigger{padding:12px 9px;font-size:16px}
}
@media screen and (max-width:760px){
  .svk-helper .svk-admin-quick-tiles{grid-template-columns:minmax(0,1fr)}
  .svk-helper .svk-admin-report-tiles{grid-template-columns:minmax(0,1fr)}
  .svk-helper .svk-admin-report-tile.is-open{grid-column:1}
  .svk-helper .svk-admin-quick-trigger,
  .svk-helper .svk-admin-manual-trigger,
  .svk-helper .svk-admin-report-trigger{font-size:18px!important;min-height:58px}
  .svk-helper .svk-admin-report-description{font-size:16px!important}
  .svk-helper .svk-audit-table{min-width:1040px}
}
@media print{
  .svk-helper .svk-admin-quick-tiles,
  .svk-helper .svk-admin-quick-panels,
  .svk-helper .svk-admin-report-trigger{display:none!important}
  body.svk-print-roster .svk-admin-report-tiles{display:block!important}
  body.svk-print-roster .svk-admin-report-tile{overflow:visible!important}
}

/* Manual assignment uses the fourth action tile for administrators. */
.svk-helper .svk-admin-quick-tiles>.svk-admin-manual-trigger{min-height:66px}
.svk-helper .svk-admin-quick-panels>#svk-manual-body{min-width:0;margin:8px 0 16px}
.svk-helper .svk-admin-quick-panels>#svk-manual-body>.svk-manual-assignment{margin:0;min-width:0}
@media screen and (max-width:760px){
 .svk-helper .svk-admin-quick-tiles>.svk-admin-manual-trigger{min-height:58px}
}

/* Desktop-Nachbesserung: kompakte, vollständig lesbare Verwaltungs-Kacheln.
   Mobile Typografie (max-width:760px) bleibt unverändert. */
@media screen and (min-width:761px){
 .svk-helper{font-size:16px;line-height:1.5}
 .svk-helper :is(p,li,td,th,summary){font-size:16px}
 .svk-helper :is(label,input:not([type="checkbox"]),select,textarea,.svk-btn){font-size:16px}
 .svk-helper :is(.svk-kicker,.svk-hello,.svk-email,.svk-date,.svk-tag,.svk-event,.svk-time,.svk-capacity,.svk-count,.svk-event-menu-label,.svk-event-option small,.svk-admin-help,.svk-management-warning,.svk-roster-unreleased){font-size:15px}
 .svk-helper :is(.svk-management-event-head strong,.svk-management-shift strong){font-size:19px}
 .svk-helper .svk-management-shift>div:first-child>span{font-size:17px}
 .svk-helper .svk-management-shift>label,.svk-helper .svk-management-status{font-size:16px}
 .svk-helper .svk-event-switch{font-size:clamp(22px,2.4vw,27px);min-height:44px}
 .svk-helper .svk-event-switch span:last-child{font-size:24px}
 .svk-helper .svk-admin-quick-tiles{
   grid-template-columns:repeat(4,minmax(0,1fr));
   gap:10px;
   margin:12px 0 8px;
   min-width:0;
   width:100%;
 }
 .svk-helper .svk-admin-quick-tiles>.svk-admin-quick-trigger,
 .svk-helper .svk-admin-quick-tiles>.svk-admin-manual-trigger{
   display:flex;
   width:100%;
   max-width:100%;
   min-width:0;
   min-height:58px;
   height:auto;
   padding:10px 11px;
   gap:7px;
   font-size:14px;
   font-weight:700;
   line-height:1.28;
   white-space:normal!important;
   text-align:left;
   overflow-wrap:anywhere;
   word-break:normal;
   align-items:center;
 }
 .svk-helper .svk-admin-quick-tiles>.svk-admin-quick-trigger>span:not(.svk-admin-tile-symbol):not(.svk-admin-tile-chevron),
 .svk-helper .svk-admin-quick-tiles>.svk-admin-manual-trigger>span:not(.svk-admin-tile-symbol):not(.svk-admin-tile-chevron){
   flex:1 1 auto;
   min-width:0;
   white-space:normal!important;
   overflow-wrap:anywhere;
   line-height:1.25;
 }
 .svk-helper .svk-admin-quick-tiles .svk-admin-tile-symbol{
   flex:0 0 18px;
   font-size:19px;
 }
 .svk-helper .svk-admin-quick-tiles .svk-admin-tile-chevron{
   flex:0 0 14px;
   font-size:18px;
   margin-left:0;
 }
 .svk-helper .svk-admin-report-title{font-size:17px}
 .svk-helper .svk-admin-report-description{font-size:14px}
 .svk-helper .svk-admin-report-trigger{min-height:66px}
}
@media screen and (min-width:761px) and (max-width:900px){
 .svk-helper .svk-admin-quick-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 .svk-helper .svk-admin-quick-tiles>.svk-admin-quick-trigger,
 .svk-helper .svk-admin-quick-tiles>.svk-admin-manual-trigger{font-size:15px}
}

/* Mobile overflow fix: contain the moved admin action panels and event selector.
   iOS Safari can otherwise retain intrinsic widths for form controls and flex items. */
@media screen and (max-width:760px){
 .svk-helper,
 .svk-helper .svk-dashboard,
 .svk-helper .svk-brand,
 .svk-helper .svk-brand-copy,
 .svk-helper #svk-manual-assignment-slot,
 .svk-helper .svk-admin-quick-tiles,
 .svk-helper .svk-admin-quick-panels,
 .svk-helper .svk-admin-quick-panel,
 .svk-helper #svk-manual-body,
 .svk-helper .svk-management-form,
 .svk-helper .svk-management-grid,
 .svk-helper .svk-admin-report-tiles{
   box-sizing:border-box;
   min-width:0;
   max-width:100%;
 }
 .svk-helper .svk-admin-quick-tiles{
   display:grid;
   width:100%;
   grid-template-columns:minmax(0,1fr);
   gap:8px;
   margin:10px 0;
 }
 .svk-helper .svk-admin-quick-tiles>.svk-admin-quick-trigger,
 .svk-helper .svk-admin-quick-tiles>.svk-admin-manual-trigger{
   box-sizing:border-box;
   display:grid;
   grid-template-columns:22px minmax(0,1fr) 18px;
   column-gap:10px;
   align-items:center;
   width:100%;
   max-width:100%;
   min-width:0;
   min-height:52px;
   height:auto;
   padding:10px 12px;
   font-size:16px!important;
   line-height:1.3;
   text-align:left;
   white-space:normal!important;
   overflow-wrap:anywhere;
 }
 .svk-helper .svk-admin-quick-tiles .svk-admin-tile-symbol{
   display:block;
   width:22px;
   min-width:0;
   font-size:20px;
   text-align:center;
 }
 .svk-helper .svk-admin-quick-tiles>.svk-admin-quick-trigger>span:nth-child(2),
 .svk-helper .svk-admin-quick-tiles>.svk-admin-manual-trigger>span:nth-child(2){
   display:block;
   min-width:0;
   width:auto;
   max-width:100%;
   font-size:16px!important;
   white-space:normal!important;
   overflow-wrap:anywhere;
   word-break:normal;
 }
 .svk-helper .svk-admin-quick-tiles .svk-admin-tile-chevron{
   display:block;
   min-width:0;
   margin:0;
   font-size:19px;
   text-align:right;
 }
 .svk-helper .svk-admin-quick-panels,
 .svk-helper .svk-admin-quick-panel,
 .svk-helper #svk-manual-body{
   display:block;
   width:100%;
   max-width:100%;
   min-width:0;
 }
 .svk-helper .svk-admin-quick-panel[hidden],
 .svk-helper #svk-manual-body[hidden]{display:none!important}
 .svk-helper .svk-admin-quick-panel>.svk-management-form,
 .svk-helper #svk-manual-body>.svk-manual-assignment,
 .svk-helper .svk-management-form{
   box-sizing:border-box;
   display:grid;
   grid-template-columns:minmax(0,1fr);
   width:100%;
   min-width:0;
   max-width:100%;
   margin:8px 0 12px;
   padding:12px;
   overflow-wrap:anywhere;
 }
 .svk-helper .svk-management-form>label,
 .svk-helper .svk-management-form .svk-management-grid,
 .svk-helper .svk-management-form .svk-management-grid>label,
 .svk-helper .svk-management-form>button,
 .svk-helper #svk-manual-body form,
 .svk-helper #svk-manual-body label{
   box-sizing:border-box;
   width:100%;
   min-width:0;
   max-width:100%;
 }
 .svk-helper .svk-management-form :is(input:not([type="checkbox"]),select,textarea,button),
 .svk-helper #svk-manual-body :is(input:not([type="checkbox"]),select,textarea,button){
   box-sizing:border-box;
   min-width:0!important;
   max-width:100%!important;
   width:100%!important;
   white-space:normal;
   overflow-wrap:anywhere;
 }
 .svk-helper .svk-management-form input[type="date"],
 .svk-helper .svk-management-form input[type="time"]{
   -webkit-appearance:auto;
   min-width:0!important;
 }
 .svk-helper .svk-management-form .svk-end-open-label{
   display:flex;
   flex-direction:row;
   justify-content:flex-start;
 }
 .svk-helper .svk-management-form .svk-end-open-label input[type="checkbox"]{
   flex:0 0 20px;
   width:20px!important;
   min-width:20px!important;
 }
 .svk-helper .svk-event-switch-row,
 .svk-helper .svk-event-switcher{
   width:100%;
   max-width:100%;
   min-width:0;
 }
 .svk-helper .svk-event-switch-row .svk-event-switch{
   width:auto;
   max-width:100%;
   min-width:0;
   font-size:clamp(19px,5.6vw,24px)!important;
   overflow-wrap:anywhere;
 }
 .svk-helper .svk-event-switch span:first-child{
   min-width:0;
   max-width:100%;
   overflow-wrap:anywhere;
 }
 .svk-helper .svk-event-menu{
   box-sizing:border-box;
   left:0;
   right:0;
   width:100%;
   max-width:100%;
   min-width:0;
   padding:10px;
   overflow-wrap:anywhere;
 }
 .svk-helper .svk-event-option{
   box-sizing:border-box;
   width:100%;
   min-width:0;
   max-width:100%;
   white-space:normal;
   overflow-wrap:anywhere;
 }
 .svk-helper .svk-event-option span,
 .svk-helper .svk-event-option small{min-width:0;max-width:100%;overflow-wrap:anywhere}
 .svk-helper .svk-admin-report-tile,
 .svk-helper .svk-audit-scroll{min-width:0;max-width:100%}
}

/* Vereinheitlichte Verwaltung direkt unter der Veranstaltungswahl.
   Die Karten sind Aktionsflächen, kein vorgeschaltetes Dropdown-Menü. */
.svk-helper #svk-manual-assignment-slot:empty{display:none}
.svk-helper #svk-manual-assignment-slot{width:100%;min-width:0;max-width:100%;margin:12px 0}
.svk-helper #svk-manual-assignment-slot>.svk-admin-area{margin:0;min-width:0;max-width:100%}
.svk-helper .svk-admin-area>.svk-section-heading{margin:0 0 10px}
.svk-helper .svk-admin-area>.svk-section-heading h3{font-size:21px}
.svk-helper .svk-admin-groups{display:grid;gap:12px;min-width:0}
.svk-helper .svk-admin-group{min-width:0;width:100%}
.svk-helper .svk-admin-group>h4{
  margin:0 0 7px;
  padding:0 2px;
  color:var(--svk-forest-dark);
  font-size:17px;
  line-height:1.4;
}
.svk-helper .svk-admin-group-tiles{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  min-width:0;
}
.svk-helper .svk-admin-group-tiles>.svk-admin-quick-trigger,
.svk-helper .svk-admin-group-tiles>.svk-admin-manual-trigger{
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  gap:9px;
  align-items:center;
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:55px;
  height:auto;
  padding:10px 12px;
  margin:0;
  font-size:15px;
  line-height:1.3;
  white-space:normal!important;
  text-align:left!important;
  text-align-last:left!important;
  overflow-wrap:anywhere;
  word-spacing:normal!important;
  letter-spacing:normal!important;
}
.svk-helper .svk-admin-group-tiles>.svk-admin-quick-trigger>span:nth-child(2),
.svk-helper .svk-admin-group-tiles>.svk-admin-manual-trigger>span:nth-child(2){
  display:block;
  min-width:0;
  max-width:100%;
  width:auto;
  white-space:normal!important;
  font-size:inherit!important;
  line-height:1.3;
  text-align:left!important;
  text-align-last:left!important;
  overflow-wrap:anywhere;
}
.svk-helper .svk-admin-group-tiles .svk-admin-tile-symbol{
  flex:none;
  width:22px;
  font-size:19px;
}
.svk-helper .svk-admin-group-tiles .svk-admin-tile-chevron{display:none!important}
.svk-helper .svk-admin-group-tiles>.svk-admin-quick-trigger[aria-expanded="true"],
.svk-helper .svk-admin-group-tiles>.svk-admin-manual-trigger[aria-expanded="true"]{
  border-color:#B3C9E9;
  box-shadow:inset 0 0 0 1px #B3C9E9;
}
.svk-helper .svk-admin-group:nth-child(2)>.svk-admin-group-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
.svk-helper .svk-admin-group-panels{width:100%;min-width:0;max-width:100%}
.svk-helper .svk-admin-group-panels>:not([hidden]){margin-top:8px}
.svk-helper .svk-admin-event-details{
  width:100%;
  min-width:0;
  margin:8px 0;
  padding:12px!important;
}
.svk-helper .svk-admin-event-details #svk-events-body{min-width:0}
.svk-helper .svk-admin-group .svk-admin-report-tiles{margin:0}
.svk-helper .svk-admin-group .svk-admin-report-title{font-size:17px}
.svk-helper .svk-admin-group .svk-admin-report-description{
  font-size:14px;
  white-space:normal!important;
  overflow-wrap:anywhere;
  text-align:left!important;
  text-align-last:left!important;
}
.svk-helper .svk-admin-group .svk-admin-report-trigger{
  min-height:62px;
  white-space:normal!important;
  text-align:left!important;
  text-align-last:left!important;
  word-spacing:normal!important;
}
.svk-helper .svk-admin-group .svk-admin-report-tile{min-width:0}
.svk-helper .svk-admin-group .svk-management-form,
.svk-helper .svk-admin-group #svk-manual-body,
.svk-helper .svk-admin-group .svk-management-grid{
  width:100%;
  min-width:0;
  max-width:100%;
}
.svk-helper .svk-admin-group .svk-management-form>label,
.svk-helper .svk-admin-group .svk-management-grid>label{
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  text-align:left!important;
}
.svk-helper .svk-admin-group .svk-management-form :is(input,select,textarea,button),
.svk-helper .svk-admin-group #svk-admin-form :is(input:not([type="checkbox"]),select,textarea,button){
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:100%;
}
@media screen and (max-width:760px){
  .svk-helper #svk-manual-assignment-slot{margin:12px 0}
  .svk-helper #svk-manual-assignment-slot .svk-admin-area{padding:0;min-width:0}
  .svk-helper .svk-admin-area>.svk-section-heading{margin-bottom:12px}
  .svk-helper .svk-admin-area>.svk-section-heading h3{font-size:22px!important}
  .svk-helper .svk-admin-group>h4{font-size:18px!important;margin:0 0 7px}
  .svk-helper .svk-admin-group-tiles,
  .svk-helper .svk-admin-group:nth-child(2)>.svk-admin-group-tiles{
    grid-template-columns:minmax(0,1fr);
    gap:8px;
  }
  .svk-helper .svk-admin-group-tiles>.svk-admin-quick-trigger,
  .svk-helper .svk-admin-group-tiles>.svk-admin-manual-trigger{
    min-height:51px;
    padding:9px 12px;
    font-size:16px!important;
    line-height:1.3;
    white-space:normal!important;
  }
  .svk-helper .svk-admin-group-tiles>.svk-admin-quick-trigger>span:nth-child(2),
  .svk-helper .svk-admin-group-tiles>.svk-admin-manual-trigger>span:nth-child(2){font-size:16px!important}
  .svk-helper .svk-admin-group .svk-admin-report-tiles{grid-template-columns:minmax(0,1fr)}
  .svk-helper .svk-admin-group .svk-admin-report-trigger{
    padding:12px;
    min-height:56px;
  }
  .svk-helper .svk-admin-group .svk-admin-report-title{font-size:17px!important}
  .svk-helper .svk-admin-group .svk-admin-report-description{font-size:15px!important}
  .svk-helper .svk-admin-group .svk-management-form{
    box-sizing:border-box;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    width:100%;
    min-width:0;
    padding:12px;
    gap:10px;
    margin:8px 0;
  }
  .svk-helper .svk-admin-group .svk-management-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%;
  }
  .svk-helper .svk-admin-group .svk-management-form :is(input:not([type="checkbox"]),select,textarea),
  .svk-helper .svk-admin-group #svk-admin-form :is(input:not([type="checkbox"]),select,textarea){
    display:block;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    height:48px;
    padding:9px 12px!important;
    margin:5px 0 0!important;
    font-size:16px!important;
    line-height:1.4;
    border-radius:9px;
  }
  .svk-helper .svk-admin-group .svk-management-form textarea{height:auto;min-height:80px!important}
  .svk-helper .svk-admin-group .svk-management-form button[type="submit"],
  .svk-helper .svk-admin-group #svk-admin-form button[type="submit"]{
    display:flex;
    box-sizing:border-box;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:48px!important;
    height:auto;
    padding:10px 12px!important;
    font-size:16px!important;
    line-height:1.4;
    white-space:normal!important;
    overflow-wrap:anywhere;
    text-align:center!important;
  }
  .svk-helper .svk-admin-group #svk-manual-body .svk-manual-assignment{
    width:100%;min-width:0;margin:8px 0;padding:12px;
  }
  .svk-helper .svk-admin-group .svk-audit-scroll{overflow-x:auto!important}
}

/* SVK: verlässlich linksbündige Verwaltungstexte, unabhängig vom WordPress-Theme.
   Überschriften und Statusmeldungen dürfen nicht im Blocksatz auseinanderlaufen. */
.svk-helper :is(
 #svk-message,
 .svk-admin-area .svk-section-heading,
 .svk-admin-area .svk-section-heading p,
 .svk-admin-group>h4,
 .svk-admin-group .svk-admin-report-trigger,
 .svk-admin-group .svk-admin-report-description,
 .svk-admin-group .svk-admin-report-title,
 .svk-admin-group .svk-admin-group-tiles>button,
 .svk-admin-group .svk-admin-group-tiles>button>span,
 .svk-admin-group .svk-management-form label
){
 text-align:left!important;
 text-align-last:left!important;
 word-spacing:normal!important;
 letter-spacing:normal!important;
 hyphens:none;
}
.svk-helper #svk-message{
 max-width:100%;
 min-width:0;
 overflow-wrap:break-word;
}
.svk-helper .svk-admin-group .svk-admin-report-trigger{
 box-sizing:border-box;
 grid-template-columns:minmax(0,1fr) 20px;
 column-gap:9px;
 min-width:0;
 padding:12px 14px;
}
.svk-helper .svk-admin-group .svk-admin-report-trigger>.svk-admin-report-description{
 grid-column:1;
 min-width:0;
 overflow-wrap:break-word;
 white-space:normal!important;
 line-height:1.4;
}
.svk-helper .svk-admin-group .svk-admin-report-trigger>.svk-admin-tile-chevron{
 grid-column:2;
 align-self:center;
 justify-self:center;
 margin:0;
}
@media screen and (max-width:760px){
 .svk-helper .svk-admin-groups{gap:14px}
 .svk-helper .svk-admin-group .svk-admin-report-trigger{
  min-height:64px;
  padding:12px 14px;
 }
 .svk-helper .svk-admin-group .svk-admin-report-description{
  font-size:15px!important;
  line-height:1.4;
 }
}

/* Gesamtliste: Archivfilter für abgeschlossene Veranstaltungen. */
.svk-helper .svk-roster-filter .svk-roster-closed-toggle{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:10px;
  grid-column:1/-1;
  min-width:0;
  padding:7px 2px;
  font-size:16px;
  line-height:1.35;
  font-weight:600;
  cursor:pointer;
}
.svk-helper .svk-roster-closed-toggle input[type="checkbox"]{
  display:block;
  flex:0 0 20px;
  width:20px;
  min-width:20px;
  height:20px;
  margin:0;
  accent-color:var(--svk-forest);
}
@media screen and (max-width:760px){
 .svk-helper .svk-roster-filter .svk-roster-closed-toggle{font-size:16px!important}
}

/* Desktop: Buchungskarten mit konsistenter Struktur statt Theme-bedingter
   Größen-/Abstands-Mischung. Die Smartphone-Regeln <=760px bleiben unberührt. */
@media screen and (min-width:761px){
 .svk-helper #svk-shifts,
 .svk-helper #svk-mine{min-width:0;max-width:100%}
 .svk-helper #svk-shifts .svk-duty-grid,
 .svk-helper #svk-mine .svk-duty-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));
  align-items:stretch;
  gap:16px;
  width:100%;
  min-width:0;
  max-width:100%;
 }
 .svk-helper #svk-shifts .svk-duty,
 .svk-helper #svk-mine .svk-duty{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  min-width:0;
  max-width:100%;
  width:100%;
  min-height:244px;
  height:auto;
  gap:10px;
  padding:18px 20px;
  margin:0;
  background:#fff;
  border:1px solid var(--svk-border);
  border-radius:13px;
  box-shadow:0 2px 10px rgba(22,75,157,.035);
  color:var(--svk-forest-dark);
  text-align:left!important;
  text-align-last:left!important;
  word-spacing:normal!important;
 }
 .svk-helper #svk-mine .svk-duty-own{
  border-left:4px solid var(--svk-forest);
  background:#F8FBFF;
 }
 .svk-helper .svk-duty .svk-duty-top{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px 12px;
  width:100%;
  min-width:0;
  margin:0;
 }
 .svk-helper .svk-duty .svk-date{
  display:inline-block;
  flex:0 1 auto;
  min-width:0;
  font-size:16px!important;
  line-height:1.35;
  font-weight:700;
  white-space:normal;
  color:#3E526D;
 }
 .svk-helper .svk-duty .svk-tag{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  font-size:13px!important;
  line-height:1.35;
  font-weight:700;
  white-space:nowrap;
  border-radius:999px;
  padding:5px 10px;
 }
 .svk-helper .svk-duty .svk-event{
  margin:0;
  min-width:0;
  font-size:14px!important;
  line-height:1.4;
  color:var(--svk-muted);
  overflow-wrap:break-word;
 }
 .svk-helper .svk-duty h4{
  margin:0!important;
  padding:0!important;
  width:100%;
  min-width:0;
  font-size:20px!important;
  font-weight:700;
  line-height:1.35!important;
  color:var(--svk-forest-dark);
  text-transform:none;
  letter-spacing:normal;
  overflow-wrap:break-word;
 }
 .svk-helper .svk-duty .svk-time,
 .svk-helper .svk-duty .svk-capacity{
  margin:0;
  min-width:0;
  font-size:15px!important;
  line-height:1.45;
  color:#52617A;
 }
 .svk-helper .svk-duty .svk-capacity{margin-top:2px}
 .svk-helper .svk-duty .svk-track{
  width:100%;
  margin-top:7px;
  height:6px;
  border-radius:99px;
  overflow:hidden;
 }
 .svk-helper .svk-duty .svk-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:stretch;
  width:100%;
  max-width:100%;
  min-height:44px;
  margin: auto 0 0!important;
  padding:10px 14px;
  font-size:15px!important;
  line-height:1.35;
  white-space:normal;
  overflow-wrap:break-word;
 }
}

/* Desktop: Dienstplan-GESAMTLISTE (nicht die Buchungskarten).
   WordPress-Themes setzen sehr kleine rem-Basiswerte. Deshalb hier
   feste, lesbare px-Größen ausschließlich für die tabellarische Übersicht. */
@media screen and (min-width:761px){
 .svk-helper .svk-roster-container #svk-roster-body{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:100%;
 }
 .svk-helper .svk-roster-container .svk-roster-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin:12px 0 16px;
 }
 .svk-helper .svk-roster-container .svk-roster-toolbar .svk-btn{
  font-size:15px!important;
  line-height:1.4;
  min-height:42px;
 }
 .svk-helper .svk-roster-container .svk-roster-filter{
  gap:12px;
  margin-bottom:14px;
 }
 .svk-helper .svk-roster-container .svk-roster-filter label,
 .svk-helper .svk-roster-container #svk-roster-status{
  font-size:15px!important;
  line-height:1.5;
  text-align:left!important;
 }
 .svk-helper .svk-roster-container .svk-roster-filter select{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-height:44px;
  font-size:15px!important;
 }
 .svk-helper .svk-roster-container .svk-roster-day{
  margin-top:22px;
  width:100%;
  min-width:0;
 }
 .svk-helper .svk-roster-container .svk-roster-day h4{
  margin:0 0 12px;
  padding:0 0 8px;
  font-size:20px!important;
  line-height:1.35!important;
  font-weight:650;
  letter-spacing:normal;
  text-align:left!important;
 }
 .svk-helper .svk-roster-container .svk-roster-shift{
  width:100%;
  min-width:0;
  margin:12px 0 18px;
  border-radius:12px;
 }
 .svk-helper .svk-roster-container .svk-roster-shift-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 16px;
  padding:14px 16px;
  min-height:60px;
  text-align:left!important;
 }
 .svk-helper .svk-roster-container .svk-roster-shift-heading>div{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  flex:1 1 200px;
  gap:3px;
 }
 .svk-helper .svk-roster-container .svk-roster-shift-heading strong{
  display:block;
  font-size:19px!important;
  line-height:1.35;
  font-weight:700;
  color:var(--svk-forest-dark);
  overflow-wrap:break-word;
 }
 .svk-helper .svk-roster-container .svk-roster-shift-heading>div>span{
  display:block;
  font-size:15px!important;
  line-height:1.4;
  color:var(--svk-muted);
 }
 .svk-helper .svk-roster-container .svk-roster-shift-heading>.svk-tag{
  font-size:14px!important;
  font-weight:700;
  line-height:1.35;
  padding:6px 11px;
  flex:0 0 auto;
  white-space:nowrap;
 }
 .svk-helper .svk-roster-container .svk-roster-scroll{
  box-sizing:border-box;
  max-width:100%;
  width:100%;
  min-width:0;
  overflow-x:auto;
 }
 .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive{
  width:100%;
  min-width:0;
  table-layout:fixed;
  border-collapse:collapse;
  font-size:16px!important;
  line-height:1.45;
 }
 .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive th{
  font-size:13px!important;
  line-height:1.35;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.02em;
  padding:12px 10px;
  text-align:left!important;
 }
 .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive td{
  font-size:16px!important;
  line-height:1.45;
  padding:13px 10px;
  text-align:left!important;
  vertical-align:middle;
  overflow-wrap:break-word;
 }
 .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive th:nth-child(1){width:9%}
 .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive th:nth-child(2){width:25%}
 .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive th:nth-child(3){width:18%}
 .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive th:nth-child(4){width:24%}
 .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive th:nth-child(5){width:24%}
 .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive .svk-attendance-select{
  box-sizing:border-box;
  width:100%!important;
  min-width:0!important;
  max-width:200px!important;
  min-height:42px!important;
  padding:8px 10px!important;
  font-size:15px!important;
  line-height:1.3;
 }
 .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive .svk-roster-cancel{
  box-sizing:border-box;
  width:auto!important;
  max-width:100%;
  min-height:42px;
  font-size:14px!important;
  padding:8px 12px;
 }
 .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive .svk-roster-empty td{
  font-size:16px!important;
  color:var(--svk-muted);
  padding:18px 14px;
 }
}

/* Vereinskacheln – ausgewähltes Design 2. Nur bestehende Komponenten gestalten.
   Gruppen sind einklappbar; Formulare können auf Desktop die Rasterbreite nutzen. */
.svk-helper #svk-message[hidden],
.svk-helper .svk-admin-group-body[hidden],
.svk-helper .svk-admin-group-panels>[hidden],
.svk-helper .svk-admin-report-tile>[hidden]{display:none!important}
.svk-helper .svk-admin-area>.svk-section-heading{margin-bottom:12px}
.svk-helper .svk-admin-area>.svk-section-heading h3{font-size:23px;line-height:1.35}
.svk-helper .svk-admin-groups{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 align-items:start;
 gap:12px;
 width:100%;
 max-width:100%;
 min-width:0;
}
.svk-helper .svk-admin-group{
 border:1px solid #DAE5F3;
 border-radius:14px;
 background:#fff;
 overflow:hidden;
 min-width:0;
 min-height:76px;
 box-shadow:0 2px 9px rgba(22,75,157,.035);
}
.svk-helper .svk-admin-group-toggle{
 display:grid;
 grid-template-columns:23px minmax(0,1fr) 19px;
 align-items:center;
 gap:9px;
 width:100%;
 min-width:0;
 min-height:74px;
 margin:0;
 padding:14px 12px;
 border:0;
 border-radius:0;
 background:#EEF4FC;
 color:var(--svk-forest-dark);
 cursor:pointer;
 text-align:left!important;
 font-size:17px;
 font-weight:700;
 line-height:1.32;
}
.svk-helper .svk-admin-group-toggle:hover,
.svk-helper .svk-admin-group-toggle[aria-expanded=true]{background:#E4EEFB}
.svk-helper .svk-admin-group-toggle>svg,
.svk-helper .svk-admin-action-tile>svg,
.svk-helper .svk-admin-report-trigger>svg{
 display:block;
 width:22px;
 height:22px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.9;
 stroke-linecap:round;
 stroke-linejoin:round;
 flex:none;
}
.svk-helper .svk-admin-group-toggle>.svk-admin-chevron,
.svk-helper .svk-admin-action-tile>.svk-admin-chevron,
.svk-helper .svk-admin-report-trigger>.svk-admin-chevron{
 width:18px;
 height:18px;
 justify-self:end;
 transition:transform .15s ease;
}
.svk-helper .svk-admin-group-toggle[aria-expanded=true]>.svk-admin-chevron,
.svk-helper .svk-admin-action-tile[aria-expanded=true]>.svk-admin-chevron,
.svk-helper .svk-admin-report-trigger[aria-expanded=true]>.svk-admin-chevron{transform:rotate(180deg)}
.svk-helper .svk-admin-group-body{
 display:block;
 width:100%;
 min-width:0;
 padding:12px;
}
.svk-helper .svk-admin-group-tiles{
 display:grid;
 grid-template-columns:minmax(0,1fr)!important;
 gap:8px;
 min-width:0;
}
.svk-helper .svk-admin-group-tiles>.svk-admin-action-tile,
.svk-helper .svk-admin-group-tiles>.svk-admin-manual-trigger{
 display:grid;
 grid-template-columns:22px minmax(0,1fr) 18px;
 gap:9px;
 align-items:center;
 width:100%;
 max-width:100%;
 min-width:0;
 min-height:51px;
 height:auto;
 margin:0;
 padding:10px 11px;
 font-size:15px!important;
 font-weight:600;
 line-height:1.35;
 background:#F7FAFF;
 border:1px solid #DCE6F4;
 border-radius:10px;
 text-align:left!important;
 text-align-last:left!important;
 white-space:normal!important;
 overflow-wrap:anywhere;
}
.svk-helper .svk-admin-group-tiles>.svk-admin-action-tile>span{
 min-width:0;
 white-space:normal!important;
 font-size:inherit!important;
}
.svk-helper .svk-admin-group .svk-admin-report-tiles{
 display:grid;
 grid-template-columns:minmax(0,1fr);
 gap:8px;
 margin:0;
}
.svk-helper .svk-admin-group .svk-admin-report-tile{grid-column:1!important}
.svk-helper .svk-admin-group .svk-admin-report-trigger{
 display:grid;
 grid-template-columns:22px minmax(0,1fr) 18px;
 align-items:center;
 gap:9px;
 width:100%;
 padding:10px 11px;
 min-height:55px;
 text-align:left!important;
 border:1px solid #DCE6F4;
 border-radius:10px;
 background:#F7FAFF;
}
.svk-helper .svk-admin-group .svk-admin-report-trigger>.svk-admin-report-copy{
 display:flex;
 flex-direction:column;
 gap:3px;
 min-width:0;
}
.svk-helper .svk-admin-group .svk-admin-report-title{font-size:15px;font-weight:650;line-height:1.35}
.svk-helper .svk-admin-group .svk-admin-report-description{
 display:block;
 font-size:12px;
 line-height:1.4;
 color:var(--svk-muted);
}
.svk-helper .svk-admin-group-panels{min-width:0}
.svk-helper .svk-admin-group-panels>:not([hidden]){margin-top:10px}
.svk-helper .svk-admin-group:has(>.svk-admin-group-body:not([hidden]) .svk-admin-group-panels>:not(.svk-admin-report-tiles):not([hidden])),
.svk-helper .svk-admin-group:has(>.svk-admin-group-body:not([hidden]) .svk-admin-report-tile.is-open){
 grid-column:1/-1;
}
@media screen and (min-width:1051px){
 .svk-helper .svk-admin-group:has(>.svk-admin-group-body:not([hidden]) .svk-admin-group-panels>:not(.svk-admin-report-tiles):not([hidden])) .svk-admin-group-tiles{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
}
.svk-helper .svk-admin-group:has(>.svk-admin-group-body:not([hidden]) .svk-admin-group-panels>:not(.svk-admin-report-tiles):not([hidden])) .svk-admin-group-panels{
 width:100%;
}
.svk-helper .svk-admin-group:has(.svk-admin-report-tile.is-open) .svk-admin-report-tiles{
 grid-template-columns:repeat(2,minmax(0,1fr));
}
.svk-helper .svk-admin-group:has(.svk-admin-report-tile.is-open) .svk-admin-report-tile.is-open{
 grid-column:1/-1!important;
}
.svk-helper .svk-admin-group-toggle:focus-visible,
.svk-helper .svk-admin-action-tile:focus-visible,
.svk-helper .svk-admin-report-trigger:focus-visible{
 outline:3px solid #82A9D5;
 outline-offset:-3px;
}

/* Account and chosen event – two compact lines, without duplicated status/logo. */
.svk-helper #svk-identity-top .svk-profile{
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 gap:12px;
 align-items:center;
 padding:12px 16px;
 margin:0 0 10px;
}
.svk-helper .svk-user-details{min-width:0}
.svk-helper .svk-login-state{
 display:flex;
 align-items:center;
 gap:6px;
 margin-top:4px;
 font-size:13px;
 color:#17623d;
 line-height:1.3;
}
.svk-helper .svk-state-dot{width:8px;height:8px;border-radius:100%;background:#23824b;flex:none}
.svk-helper #svk-identity-top #svk-message{
 margin:7px 0 0;
 padding:8px 10px;
 font-size:14px;
 line-height:1.4;
 min-height:0;
}
.svk-helper #svk-identity-top .svk-profile-actions{
 display:flex;
 flex-wrap:nowrap;
 align-items:center;
 width:auto;
 gap:8px;
}
.svk-helper #svk-identity-top .svk-user-action{
 display:inline-flex;
 justify-content:center;
 align-items:center;
 gap:0;
 width:44px;
 height:44px;
 min-height:44px;
 min-width:44px;
 max-width:44px;
 padding:9px;
 margin:0;
}
.svk-helper .svk-user-action>svg{
 display:block;
 width:22px;
 height:22px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.9;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.svk-helper .svk-user-action-label{
 position:absolute!important;
 width:1px!important;
 height:1px!important;
 padding:0!important;
 margin:-1px!important;
 overflow:hidden!important;
 clip:rect(0,0,0,0)!important;
 white-space:nowrap!important;
 border:0!important;
}
.svk-helper.svk-event-active>.svk-brand>.svk-brand-logo,
.svk-helper.svk-event-active>.svk-brand>.svk-brand-monogram,
.svk-helper.svk-event-active .svk-brand-eyebrow{display:none!important}
.svk-helper.svk-event-active>.svk-brand{
 display:block;
 padding:12px 16px;
 margin:0 0 12px;
}
.svk-helper.svk-event-active .svk-brand-copy{width:100%}
.svk-helper.svk-event-active #svk-event-switcher{width:100%;min-width:0}
.svk-helper .svk-event-label{
 display:block;
 font-size:12px;
 line-height:1.35;
 letter-spacing:.06em;
 text-transform:uppercase;
 color:var(--svk-muted);
 margin-bottom:5px;
}
.svk-helper .svk-event-switch-row{
 display:flex;
 align-items:center;
 flex-wrap:nowrap;
 gap:10px;
 width:100%;
}
.svk-helper .svk-event-identity{flex:1 1 auto;min-width:0}
.svk-helper .svk-event-switch-row .svk-event-switch{
 display:flex;
 align-items:center;
 gap:9px;
 padding:0;
 margin:0;
 min-height:38px;
 max-width:100%;
 font-size:clamp(19px,2.1vw,25px);
 line-height:1.3;
 font-weight:700;
 text-align:left;
}
.svk-helper .svk-event-switch .svk-event-symbol{
 display:block;
 width:23px;
 height:23px;
 stroke:currentColor;
 stroke-width:1.8;
 fill:none;
 flex:none;
}
.svk-helper .svk-event-switch .svk-event-chevron{
 width:18px;
 height:18px;
 stroke:currentColor;
 stroke-width:2;
 fill:none;
 flex:none;
}
.svk-helper .svk-event-period{
 display:block;
 color:var(--svk-muted);
 font-size:14px;
 line-height:1.4;
 margin:2px 0 0 32px;
}
.svk-helper #svk-event-copy.svk-event-link-action{
 display:inline-grid;
 place-items:center;
 flex:0 0 44px;
 width:44px!important;
 height:44px;
 min-height:44px;
 min-width:44px;
 padding:10px;
 margin:0!important;
}
.svk-helper #svk-event-copy.svk-event-link-action>svg{
 display:block;width:22px;height:22px;
 stroke:currentColor;stroke-width:1.9;fill:none;
 stroke-linecap:round;stroke-linejoin:round;
}
@media screen and (max-width:1050px){
 .svk-helper .svk-admin-groups{grid-template-columns:minmax(0,1fr)}
 .svk-helper .svk-admin-group:has(>.svk-admin-group-body .svk-admin-group-panels>:not([hidden])) .svk-admin-group-tiles{
  grid-template-columns:minmax(0,1fr)!important;
 }
}
@media screen and (max-width:760px){
 .svk-helper #svk-identity-top .svk-profile{
  grid-template-columns:minmax(0,1fr) auto!important;
  padding:12px;
  gap:8px;
 }
 .svk-helper #svk-identity-top .svk-profile-actions{
  display:flex;
  grid-template-columns:none;
  width:auto;
  gap:6px;
 }
 .svk-helper #svk-identity-top .svk-user-action{
  width:42px!important;
  min-width:42px;
  min-height:42px!important;
  height:42px;
 }
 .svk-helper .svk-person{min-width:0}
 .svk-helper .svk-avatar{width:40px;height:40px}
 .svk-helper .svk-email{overflow-wrap:anywhere}
 .svk-helper.svk-event-active>.svk-brand{padding:12px}
 .svk-helper .svk-event-switch-row{display:flex;flex-wrap:nowrap;align-items:center}
 .svk-helper .svk-event-switch-row .svk-event-switch{
  font-size:clamp(18px,5vw,23px)!important;
  width:auto;
 }
 .svk-helper .svk-event-period{font-size:13px;margin-left:32px}
 .svk-helper .svk-admin-groups{gap:9px}
 .svk-helper .svk-admin-group-toggle{min-height:58px;font-size:17px!important;padding:11px 13px}
 .svk-helper .svk-admin-group-body{padding:10px}
 .svk-helper .svk-admin-group .svk-admin-report-trigger{
  grid-template-columns:22px minmax(0,1fr) 18px;
  padding:10px;
 }
 .svk-helper .svk-admin-group .svk-admin-report-description{font-size:13px!important}
}

/* Veranstaltungskopf: dezentes Hellblau statt Theme-Rot beim Mouseover. */
.svk-helper.svk-event-active .svk-event-switch-row button#svk-event-switch:hover,
.svk-helper.svk-event-active .svk-event-switch-row button#svk-event-switch:focus-visible{
 background:#eaf4fb!important;
 color:var(--svk-forest-dark)!important;
 border-color:transparent!important;
 box-shadow:none!important;
}
.svk-helper.svk-event-active .svk-event-switch-row button#svk-event-switch:hover :is(span,svg),
.svk-helper.svk-event-active .svk-event-switch-row button#svk-event-switch:focus-visible :is(span,svg){
 background:transparent!important;
 color:var(--svk-forest-dark)!important;
}
.svk-helper.svk-event-active .svk-event-switch-row button#svk-event-switch{
 border-radius:9px;
 padding:6px 9px;
 transition:background-color .15s ease;
}


/* Fix: the group chevron must never share the label's text flow.
   Keep a reserved right-hand control area even on narrow desktop columns. */
.svk-helper .svk-admin-group-toggle{
 position:relative;
 display:grid!important;
 grid-template-columns:23px minmax(0,1fr)!important;
 column-gap:10px;
 align-items:center;
 padding-right:44px!important;
 white-space:normal!important;
 box-sizing:border-box;
}
.svk-helper .svk-admin-group-toggle>span{
 display:block;
 min-width:0;
 max-width:100%;
 overflow-wrap:normal;
 word-break:normal;
 white-space:normal!important;
 hyphens:auto;
 text-align:left!important;
 text-align-last:left!important;
 line-height:1.35;
}
.svk-helper .svk-admin-group-toggle>.svk-admin-chevron{
 position:absolute;
 right:12px;
 top:50%;
 transform:translateY(-50%);
 width:18px!important;
 height:18px!important;
 margin:0!important;
 padding:0!important;
 pointer-events:none;
}
.svk-helper .svk-admin-group-toggle[aria-expanded="true"]>.svk-admin-chevron{
 transform:translateY(-50%) rotate(180deg);
}

/* Live-Abgleich der Buchungskapazitäten direkt unter dem Benutzerstatus. */
.svk-helper .svk-live-sync{
 display:block;
 margin-top:5px;
 max-width:100%;
 font-size:12px;
 line-height:1.4;
 color:#536B85;
 overflow-wrap:break-word;
}
.svk-helper .svk-live-sync.svk-live-sync-error{
 color:#a22735;
 font-weight:600;
}

/* Identität und eigene Buchungen teilen sich den Header – kompakt und mobil stapelbar. */
.svk-helper #svk-identity-top .svk-identity-row{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 align-items:start;
 gap:12px;
 margin-bottom:12px;
 min-width:0;
}
.svk-helper #svk-identity-top .svk-identity-row>.svk-profile,
.svk-helper #svk-identity-top .svk-identity-row>.svk-own-header-card{
 box-sizing:border-box;
 width:100%;
 min-width:0;
 margin:0;
 min-height:100px;
}
.svk-helper #svk-identity-top .svk-own-header-card{
 padding:0;
 overflow:visible;
 border:1px solid var(--svk-border);
 border-radius:14px;
}
.svk-helper .svk-own-header-toggle{
 display:grid;
 grid-template-columns:26px minmax(0,1fr) 20px;
 align-items:center;
 gap:11px;
 width:100%;
 min-height:98px;
 margin:0;
 padding:14px 16px;
 background:#EDF4FC;
 color:var(--svk-forest-dark);
 border:0;
 border-radius:13px;
 text-align:left!important;
 text-align-last:left!important;
 cursor:pointer;
}
.svk-helper .svk-own-header-toggle:hover,
.svk-helper .svk-own-header-toggle:focus-visible{
 background:#eaf4fb!important;
 color:var(--svk-forest-dark)!important;
 outline-color:#85aeca;
}
.svk-helper .svk-own-header-toggle svg{
 display:block;
 width:22px;
 height:22px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.9;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.svk-helper .svk-own-header-label{display:flex;flex-direction:column;gap:3px;min-width:0}
.svk-helper .svk-own-header-label strong{
 font-size:18px;
 line-height:1.3;
 font-weight:700;
}
.svk-helper .svk-own-header-label span{
 font-size:14px;
 color:var(--svk-muted);
 line-height:1.35;
}
.svk-helper .svk-own-chevron{justify-self:end;transition:transform .15s}
.svk-helper .svk-own-header-toggle[aria-expanded="true"] .svk-own-chevron{transform:rotate(180deg)}
.svk-helper #svk-own-header-body[hidden]{display:none!important}
.svk-helper #svk-own-header-body{padding:14px;min-width:0}
.svk-helper #svk-own-header-body>.svk-own-duties{
 margin:0;
 padding:0;
 width:100%;
 min-width:0;
}
.svk-helper #svk-own-header-body>.svk-own-duties>.svk-section-heading{margin:0 0 12px}
.svk-helper #svk-own-header-body>.svk-own-duties h3{
 font-size:17px!important;
 line-height:1.3!important;
}
.svk-helper #svk-own-header-body #svk-mine .svk-duty-grid{
 display:grid!important;
 grid-template-columns:minmax(0,1fr)!important;
 gap:10px;
}
.svk-helper #svk-own-header-body #svk-mine .svk-duty{
 min-height:0;
 padding:13px 15px;
}
.svk-helper #svk-own-header-body #svk-mine .svk-duty .svk-btn{
 margin-top:8px!important;
}
.svk-helper #svk-identity-top .svk-identity-row:has(.svk-own-header-toggle[aria-expanded="true"])>.svk-own-header-card{
 grid-column:1/-1;
}
/* Klick auf das gesamte Veranstaltungsfeld, ausgenommen Link- und Menüaktionen. */
.svk-helper.svk-event-active>.svk-brand{cursor:pointer;transition:background-color .15s}
.svk-helper.svk-event-active>.svk-brand:hover{background:#eaf4fb}
.svk-helper.svk-event-active>.svk-brand #svk-event-copy{cursor:pointer}
/* Buchungsrückmeldungen gehören unmittelbar zur betroffenen Schicht. */
.svk-helper :is(#svk-shifts,#svk-mine,#svk-cakes) .svk-shift-notice{
 box-sizing:border-box;
 width:100%;
 margin:9px 0 0;
 padding:10px 12px;
 border-radius:9px;
 font-size:14px;
 line-height:1.45;
 text-align:left!important;
 text-align-last:left!important;
 overflow-wrap:anywhere;
}
.svk-helper :is(#svk-shifts,#svk-mine,#svk-cakes) .svk-shift-notice-error{
 background:#fff1f0;
 border:1px solid #ecc4c2;
 color:#9d2530;
}
.svk-helper :is(#svk-shifts,#svk-mine,#svk-cakes) .svk-shift-notice-success{
 background:#e6f5ec;
 border:1px solid #b8dec6;
 color:#155b38;
}
.svk-helper :is(#svk-shifts,#svk-mine,#svk-cakes) .svk-shift-notice-info{
 background:#eaf4fb;
 border:1px solid #c8dfee;
 color:#245677;
}
@media screen and (max-width:760px){
 .svk-helper #svk-identity-top .svk-identity-row{
  grid-template-columns:minmax(0,1fr);
  gap:9px;
 }
 .svk-helper #svk-identity-top .svk-own-header-toggle{min-height:66px;padding:11px 13px}
 .svk-helper #svk-identity-top .svk-identity-row>.svk-profile{min-height:0}
 .svk-helper #svk-identity-top .svk-identity-row>.svk-own-header-card{min-height:0}
 .svk-helper #svk-own-header-body{padding:10px}
}

/* Feste Verwaltungsnavigation: die gemeinsame Detailfläche belegt eine eigene
   Grid-Zeile, nie die Position einer der drei Navigationskacheln. */
.svk-helper .svk-admin-groups>.svk-admin-detail{
 grid-column:1/-1!important;
 min-width:0;
 min-height:0;
 width:100%;
 max-width:100%;
 margin:0;
 overflow:visible;
 background:#fff;
 border:1px solid #DAE5F3;
 border-radius:13px;
 box-sizing:border-box;
}
.svk-helper .svk-admin-groups>.svk-admin-detail[hidden]{display:none!important}
.svk-helper .svk-admin-groups>.svk-admin-detail>.svk-admin-group-body{
 display:block;
 width:100%;
 padding:14px;
 box-sizing:border-box;
}
.svk-helper .svk-admin-groups>.svk-admin-detail .svk-admin-group-tiles{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))!important;
 gap:10px;
}
.svk-helper .svk-admin-groups>.svk-admin-detail .svk-admin-group-panels{
 max-width:100%;
 min-width:0;
}
.svk-helper .svk-admin-groups>.svk-admin-detail .svk-admin-report-tiles{
 grid-template-columns:repeat(2,minmax(0,1fr));
}
.svk-helper .svk-admin-groups>.svk-admin-detail .svk-admin-report-tile.is-open{
 grid-column:1/-1!important;
}
.svk-helper .svk-admin-groups>.svk-admin-detail .svk-admin-report-tile.is-open>div{
 max-width:100%;
 min-width:0;
}
.svk-helper .svk-admin-groups>.svk-admin-group:not(.svk-admin-detail){
 align-self:start;
}
.svk-helper .svk-admin-groups>.svk-admin-group:not(.svk-admin-detail)>.svk-admin-group-toggle{
 height:100%;
}
/* Auch der Bereich "Meine Termine" öffnet UNTER den beiden Kopfkacheln.
   Die rechte Kachel darf ihre Spalte nicht verlassen. */
.svk-helper #svk-identity-top .svk-identity-row:has(.svk-own-header-toggle[aria-expanded="true"])>.svk-own-header-card{
 grid-column:auto!important;
}
.svk-helper #svk-identity-top .svk-identity-row>#svk-own-header-body{
 grid-column:1/-1;
 width:100%;
 min-width:0;
 box-sizing:border-box;
 margin:0;
 padding:14px;
 border:1px solid var(--svk-border);
 border-radius:12px;
 background:#fff;
}
.svk-helper #svk-identity-top .svk-identity-row>#svk-own-header-body[hidden]{display:none!important}
.svk-helper #svk-identity-top .svk-identity-row>#svk-own-header-body .svk-duty-grid{
 grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))!important;
}
@media screen and (max-width:1050px){
 /* Die Detailfläche steht direkt NACH der geöffneten Kachel;
    die anderen Kacheln behalten ihre ursprüngliche Reihenfolge. */
 .svk-helper .svk-admin-groups>.svk-admin-detail .svk-admin-group-tiles,
 .svk-helper .svk-admin-groups>.svk-admin-detail .svk-admin-report-tiles{
  grid-template-columns:minmax(0,1fr)!important;
 }
 .svk-helper .svk-admin-groups>.svk-admin-detail>.svk-admin-group-body{
  padding:10px;
 }
}


/* Event selector: align the chevron with other tiles on the far right.
   Reserve a slot for it; the separate link button sits just to its left. */
.svk-helper.svk-event-active .svk-event-switch-row{
 position:relative;
 display:flex;
 flex-wrap:nowrap;
 align-items:center;
 gap:8px;
 padding-right:30px;
 box-sizing:border-box;
}
.svk-helper.svk-event-active .svk-event-switch-row .svk-event-identity{
 flex:1 1 auto;
 min-width:0;
}
.svk-helper.svk-event-active .svk-event-switch-row #svk-event-switch{
 max-width:100%;
 min-width:0;
}
.svk-helper.svk-event-active .svk-event-switch-row #svk-event-switch-title{
 min-width:0;
 overflow-wrap:anywhere;
}
.svk-helper.svk-event-active .svk-event-switch-row .svk-event-chevron{
 position:absolute;
 top:50%;
 right:1px;
 width:18px;
 height:18px;
 transform:translateY(-50%);
 pointer-events:none;
 margin:0;
 flex:none;
}
.svk-helper.svk-event-active .svk-event-switch-row #svk-event-switch[aria-expanded="true"] .svk-event-chevron{
 transform:translateY(-50%) rotate(180deg);
}
.svk-helper.svk-event-active .svk-event-switch-row #svk-event-copy.svk-event-link-action{
 flex:0 0 44px;
 width:44px!important;
 margin:0 2px 0 0!important;
}
@media screen and (max-width:760px){
 .svk-helper.svk-event-active .svk-event-switch-row{padding-right:27px;gap:5px}
 .svk-helper.svk-event-active .svk-event-switch-row .svk-event-chevron{right:0}
}

/* Dezente, auf Mobilgeräten lesbare Versionsangabe des Helferportal-Plugins. */
.svk-helper .svk-portal-footer{
 display:flex;
 justify-content:center;
 align-items:center;
 flex-wrap:wrap;
 gap:7px;
 width:100%;
 margin:26px 0 0;
 padding:13px 10px 6px;
 border-top:1px solid var(--svk-border);
 color:var(--svk-muted);
 font-size:12px;
 font-weight:400;
 line-height:1.45;
 text-align:center;
}
.svk-helper .svk-portal-footer>span{overflow-wrap:anywhere}

/* SV Kathus 1925 e. V. – Classic Blue & Red (Variante A, 2026-11-17).
   Brand: #164B9D, accent: #D3293F; green is reserved for valid success,
   free capacity and logged-in status. Do not recolor easyVerein branding. */
.svk-helper .svk-brand,
.svk-helper.svk-event-active>.svk-brand{
 border-left:4px solid var(--svk-red);
}
.svk-helper .svk-kicker{color:#315F9C}
.svk-helper .svk-brand-eyebrow{color:#315F9C}
.svk-helper .svk-admin-group-toggle[aria-expanded="true"]{
 box-shadow:inset 4px 0 0 var(--svk-red);
}
.svk-helper .svk-admin-group-toggle[aria-expanded="false"]{
 box-shadow:none;
}
.svk-helper .svk-btn-primary:hover,
.svk-helper .svk-btn-primary:focus-visible{
 background:#123B7D;
}
.svk-helper .svk-shift-delete,
.svk-helper .svk-shift-delete:hover{border-color:#D3293F;color:#A82034}
.svk-helper .svk-shift-delete:hover{background:#FFF0F3}
.svk-helper .svk-error{color:#A82034!important;background:#FFF1F3!important;border-color:#EDBFC8!important}
.svk-helper :is(#svk-shifts,#svk-mine,#svk-cakes) .svk-shift-notice-error{
 background:#FFF1F3;
 border-color:#EDBFC8;
 color:#A82034;
}
.svk-helper .svk-tag-free,
.svk-helper .svk-tag-own{color:#12633A;background:#E2F3E8}
.svk-helper .svk-ok{color:#155438!important;background:#F0F9F2!important}
.svk-helper .svk-login-state{color:#17623D}
.svk-helper .svk-state-dot{background:#23824B}
.svk-helper :is(#svk-shifts,#svk-mine,#svk-cakes) .svk-shift-notice-success{
 background:#E6F5EC;
 border-color:#B8DEC6;
 color:#155B38;
}

/* Bestätigte eigene Buchungen sind ein gesperrter Status, kein aktiver Buchungsbutton. */
.svk-helper #svk-shifts .svk-btn-booked:disabled,
.svk-helper #svk-shifts .svk-btn-booked:disabled:hover,
.svk-helper #svk-shifts .svk-btn-booked:disabled:focus-visible{
 background:#E6EAF0!important;
 border-color:#CBD3DE!important;
 color:#526173!important;
 opacity:1!important;
 cursor:not-allowed;
 box-shadow:none!important;
}

/* Eigene verbindliche Dienstbuchung: Status und Storno sind zwei getrennte Elemente. */
.svk-helper #svk-shifts .svk-booked-status{
 display:flex;
 align-items:center;
 justify-content:center;
 gap:9px;
 width:100%;
 box-sizing:border-box;
 margin-top:8px;
 padding:10px 12px;
 border:1px solid #b8dec6;
 border-radius:9px;
 background:#e6f5ec;
 color:#155b38;
 font-size:15px;
 font-weight:700;
 line-height:1.4;
 text-align:center;
}
.svk-helper #svk-shifts .svk-booked-status svg{
 width:20px;
 height:20px;
 flex:none;
 fill:none;
 stroke:#23824B;
 stroke-width:2;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.svk-helper #svk-shifts .svk-booked-cancel{
 display:block;
 width:100%;
 margin-top:9px;
}
.svk-helper #svk-shifts .svk-booked-cancel:disabled{
 opacity:.6;
 cursor:not-allowed;
}

/* Veranstaltungsaktionen: Link kopieren, bearbeiten und löschen wie bei Schichten. */
.svk-helper .svk-management-event-head>.svk-management-event-actions{
 display:flex;
 flex:0 0 auto;
 flex-direction:row;
 justify-content:flex-end;
 align-items:center;
 gap:6px;
 min-width:0;
}
.svk-helper .svk-management-event-head>.svk-management-event-actions .svk-shift-icon-button{
 flex:0 0 40px;
}
.svk-helper .svk-event-editor>summary{display:none}
.svk-helper .svk-management-event-head .svk-event-delete:disabled{
 opacity:.45;
 cursor:not-allowed;
}
.svk-helper .svk-management-event-head .svk-event-delete:disabled:hover{
 background:#fff;
}
@media screen and (max-width:760px){
 .svk-helper .svk-management-event-head>.svk-management-event-actions{
  flex-basis:auto;
  width:auto;
  margin-left:auto;
 }
 .svk-helper .svk-management-event-head>.svk-management-event-actions .svk-shift-icon-button{
  flex-basis:44px;
 }
}

/* Gebuchte Schichten behalten sichtbare, aber gesperrte Verwaltungsaktionen. */
.svk-helper .svk-management-shift .svk-shift-icon-button:disabled{
 opacity:.43;
 cursor:not-allowed;
 box-shadow:none;
}
.svk-helper .svk-management-shift .svk-shift-icon-button:disabled:hover{
 background:#EDF3FC;
}
.svk-helper .svk-management-shift .svk-shift-delete:disabled:hover{
 background:#fff;
}
.svk-helper .svk-management-shift>.svk-shift-booked-lock{
 grid-column:1/-1;
 grid-row:2;
 color:var(--svk-muted);
 font-size:13px;
 line-height:1.35;
}
@media screen and (max-width:760px){
 .svk-helper .svk-management-shift>.svk-shift-booked-lock{grid-row:3}
}

/* Account-specific notification preferences; profile remains compact until opened. */
.svk-helper .svk-profile{flex-wrap:wrap}
.svk-helper .svk-mail-settings{
 flex:1 0 100%;
 min-width:0;
 padding:16px 0 4px;
 border-top:1px solid var(--svk-border);
 margin-top:10px;
}
.svk-helper .svk-mail-settings[hidden]{display:none!important}
.svk-helper .svk-mail-settings h3{margin:0 0 8px}
.svk-helper .svk-mail-settings h4{margin:20px 0 8px;font-size:1rem}
.svk-helper .svk-mail-option{
 display:flex;align-items:center;justify-content:space-between;
 gap:16px;width:100%;padding:12px 0;
 border-bottom:1px solid var(--svk-border);
 cursor:pointer;
}
.svk-helper .svk-mail-option>span{display:flex;flex-direction:column;gap:4px;min-width:0}
.svk-helper .svk-mail-option strong{font-size:16px}
.svk-helper .svk-mail-option small{color:var(--svk-muted);font-size:14px;line-height:1.35}
.svk-helper .svk-mail-option input[type=checkbox]{width:21px;height:21px;flex:none;cursor:pointer}
.svk-helper .svk-mail-option:has(input:disabled){opacity:.62;cursor:default}
.svk-helper #svk-mail-status{min-height:22px;font-size:14px}
@media screen and (max-width:760px){
 .svk-helper .svk-mail-settings{padding:14px 0}
 .svk-helper .svk-mail-option{gap:10px}
}

/* The account card uses a two-column grid on desktop and mobile; the expanded
   settings panel must span both columns rather than displace the action icons. */
.svk-helper #svk-identity-top .svk-profile>.svk-mail-settings{
 grid-column:1/-1;
 width:100%;
}

@media screen and (max-width:420px){
 .svk-helper #svk-identity-top .svk-profile{
  grid-template-columns:minmax(0,1fr)!important;
 }
 .svk-helper #svk-identity-top .svk-profile-actions{
  justify-content:flex-end;
  width:100%;
 }
 .svk-helper #svk-identity-top .svk-profile>.svk-mail-settings{
  grid-column:1;
 }
}

/* E-Mail-Einstellungen: eigenes Zahnrad in der rechten oberen Kartenecke. */
.svk-helper #svk-identity-top .svk-profile{position:relative}
.svk-helper #svk-identity-top .svk-profile>.svk-mail-gear{
 position:absolute;
 top:8px;
 right:8px;
 z-index:1;
 width:34px;
 height:34px;
 min-width:34px;
 min-height:34px;
 max-width:34px;
 padding:6px;
 border:1px solid transparent;
 border-radius:8px;
 background:transparent;
 color:var(--svk-muted);
}
.svk-helper #svk-identity-top .svk-profile>.svk-mail-gear:hover,
.svk-helper #svk-identity-top .svk-profile>.svk-mail-gear[aria-expanded="true"]{
 background:#E7EEF8;
 color:#24476C;
}
.svk-helper #svk-identity-top .svk-profile>.svk-mail-gear svg{
 width:21px;
 height:21px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.8;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.svk-helper #svk-identity-top .svk-profile>.svk-mail-gear:focus-visible{
 outline:3px solid #8CB0DF;
 outline-offset:2px;
}
.svk-helper #svk-identity-top .svk-profile-actions{margin-right:32px}
@media screen and (max-width:420px){
 .svk-helper #svk-identity-top .svk-profile-actions{margin-right:0;padding-right:34px}
}

/* Help dialog: the help button itself belongs exclusively to the profile toolbar. */
.svk-helper .svk-help-dialog button:focus-visible,
.svk-helper .svk-help-dialog a:focus-visible{
 outline:3px solid #8cb0df;outline-offset:2px;
}
body.svk-help-open{overflow:hidden}
.svk-helper .svk-help-overlay[hidden]{display:none!important}
.svk-helper .svk-help-overlay{
 position:fixed;inset:0;z-index:2147483000;
 display:flex;align-items:center;justify-content:center;
 padding:18px;background:rgba(14,29,49,.66);
}
.svk-helper .svk-help-dialog{
 width:min(900px,100%);max-height:min(92vh,920px);
 display:flex;flex-direction:column;
 border-radius:15px;background:#fff;
 border:1px solid #d4dde8;box-shadow:0 18px 66px rgba(5,20,40,.3);
 overflow:hidden;outline:none;
}
.svk-helper .svk-help-head{
 display:flex;align-items:flex-start;justify-content:space-between;
 gap:16px;padding:18px 22px 12px;border-bottom:1px solid #dbe4ef;
}
.svk-helper .svk-help-head h2{margin:5px 0 0;font-size:clamp(21px,3vw,28px)}
.svk-helper .svk-help-close{
 flex:none;display:grid;place-items:center;
 width:44px;height:44px;padding:0;
 background:#eff3f9;color:#243c58;border:0;border-radius:9px;
 font-size:32px;line-height:1;cursor:pointer;
}
.svk-helper .svk-help-tabs{display:flex;gap:8px;padding:12px 22px;border-bottom:1px solid #dbe4ef}
.svk-helper .svk-help-tabs button{
 border:1px solid #ccd7e5;border-radius:10px;
 background:#fff;color:#24466e;padding:10px 16px;font-weight:650;cursor:pointer;
}
.svk-helper .svk-help-tabs button[aria-current="page"]{background:#244e7b;color:#fff;border-color:#244e7b}
.svk-helper .svk-help-tabs button[hidden]{display:none!important}
.svk-helper .svk-help-content{overflow:auto;overscroll-behavior:contain;padding:8px 24px 28px;min-height:120px}
.svk-helper .svk-help-intro{font-size:16px;line-height:1.6}
.svk-helper .svk-help-index{padding:13px 18px;margin:14px 0;background:#f2f6fc;border-radius:10px}
.svk-helper .svk-help-index-list{columns:2;margin:0;padding-left:22px}
.svk-helper .svk-help-index-list li{break-inside:avoid;padding:2px 0}
.svk-helper .svk-help-index a{color:#245481;text-decoration:underline}
.svk-helper .svk-help-section{padding:16px 0 19px;border-bottom:1px solid #e0e7ef;scroll-margin-top:12px}
.svk-helper .svk-help-section:focus{outline:none}
.svk-helper .svk-help-section h3{font-size:19px;margin:0 0 12px;color:#1c3856}
.svk-helper .svk-help-steps{padding-left:22px;margin:0}
.svk-helper .svk-help-steps li{margin:0 0 9px;line-height:1.6}
.svk-helper .svk-help-note,.svk-helper .svk-help-image-note{
 margin:14px 0 0;padding:10px 12px;border-left:3px solid #6384af;
 border-radius:3px;background:#f3f6fb;font-size:14px;line-height:1.5;
}
.svk-helper .svk-help-figure{margin:18px 0 4px}
.svk-helper .svk-help-figure img{max-width:100%;height:auto;border:1px solid #d8e2ec;border-radius:8px}
.svk-helper .svk-help-figure figcaption{color:#5b6f84;font-size:13px}
.svk-helper .svk-help-error{color:#a03037}
@media screen and (max-width:760px){
 .svk-helper>.svk-brand .svk-brand-copy{padding-right:42px}
 .svk-helper .svk-help-overlay{padding:0}
 .svk-helper .svk-help-dialog{height:100dvh;max-height:100dvh;width:100%;border:0;border-radius:0}
 .svk-helper .svk-help-head{padding:13px 16px}
 .svk-helper .svk-help-tabs{padding:10px 16px}
 .svk-helper .svk-help-content{padding:6px 16px 22px}
 .svk-helper .svk-help-index-list{columns:1}
}
@media(prefers-reduced-motion:reduce){
 .svk-helper .svk-help-content *{scroll-behavior:auto}
}

/* Role-specific help is a profile action beside the email-settings gear. */
.svk-helper>.svk-brand .svk-brand-copy{padding-right:0}
.svk-helper #svk-identity-top .svk-profile>.svk-help-profile{
 position:absolute;top:8px;right:48px;z-index:2;
 display:flex;align-items:center;justify-content:center;
 width:34px;height:34px;min-width:34px;min-height:34px;
 max-width:34px;padding:6px;border:1px solid transparent;
 border-radius:8px;background:transparent;color:var(--svk-muted);
}
.svk-helper #svk-identity-top .svk-profile>.svk-help-profile svg{
 width:21px;height:21px;fill:none;stroke:currentColor;
 stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.svk-helper #svk-identity-top .svk-profile>.svk-help-profile:hover{
 background:#e7eef8;color:#24476c;
}
.svk-helper #svk-identity-top .svk-profile>.svk-help-profile:focus-visible{
 outline:3px solid #8cb0df;outline-offset:2px;
}
.svk-helper #svk-identity-top .svk-profile-actions{margin-right:76px}
.svk-helper .svk-help-tabs[hidden]{display:none!important}
@media screen and (max-width:760px){
 .svk-helper>.svk-brand .svk-brand-copy{padding-right:0}
}
@media screen and (max-width:420px){
 .svk-helper #svk-identity-top .svk-profile-actions{margin-right:0;padding-right:76px}
}

/* Four equal-size profile controls: Hilfe, Aktualisieren, Benutzer wechseln, Einstellungen. */
.svk-helper #svk-identity-top .svk-profile{position:relative;padding-top:54px}
.svk-helper #svk-identity-top .svk-profile-tools{
 position:absolute;top:8px;right:8px;z-index:3;
 display:flex;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:5px;
}
.svk-helper #svk-identity-top .svk-profile-tools>.svk-user-action{
 display:inline-flex;justify-content:center;align-items:center;
 width:34px;height:34px;min-width:34px;min-height:34px;max-width:34px;
 flex:0 0 34px;padding:6px;margin:0;
 background:transparent;color:var(--svk-muted);
 border:1px solid transparent;border-radius:8px;box-shadow:none;
}
.svk-helper #svk-identity-top .svk-profile-tools>.svk-user-action:hover,
.svk-helper #svk-identity-top .svk-profile-tools>.svk-user-action:focus-visible{
 background:#e7eef8;color:#24476c;
}
.svk-helper #svk-identity-top .svk-profile-tools>.svk-user-action:focus-visible{
 outline:3px solid #8cb0df;outline-offset:2px;
}
.svk-helper #svk-identity-top .svk-profile-tools>.svk-user-action svg{
 width:21px;height:21px;min-width:21px;fill:none;stroke:currentColor;
 stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.svk-helper #svk-identity-top .svk-profile-tools .svk-user-action-label{display:none!important}
@media screen and (max-width:420px){
 .svk-helper #svk-identity-top .svk-profile{padding-top:54px}
 .svk-helper #svk-identity-top .svk-profile-tools{top:8px;right:8px;gap:5px}
}

/* Regression fix RC17: eliminate legacy absolute positioning and unequal
   mobile !important dimensions, keeping every action in the same flex row. */
.svk-helper #svk-identity-top .svk-profile-tools>.svk-user-action{
 position:static!important;
 inset:auto!important;
 box-sizing:border-box;
 width:42px!important;height:42px!important;
 min-width:42px!important;min-height:42px!important;
 max-width:42px!important;max-height:42px!important;
 flex:0 0 42px!important;
 padding:8px!important;
 margin:0!important;
}
.svk-helper #svk-identity-top .svk-profile-tools{
 display:flex;flex-direction:row;flex-wrap:nowrap;
 gap:6px;align-items:center;justify-content:flex-end;
}
.svk-helper #svk-identity-top .svk-profile{padding-top:62px}
@media screen and (max-width:420px){
 .svk-helper #svk-identity-top .svk-profile{padding-top:62px}
}

/* RC18: Profile actions share the "Angemeldet als" line, not a separate row.
   Compact responsive layout; no lost vertical space for routine sync checks. */
.svk-helper #svk-identity-top .svk-profile{
 display:grid;
 grid-template-columns:minmax(0,1fr)!important;
 align-items:center;
 padding:12px 16px!important;
 gap:0;
}
.svk-helper #svk-identity-top .svk-person{min-width:0;width:100%}
.svk-helper #svk-identity-top .svk-user-details{flex:1;min-width:0}
.svk-helper #svk-identity-top .svk-user-heading{
 display:flex;
 align-items:center;
 justify-content:space-between;
 flex-wrap:nowrap;
 gap:4px;
 width:100%;
 min-width:0;
 margin-bottom:1px;
}
.svk-helper #svk-identity-top .svk-user-heading>.svk-hello{
 min-width:0;
 line-height:1.3;
}
.svk-helper #svk-identity-top .svk-user-heading>.svk-profile-tools{
 position:static!important;
 inset:auto!important;
 z-index:auto;
 display:flex;
 align-items:center;
 justify-content:flex-end;
 flex:0 0 auto;
 flex-wrap:nowrap;
 gap:2px!important;
 padding:0;
 margin:0;
}
.svk-helper #svk-identity-top .svk-user-heading>.svk-profile-tools>.svk-user-action{
 position:static!important;
 inset:auto!important;
 box-sizing:border-box;
 width:38px!important;
 height:38px!important;
 min-width:38px!important;
 min-height:38px!important;
 max-width:38px!important;
 max-height:38px!important;
 flex:0 0 38px!important;
 padding:7px!important;
 margin:0!important;
}
.svk-helper #svk-identity-top .svk-user-heading>.svk-profile-tools>.svk-user-action>svg{
 width:20px;height:20px;min-width:20px;
}
.svk-helper #svk-identity-top .svk-profile>.svk-mail-settings{grid-column:1}
.svk-helper .svk-live-sync[hidden]{display:none!important}
@media screen and (max-width:420px){
 .svk-helper #svk-identity-top .svk-profile{padding:11px 12px!important;gap:0}
 .svk-helper #svk-identity-top .svk-user-heading{gap:2px}
 .svk-helper #svk-identity-top .svk-user-heading>.svk-profile-tools{gap:1px!important}
 .svk-helper #svk-identity-top .svk-user-heading>.svk-profile-tools>.svk-user-action{
  width:35px!important;height:35px!important;
  min-width:35px!important;min-height:35px!important;
  max-width:35px!important;max-height:35px!important;
  flex:0 0 35px!important;padding:6px!important;
 }
 .svk-helper #svk-identity-top .svk-user-heading>.svk-profile-tools>.svk-user-action>svg{
  width:19px;height:19px;min-width:19px;
 }
}

/* Mobile assignment: when the active group body moves into the detail row,
   the action tile must occupy the entire row, never a 3-column cell. */
@media screen and (max-width:1050px){
 .svk-helper .svk-admin-groups>.svk-admin-detail .svk-admin-group-tiles,
 .svk-helper .svk-admin-groups>.svk-admin-detail .svk-admin-group-tiles:has(#svk-manual-toggle){
  display:grid;
  grid-template-columns:minmax(0,1fr)!important;
  width:100%;
  min-width:0;
 }
 .svk-helper .svk-admin-groups>.svk-admin-detail #svk-manual-toggle{
  box-sizing:border-box;
  display:grid;
  grid-template-columns:22px minmax(0,1fr) 18px;
  align-items:center;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:52px;
  white-space:normal!important;
 }
 .svk-helper .svk-admin-groups>.svk-admin-detail #svk-manual-toggle>span:nth-child(2){
  min-width:0;
  overflow-wrap:normal;
  word-break:normal;
  white-space:normal!important;
  hyphens:none;
 }
 .svk-helper .svk-admin-groups>.svk-admin-detail #svk-manual-body,
 .svk-helper .svk-admin-groups>.svk-admin-detail #svk-admin-shift-wrap,
 .svk-helper .svk-admin-groups>.svk-admin-detail #svk-admin-shift{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:100%;
 }
}
.svk-helper .svk-admin-shift-time{
 margin:7px 0 0;
 padding:8px 10px;
 border-radius:7px;
 background:#edf4fc;
 color:#24476c;
 font-size:14px;
 line-height:1.4;
}
.svk-helper .svk-admin-shift-time[hidden]{display:none!important}


/* Typography layout hotfix 1.0.4.
   Keep the site's selected font; reserve space by the *component* width.
   Scoped to the Helferportal so website navigation and rental drafts are unaffected. */
.svk-helper #svk-identity-top .svk-identity-row{
  align-items:stretch;
}
.svk-helper #svk-identity-top .svk-identity-row>.svk-profile,
.svk-helper #svk-identity-top .svk-identity-row>.svk-own-header-card{
  min-width:0;
  min-height:112px;
}
.svk-helper #svk-identity-top .svk-user-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  column-gap:8px;
}
.svk-helper #svk-identity-top .svk-user-heading>.svk-hello{
  min-width:0;
  overflow-wrap:normal;
  word-break:normal;
  line-height:1.4;
}
.svk-helper #svk-identity-top .svk-user-heading>.svk-profile-tools{
  justify-self:end;
  align-self:start;
}
.svk-helper #svk-identity-top .svk-user-details strong{
  line-height:1.4;
  overflow-wrap:break-word;
}
.svk-helper #svk-identity-top .svk-own-header-toggle{
  min-height:110px;
  height:100%;
}
.svk-helper.svk-event-active>.svk-brand{
  padding-block:10px;
}
.svk-helper.svk-event-active .svk-event-switch-row #svk-event-switch-title{
  word-break:normal;
  overflow-wrap:break-word;
  hyphens:none;
}

/* Three management tiles stay at their original grid positions.
   Instead of splitting German words, free usable label width next to icons. */
.svk-helper .svk-admin-group-toggle{
  grid-template-columns:20px minmax(0,1fr)!important;
  column-gap:7px;
  padding:12px 30px 12px 11px!important;
  min-height:78px;
}
.svk-helper .svk-admin-group-toggle>svg:not(.svk-admin-chevron){
  width:20px;
  height:20px;
}
.svk-helper .svk-admin-group-toggle>span{
  min-width:0;
  font-size:16px!important;
  line-height:1.35;
  hyphens:none!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.svk-helper .svk-admin-group-toggle>.svk-admin-chevron{
  right:9px;
}
@media screen and (min-width:761px){
  .svk-helper .svk-admin-group-toggle>span{
    font-size:15px!important;
  }
}

/* The roster controls respond to the width of their CARD, not the viewport:
   wide desktop browser + narrow central portal must not squeeze the event label. */
.svk-helper .svk-roster-container{
  container:svk-roster / inline-size;
}
.svk-helper .svk-roster-container .svk-roster-filter{
  min-width:0;
  align-items:end;
}
.svk-helper .svk-roster-container .svk-roster-event-context{
  min-width:0;
  margin:0 0 3px;
  text-align:left;
  line-height:1.45;
  overflow-wrap:break-word;
}
.svk-helper .svk-roster-container .svk-roster-filter select{
  height:auto;
  min-height:46px;
}
.svk-helper .svk-roster-container .svk-roster-scroll{
  max-width:100%;
  overscroll-behavior-inline:contain;
}
@container svk-roster (max-width:700px){
  .svk-helper .svk-roster-filter{
    grid-template-columns:minmax(0,1fr);
  }
  .svk-helper .svk-roster-event-context{
    grid-column:1;
    margin:0;
  }
  .svk-helper .svk-roster-filter .svk-roster-closed-toggle{
    grid-column:1;
  }
}
@media screen and (max-width:760px){
  .svk-helper #svk-identity-top .svk-identity-row>.svk-profile,
  .svk-helper #svk-identity-top .svk-identity-row>.svk-own-header-card{
    min-height:0;
  }
  .svk-helper #svk-identity-top .svk-own-header-toggle{
    min-height:66px;
  }
  .svk-helper .svk-admin-group-toggle>span{
    font-size:17px!important;
  }
}
@media print{
  .svk-helper .svk-roster-container{
    container:none;
  }
}


/* Compact layout 1.0.5: regression fix for the Staging font.
   All selectors remain within Helferportal; no changes to global theme CSS. */

/* Keep the four accessible account controls together at the upper right.
   Never place them within the narrow "Angemeldet als" text flow. */
.svk-helper #svk-identity-top .svk-profile{
  position:relative;
}
.svk-helper #svk-identity-top .svk-user-heading{
  display:block;
  width:100%;
}
.svk-helper #svk-identity-top .svk-user-heading>.svk-profile-tools{
  position:absolute!important;
  inset:8px 10px auto auto!important;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:3px!important;
  width:max-content;
  max-width:calc(100% - 20px);
  z-index:2;
}
.svk-helper #svk-identity-top .svk-user-heading>.svk-profile-tools>.svk-user-action{
  position:static!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  max-width:36px!important;
  max-height:36px!important;
  flex:0 0 36px!important;
  padding:7px!important;
}
.svk-helper #svk-identity-top .svk-user-heading>.svk-profile-tools>.svk-user-action>svg{
  width:20px;
  height:20px;
}
.svk-helper #svk-identity-top .svk-user-details{
  /* The toolbar sits above the identity text, not on top of it. */
  padding-top:31px;
  min-width:0;
}
.svk-helper #svk-identity-top .svk-user-heading>.svk-hello{
  display:block;
  margin:0 0 2px;
  line-height:1.3;
  overflow-wrap:normal;
}
.svk-helper #svk-identity-top .svk-identity-row>.svk-profile,
.svk-helper #svk-identity-top .svk-identity-row>.svk-own-header-card{
  min-height:130px;
}
.svk-helper #svk-identity-top .svk-own-header-toggle{
  min-height:128px;
  height:100%;
}

/* Keep the active event, administration and available duties in one compact
   vertical rhythm; WP theme margins must not accumulate on portal sections. */
.svk-helper.svk-event-active>.svk-brand{
  margin-bottom:12px!important;
}
.svk-helper #svk-manual-assignment-slot:not(:empty){
  margin:14px 0 0!important;
}
.svk-helper #svk-manual-assignment-slot>.svk-admin-area{
  margin:0!important;
  padding:0;
}
.svk-helper #svk-manual-assignment-slot .svk-admin-groups{
  margin-bottom:0!important;
}
.svk-helper #svk-content{
  margin-block-start:0!important;
  margin-top:0!important;
  padding-top:0;
}
.svk-helper #svk-content>.svk-dashboard{
  margin-top:0!important;
  padding-top:0;
}
.svk-helper #svk-content .svk-dashboard>.svk-section.svk-duties-section{
  margin-top:20px!important;
}
.svk-helper #svk-content .svk-dashboard>.svk-section:not(.svk-duties-section){
  margin-top:24px!important;
}

/* Available services must be two-up at desktop/tablet widths, independent
   of which theme font is loaded. Preserve the single-column phone layout. */
@media screen and (min-width:761px){
  .svk-helper #svk-shifts .svk-duty-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    align-items:stretch;
  }
}
@media screen and (max-width:760px){
  .svk-helper #svk-shifts .svk-duty-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .svk-helper #svk-identity-top .svk-identity-row>.svk-profile,
  .svk-helper #svk-identity-top .svk-identity-row>.svk-own-header-card{
    min-height:0;
  }
  .svk-helper #svk-identity-top .svk-own-header-toggle{
    min-height:66px;
  }
  .svk-helper #svk-content .svk-dashboard>.svk-section.svk-duties-section{
    margin-top:18px!important;
  }
}


/* 1.0.6 – fix the actual nested DOM, not a non-existent direct child:
   #svk-manual-assignment-slot > #svk-admin-slot > section.svk-admin-area.
   Some website themes add vertical section padding/min-heights; an otherwise
   correct margin adjustment cannot remove that reserved blank space. */
.svk-helper.svk-event-active > #svk-manual-assignment-slot{
  display:block;
  box-sizing:border-box;
  min-height:0!important;
  height:auto!important;
  margin:12px 0 0!important;
  padding:0!important;
}
.svk-helper #svk-manual-assignment-slot > #svk-admin-slot{
  display:block;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
.svk-helper #svk-manual-assignment-slot > #svk-admin-slot > .svk-admin-area{
  display:block;
  box-sizing:border-box;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
.svk-helper #svk-manual-assignment-slot > #svk-admin-slot > .svk-admin-area > .svk-section-heading{
  margin:0 0 12px!important;
  padding:0!important;
}
.svk-helper #svk-manual-assignment-slot > #svk-admin-slot > .svk-admin-area > .svk-admin-groups{
  margin:0!important;
  padding:0!important;
  min-height:0;
}
/* The duty section follows the moved admin container as a separate sibling.
   Never reserve another full section's worth of padding/height above it. */
.svk-helper > #svk-content{
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
.svk-helper #svk-content > .svk-dashboard{
  display:block;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
.svk-helper #svk-content > .svk-dashboard > .svk-section.svk-duties-section{
  min-height:0!important;
  height:auto!important;
  margin:16px 0 0!important;
  padding:0!important;
}
@media screen and (max-width:760px){
  .svk-helper #svk-content > .svk-dashboard > .svk-section.svk-duties-section{
    margin-top:14px!important;
  }
}


/* 1.0.8 – Profile and appointments must not share their expanded height.
   The mail settings live inside the left profile card; opening them must
   never stretch the right "Meine Termine" button. */
.svk-helper #svk-identity-top .svk-identity-row{
  align-items:start!important;
}
.svk-helper #svk-identity-top .svk-identity-row>.svk-own-header-card{
  align-self:start!important;
  height:auto!important;
}
.svk-helper #svk-identity-top .svk-identity-row>.svk-own-header-card>.svk-own-header-toggle{
  height:auto!important;
  min-height:128px;
}
@media screen and (max-width:760px){
  .svk-helper #svk-identity-top .svk-identity-row>.svk-own-header-card>.svk-own-header-toggle{
    min-height:66px;
  }
}

/* Overall roster: reserve intrinsic space for short labels and controls;
   distribute the rest between name and department. Only data may wrap. */
@media screen and (min-width:761px){
  .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive{
    table-layout:auto;
  }
  .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive th{
    white-space:nowrap;
    overflow-wrap:normal;
    word-break:normal;
  }
  .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive td{
    overflow-wrap:anywhere;
  }
  .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive th:nth-child(1),
  .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive th:nth-child(5){width:1%}
  .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive th:nth-child(2),
  .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive th:nth-child(3){width:auto}
  .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive th:nth-child(4){width:24%}
  .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive .svk-attendance-select{
    min-width:116px!important;
  }
  .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive .svk-roster-cancel{
    white-space:nowrap;
    overflow-wrap:normal;
  }
  @container svk-roster (max-width:700px){
    .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive :is(th,td){
      padding-inline:6px;
    }
    .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive .svk-roster-cancel{padding-inline:8px}
  }
  @container svk-roster (max-width:540px){
    .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive{
      display:block;width:100%;min-width:0;max-width:100%;
    }
    .svk-helper .svk-roster-container .svk-roster-responsive thead{display:none}
    .svk-helper .svk-roster-container .svk-roster-responsive tbody{display:grid;gap:10px;padding:10px}
    .svk-helper .svk-roster-container .svk-roster-responsive tr{
      display:grid;min-width:0;grid-template-columns:minmax(0,1fr);
      padding:8px 12px;border:1px solid var(--svk-border);border-radius:10px;background:#fff;
    }
    .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive td{
      display:grid;grid-template-columns:minmax(88px,34%) minmax(0,1fr);
      align-items:center;gap:12px;width:100%!important;min-width:0;padding:10px 0;
    }
    .svk-helper .svk-roster-container .svk-roster-responsive td::before{
      content:attr(data-label);font-size:14px;font-weight:700;color:var(--svk-muted);
    }
    .svk-helper .svk-roster-container .svk-roster-responsive td:last-child{border-bottom:0}
    .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive :is(.svk-attendance-select,.svk-roster-cancel){
      width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;height:44px!important;
    }
    .svk-helper .svk-roster-container .svk-roster-table.svk-roster-responsive .svk-roster-empty td{display:block}
    .svk-helper .svk-roster-container .svk-roster-responsive .svk-roster-empty td::before{display:none}
  }
}
