.lpv-frontend{overflow:auto}.lpv-front-table{width:100%;border-collapse:collapse;background:#fff}.lpv-front-table th,.lpv-front-table td{border:1px solid #dce3ea;padding:8px 10px;text-align:left}.lpv-front-table th{background:#f3f7fb;font-weight:700}.lpv-front-table tr:nth-child(even) td{background:#fafafa}
.lpv-front-form,.lpv-front-filters,.lpv-front-actions{background:#fff;border:1px solid #dce3ea;border-radius:14px;padding:14px;margin:14px 0;display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end}.lpv-front-form{display:block}.lpv-front-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:12px 0}.lpv-front-grid label,.lpv-front-form label{font-weight:600}.lpv-front-grid input,.lpv-front-grid select,.lpv-front-form input[type=text],.lpv-front-form input[type=search],.lpv-front-form input[type=number],.lpv-front-form select,.lpv-front-form textarea{width:100%;box-sizing:border-box;min-height:38px;border:1px solid #b9c7d5;border-radius:10px;padding:7px 10px}.lpv-front-form textarea{min-height:150px}.lpv-front-form button,.lpv-front-filters button,.lpv-front-actions button{border:1px solid #1f5f8b;border-radius:10px;background:#1f5f8b;color:#fff;padding:9px 14px;cursor:pointer}.lpv-front-notice{background:#eef7ff;border-left:4px solid #1f5f8b;padding:12px;margin:12px 0}.lpv-front-notice.lpv-error{background:#fff1f1;border-left-color:#b32d2e}.lpv-front-note{background:#f8fbff;border:1px solid #dce3ea;border-radius:12px;padding:12px;margin:12px 0}.lpv-status-page h3{margin-top:24px}.lpv-print-frame{width:100%;min-height:720px;border:1px solid #dce3ea;border-radius:12px;background:#fff}

.lpv-mini-button{display:inline-block;border:1px solid #1d4ed8;border-radius:6px;padding:3px 7px;text-decoration:none;margin:1px 2px;font-size:12px;}
.lpv-front-actions{white-space:nowrap;}

/* v0.1.4 */
.lpv-wide{width:100%;max-width:none;}
.lpv-front-table-wrap{width:100%;overflow:auto;max-height:72vh;border:1px solid #dce3ea;resize:vertical;background:#fff;}
.lpv-front-table{min-width:1200px;}
.lpv-front-table th,.lpv-front-table td{white-space:nowrap;vertical-align:top;}
.lpv-auto-filter-form input[type=text],.lpv-auto-filter-form input[type=search]{min-width:220px;}
.lpv-dropzone{display:flex!important;align-items:center;justify-content:center;min-height:92px;border:2px dashed #9bb6cf;border-radius:14px;background:#f8fbff;padding:18px;text-align:center;cursor:pointer;font-weight:600;}
.lpv-dropzone input[type=file]{display:none!important;}
.lpv-dropzone.dragover{background:#e7f1fb;border-color:#1f5f8b;}
.lpv-file-list{margin-top:8px;color:#4b5563;}
.lpv-mail-section{border-top:1px solid #dce3ea;margin-top:18px;padding-top:12px;}
.lpv-mail-submit{border-top:1px solid #dce3ea;margin-top:18px;padding-top:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;}
.lpv-front-details{border:1px solid #dce3ea;border-radius:12px;background:#fff;margin:12px 0;padding:10px;}
.lpv-front-details summary{cursor:pointer;padding:8px;}
.description{color:#5f6b7a;}

/* v0.1.5 dense frontend tables and searchable multi filters */
.lpv-front-table{font-size:13px;line-height:1.25;width:max-content;min-width:100%;table-layout:auto;}
.lpv-front-table th,.lpv-front-table td{padding:6px 9px;white-space:nowrap;max-width:none;}
.lpv-table-tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:8px 0;}
.lpv-multi-filter{position:relative;display:inline-block;vertical-align:top;}
.lpv-multi-toggle{min-height:38px;border:1px solid #b9c7d5;border-radius:10px;background:#fff;color:#1d2327;padding:7px 10px;cursor:pointer;}
.lpv-multi-label{font-weight:700;}
.lpv-multi-menu{display:none;position:absolute;z-index:50;top:calc(100% + 4px);left:0;background:#fff;border:1px solid #dce3ea;border-radius:12px;box-shadow:0 10px 24px rgba(0,0,0,.12);padding:10px;min-width:260px;max-height:320px;overflow:auto;}
.lpv-multi-filter.open .lpv-multi-menu{display:block;}
.lpv-multi-menu label{display:block;margin:6px 0;font-weight:400;}
.lpv-multi-search{width:100%;margin:0 0 8px 0;min-height:30px;border-radius:8px;border:1px solid #b9c7d5;padding:4px 8px;box-sizing:border-box;}
.lpv-filter-field>span{display:block;font-weight:700;margin-bottom:4px;}
.lpv-token-search input{width:100%;box-sizing:border-box;min-height:38px;border:1px solid #b9c7d5;border-radius:10px;padding:7px 10px;}
.lpv-birthday-today td{font-weight:700;background:#fff8e6!important;}

/* v0.1.6 token inputs, denser tables and column chooser */
.lpv-autocomplete-multi{min-width:230px;max-width:460px}.lpv-autocomplete-multi label span{display:block;font-weight:700;margin-bottom:4px}.lpv-token-input{width:100%;min-height:36px;border:1px solid #b9c7d5;border-radius:10px;padding:6px 9px;box-sizing:border-box}.lpv-token-list{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px;min-height:20px}.lpv-token{display:inline-flex;align-items:center;gap:5px;border:1px solid #b9c7d5;border-radius:999px;background:#eef6ff;color:#0c4d78;padding:3px 8px;font-size:12px;line-height:1.25}.lpv-token button{border:0;background:transparent;color:inherit;cursor:pointer;font-weight:700;padding:0 0 0 2px;line-height:1}.lpv-column-menu{display:none;position:absolute;z-index:80;background:#fff;border:1px solid #dce3ea;border-radius:12px;box-shadow:0 10px 24px rgba(0,0,0,.14);padding:10px;max-height:340px;overflow:auto;min-width:260px;margin-top:36px}.lpv-column-menu.open{display:block}.lpv-column-menu label{display:block;margin:5px 0;white-space:nowrap}.lpv-table-tools{position:relative}.lpv-front-table{font-size:12px}.lpv-front-table th,.lpv-front-table td{padding:5px 8px}

/* v0.1.9 Klassenlehrer */
.lpv-filter-buttons .lpv-mini-button.is-active{background:#1f5f8b;color:#fff;border-color:#1f5f8b;font-weight:700;}
.lpv-filter-buttons small{display:block;color:#5f6b7a;margin-top:4px;max-width:360px;}
.lpv-summary-card{background:#f8fbff;border:1px solid #dce3ea;border-radius:12px;padding:10px 12px;margin:8px 0;display:inline-flex;gap:6px;align-items:baseline;}
.lpv-summary-card span{color:#5f6b7a;}
.lpv-class-teachers .lpv-front-table tfoot th{background:#eef6ff;font-weight:700;}
@media print{.lpv-front-filters,.lpv-table-tools{display:none!important}.lpv-front-table-wrap{max-height:none;overflow:visible;border:0}.lpv-front-table{font-size:10px;min-width:0;width:100%}.lpv-summary-card{border:0;padding-left:0}}


/* v0.1.10 Klassenlehrer: echte Bürotelefonnummer, schlanke Spalten, Export/Druck im Filterblock */
.lpv-fit-content-table{width:auto!important;min-width:0!important;max-width:none!important;table-layout:auto!important;display:table;}
.lpv-class-teachers .lpv-front-table-wrap{max-height:76vh;width:100%;overflow:auto;display:block;}
.lpv-class-teachers .lpv-front-table{font-size:11.5px;line-height:1.2;}
.lpv-class-teachers .lpv-front-table th,.lpv-class-teachers .lpv-front-table td{padding:4px 6px!important;white-space:nowrap;width:auto;max-width:none;}
.lpv-class-teachers-filterbar{align-items:flex-start;}
.lpv-filter-actions-right{margin-left:auto;display:flex;flex-direction:column;gap:6px;align-items:stretch;min-width:150px;}
.lpv-filter-actions-right .lpv-mini-button{text-align:center;}
body.lpv-print-class-teachers-only *{visibility:hidden!important;}
body.lpv-print-class-teachers-only .lpv-class-teachers-print-area,
body.lpv-print-class-teachers-only .lpv-class-teachers-print-area *{visibility:visible!important;}
body.lpv-print-class-teachers-only .lpv-class-teachers-print-area{position:absolute;left:0;top:0;width:100%;background:#fff;}
body.lpv-print-class-teachers-only .lpv-class-teachers-print-area .lpv-front-table-wrap{max-height:none;overflow:visible;border:0;resize:none;}
body.lpv-print-class-teachers-only .lpv-class-teachers-print-area .lpv-front-table{font-size:10px;width:auto!important;min-width:0!important;}
body.lpv-print-class-teachers-only .lpv-class-teachers-print-area .lpv-mini-button{display:none!important;}
@media print{.lpv-class-teachers .lpv-filter-actions-right,.lpv-class-teachers .lpv-table-tools{display:none!important}.lpv-class-teachers .lpv-front-table{width:auto!important;min-width:0!important}.lpv-class-teachers .lpv-front-table th,.lpv-class-teachers .lpv-front-table td{padding:3px 5px!important}}

/* v0.1.11: Klassenlehrer-Layout, Druckstart und Mail-Auswahl sichtbar */
.lpv-class-teachers .lpv-front-table-wrap{max-height:78vh;width:100%;overflow:auto;display:block;resize:vertical;}
.lpv-class-teachers .lpv-fit-content-table{width:100%!important;min-width:760px!important;max-width:none!important;table-layout:auto!important;display:table;}
.lpv-class-teachers .lpv-front-table{font-size:13px;line-height:1.28;}
.lpv-class-teachers .lpv-front-table th,.lpv-class-teachers .lpv-front-table td{padding:6px 8px!important;white-space:nowrap;width:auto;max-width:none;}
.lpv-class-teachers .lpv-ct-school{width:11ch;}
.lpv-class-teachers .lpv-ct-class{width:7ch;text-align:left;}
.lpv-class-teachers .lpv-ct-teacher{width:auto;min-width:220px;}
.lpv-class-teachers .lpv-ct-office{width:10ch;}
.lpv-class-teachers .lpv-ct-office-phone{width:14ch;}
.lpv-class-teachers .lpv-ct-count{width:11ch;text-align:right;}
.lpv-class-teachers .lpv-ct-mail{width:64px;text-align:center;}
.lpv-class-teachers .lpv-summary-card{font-size:14px;}
.lpv-class-teachers .lpv-table-tools{font-size:13px;}
.lpv-print-title{display:none;}
.lpv-selection-summary{background:#f8fbff;border:1px solid #dce3ea;border-radius:14px;padding:12px 14px;margin:14px 0;}
.lpv-selection-summary h3{margin:0 0 8px 0;font-size:18px;}
.lpv-selection-tags{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.lpv-selection-tags>span{display:inline-flex;border:1px solid #b9c7d5;border-radius:999px;background:#fff;padding:5px 10px;font-size:13px;line-height:1.25;}
.lpv-selection-tags>.lpv-selection-emphasis{background:#eef6ff;border-color:#7eb3dc;color:#0c4d78;}
.lpv-mail-page .lpv-front-grid .lpv-autocomplete-multi{min-width:260px;}
.lpv-mail-page .lpv-front-form{max-width:980px;}
@media print{
  .lpv-print-title{display:block;margin:0 0 10px 0;font-size:18px;}
  .lpv-class-teachers-print-area{break-before:page;page-break-before:always;margin:0!important;padding:0!important;}
  .lpv-class-teachers-print-area .lpv-front-table-wrap{max-height:none!important;overflow:visible!important;border:0!important;resize:none!important;}
  .lpv-class-teachers-print-area .lpv-front-table{width:100%!important;min-width:0!important;font-size:10px!important;}
  .lpv-class-teachers-print-area .lpv-front-table th,.lpv-class-teachers-print-area .lpv-front-table td{padding:3px 5px!important;}
  .lpv-class-teachers-print-area .lpv-ct-mail{display:none!important;}
}


/* v0.1.12: Klassenlehrer exportiert echte XLSX-Dateien; Ansicht nutzt freien Platz lesbarer */
.lpv-class-teachers .lpv-front-table-wrap{width:100%;max-width:100%;overflow:auto;}
.lpv-class-teachers .lpv-fit-content-table{width:100%!important;min-width:920px!important;table-layout:auto!important;}
.lpv-class-teachers .lpv-front-table{font-size:clamp(13px,0.78vw,16px);line-height:1.34;}
.lpv-class-teachers .lpv-front-table th,.lpv-class-teachers .lpv-front-table td{padding:7px 10px!important;}
.lpv-class-teachers .lpv-ct-school{width:13ch;}
.lpv-class-teachers .lpv-ct-class{width:8ch;}
.lpv-class-teachers .lpv-ct-teacher{min-width:260px;width:auto;}
.lpv-class-teachers .lpv-ct-office{width:12ch;}
.lpv-class-teachers .lpv-ct-office-phone{width:15ch;}
.lpv-class-teachers .lpv-ct-count{width:12ch;text-align:right;}
.lpv-class-teachers .lpv-ct-mail{width:72px;text-align:center;}
.lpv-class-teachers .lpv-summary-card{font-size:clamp(14px,0.85vw,17px);}
@media (min-width:1500px){
  .lpv-class-teachers .lpv-fit-content-table{min-width:1100px!important;}
  .lpv-class-teachers .lpv-front-table th,.lpv-class-teachers .lpv-front-table td{padding:8px 12px!important;}
}
@media print{
  .lpv-class-teachers-print-area{break-before:auto!important;page-break-before:auto!important;margin-top:0!important;padding-top:0!important;}
  .lpv-class-teachers-print-area .lpv-front-table{font-size:10.5px!important;line-height:1.2!important;}
}


/* v0.1.13: Klassenlehrer-Ansicht: freien Bereich nutzen, aber Spalten nicht unkontrolliert auseinanderziehen. */
.lpv-class-teachers .lpv-fit-content-table{width:100%!important;min-width:0!important;table-layout:fixed!important;}
.lpv-class-teachers .lpv-front-table{font-size:clamp(14px,0.88vw,17px)!important;line-height:1.38!important;}
.lpv-class-teachers .lpv-front-table th,.lpv-class-teachers .lpv-front-table td{padding:8px 10px!important;overflow:hidden;text-overflow:ellipsis;}
.lpv-class-teachers .lpv-ct-school{width:14%;}
.lpv-class-teachers .lpv-ct-class{width:8%;}
.lpv-class-teachers .lpv-ct-teacher{width:34%;min-width:0;}
.lpv-class-teachers .lpv-ct-office{width:9%;}
.lpv-class-teachers .lpv-ct-office-phone{width:13%;}
.lpv-class-teachers .lpv-ct-count{width:12%;text-align:right;}
.lpv-class-teachers .lpv-ct-mail{width:10%;text-align:center;}
@media (min-width:1500px){
  .lpv-class-teachers .lpv-front-table{font-size:clamp(15px,0.92vw,18px)!important;}
  .lpv-class-teachers .lpv-front-table th,.lpv-class-teachers .lpv-front-table td{padding:9px 12px!important;}
}
@media print{
  .lpv-class-teachers-print-area .lpv-fit-content-table{table-layout:auto!important;width:100%!important;}
  .lpv-class-teachers-print-area .lpv-front-table th,.lpv-class-teachers-print-area .lpv-front-table td{overflow:visible;text-overflow:clip;}
}

/* v0.1.15: Personal-Geburtstage kompakt, breit, ohne unnötigen X-Scroll und mit Datumspicker */
.lpv-birthdays .lpv-birthdays-filterbar{align-items:flex-start;display:flex;gap:18px 24px;flex-wrap:wrap;width:100%;}
.lpv-birthdays .lpv-filter-field{display:flex;flex-direction:column;gap:6px;min-width:230px;}
.lpv-birthdays .lpv-filter-field>span{font-size:16px;font-weight:700;line-height:1.2;}
.lpv-birthday-days,.lpv-birthday-dates{min-width:300px!important;}
.lpv-birthday-days label,.lpv-birthday-dates label{display:inline-flex!important;align-items:center;gap:7px;margin-right:12px;font-weight:600;}
.lpv-birthday-days input,.lpv-birthday-dates input{width:82px!important;min-height:34px!important;border:1px solid #b9c7d5;border-radius:7px;padding:4px 7px;box-sizing:border-box;}
.lpv-birthdays .lpv-filter-actions-right{margin-left:auto;align-self:stretch;justify-content:flex-end;}
.lpv-birthdays .lpv-front-table-wrap{max-height:76vh;width:100%;overflow:auto;display:block;resize:vertical;background:#fff;}
.lpv-birthdays .lpv-fit-content-table{width:100%!important;min-width:0!important;table-layout:fixed!important;}
.lpv-birthdays .lpv-front-table{font-size:clamp(14px,0.88vw,17px)!important;line-height:1.38!important;}
.lpv-birthdays .lpv-front-table th,.lpv-birthdays .lpv-front-table td{padding:8px 10px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.lpv-birthdays-staff .lpv-bd-date{width:16%;}
.lpv-birthdays-staff .lpv-bd-name{width:54%;}
.lpv-birthdays-staff .lpv-bd-school{width:30%;}
.lpv-birthdays-student .lpv-bd-date{width:14%;}
.lpv-birthdays-student .lpv-bd-age{width:8%;text-align:right;}
.lpv-birthdays-student .lpv-bd-name{width:42%;}
.lpv-birthdays-student .lpv-bd-school{width:22%;}
.lpv-birthdays-student .lpv-bd-class{width:14%;}
.lpv-birthdays .lpv-summary-card{font-size:14px;}
@media (min-width:1500px){
  .lpv-birthdays .lpv-front-table{font-size:clamp(15px,0.92vw,18px)!important;}
  .lpv-birthdays .lpv-front-table th,.lpv-birthdays .lpv-front-table td{padding:9px 12px!important;}
}
@media print{
  .lpv-birthdays .lpv-front-filters,.lpv-birthdays .lpv-table-tools{display:none!important;}
  .lpv-birthdays .lpv-front-table-wrap{max-height:none!important;overflow:visible!important;border:0!important;resize:none!important;}
  .lpv-birthdays .lpv-front-table{width:100%!important;table-layout:auto!important;font-size:10.5px!important;line-height:1.2!important;}
  .lpv-birthdays .lpv-front-table th,.lpv-birthdays .lpv-front-table td{overflow:visible!important;text-overflow:clip!important;padding:3px 5px!important;}
}

/* v0.1.15: Geburtstagslisten mit wenigen Spalten dürfen keinen unnötigen horizontalen Scrollbalken erzeugen. */
.lpv-birthdays .lpv-front-table,.lpv-birthdays .lpv-front-table th,.lpv-birthdays .lpv-front-table td{box-sizing:border-box;}
.lpv-birthdays-staff .lpv-front-table-wrap{overflow-y:auto!important;overflow-x:hidden!important;max-width:100%!important;}
.lpv-birthdays-staff .lpv-front-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;}
.lpv-birthdays-staff .lpv-bd-date{width:17%!important;}
.lpv-birthdays-staff .lpv-bd-name{width:53%!important;}
.lpv-birthdays-staff .lpv-bd-school{width:30%!important;}
.lpv-birthdays .lpv-birthday-dates input[type=date]{width:150px!important;min-height:36px!important;}

/* v0.1.16: Geburtstage Personal ohne X-Scroll, Tag-Monat-Picker und Altersspalte */
.lpv-birthdays-staff{overflow-x:hidden!important;}
.lpv-birthdays-staff .lpv-front-table-wrap{overflow-y:auto!important;overflow-x:hidden!important;max-width:100%!important;padding-bottom:0!important;box-sizing:border-box!important;}
.lpv-birthdays-staff .lpv-fit-content-table,
.lpv-birthdays-staff .lpv-front-table,
.lpv-birthdays-staff .lpv-birthdays-table{width:calc(100% - 2px)!important;max-width:calc(100% - 2px)!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;}
.lpv-birthdays-staff .lpv-bd-date{width:15%!important;}
.lpv-birthdays-staff .lpv-bd-age{width:9%!important;text-align:right;}
.lpv-birthdays-staff .lpv-bd-name{width:49%!important;}
.lpv-birthdays-staff .lpv-bd-school{width:26%!important;}
.lpv-birthdays-staff .lpv-front-table th,
.lpv-birthdays-staff .lpv-front-table td{box-sizing:border-box!important;}
.lpv-birthdays .lpv-birthday-dates small{font-weight:400;color:#5f6b7a;}
.lpv-birthdays .lpv-birthday-dates input.lpv-day-month-input{width:96px!important;min-height:36px!important;}
.lpv-dm-input-wrap{display:inline-flex;align-items:center;gap:4px;position:relative;}
.lpv-day-month-picker-button{min-height:34px!important;padding:4px 8px!important;border:1px solid #1d4ed8!important;border-radius:7px!important;background:#fff!important;color:#1d4ed8!important;line-height:1!important;cursor:pointer;}
.lpv-day-month-popover{position:absolute;z-index:9999;background:#fff;border:1px solid #b9c7d5;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.16);padding:10px;display:flex;gap:7px;align-items:center;min-width:265px;}
.lpv-day-month-popover select{min-height:34px;border:1px solid #b9c7d5;border-radius:8px;padding:4px 7px;background:#fff;}
.lpv-day-month-popover button{min-height:34px;border:1px solid #1d4ed8;border-radius:8px;background:#1f5f8b;color:#fff;padding:4px 10px;cursor:pointer;}
.lpv-day-month-popover .lpv-dm-close{background:#fff;color:#1d4ed8;}
@media (min-width:1500px){
  .lpv-birthdays-staff .lpv-front-table{font-size:clamp(16px,0.98vw,19px)!important;}
  .lpv-birthdays-staff .lpv-front-table th,.lpv-birthdays-staff .lpv-front-table td{padding:9px 12px!important;}
}


/* v0.1.17: Schüler-Geburtstage ohne Suche, mit Alter und druckfesten Geburtstagssymbolen */
.lpv-birthdays-student{overflow-x:hidden!important;}
.lpv-birthdays-student .lpv-front-table-wrap{overflow-y:auto!important;overflow-x:hidden!important;max-width:100%!important;padding-bottom:0!important;box-sizing:border-box!important;}
.lpv-birthdays-student .lpv-fit-content-table,
.lpv-birthdays-student .lpv-front-table,
.lpv-birthdays-student .lpv-birthdays-table{width:calc(100% - 2px)!important;max-width:calc(100% - 2px)!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;}
.lpv-birthdays-student .lpv-bd-date{width:14%!important;}
.lpv-birthdays-student .lpv-bd-age{width:8%!important;text-align:right;}
.lpv-birthdays-student .lpv-bd-name{width:43%!important;}
.lpv-birthdays-student .lpv-bd-school{width:22%!important;}
.lpv-birthdays-student .lpv-bd-class{width:13%!important;}
.lpv-birthday-icon{display:inline-flex!important;gap:.15em;align-items:center;font-size:1.05em;line-height:1;vertical-align:baseline;white-space:nowrap;}
.lpv-birthday-icon img.emoji,
.lpv-birthday-icon .emoji,
.lpv-birthdays img.emoji{width:1em!important;height:1em!important;max-width:1em!important;max-height:1em!important;display:inline!important;margin:0 .05em!important;vertical-align:-.12em!important;}
.lpv-birthday-today .lpv-bd-date{font-weight:700;}
@media (min-width:1500px){
  .lpv-birthdays-student .lpv-front-table{font-size:clamp(16px,0.98vw,19px)!important;}
  .lpv-birthdays-student .lpv-front-table th,.lpv-birthdays-student .lpv-front-table td{padding:9px 12px!important;}
}
@media print{
  .lpv-birthday-icon{font-size:1em!important;line-height:1!important;display:inline!important;}
  .lpv-birthday-icon img.emoji,
  .lpv-birthday-icon .emoji,
  .lpv-birthdays img.emoji{width:1em!important;height:1em!important;max-width:1em!important;max-height:1em!important;display:inline!important;margin:0 .05em!important;vertical-align:-.12em!important;}
}

/* v0.1.18: Geburtstags-Filtercontainer responsiv auf Browserbreite begrenzen */
.lpv-birthdays{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
.lpv-birthdays .lpv-birthdays-filterbar,
.lpv-birthdays .lpv-front-filters{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
}
.lpv-birthdays .lpv-filter-field{
  flex:0 1 260px!important;
  min-width:min(230px,100%)!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.lpv-birthdays .lpv-birthday-days,
.lpv-birthdays .lpv-birthday-dates{
  flex:0 1 330px!important;
  min-width:min(300px,100%)!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.lpv-birthdays .lpv-birthday-days label,
.lpv-birthdays .lpv-birthday-dates label{
  max-width:100%!important;
  box-sizing:border-box!important;
}
.lpv-birthdays .lpv-filter-actions-right{
  flex:0 0 170px!important;
  min-width:150px!important;
  max-width:100%!important;
  margin-left:auto!important;
  box-sizing:border-box!important;
}
.lpv-birthdays .lpv-filter-actions-right .lpv-mini-button{
  width:100%!important;
  box-sizing:border-box!important;
}
.lpv-birthdays .lpv-table-tools,
.lpv-birthdays .lpv-summary-card,
.lpv-birthdays .lpv-front-table-wrap{
  max-width:100%!important;
  box-sizing:border-box!important;
}
@media (max-width:1100px){
  .lpv-birthdays .lpv-filter-actions-right{
    margin-left:0!important;
    flex:1 1 100%!important;
    width:100%!important;
    flex-direction:row!important;
    justify-content:flex-start!important;
    align-items:center!important;
  }
  .lpv-birthdays .lpv-filter-actions-right .lpv-mini-button{
    width:auto!important;
    min-width:150px!important;
  }
}
@media (max-width:700px){
  .lpv-birthdays .lpv-filter-field,
  .lpv-birthdays .lpv-birthday-days,
  .lpv-birthdays .lpv-birthday-dates{
    flex:1 1 100%!important;
    width:100%!important;
  }
  .lpv-birthdays .lpv-filter-actions-right{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .lpv-birthdays .lpv-filter-actions-right .lpv-mini-button{
    width:100%!important;
  }
}

/* v0.1.19: Mailseite breiter darstellen, aber weiterhin responsiv halten. */
.lpv-mail-page{
  width:min(75vw, 1420px)!important;
  max-width:calc(100vw - 40px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
.lpv-mail-page .lpv-front-note,
.lpv-mail-page .lpv-front-form,
.lpv-mail-page .lpv-front-notice{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.lpv-mail-page .lpv-front-form{
  max-width:none!important;
}
@media (max-width:900px){
  .lpv-mail-page{
    width:100%!important;
    max-width:100%!important;
  }
}

/* v0.1.20: Mailfilter klarer und Personensuche als echte Personen-Auswahl */
.lpv-mail-page .lpv-filter-grid{
  align-items:start;
}
.lpv-mail-page .lpv-field-help{
  margin:2px 0 0 0;
  color:#5f6b7a;
  font-size:12px;
  line-height:1.35;
  align-self:start;
}
.lpv-person-picker{
  position:relative;
  min-width:280px;
  max-width:100%;
}
.lpv-person-picker label span{
  display:block;
  font-weight:700;
  margin-bottom:4px;
}
.lpv-person-input{
  width:100%;
  min-height:36px;
  border:1px solid #b9c7d5;
  border-radius:10px;
  padding:6px 9px;
  box-sizing:border-box;
}
.lpv-person-suggestions{
  display:none;
  position:absolute;
  z-index:120;
  top:64px;
  left:0;
  right:0;
  max-height:340px;
  overflow:auto;
  background:#fff;
  border:1px solid #b9c7d5;
  border-radius:12px;
  box-shadow:0 10px 24px rgba(0,0,0,.14);
  padding:6px;
}
.lpv-person-suggestions.open{display:block;}
.lpv-person-option{
  width:100%;
  border:0!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#1d2327!important;
  text-align:left;
  padding:8px 9px!important;
  display:block;
  cursor:pointer;
}
.lpv-person-option:hover,
.lpv-person-option:focus{
  background:#eef6ff!important;
  color:#0c4d78!important;
}
.lpv-person-option span{display:block;font-weight:700;}
.lpv-person-option small{display:block;color:#5f6b7a;margin-top:2px;}
.lpv-person-empty{padding:9px;color:#5f6b7a;font-size:13px;}
.lpv-person-picker .description,
.lpv-mail-page label .description{
  display:block;
  margin-top:4px;
  font-weight:400;
  font-size:12px;
  line-height:1.35;
}

/* v0.1.21: Schülerverwaltung als Master-Detail-Ansicht */
.lpv-student-management{width:100%;max-width:none;}
.lpv-student-filterbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(160px,.8fr) minmax(260px,1.6fr) minmax(260px,auto) auto;gap:12px;align-items:end;width:100%;box-sizing:border-box;}
.lpv-student-filterbar .lpv-filter-actions-right{justify-self:end;display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.lpv-status-chips{display:flex;gap:5px;flex-wrap:wrap;}
.lpv-chip-link{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid #b7c9dc;border-radius:999px;text-decoration:none;background:#fff;font-size:.9rem;line-height:1.1;}
.lpv-chip-link.active{background:#e8f4ff;border-color:#1769aa;color:#0b4d80;font-weight:600;}
.lpv-student-toolbar{margin:12px 0;padding:10px 14px;border:1px solid #d7e3ef;background:#f7fbff;border-radius:10px;}
.lpv-student-master-detail{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:18px;align-items:start;min-height:620px;}
.lpv-student-gallery{border:1px solid #d4e0ec;background:#fff;border-radius:12px;overflow:auto;max-height:calc(100vh - 240px);box-shadow:0 1px 2px rgba(0,0,0,.04);}
.lpv-gallery-header{position:sticky;top:0;background:#f2f7fc;border-bottom:1px solid #d4e0ec;padding:10px 12px;font-weight:700;z-index:1;}
.lpv-gallery-card{display:block;padding:11px 14px;border-bottom:1px solid #e3edf7;text-decoration:none;color:inherit;background:#fff;}
.lpv-gallery-card:nth-child(even){background:#fbfdff;}
.lpv-gallery-card:hover,.lpv-gallery-card.active{background:#eaf5ff;box-shadow:inset 4px 0 0 #1769aa;}
.lpv-gallery-card strong{display:block;font-size:1rem;line-height:1.15;margin-bottom:3px;}
.lpv-gallery-card span{display:inline-block;font-size:.86rem;font-weight:600;margin-right:7px;color:#0b4d80;}
.lpv-gallery-card small{display:block;color:#4c5f72;font-size:.86rem;}
.lpv-student-detail-panel{min-width:0;border:1px solid #d4e0ec;background:#fff;border-radius:12px;padding:16px;box-shadow:0 1px 2px rgba(0,0,0,.04);}
.lpv-student-detail-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;border-bottom:1px solid #e1e9f2;padding-bottom:12px;margin-bottom:14px;}
.lpv-student-detail-head h2{margin:0;font-size:clamp(1.3rem,2vw,2rem);line-height:1.1;}
.lpv-student-detail-head p{margin:.25rem 0 0;color:#52677c;}
.lpv-student-actions{display:flex;gap:7px;justify-content:flex-end;flex-wrap:wrap;min-width:240px;}
.lpv-student-detail-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;align-items:stretch;}
.lpv-detail-field{grid-column:span var(--lpv-field-span,3);min-width:0;border:1px solid #d8e3ef;border-radius:10px;padding:9px 10px;background:#fff;display:flex;flex-direction:column;gap:5px;}
.lpv-detail-field span{font-size:.78rem;text-transform:uppercase;letter-spacing:.03em;font-weight:700;color:#102a6b;}
.lpv-detail-field input,.lpv-detail-field textarea,.lpv-detail-field select{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #b8c9da;border-radius:6px;padding:7px 8px;font:inherit;background:#fff;}
.lpv-detail-field textarea{min-height:74px;resize:vertical;}
.lpv-detail-field .lpv-readonly{font-size:1rem;line-height:1.25;min-height:1.5em;overflow-wrap:anywhere;}
.lpv-detail-save{margin-top:14px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;}
.lpv-primary-button{background:#1769aa;color:#fff;border:0;border-radius:8px;padding:9px 16px;font-weight:700;cursor:pointer;}
.lpv-primary-button:hover{background:#0f568d;}
.lpv-table-overlay{position:fixed;inset:0;background:rgba(15,32,48,.55);z-index:99998;display:none;padding:4vh 3vw;box-sizing:border-box;}
.lpv-table-overlay.open{display:block;}
.lpv-table-overlay-inner{background:#fff;border-radius:14px;max-width:100%;height:92vh;overflow:auto;padding:18px;box-shadow:0 10px 30px rgba(0,0,0,.25);position:relative;}
.lpv-table-overlay-close{position:sticky;top:0;float:right;border:1px solid #b7c9dc;background:#fff;border-radius:999px;width:34px;height:34px;font-size:24px;line-height:28px;cursor:pointer;z-index:3;}
.lpv-overlay-table-wrap{max-height:70vh;}
.lpv-empty{padding:14px;color:#65788c;}
@media (max-width:1100px){.lpv-student-filterbar{grid-template-columns:1fr 1fr}.lpv-student-filterbar .lpv-filter-actions-right{justify-self:start}.lpv-student-master-detail{grid-template-columns:1fr}.lpv-student-gallery{max-height:360px}.lpv-student-detail-head{flex-direction:column}.lpv-student-actions{justify-content:flex-start}.lpv-detail-field{grid-column:span 6}}
@media (max-width:720px){.lpv-student-filterbar{grid-template-columns:1fr}.lpv-detail-field{grid-column:span 12}.lpv-student-detail-panel{padding:12px}}

/* v0.1.23: Farbkonzept aus Layout-Builder in der Schülerdetailansicht */
.lpv-student-management{background:var(--lpv-page-bg,transparent);padding:12px;border-radius:14px;box-sizing:border-box;}
.lpv-student-management .lpv-student-detail-panel,
.lpv-student-management .lpv-student-gallery,
.lpv-student-management .lpv-detail-field{background:var(--lpv-panel-bg,#fff);}
.lpv-student-management .lpv-primary-button,
.lpv-student-management .lpv-mini-button:hover{background:var(--lpv-accent,#1769aa);}
.lpv-student-management .lpv-gallery-card:hover,
.lpv-student-management .lpv-gallery-card.active{box-shadow:inset 4px 0 0 var(--lpv-accent,#1769aa);}

/* v0.1.24: Tabellenköpfe in Frontend-Tabellen fixieren */
.lpv-table-scroll,
.lpv-overlay-table-wrap{
  overflow:auto!important;
  max-width:100%!important;
}
.lpv-table-scroll thead th,
.lpv-overlay-table-wrap thead th,
.lpv-table thead th{
  position:sticky;
  top:0;
  z-index:4;
  background:#f3f7fb;
  box-shadow:0 1px 0 #ccd8e3;
}

/* v0.1.26: Schüler/Personal Master-Detail kompakter und an Originalgröße angepasst */
.lpv-student-management,
.lpv-staff-management{font-size:clamp(13px,.82vw,15px);}
.lpv-student-management .lpv-front-filters{padding:10px 12px;}
.lpv-student-filterbar{gap:9px;}
.lpv-student-toolbar{margin:8px 0;padding:8px 12px;font-size:.92em;}
.lpv-student-master-detail{grid-template-columns:minmax(245px,315px) minmax(0,1fr);gap:14px;min-height:560px;}
.lpv-student-gallery{max-height:calc(100vh - 220px);}
.lpv-gallery-header{padding:8px 10px;}
.lpv-gallery-card{padding:8px 11px;}
.lpv-gallery-card strong{font-size:.95em;line-height:1.12;}
.lpv-gallery-card span,.lpv-gallery-card small{font-size:.82em;}
.lpv-student-detail-panel{padding:12px;}
.lpv-student-detail-head{padding-bottom:9px;margin-bottom:10px;gap:10px;}
.lpv-student-detail-head h2{font-size:clamp(1.1rem,1.55vw,1.55rem);}
.lpv-student-detail-head p{font-size:.88em;}
.lpv-student-actions{gap:5px;min-width:210px;}
.lpv-student-actions .lpv-mini-button{padding:5px 8px;font-size:.86em;line-height:1.1;}
.lpv-student-detail-grid{gap:8px;}
.lpv-detail-field{padding:6px 8px;border-radius:8px;gap:3px;min-height:52px;}
.lpv-detail-field span{font-size:.68rem;line-height:1.15;}
.lpv-detail-field .lpv-readonly{font-size:.91rem;line-height:1.18;min-height:1.25em;}
.lpv-detail-field input,.lpv-detail-field textarea,.lpv-detail-field select{padding:5px 7px;font-size:.92em;}
.lpv-detail-field textarea{min-height:58px;}
.lpv-detail-save{margin-top:10px;}
.lpv-staff-management .lpv-student-filterbar{grid-template-columns:minmax(190px,1fr) minmax(260px,1.7fr) minmax(260px,auto) auto;}
@media (min-width:1400px){
  .lpv-student-management .lpv-detail-field{grid-column:span var(--lpv-field-span,3);}
  .lpv-student-master-detail{grid-template-columns:minmax(260px,330px) minmax(0,1fr);} 
}

/* v0.1.28: persönliche Spaltensteuerung */
.lpv-column-menu{min-width:320px;max-width:min(520px,calc(100vw - 80px));}
.lpv-column-menu-head{display:flex;flex-direction:column;gap:2px;margin-bottom:8px;border-bottom:1px solid #d9e2ec;padding-bottom:8px;}
.lpv-column-menu-head small{color:#5f6f82;line-height:1.25;}
.lpv-column-menu-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:8px;position:sticky;top:-10px;background:#fff;padding:6px 0;z-index:2;}
.lpv-column-list{display:flex;flex-direction:column;gap:3px;}
.lpv-column-list label{display:flex!important;align-items:center;gap:6px;border:1px solid transparent;border-radius:8px;padding:4px 6px;margin:0!important;background:#fff;cursor:grab;}
.lpv-column-list label:hover{border-color:#c7d7e8;background:#f5f9fd;}
.lpv-column-list label.lpv-col-dragging{opacity:.55;background:#eaf4ff;}
.lpv-col-drag{color:#617b91;font-weight:700;cursor:grab;min-width:16px;text-align:center;}
.lpv-table th,.lpv-front-table th{position:relative;}
.lpv-th-label{display:inline-block;padding-right:16px;}
.lpv-th-hide{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:16px;height:16px;line-height:13px;border:1px solid #b8c8d8;background:#fff;border-radius:999px;color:#42627d;cursor:pointer;padding:0;font-size:12px;opacity:.25;}
.lpv-table th:hover .lpv-th-hide,.lpv-front-table th:hover .lpv-th-hide{opacity:1;}
.lpv-th-hide:hover{background:#ffecec;border-color:#d66;color:#900;}
.lpv-front-table-wrap,.lpv-overlay-table-wrap{overflow-x:auto!important;overflow-y:auto!important;}
.lpv-front-table{width:max-content!important;min-width:max-content!important;}


/* v0.1.29: Archiv, Austritte, Warteschlange, Boarding, Provisionierung und Zugangsdaten nutzen den Seitenplatz wie die Mailseite besser aus. */
.lpv-wide-tool-page{
  width:min(92vw, 1640px)!important;
  max-width:calc(100vw - 40px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
  overflow-x:hidden!important;
}
.lpv-credentials-page{
  width:min(85vw, 1520px)!important;
}
.lpv-wide-tool-page > h2{
  margin-top:0;
  margin-bottom:14px;
}
.lpv-wide-tool-page .lpv-front-note,
.lpv-wide-tool-page .lpv-front-form,
.lpv-wide-tool-page .lpv-front-filters,
.lpv-wide-tool-page .lpv-front-actions,
.lpv-wide-tool-page .lpv-front-notice,
.lpv-wide-tool-page .lpv-status-card,
.lpv-wide-tool-page .lpv-front-details,
.lpv-wide-tool-page .lpv-selection-summary{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.lpv-status-page .lpv-front-filters{
  display:grid!important;
  grid-template-columns:minmax(260px,1fr) minmax(300px,1.4fr) auto!important;
  gap:12px 16px!important;
  align-items:end!important;
  padding:14px 16px!important;
}
.lpv-status-page .lpv-front-filters .lpv-autocomplete-multi,
.lpv-status-page .lpv-front-filters .lpv-token-search{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.lpv-status-page .lpv-front-filters button[type=submit]{
  justify-self:end;
  min-width:120px;
}
.lpv-status-page form > .lpv-front-actions{
  justify-content:flex-end!important;
  align-items:center!important;
  gap:10px!important;
  background:#f8fbff!important;
  border:1px solid #dce3ea!important;
  border-radius:12px!important;
  padding:10px 12px!important;
  margin:12px 0!important;
}
.lpv-status-page form > .lpv-front-actions select{
  min-width:220px;
  min-height:36px;
  border:1px solid #b9c7d5;
  border-radius:9px;
  padding:5px 9px;
  background:#fff;
}
.lpv-status-card{
  background:#fff;
  border:1px solid #dce3ea;
  border-radius:14px;
  padding:12px;
  margin:14px 0;
  box-shadow:0 1px 3px rgba(0,0,0,.04);
}
.lpv-status-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:8px;
}
.lpv-status-card-head h3{
  margin:0!important;
}
.lpv-status-page .lpv-front-table-wrap,
.lpv-provisioning-page .lpv-front-table-wrap,
.lpv-boarding-page .lpv-front-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow:auto!important;
  max-height:70vh;
  border-radius:10px;
  resize:vertical;
}
.lpv-status-page .lpv-front-table,
.lpv-provisioning-page .lpv-front-table,
.lpv-boarding-page .lpv-front-table{
  width:100%!important;
  min-width:900px!important;
  table-layout:auto!important;
}
.lpv-status-page .lpv-front-table th,
.lpv-status-page .lpv-front-table td,
.lpv-provisioning-page .lpv-front-table th,
.lpv-provisioning-page .lpv-front-table td,
.lpv-boarding-page .lpv-front-table th,
.lpv-boarding-page .lpv-front-table td{
  font-size:clamp(12px,.74vw,14px)!important;
  padding:6px 8px!important;
}
.lpv-provisioning-page .lpv-front-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:12px 16px!important;
  align-items:end!important;
  padding:16px!important;
}
.lpv-provisioning-page .lpv-front-form .lpv-front-grid{
  margin:0!important;
  grid-template-columns:repeat(3,minmax(220px,1fr))!important;
}
.lpv-provisioning-page .lpv-front-form > button{
  min-width:130px;
  margin-bottom:0;
}
.lpv-provisioning-queue-wrap{
  background:#fff;
  border:1px solid #dce3ea;
}
.lpv-credentials-page .lpv-front-form{
  padding:18px!important;
  margin:16px 0!important;
  border-radius:14px!important;
  max-width:none!important;
}
.lpv-credentials-page .lpv-front-grid{
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;
  gap:14px!important;
}
.lpv-credentials-page .lpv-selection-summary{
  margin-bottom:14px;
}
.lpv-credentials-page .lpv-check-row{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding:10px 12px;
  border:1px solid #e1e9f2;
  border-radius:12px;
  background:#f8fbff;
}
.lpv-credentials-page .lpv-front-form > button[type=submit]{
  margin-top:8px;
  min-width:210px;
}
.lpv-boarding-page .lpv-front-details{
  overflow:hidden;
  padding:0!important;
  margin:12px 0!important;
}
.lpv-boarding-page .lpv-front-details summary{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  background:#f4f8fc;
  border-bottom:1px solid #dce3ea;
  padding:12px 14px!important;
}
.lpv-boarding-page .lpv-boarding-table-wrap{
  border:0!important;
  border-radius:0!important;
  resize:vertical;
  max-height:58vh;
}
.lpv-boarding-page .lpv-front-actions{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  display:flex!important;
  gap:6px!important;
  flex-wrap:nowrap!important;
}
.lpv-boarding-page .lpv-front-actions input[type=text]{
  min-width:180px;
}
@media (min-width:1500px){
  .lpv-status-page .lpv-front-table th,
  .lpv-status-page .lpv-front-table td,
  .lpv-provisioning-page .lpv-front-table th,
  .lpv-provisioning-page .lpv-front-table td,
  .lpv-boarding-page .lpv-front-table th,
  .lpv-boarding-page .lpv-front-table td{font-size:clamp(13px,.78vw,15px)!important;padding:7px 10px!important;}
}
@media (max-width:900px){
  .lpv-wide-tool-page,
  .lpv-credentials-page{width:100%!important;max-width:100%!important;}
  .lpv-status-page .lpv-front-filters,
  .lpv-provisioning-page .lpv-front-form{grid-template-columns:1fr!important;}
  .lpv-status-page .lpv-front-filters button[type=submit],
  .lpv-provisioning-page .lpv-front-form > button{justify-self:stretch;width:100%;}
  .lpv-provisioning-page .lpv-front-form .lpv-front-grid{grid-template-columns:1fr!important;}
  .lpv-boarding-page .lpv-front-actions{flex-wrap:wrap!important;}
}


/* v0.1.32: aufgeräumtes Filterlayout für Archiv, Austritte und Warteschlange */
.lpv-status-page .lpv-front-filters{
  display:grid!important;
  grid-template-columns:minmax(240px,420px) minmax(280px,1fr) minmax(120px,150px)!important;
  gap:12px 16px!important;
  align-items:end!important;
  padding:16px!important;
  overflow:hidden!important;
}
.lpv-status-page .lpv-front-filters .lpv-autocomplete-multi,
.lpv-status-page .lpv-front-filters .lpv-token-search{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
.lpv-status-page .lpv-front-filters .lpv-autocomplete-multi label,
.lpv-status-page .lpv-front-filters .lpv-token-search{
  display:block!important;
  margin:0!important;
  font-weight:700!important;
  line-height:1.2!important;
}
.lpv-status-page .lpv-front-filters .lpv-autocomplete-multi label span{
  margin-bottom:6px!important;
}
.lpv-status-page .lpv-front-filters .lpv-token-search input,
.lpv-status-page .lpv-front-filters .lpv-token-input{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.lpv-status-page .lpv-front-filters button[type=submit]{
  width:100%!important;
  min-width:0!important;
  align-self:end!important;
  justify-self:stretch!important;
  height:38px!important;
  margin:0!important;
}
.lpv-status-page form > .lpv-front-actions{
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) auto!important;
  justify-content:end!important;
  align-items:center!important;
  max-width:100%!important;
}
.lpv-status-page form > .lpv-front-actions select{
  justify-self:end!important;
  width:min(260px,100%)!important;
}
.lpv-status-page form > .lpv-front-actions button{
  min-width:110px!important;
  height:38px!important;
}
@media (min-width:1200px){
  .lpv-status-page .lpv-front-filters{
    grid-template-columns:minmax(260px,420px) minmax(360px,1fr) minmax(120px,150px)!important;
  }
}
@media (max-width:760px){
  .lpv-status-page .lpv-front-filters,
  .lpv-status-page form > .lpv-front-actions{
    grid-template-columns:1fr!important;
  }
  .lpv-status-page form > .lpv-front-actions select,
  .lpv-status-page form > .lpv-front-actions button{
    width:100%!important;
    justify-self:stretch!important;
  }
}

/* v0.1.35: Mailprofil und kaskadierende Filterhinweise */
.lpv-mail-profile textarea{width:100%;min-height:110px}
.lpv-mail-profile .lpv-checkbox-label{display:flex;align-items:center;gap:.45rem}
.lpv-mail-school-help,.lpv-mail-class-help{grid-column:1/-1;margin:-.35rem 0 .4rem;color:#52627a}
.lpv-mail-signature{border-top:1px solid #d8e4ef;margin-top:12px;padding-top:10px;color:inherit}

/* v0.1.36: Mailfilter nebeneinander, farbige Karten und Signatur-Editor */
.lpv-mail-page .lpv-mail-filter-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(220px,1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
  margin:14px 0 20px!important;
}
.lpv-mail-page .lpv-mail-filter-card{
  border:1px solid #d4e2ef;
  border-radius:14px;
  padding:12px 14px;
  box-sizing:border-box;
  min-width:0;
  box-shadow:0 1px 4px rgba(15,45,75,.04);
}
.lpv-mail-page .lpv-mail-filter-target{background:#f6fbff;border-color:#bfd8ef;}
.lpv-mail-page .lpv-mail-filter-school{background:#f7fff8;border-color:#bfe5c8;}
.lpv-mail-page .lpv-mail-filter-class{background:#fffaf0;border-color:#eed9a8;}
.lpv-mail-page .lpv-mail-filter-person{background:#fbf8ff;border-color:#d7c7ef;}
.lpv-mail-page .lpv-mail-filter-card label,
.lpv-mail-page .lpv-mail-filter-card .lpv-autocomplete-multi,
.lpv-mail-page .lpv-mail-filter-card .lpv-person-picker{
  width:100%;
  min-width:0!important;
  max-width:100%!important;
  display:block;
}
.lpv-mail-page .lpv-mail-filter-card select,
.lpv-mail-page .lpv-mail-filter-card input[type=text],
.lpv-mail-page .lpv-mail-filter-card .lpv-token-input,
.lpv-mail-page .lpv-mail-filter-card .lpv-person-input{
  width:100%;
  box-sizing:border-box;
}
.lpv-mail-page .lpv-mail-filter-card .description,
.lpv-mail-page .lpv-mail-filter-card .lpv-field-help{
  margin:7px 0 0!important;
  color:#52627a;
  font-size:12px;
  line-height:1.35;
}
.lpv-mail-profile-grid{
  display:grid;
  grid-template-columns:minmax(280px,1fr) minmax(210px,340px);
  gap:18px;
  align-items:end;
  margin:10px 0 16px;
}
.lpv-profile-reply-field span,
.lpv-signature-editor-label{
  display:block;
  font-weight:700;
  margin-bottom:5px;
}
.lpv-profile-reply-option{
  display:flex!important;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  min-height:42px;
  padding:8px 10px;
  border:1px solid #c8d7e6;
  border-radius:12px;
  background:#f8fbff;
  font-size:15px;
  font-weight:600;
  line-height:1.25;
  box-sizing:border-box;
}
.lpv-profile-reply-option input[type=checkbox],
.lpv-mail-profile-checks input[type=checkbox]{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  margin:0 6px 0 0!important;
  transform:none!important;
  vertical-align:middle;
}
.lpv-profile-reply-option span{display:inline!important;margin:0!important;font-weight:600!important;}
.lpv-signature-editor-field{margin-top:14px;}
.lpv-signature-editor-field .wp-editor-wrap{max-width:100%;}
.lpv-signature-editor-field .wp-editor-area{min-height:130px;}
.lpv-mail-profile-checks{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:14px 0 0;}
.lpv-mail-profile-checks label{display:inline-flex;align-items:center;font-weight:600;}
@media (max-width:1180px){
  .lpv-mail-page .lpv-mail-filter-grid{grid-template-columns:repeat(2,minmax(240px,1fr))!important;}
}
@media (max-width:700px){
  .lpv-mail-page .lpv-mail-filter-grid,.lpv-mail-profile-grid{grid-template-columns:1fr!important;}
}

/* v0.1.37: Mailprofil lesbarer, Signatur-Toolbar kontrastreich, Preview-Aktionen */
.lpv-profile-reply-field span{font-size:17px;line-height:1.3;}
.lpv-profile-reply-field input[type=email]{width:100%;max-width:680px!important;min-height:44px;font-size:16px!important;line-height:1.35;padding:8px 12px!important;box-sizing:border-box;}
.lpv-profile-reply-field .description{font-size:12px;line-height:1.35;margin-top:5px;display:block;}
.lpv-signature-editor-field .mce-toolbar .mce-btn,
.lpv-signature-editor-field .mce-toolbar .mce-listbox,
.lpv-signature-editor-field .quicktags-toolbar .button{
  background:#fff!important;
  border:1px solid #bfc7d1!important;
  border-radius:5px!important;
  box-shadow:none!important;
}
.lpv-signature-editor-field .mce-toolbar .mce-btn button,
.lpv-signature-editor-field .mce-toolbar .mce-btn button i,
.lpv-signature-editor-field .mce-toolbar .mce-ico,
.lpv-signature-editor-field .mce-toolbar .mce-txt,
.lpv-signature-editor-field .quicktags-toolbar .button{
  color:#1d2327!important;
  text-shadow:none!important;
  opacity:1!important;
}
.lpv-signature-editor-field .mce-toolbar .mce-btn:hover,
.lpv-signature-editor-field .mce-toolbar .mce-btn:focus,
.lpv-signature-editor-field .quicktags-toolbar .button:hover,
.lpv-signature-editor-field .quicktags-toolbar .button:focus{
  background:#f0f6fc!important;
  border-color:#2271b1!important;
}
.lpv-signature-editor-field .mce-toolbar .mce-disabled button,
.lpv-signature-editor-field .mce-toolbar .mce-disabled .mce-ico{opacity:.55!important;}
.lpv-signature-editor-field .wp-switch-editor{font-size:14px!important;line-height:1.7!important;color:#1d2327!important;}
.lpv-preview-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:10px 0 2px;padding:10px 0 0;}
.lpv-preview-actions button,.lpv-preview-actions a{font-size:15px;line-height:1.25;text-decoration:none;}
.lpv-preview-actions button{cursor:pointer;}
.lpv-preview-actions .lpv-secondary-button{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border:1px solid #bfc7d1;border-radius:8px;background:#fff;color:#1d2327;box-sizing:border-box;}

/* v0.1.38: Mailprofil-Feinschliff und deutliche Signaturbuttons */
.lpv-mail-profile-grid{
  grid-template-columns:minmax(320px,680px) minmax(260px,340px)!important;
  align-items:start!important;
}
.lpv-profile-reply-option{
  min-height:44px!important;
  height:44px!important;
  margin-top:29px!important;
  padding:0 14px!important;
  align-self:start!important;
  align-items:center!important;
  font-size:16px!important;
  line-height:1.25!important;
}
.lpv-profile-reply-option input[type=checkbox],
.lpv-mail-profile-checks input[type=checkbox]{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
}
.lpv-signature-editor-field .mce-toolbar .mce-btn,
.lpv-signature-editor-field .mce-toolbar .mce-listbox,
.lpv-signature-editor-field .quicktags-toolbar .button,
.lpv-signature-editor-field .wp-switch-editor{
  background:#2271b1!important;
  border-color:#135e96!important;
  color:#fff!important;
  text-shadow:none!important;
}
.lpv-signature-editor-field .mce-toolbar .mce-btn button,
.lpv-signature-editor-field .mce-toolbar .mce-btn button i,
.lpv-signature-editor-field .mce-toolbar .mce-ico,
.lpv-signature-editor-field .mce-toolbar .mce-txt,
.lpv-signature-editor-field .mce-toolbar .mce-listbox button,
.lpv-signature-editor-field .mce-toolbar .mce-listbox span,
.lpv-signature-editor-field .quicktags-toolbar .button,
.lpv-signature-editor-field .wp-switch-editor{
  color:#fff!important;
  opacity:1!important;
  text-shadow:none!important;
}
.lpv-signature-editor-field .mce-toolbar .mce-caret{border-top-color:#fff!important;}
.lpv-signature-editor-field .mce-toolbar .mce-btn:hover,
.lpv-signature-editor-field .mce-toolbar .mce-btn:focus,
.lpv-signature-editor-field .mce-toolbar .mce-listbox:hover,
.lpv-signature-editor-field .mce-toolbar .mce-listbox:focus,
.lpv-signature-editor-field .quicktags-toolbar .button:hover,
.lpv-signature-editor-field .quicktags-toolbar .button:focus,
.lpv-signature-editor-field .wp-switch-editor:hover,
.lpv-signature-editor-field .wp-switch-editor:focus{
  background:#135e96!important;
  border-color:#0a4b78!important;
  color:#fff!important;
}
.lpv-signature-editor-field .mce-toolbar .mce-disabled,
.lpv-signature-editor-field .mce-toolbar .mce-disabled:hover,
.lpv-signature-editor-field .mce-toolbar .mce-disabled:focus{
  background:#8aa9c1!important;
  border-color:#7896ad!important;
}
.lpv-signature-editor-field .mce-toolbar .mce-disabled button,
.lpv-signature-editor-field .mce-toolbar .mce-disabled .mce-ico{color:#eef6ff!important;opacity:.75!important;}
.lpv-signature-editor-field .mce-toolbar .mce-ico:before{color:#fff!important;}

/* v0.1.39: Rollensimulation auf sichtbaren LPV-Seiten, Reply-To-Ausrichtung, Signaturicons maximal kontrastreich */
.lpv-front-role-switcher{
  position:fixed;
  top:10px;
  right:22px;
  z-index:999999;
  display:flex;
  align-items:center;
  gap:7px;
  padding:6px 9px;
  border:1px solid #b8c8d8;
  border-radius:10px;
  background:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.16);
  font-size:12px;
  line-height:1.2;
  box-sizing:border-box;
}
body.admin-bar .lpv-front-role-switcher{top:42px;}
.lpv-front-role-switcher label{display:flex;align-items:center;gap:6px;margin:0;font-weight:600;}
.lpv-front-role-switcher span{color:#52627a;}
.lpv-front-role-switcher select{min-height:28px;max-width:230px;font-size:12px;padding:0 24px 0 8px;}
.lpv-front-role-switcher strong{display:inline-flex;align-items:center;min-height:20px;padding:1px 6px;border-radius:999px;background:#fff2c2;color:#7a5300;font-size:11px;text-transform:uppercase;letter-spacing:.02em;}
.lpv-mail-profile-grid{
  grid-template-columns:minmax(320px,680px) minmax(300px,340px)!important;
  column-gap:clamp(28px,5vw,86px)!important;
  align-items:center!important;
}
.lpv-profile-reply-option{
  min-height:44px!important;
  height:44px!important;
  margin-top:0!important;
  align-self:center!important;
  align-items:center!important;
  justify-content:flex-start!important;
  font-size:16px!important;
}
.lpv-profile-reply-option input[type=checkbox]{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  margin:0 8px 0 0!important;
}
.lpv-signature-editor-field .mce-toolbar .mce-btn,
.lpv-signature-editor-field .mce-toolbar .mce-listbox,
.lpv-signature-editor-field .quicktags-toolbar .button,
.lpv-signature-editor-field .wp-switch-editor{
  background:#0b5f9e!important;
  border-color:#063f6a!important;
  color:#fff!important;
}
.lpv-signature-editor-field .mce-toolbar .mce-btn button,
.lpv-signature-editor-field .mce-toolbar .mce-btn button *,
.lpv-signature-editor-field .mce-toolbar .mce-btn .mce-ico,
.lpv-signature-editor-field .mce-toolbar .mce-btn .mce-ico:before,
.lpv-signature-editor-field .mce-toolbar .mce-btn .mce-txt,
.lpv-signature-editor-field .mce-toolbar .mce-listbox button,
.lpv-signature-editor-field .mce-toolbar .mce-listbox button *,
.lpv-signature-editor-field .mce-toolbar .mce-listbox .mce-txt,
.lpv-signature-editor-field .quicktags-toolbar .button,
.lpv-signature-editor-field .wp-switch-editor{
  color:#fff!important;
  fill:#fff!important;
  opacity:1!important;
  text-shadow:none!important;
}
.lpv-signature-editor-field .mce-toolbar .mce-ico{filter:brightness(0) invert(1)!important;}
.lpv-signature-editor-field .mce-toolbar .mce-disabled .mce-ico{filter:brightness(0) invert(1) opacity(.65)!important;}
@media screen and (max-width:782px){
  .lpv-front-role-switcher{top:10px;left:10px;right:10px;justify-content:flex-start;}
  body.admin-bar .lpv-front-role-switcher{top:48px;}
  .lpv-front-role-switcher select{max-width:58vw;}
}
